You are not logged in.

#1 2025-01-11 17:38:54

khhs
Member
Registered: 2025-01-11
Posts: 3

All OpenGL apps seem to run on NVIDIA

Hello! Recently purchased a Thinkpad P14s Intel, which has an NVIDIA RTX 500 Ada, so I thought I'd set up nv drivers on the thing to actually be able to utilize the system. Issue is, the drivers are unstable in some cases (segfaults when resizing Minecraft amongst other things), and I can't seem to be able to run OpenGL apps on the integrated card (eglinfo | grep "Renderer") always returns something something NVIDIA RTX 500 Ada something something.

Now, I'm not too good at this sort of stuff, and I hope a bit of handholding isn't too bad?

Cheers!

:D

Last edited by khhs (2025-01-11 17:39:18)

Offline

#2 2025-01-11 21:12:16

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,500

Re: All OpenGL apps seem to run on NVIDIA

eglinfo will list all renderers - is this on X11 or wayland and for X11 please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General

Offline

#3 2025-01-12 12:02:53

khhs
Member
Registered: 2025-01-11
Posts: 3

Re: All OpenGL apps seem to run on NVIDIA

I'm running Wayland since X11 seems to crash every now and then(such as when starting Steam, I really ought to look into that).

eglinfo only seems to list my Intel renderer, but it also segfaults which tells me that something is probably wrong with my install.
eglgears_wayland and eglgears_x11 seem to run on the intel processor (as they don't show in nvidia-smi) unless I do prime-run, but glxgears runs on the NV card.

I put the full eglinfo log (with crash message and all) into a pastebin, in case that's useful: https://pastebin.com/2HfKR7g9

Could it have something to do with the final couple lines?

Device #2:
 
EGL device extensions string:
    EGL_EXT_device_drm, EGL_EXT_device_drm_render_node
Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[1]    3982 segmentation fault (core dumped)  eglinfo

Running it through GDB gives me this:

Thread 1 "eglinfo" received signal SIGSEGV, Segmentation fault.
drisw_init_screen () at ../mesa-24.3.3/src/gallium/frontends/dri/drisw.c:623
623	   if (loader->base.version >= 4) {

(not too good at gdb or lldb sadly)

Offline

#4 2025-01-12 13:13:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,500

Re: All OpenGL apps seem to run on NVIDIA

X11 seems to crash every now and then(such as when starting Steam

Steam runs exclusively on X11, in doubt via xwayland.

but it also segfaults which tells me that something is probably wrong with my install

Probably not, https://bbs.archlinux.org/viewtopic.php … 6#p2215716

glxinfo -B
glxinfo32 -B

Offline

#5 2025-01-12 14:56:40

khhs
Member
Registered: 2025-01-11
Posts: 3

Re: All OpenGL apps seem to run on NVIDIA

I take it you want the logs from glxinfo?

I'll take a read through the thread you sent me in a mo, but in the meanwhile I'll just attach these hehe.

https://pastebin.com/MRfcurX6

Is there a difference between X11 and Xorg? GNOME on Xorg crashes when Steam is launched, if that makes more sense?

Offline

#6 2025-01-12 15:53:24

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,500

Re: All OpenGL apps seem to run on NVIDIA

At least X11/xwayland is running on the nvidia GPU - please post your Xorg log, https://wiki.archlinux.org/title/Xorg#General
(those will exist even for xwayland usage)

X11 is the protocol, Xorg the only remaining (relevant) implementation - they're now synonymous.
Do you have a https://wiki.archlinux.org/title/Core_d … _core_dump from such gnome crash?

Offline

Board footer

Powered by FluxBB