You are not logged in.
Up until yesterday, I had the configuration from the wiki to always use my NVIDIA GPU. Then, I must have changed something, because I noticed very poor performance in Minecraft, which showed no GPU at all was being used. Instead, llvmpipe was used as software renderer. I do not wish that.
I tried going for other solutions, such as using prime-run. The problem with this is that the flight simulator X-Plane 11 crashes with vulkan drivers enabled when launching with prime-run. What I want is to always use the NVIDIA GPU.
Now for some info.
$ nvidia-smi
Thu Oct 30 11:14:43 2025
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.95.05 Driver Version: 580.95.05 CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1060 Off | 00000000:01:00.0 Off | N/A |
| N/A 43C P0 24W / 78W | 221MiB / 6144MiB | 2% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 1993 G /usr/lib/Xorg 92MiB |
| 0 N/A N/A 2026 G /usr/lib/firefox/firefox 125MiB |
+-----------------------------------------------------------------------------------------+$ cat /etc/X11/xorg.conf.d/10-nvidia.conf
Section "OutputClass"
Identifier "intel"
MatchDriver "i915"
Driver "modesetting"
EndSection
Section "OutputClass"
Identifier "nvidia"
MatchDriver "nvidia-drm"
Driver "nvidia"
Option "AllowEmptyInitialConfiguration"
Option "PrimaryGPU" "yes"
ModulePath "/usr/lib/nvidia/xorg"
ModulePath "/usr/lib/xorg/modules"
EndSection$ glxinfo | grep "OpenGL renderer"
pci id for fd 4: 10de:1c20, driver (null)
pci id for fd 5: 10de:1c20, driver (null)
pci id for fd 6: 10de:1c20, driver (null)
glx: failed to create dri3 screen
failed to load driver: nvidia-drm$ prime-run glxinfo | grep "OpenGL renderer"
OpenGL renderer string: NVIDIA GeForce GTX 1060/PCIe/SSE2$ lsmod | grep nvidia
nvidia_drm 143360 10
nvidia_modeset 1929216 8 nvidia_drm
nvidia_uvm 3850240 0
drm_ttm_helper 16384 1 nvidia_drm
nvidia 111501312 133 nvidia_uvm,nvidia_drm,nvidia_modeset
video 81920 3 ideapad_laptop,i915,nvidia_modeset$ cat .local/share/xorg/Xorg.0.log | grep NVIDIA
[ 121.590] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 121.591] (II) NVIDIA dlloader X Driver 580.95.05 Tue Sep 23 09:43:47 UTC 2025
[ 121.591] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 121.593] (II) NVIDIA(0): Creating default Display subsection in Screen section
[ 121.593] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 121.593] (==) NVIDIA(0): RGB weight 888
[ 121.593] (==) NVIDIA(0): Default visual is TrueColor
[ 121.593] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 121.593] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 121.593] (**) NVIDIA(0): Enabling 2D acceleration
[ 121.605] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 121.605] (II) NVIDIA GLX Module 580.95.05 Tue Sep 23 09:49:15 UTC 2025
[ 121.605] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 121.605] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 121.605] (--) NVIDIA(0): DFP-0
[ 121.605] (--) NVIDIA(0): DFP-1
[ 121.605] (--) NVIDIA(0): DFP-2
[ 121.605] (--) NVIDIA(0): DFP-3
[ 121.605] (--) NVIDIA(0): DFP-4
[ 121.605] (--) NVIDIA(0): DFP-5
[ 121.605] (--) NVIDIA(0): DFP-6
[ 121.607] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 1060 (GP106-A) at PCI:1:0:0
[ 121.607] (II) NVIDIA(0): (GPU-0)
[ 121.607] (--) NVIDIA(0): Memory: 6291456 kBytes
[ 121.607] (--) NVIDIA(0): VideoBIOS: 86.06.33.00.21
[ 121.607] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 121.607] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[ 121.607] (--) NVIDIA(GPU-0): DFP-0: 1440.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 121.607] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 121.607] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 121.607] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-4: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[ 121.607] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-5: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[ 121.607] (--) NVIDIA(GPU-0): DFP-5: 1440.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (--) NVIDIA(GPU-0): DFP-6: disconnected
[ 121.607] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[ 121.607] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[ 121.607] (--) NVIDIA(GPU-0):
[ 121.607] (==) NVIDIA(0):
[ 121.607] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 121.607] (==) NVIDIA(0): will be used as the requested mode.
[ 121.607] (==) NVIDIA(0):
[ 121.607] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[ 121.607] (--) NVIDIA(0): AllowEmptyInitialConfiguration is enabled
[ 121.608] (II) NVIDIA(0): Validated MetaModes:
[ 121.608] (II) NVIDIA(0): "NULL"
[ 121.608] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[ 121.608] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[ 121.608] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[ 121.650] (WW) NVIDIA: Failed to bind sideband socket to
[ 121.650] (WW) NVIDIA: '/var/run/nvidia-xdriver-87e7ae3a' Permission denied
[ 121.650] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 121.650] (II) NVIDIA: access.
[ 121.674] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 121.674] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
[ 121.674] (II) NVIDIA(0): configuration option may not be set correctly. When the
[ 121.674] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 121.674] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
[ 121.674] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
[ 121.674] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
[ 121.674] (II) NVIDIA(0): Config Options in the README.
[ 121.694] (II) NVIDIA(0): Setting mode "NULL"
[ 121.702] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 121.702] (==) NVIDIA(0): Backing store enabled
[ 121.702] (==) NVIDIA(0): Silken mouse enabled
[ 121.702] (==) NVIDIA(0): DPMS enabled
[ 121.702] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[ 121.702] (II) NVIDIA(0): [DRI2] Setup complete
[ 121.702] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 122.367] (--) NVIDIA(GPU-0): DFP-0: disconnected
[ 122.367] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[ 122.367] (--) NVIDIA(GPU-0): DFP-0: 1440.0 MHz maximum pixel clock
[ 122.367] (--) NVIDIA(GPU-0):
[ 122.367] (--) NVIDIA(GPU-0): DFP-1: disconnected
[ 122.367] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[ 122.367] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[ 122.367] (--) NVIDIA(GPU-0):
[ 122.367] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 122.367] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[ 122.367] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[ 122.367] (--) NVIDIA(GPU-0):
[ 122.368] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 122.368] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[ 122.368] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[ 122.368] (--) NVIDIA(GPU-0):
[ 122.368] (--) NVIDIA(GPU-0): DFP-4: disconnected
[ 122.368] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[ 122.368] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[ 122.368] (--) NVIDIA(GPU-0):
[ 122.368] (--) NVIDIA(GPU-0): DFP-5: disconnected
[ 122.368] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[ 122.368] (--) NVIDIA(GPU-0): DFP-5: 1440.0 MHz maximum pixel clock
[ 122.368] (--) NVIDIA(GPU-0):
[ 122.368] (--) NVIDIA(GPU-0): DFP-6: disconnected
[ 122.368] (--) NVIDIA(GPU-0): DFP-6: Internal TMDS
[ 122.368] (--) NVIDIA(GPU-0): DFP-6: 165.0 MHz maximum pixel clock
[ 122.368] (--) NVIDIA(GPU-0):# dmesg | grep nvidia
[ 3.276806] nvidia: loading out-of-tree module taints kernel.
[ 3.276816] nvidia: module license 'NVIDIA' taints kernel.
[ 3.276820] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.276821] nvidia: module license taints kernel.
[ 3.922984] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[ 3.933498] nvidia 0000:01:00.0: enabling device (0106 -> 0107)
[ 3.933747] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 4.293801] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 4.320605] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 580.95.05 Tue Sep 23 09:41:17 UTC 2025
[ 4.586858] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 5.165519] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
[ 5.165969] nvidia 0000:01:00.0: [drm] Cannot find any crtc or sizesYes, system is up-to-date. Yes, modeset is enabled. Yes, nouveau is blacklisted. No, I don't have any xf86-video-* packages installed.
I checked other posts and followed the steps they did, but it did not work.
What am I missing?
Edit: As a side note, this post might be better suited for the hardware section, but these errors make me think that the NVIDIA GPU isn't directly wired to the screen, because when I delete the intel driver from 10-nvidia-drm-outputclass.conf, I get a black screen when starting X (with startx), so it might be a laptop-related issue.
Last edited by nimbostratus (2025-10-30 13:01:11)
Offline
Offline
Thank you, that immediately fixed it!
Why isn't this information in the news on the main page?
Offline