You are not logged in.

#1 2024-06-26 11:19:17

colegu
Member
Registered: 2022-04-14
Posts: 75

system upgrade renders nvidia drivers unusable under xorg-x11

hi all

i did a pacman -Syu yesterday and it seems that my 550.67 nvidia drivers are no longer working under xorg-x11.  starting wow with prime-run and wine changes the resolution to 1024x768 and wine breaks.
this happens under both 6.9.5 and 6.9.6 kernels, although with the latest kernel the 550.67 version of nvidia driver does not load. so i had to install 550.90.07 version . however the behavior is the same. wine crashes and plasma resumes back with the lower resolution.

the only way i'm able to play wow is to start plasma under wayland, but then again wow is unstable since wayland crashes randomly, and gkrellm and chomium are randomly being killed, along with wine+wow.


the question now is how can i rollback all plasma related components that i installed yesterday, i've no idea what i've installed.
sure, i can check under /var/cache/pacman/pkg the latest timestamps, but isn't there any other way that involves less work?

Offline

#2 2024-06-26 11:38:21

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,888

Re: system upgrade renders nvidia drivers unusable under xorg-x11

Maybe gather some hard data first... From such a "broken" session post

qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation #Needs qt5-tools
glxinfo -B
sudo journalctl -b

https://wiki.archlinux.org/title/List_o … n_services as well as a Xorg log. likely under /var/log/Xorg.0.log

What can occasionally happen here is that KWin fails to compile shaders for a new GPU driver in time and surmising GL to be broken and falling back to SW rendering, that would be a checkbox away in the compositor system settings.

If you really think you want to downgrade to a specific point in time ("just plasma related" is going to break quite likely, especially with the big ffmpeg rebuilds that happened recently) look into https://wiki.archlinux.org/title/Arch_Linux_Archive -- but I'd suggest you first analyze the actual issue you're having.

Online

#3 2024-06-27 10:11:20

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

freshly boot into plasma xorg, launched wow with prime-run wine wow.exe, resolution went to 1024x768, and program crashed

journal log
http://0x0.st/Xm1o.txt
qdbus log https://0x0.st/Xm1H.txt

xorg log https://0x0.st/Xm1P.txt

 glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) Graphics (ADL GT2) (0x4626)
    Version: 24.1.2
    Accelerated: yes
    Video memory: 7817MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Graphics (ADL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.1.2-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.1.2-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.1.2-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
$ prime-run wine Wow.exe 
002c:fixme:winediag:loader_init wine-staging 9.8 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0048:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0048:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0058:fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
0058:fixme:advapi:ReportEventA (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,013FFAD4,00000000): stub
0058:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,00C11620,00000000): stub
0058:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
0058:fixme:winsock:WSAIoctl SIO_UDP_CONNRESET stub
0058:fixme:advapi:ReportEventA (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,013FFAD4,00000000): stub
0058:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,00C11620,00000000): stub
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0050:fixme:service:svcctl_EnumServicesStatusExW resume handle not supported
0058:fixme:advapi:ReportEventA (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,013FFAD4,00000000): stub
0058:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,00C11620,00000000): stub
0058:fixme:netapi32:NetGetJoinInformation Semi-stub (null) 013FFB8C 013FFB84
00b0:fixme:wineusb:query_id Unhandled ID query type 0x5.
X Error of failed request:  BadMatch (invalid parameter attributes)
  X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
Major opcode of failed request:  156   (NV-GLX)
Minor opcode of failed request:  43  Minor opcode of failed request:  43 ()
 ()  
Serial number of failed request:  162  
  Serial number of failed request:  162Current serial number in output stream:  163
  
Current serial number in output stream:  163
00fc:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -2.
00fc:err:explorer:initialize_display_settings Failed to initialize registry display settings for L"\\\\.\\DISPLAY1".
archive Data\enUS\patch-enUS.MPQ opened
archive Data\patch.MPQ opened
archive Data\enUS\patch-enUS-2.MPQ opened
archive Data\enUS\patch-enUS-3.MPQ opened
archive Data\enUS\patch-enUS-w.mpq opened
archive Data\enUS\patch-enUS-x.mpq opened
archive Data\patch-2.MPQ opened
archive Data\patch-3.MPQ opened
archive Data\patch-w.mpq opened
archive Data\patch-x.mpq opened
archive Data\expansion.MPQ opened
archive Data\lichking.MPQ opened
archive Data\common.MPQ opened
archive Data\common-2.MPQ opened
archive Data\enUS\locale-enUS.MPQ opened
archive Data\enUS\speech-enUS.MPQ opened
archive Data\enUS\expansion-locale-enUS.MPQ opened
archive Data\enUS\lichking-locale-enUS.MPQ opened
archive Data\enUS\expansion-speech-enUS.MPQ opened
archive Data\enUS\lichking-speech-enUS.MPQ opened
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  360
  Current serial number in output stream:  361
^[X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  10 (X_UnmapWindow)
  Resource id in failed request:  0x3400001
  Serial number of failed request:  448
  Current serial number in output stream:  450

Last edited by colegu (2024-06-27 10:14:05)

Offline

#4 2024-06-27 13:23:39

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

prime-run glxinfo -B
prime-run glxinfo32 -B
prime-run xrandr -q
prime-run glxgears

I'd try to disable supergfxd

Offline

#5 2024-06-27 15:02:27

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6141 MB
    Total available memory: 6141 MB
    Currently available dedicated video memory: 5886 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4050 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 550.67
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 550.67
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 550.67
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
prime-run xrandr -q
Screen 0: minimum 320 x 200, current 2560 x 1600, maximum 16384 x 16384
eDP-1 connected primary 2560x1600+0+0 (normal left inverted right x axis y axis) 345mm x 215mm
   2560x1600    240.00*+  60.00 +  59.99    59.97  
   2560x1440     59.99    59.99    59.96    59.95  
   2048x1536     85.00    75.00    60.00  
   1920x1440     85.00    75.00    60.00  
   1856x1392     75.00    60.01  
   1792x1344     75.00    60.01  
   2048x1152     59.99    59.98    59.90    59.91  
   1920x1200     59.88    59.95  
   1920x1080     60.01    59.97    59.96    59.93  
   1600x1200     85.00    75.00    70.00    65.00    60.00  
   1680x1050     59.95    59.88  
   1400x1050     74.76    59.98  
   1600x900      59.99    59.94    59.95    59.82  
   1280x1024     85.02    75.02    60.02  
   1400x900      59.96    59.88  
   1280x960      85.00    60.00  
   1440x810      60.00    59.97  
   1368x768      59.88    59.85  
   1280x800      59.99    59.97    59.81    59.91  
   1152x864      75.00  
   1280x720      60.00    59.99    59.86    59.74  
   1024x768      85.00    75.05    60.04    85.00    75.03    70.07    60.00  
   1024x768i     86.96  
   960x720       85.00    75.00    60.00  
   928x696       75.00    60.05  
   896x672       75.05    60.01  
   1024x576      59.95    59.96    59.90    59.82  
   960x600       59.93    60.00  
   832x624       74.55  
   960x540       59.96    59.99    59.63    59.82  
   800x600       85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25  
   840x525       60.01    59.88  
   864x486       59.92    59.57  
   700x525       74.76    59.98  
   800x450       59.95    59.82  
   640x512       85.02    75.02    60.02  
   700x450       59.96    59.88  
   640x480       85.09    60.00    85.01    72.81    75.00    59.94  
   720x405       59.51    58.99  
   720x400       85.04  
   684x384       59.88    59.85  
   640x400       59.88    59.98    85.08  
   576x432       75.00  
   640x360       59.86    59.83    59.84    59.32  
   640x350       85.08  
   512x384       85.00    75.03    70.07    60.00  
   512x384i      87.06  
   512x288       60.00    59.92  
   416x312       74.66  
   480x270       59.63    59.82  
   400x300       85.27    72.19    75.12    60.32    56.34  
   432x243       59.92    59.57  
   320x240       85.18    72.81    75.00    60.05  
   360x202       59.51    59.13  
   360x200       85.04  
   320x200       85.27  
   320x180       59.84    59.32  
   320x175       85.27  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
HDMI-1-0 disconnected (normal left inverted right x axis y axis)
DP-1-2 disconnected (normal left inverted right x axis y axis)
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
1203 frames in 5.0 seconds = 240.508 FPS

all the above under plasma/x11, before any prime-run wine wow.exe attempt

I'd try to disable supergfxd

why? i only need to run games under the nvidia driver, X will be just fine with the integrated intel gpu...

Offline

#6 2024-06-27 17:17:54

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

What is the output of

prime-run glxinfo32 -B

i only need to run games under the nvidia driver, X will be just fine with the integrated intel gpu...

What is the default prime behavior and has nothing to do w/ other services that might get in the way - the concern would be that the GPU fails to power up, but it actually looks like you can prime-run stuff just fine, the problem is exlusively with that game?

Offline

#7 2024-06-28 13:01:11

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

i only play wow, so i can't say if it happens with other games. the problem is that wayland is under performing when compared to xorg, but now xorg simply does not work.

gpu is powering up just fine, i can see that under nvidia settings. and the setup worked like a charm under kde5,  and until recently it worked decent under plasma 6 as well. but now it's all gone.. and i have to stick to wayland which is such a pain ...

Offline

#8 2024-06-28 16:19:14

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

You have not posted the glxinfo32 output.
Also try https://archlinux.org/packages/extra/x86_64/warsow/

Does wow actually work when you're not prime-run'ing it or on wayland?
Because the log you posted looks like it's failure is network related.

Offline

#9 2024-06-28 16:52:36

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

it works on the intel card, but pretty much mediocre performance.
why would a network error cause a drop in resolution, and a crash of wine...


0058:fixme:advapi:ReportEventA (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,013FFAD4,00000000): stub
0058:fixme:advapi:ReportEventW (CAFE4242,0x0004,0x0000,0x00000064,00000000,0x0001,0x00000000,00C11620,00000000): stub
0058:fixme:netapi32:NetGetJoinInformation Semi-stub (null) 013FFB8C 013FFB84
00b0:fixme:wineusb:query_id Unhandled ID query type 0x5.
X Error of failed request:  BadMatch (invalid parameter attributes)
  X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  156 (NV-GLX)
Major opcode of failed request:  156   (NV-GLX)
Minor opcode of failed request:  43  Minor opcode of failed request:  43 ()
 ()  
Serial number of failed request:  162  
  Serial number of failed request:  162Current serial number in output stream:  163
  
Current serial number in output stream:  163
00fc:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -2.
00fc:err:explorer:initialize_display_settings Failed to initialize registry display settings for L"\\\\.\\DISPLAY1".

it clearly shows somethnig X/video related, but nothing that's quite useful for me...

glxinfo32 below

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 6141 MB
    Total available memory: 6141 MB
    Currently available dedicated video memory: 5886 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 4050 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 550.67
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 550.67
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 550.67
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Offline

#10 2024-06-28 21:06:43

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

It  also "clearly shows a" BadWindow (invalid Window parameter), which is an attempt to unmap a non-existing (likely withdrawn) window.
Because of the async nature of X11 the mere presence of errors can be very misleading.

Going by the symptoms, can you run WOW in windowed mode (so the game won't try to change the resolution)
Can you "prime-run xrandr --mode 1920x1440"?

Offline

#11 2024-06-29 19:03:06

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

it crashes no matter how i run it. even if i change the resolution to 1024x768 in the game.. clearly with the latest upgrade something broke within the xorg plasma integration..
i'm guessing this is the way of kde developers to enforce 100% switching to wayland lol....
so they can ditch once and for all xorg support...

Offline

#12 2024-06-30 08:17:06

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

You're not supposed to change the resolution but the mode - we want to prevent the game from trying to manipulate the display resolution and just show up in a window.

Offline

#13 2024-06-30 10:26:35

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

but it doesn't show up regardless of what resolution i set, windowed or not. previously i could change these things without any issue, since the last update no matter what i try, i simply can't play wow under xorg.

Offline

#14 2024-06-30 15:14:40

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

Try any other wine-game and/or to downgrade proton/wine and/or https://wiki.archlinux.org/title/Steam/ … _emulation
For all we can tell you *only* have a problem running that game and that could fall apart at various stages, so you have to figure which one.

Offline

#15 2024-07-01 13:48:24

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

that game was running perfectly fine until recently. i only play wow and chess. i would rather downgrade the whole plasma shit, and return to kde5...


i mean it's really strange, a random kde/plasma component completely broke something on the system, and i need to downgrade wine, or even play another game and so on just to prove the first point. it makes no sense

Last edited by colegu (2024-07-01 13:54:54)

Offline

#16 2024-07-01 14:42:48

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

What makes you so sure it's a plasma update and not a proton/wine update?
For all we know exclusively this game is affected.

Stop whining, that's not gonna get you anywhere.
Isolate the cause so you canstart looking for a trigger and solution or mitigation.

Offline

#17 2024-07-01 15:30:04

colegu
Member
Registered: 2022-04-14
Posts: 75

Re: system upgrade renders nvidia drivers unusable under xorg-x11

because i've not updated wine recently. lol, i'm not whining, i'm annoyed by your constant replies which have nothing to do with the subject.
53k posts of utter rubbish

Offline

#18 2024-07-01 16:15:26

seth
Member
Registered: 2012-09-03
Posts: 60,796

Re: system upgrade renders nvidia drivers unusable under xorg-x11

Good luck. You'll need it.

Offline

#19 2024-07-02 13:50:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,888

Re: system upgrade renders nvidia drivers unusable under xorg-x11

You can try downgrading plasma to 6.0.5 in isolation, just be prepared to update from a TTY if there happen to have been incompatible recompiles. I'd still not be entirely certain about this being the root cause, as this sounds close enough to being a WoW specific issue, but if you're as sure as you are, give it a shot, it'll give you more data towards issue isolation.

Online

Board footer

Powered by FluxBB