Use Xorg log to get the running Gfx driver information is not reliable

Bug #1886916 reported by hugh chao
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox Provider - Base
Expired
Undecided
William Hsu
OEM Priority Project
Status tracked in Focal
Focal
New
Undecided
Unassigned

Bug Description

[Summary]
Use Xorg log as API isn't reliable at all, it can break at anytime, and this impacts all of the certificate process in oem team. Please use method like [1] to properly find out which DDX is opened by Xorg process.

[Steps to reproduce]
Run graphics/1_driver_version_GP102GL__Quadro_P620 by checkbox

[Expected result]
Can pass the test

[Actual result]
ERROR: No video driver loaded! Possibly in failsafe mode!
------------- VIDEO DRIVER INFORMATION -------------
------------- HYBRID GRAPHICS CHECK ----------------
Graphics Chipset: NVIDIA (10de:1cb6)
Loaded DDX Drivers: nouveau, modesetting, fbdev, vesa
Hybrid Graphics: no

[Additional information]
1. Nvidia P400
2. Nvidia P620
3. Nvidia P2200
4. Nvidia P6000
5. AMD RX 550

[Failure rate]
100%

[1] https://unix.stackexchange.com/a/452582

Related branches

hugh chao (hugh712)
Changed in oem-priority:
importance: Undecided → Critical
assignee: nobody → hugh chao (hugh712)
status: New → Confirmed
description: updated
Changed in plainbox-provider-checkbox:
assignee: nobody → Sylvain Pineau (sylvain-pineau)
tags: added: oem-priority stella
tags: added: originate-from-1886009
hugh chao (hugh712)
description: updated
description: updated
Revision history for this message
hugh chao (hugh712) wrote :

@Sylvain

mind help to take a look of this issue, this will impact all oem projects, thanks.

hugh chao (hugh712)
Changed in plainbox-provider-checkbox:
assignee: Sylvain Pineau (sylvain-pineau) → William Hsu (williamhsu)
Revision history for this message
William Hsu (williamhsu) wrote :
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

@Hugh,

Adding a new method to find the loaded drivers is a good idea. Mind developing a patch for https://git.launchpad.net/plainbox-provider-checkbox/tree/bin/graphics_driver ?

Revision history for this message
hugh chao (hugh712) wrote :

@Sylvain

sure, William is working on this :)

Revision history for this message
Maksim Beliaev (beliaev-maksim) wrote :

Bug was migrated to GitHub: https://github.com/canonical/checkbox/issues/170.
Bug is no more monitored here.

Changed in plainbox-provider-checkbox:
status: New → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.