[FFe] graphics_driver script does not report proprietary driver version
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Low
|
Unassigned | ||
checkbox (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a system with a NVIDIA graphic chip running the prop drivers.
This is the output of the checkbox graphics_driver script:
$ ./graphics_driver
------------- VIDEO DRIVER INFORMATION -------------
ERROR: No video driver loaded! Possibly in failsafe mode!
------------- HYBRID GRAPHICS CHECK ----------------
Graphics Chipset: NVIDIA (10de:0a74)
Graphics Chipset: NVIDIA (10de:0866)
Loaded DDX Drivers: nvidia, dri2
Hybrid Graphics: no
But nvidia-settings reports the right version:
$ nvidia-settings -v | egrep -o 'version [0-9\.]+'
version 304.51
The proposed fix returns the right value, extracted from nvidia-setting -v, not from the Xorg.0.log:
$ ./graphics_driver
------------- VIDEO DRIVER INFORMATION -------------
Video Driver: nvidia
Driver Version: 304.51
------------- HYBRID GRAPHICS CHECK ----------------
Graphics Chipset: NVIDIA (10de:0a74)
Graphics Chipset: NVIDIA (10de:0866)
Loaded DDX Drivers: nvidia, dri2
Hybrid Graphics: no
The graphics_driver script should not report an error when prop drivers are in use, the warning about a failsafe mode is confusing in that case.
The fix is necessary to avoid false-positive, especially for HW certification where sometimes proprietary drivers are needed to enable key features such as suspend/resume.
In all case, the script should return the correct value.
Related branches
- Zygmunt Krynicki (community): Approve
-
Diff: 239 lines (+83/-51)2 files modifieddebian/changelog (+2/-1)
scripts/graphics_driver (+81/-50)
- Daniel Holbach (community): Approve
- Micah Gersten (community): Needs Fixing
- Ubuntu branches: Pending requested
-
Diff: 4032 lines (+691/-1663)52 files modifiedbackend (+7/-3)
checkbox/parsers/udevadm.py (+8/-1)
data/whitelists/default.whitelist (+1/-0)
debian/changelog (+56/-0)
debian/control (+7/-2)
debian/po/ast.po (+2/-2)
debian/po/cs.po (+2/-2)
debian/po/de.po (+2/-2)
debian/po/en_AU.po (+2/-2)
debian/po/en_GB.po (+2/-2)
debian/po/es.po (+4/-3)
debian/po/fr.po (+13/-13)
debian/po/he.po (+2/-2)
debian/po/hu.po (+2/-2)
debian/po/id.po (+2/-2)
debian/po/it.po (+2/-2)
debian/po/ja.po (+2/-2)
debian/po/nl.po (+2/-2)
debian/po/oc.po (+2/-2)
debian/po/pl.po (+2/-2)
debian/po/pt_BR.po (+2/-2)
debian/po/ro.po (+2/-2)
debian/po/ru.po (+2/-2)
debian/po/tr.po (+2/-2)
debian/po/uk.po (+2/-2)
debian/po/zh_CN.po (+2/-2)
debian/po/zh_TW.po (+2/-2)
jobs/cpu.txt.in (+1/-0)
jobs/esata.txt.in (+0/-6)
jobs/firewire.txt.in (+0/-6)
jobs/mediacard.txt.in (+0/-48)
jobs/optical.txt.in (+90/-52)
jobs/resource.txt.in (+1/-1)
jobs/usb.txt.in (+7/-19)
jobs/wireless.txt.in (+17/-3)
plugins/apport_prompt.py (+0/-280)
plugins/backend_info.py (+60/-21)
plugins/suites_prompt.py (+8/-1)
po/POTFILES.in (+0/-1)
po/ar.po (+13/-12)
po/fi.po (+28/-14)
po/fr.po (+131/-109)
po/pt_BR.po (+5/-5)
qt/checkbox-qt.ui (+0/-935)
qt/frontend/qtfront.cpp (+2/-1)
qt/frontend/qtfront.ui (+8/-5)
scripts/display_resource (+84/-0)
scripts/graphics_driver (+81/-50)
scripts/network_info (+15/-2)
scripts/network_wireless_test (+0/-25)
scripts/optical_write_test (+3/-4)
setup.py (+1/-1)
Changed in checkbox: | |
status: | New → In Progress |
importance: | Undecided → Low |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
description: | updated |
summary: |
- graphics_driver script does not report proprietary driver version + [FFe] graphics_driver script does not report proprietary driver version |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
On 12-10-02 09:47 AM, Sylvain Pineau wrote:
> Public bug reported:
>
> I have a system with a NVIDIA graphic chip running the prop drivers.
> This is the output of the checkbox graphics_driver script:
>
> $ ./graphics_driver
> ------------- VIDEO DRIVER INFORMATION -------------
> ERROR: No video driver loaded! Possibly in failsafe mode!
> ------------- HYBRID GRAPHICS CHECK ----------------
> Graphics Chipset: NVIDIA (10de:0a74)
> Graphics Chipset: NVIDIA (10de:0866)
> Loaded DDX Drivers: nvidia, dri2
> Hybrid Graphics: no
>
> But nvidia-settings reports the right version:
>
> $ nvidia-settings -v | egrep -o 'version [0-9\.]+'
> version 304.51
>
> The graphics_driver script should not report an error when prop drivers
> are in use, the warning about a failsafe mode is confusing in that case.
graphics_driver parses /var/log/Xorg.0.log to determine the driver that's in
use. Could you attach that file so we can use it to diagnose this? thanks!
>
> ** Affects: checkbox
> Importance: Undecided
> Status: New
>