Summary: | x11-drivers/nvidia-drivers: fail to run opengl apps on arm64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yixun Lan <dlan> |
Component: | Current packages | Assignee: | Ionen Wolkens <ionen> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | sam, soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=831484 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Xorg log for nvidia-drivers-510.39.01
dmesg.txt |
Description
Yixun Lan
![]() ![]() have to mention, etr/glmark2/glxgears all have no problem if I switch to nouveau driver Would be good to check if GLX got initialized properly in the first place, Xorg.0.log could help. `glxinfo | grep vendor` is nice to ensure what's being used. Also unsure if nvidia-drm out-of-the-box auto-detection is functioning on aarch64 and perhaps need a xorg.conf I'd imagine packaging-wise it should be fine but there could be upstream issues, not that I can do much without hardware. Created attachment 762036 [details] Xorg log for nvidia-drivers-510.39.01 I haven't seen any obvious GLX error (other than: Indirect GLX disabled. ), see full attached log unable to run glxinfo, show same error ~ $ glxinfo name of display: :0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 151 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 110 Current serial number in output stream: 111 > Also unsure if nvidia-drm out-of-the-box auto-detection is functioning on > aarch64 and perhaps need a xorg.conf I'm not sure how to check this.. could you elaborate further on this? Created attachment 762065 [details]
dmesg.txt
kernel dmesg doens't any drm related error
(In reply to Yixun Lan from comment #3) > Created attachment 762036 [details] > Xorg log for nvidia-drivers-510.39.01 > > I haven't seen any obvious GLX error (other than: Indirect GLX disabled. ), > see full attached log Indeed, log looks normal -- indirect glx disabled is normal too. Unfortunately doesn't help to say what might be wrong. The BadValue thing is a kinda generic error, so I was hoping to see something else. It's a basic thing so I didn't think to ask, but your user is in the video group, right? That error pretty much just says "it doesn't work", but it's also what you get if not in video group. > unable to run glxinfo, show same error Ah figures, but it's fine I don't get the impression it's using the wrong thing with these logs. > > Also unsure if nvidia-drm out-of-the-box auto-detection is functioning on > > aarch64 and perhaps need a xorg.conf > > I'm not sure how to check this.. could you elaborate further on this? Don't worry about it, seems to be working as intended from the logs. (In reply to Ionen Wolkens from comment #5) > It's a basic thing so I didn't think to ask, but your user is in the video > group, right? That error pretty much just says "it doesn't work", but it's > also what you get if not in video group. > oh, just add to video group solve the issue, many thanks for helping this.. (In reply to Yixun Lan from comment #6) > (In reply to Ionen Wolkens from comment #5) > > It's a basic thing so I didn't think to ask, but your user is in the video > > group, right? That error pretty much just says "it doesn't work", but it's > > also what you get if not in video group. > > > oh, just add to video group solve the issue, many thanks for helping this.. Nice, glad to hear it works fine on arm64 then. Guess it was technically not a bug, so changing resolution. |