Skip to content

Broken nvidia session due to missing lines in 10-nvidia.conf #11

@Daemonratte

Description

@Daemonratte

Describe your issue

Hey there!

For some reason when I install xlibre with proprietary nvidia drivers (I normally use the ones provided by the xanmod repo) xlibre just doesn't have any for of hardwareacceleration.

The reason why is, because for some reason two lines are missing in /usr/share/X11/xorg.conf.d/10-nvidia.conf. Namely 'Module "glx"' and 'Module "glxserver_nvidia"'.

So instead of this:
/usr/share/X11/xorg.conf.d/10-nvidia.conf

Section "OutputClass"
	Identifier "NVidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Module "glx"
	Module "glxserver_nvidia"
	Option "AllowEmptyInitialConfiguration"
	ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

I have this

Section "OutputClass"
	Identifier "NVidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

Afterwards everything just works (if you want to use nvidia-ddx instead of modesetting + glamor that is)

Thanks for providing this amazing repo btw!

Steps to reproduce

  1. Install Devuan or Debian
  2. Install Xlibre
  3. Install proprietary nvidia drivers

What did you expect?

No response

Additional context

No response

Extra fields

  • I have checked the existing issues
  • I'd like to work on this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions