hybrid-detect does not work with i386 package architecture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nvidia-common (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
$ apt-cache policy nvidia-common
nvidia-common:
Installed: 1:0.2.44.2
Candidate: 1:0.2.44.2
Version table:
*** 1:0.2.44.2 0
500 http://
100 /var/lib/
1:0.2.44 0
500 http://
Hardware:
LENOVO ThinkPad T520 (Type: 4240-6AG) with Nvidia Optimus technology
BIOS Setup -> Config -> Display -> OS Detection for NVIDIA Optimus: [Disabled]
Expected behavior for i386 package architecture:
If "BIOS Setup -> Config -> Display -> Graphics Device" was changed from "Discrete Graphics" (NVIDIA NVd9) to "Integrated Graphics" [Intel Sandybridge Mobile (GT2+)] then hybrid-detect should look for the master link of an alternative for the "i386-linux-
If "BIOS Setup -> Config -> Display -> Graphics Device" was changed from "Integrated Graphics" [Intel Sandybridge Mobile (GT2+)] to "Discrete Graphics" (NVIDIA NVd9) then hybrid-detect should look for the master link of an alternative for the "i386-linux-
Actual behavior for i386 package architecture:
In both cases it does not recognize the "i386" package architecture. The respective log output in /var/log/
Gfx was changed in the BIOS
i386 is not supported for hybrid graphics
Fix:
Most probably due to a "copy and paste" typo hybrid-detect.c checks two times for the "amd64" package architecture (instead of "i386" in line 192). The attached patch will fix this.
The attachment "Fix for the above reported bug" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]