Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
fix opengl in x11
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmicFusion committed Apr 12, 2024
1 parent 66f5ce3 commit 364e846
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 550/debian-550/changelog
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nvidia-graphics-drivers-550 (550.56-101pika8) experimental; urgency=medium
nvidia-graphics-drivers-550 (550.56-101pika9) experimental; urgency=medium

* New upstream

Expand Down
15 changes: 15 additions & 0 deletions 550/extra_files/10-nvidia-amd64-module.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This xorg.conf.d configuration snippet configures the X server to
# automatically load the nvidia X driver when it detects a device driven by the
# nvidia-drm.ko kernel module. Please note that this only works on Linux kernels
# version 3.9 or higher with CONFIG_DRM enabled, and only if the nvidia-drm.ko
# kernel module is loaded before the X server is started.

# Adds x86_64-linux-gnu module path to X11

Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/current"
EndSection

3 changes: 2 additions & 1 deletion 550/gen-control-550.py
Original file line number Diff line number Diff line change
Expand Up @@ -2534,7 +2534,8 @@
nvidia_drv.so usr/lib/${{DEB_HOST_MULTIARCH}}/nvidia/current/
libglxserver_nvidia.so.{DRIVER_VERSION_FULL} usr/lib/${{DEB_HOST_MULTIARCH}}/nvidia/current/
extra_files/nvidia.ids usr/lib/${{DEB_HOST_MULTIARCH}}/nvidia/current/
nvidia-drm-outputclass.conf etc/nvidia/current/"""
nvidia-drm-outputclass.conf etc/nvidia/current/
extra_files/10-nvidia-amd64-module.conf usr/share/X11/xorg.conf.d/"""

XSERVER_XORG_VIDEO_NVIDIA_LINTIAN_FILE_PREQ = """# The NVIDIA license does not allow any form of modification.
spelling-error-in-binary
Expand Down

0 comments on commit 364e846

Please sign in to comment.