Skip to content

Commit

Permalink
self-test-img: adjust xorg modules path
Browse files Browse the repository at this point in the history
Normally nvidia drivers (as installed via Ubuntu package) are found by
autodetection and then "OutputClass" defined in
/usr/share/X11/xorg.conf.d/10-nvidia.conf takes care about using correct
modules path. But since selt-test image has explicit "Device" section,
this mechanism is bypassed. Define ModulePath explicitly to
handle this case.
  • Loading branch information
marmarek committed Nov 17, 2023
1 parent c50060a commit 7b11ca5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions self_test_img/xorg.conf.nvidia-headless
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Section "ServerLayout"
EndSection

Section "Files"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "InputDevice"
Expand Down

0 comments on commit 7b11ca5

Please sign in to comment.