You are not logged in.
First time I installed arch on my laptop i configured all for prime render offloading following this guide: https://wiki.archlinux.org/title/PRIME# … er_offload also to fully power down the GPU when not in use.
The games worked properly (e.g Monster Hunter Rise at 140+ fps).
Then i changed KDE to GNOME and performance dropped to 30-40 FPS plus stuttering.
So i made a fresh installation of Arch with KDE but i don't know why the games are not working as before.
I'm working on this problem for days without solving it. As far i know the problem is my Xorg configuration. In fact i noticed that when the games worked the in-game monitor name was "1.Display" instead now is "2.Display". Also the KDE showed eDP monitor in monitor settings, with the background and the possibility to move the panel; instead now is showing just a grey background with "Built-in screen" text.
The steam launch options are "__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia %command%".
This is my /var/log/Xorg.0.log: https://pastebin.com/raw/6MfkShFp .
This is my xrandrd output: https://pastebin.com/raw/0uxqn9ca .
I tried to make a configuration with nvidia-settings but Xorg just breaks with it.
I tried both modesetting kernel and installing xf86-video-intel package.
I tried with and without a xorg.conf . The only configuration i've is in /etc/X11/xorg.conf.d/00-keyboard.conf .
I tried this: https://bbs.archlinux.org/viewtopic.php … 2#p1960512 without success.
I tried this: https://bbs.archlinux.org/viewtopic.php?id=273501 without success.
I tried this: https://bbs.archlinux.org/viewtopic.php?id=273501&p=2 without success.
glxinfo -B: https://pastebin.com/raw/nE2g8zkq
glxinfo32 -B: https://pastebin.com/raw/Fg51mvMy
lspci -v: https://pastebin.com/raw/NaBV66p2
ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/: https://pastebin.com/raw/vZxK975w
Host: G5 5590
Kernel: 6.0.1-arch2-1
DE: Plasma 5.26.0
CPU: Intel i7-9750H (12) @ 4.500GHz
GPU: NVIDIA GeForce GTX 1660 Ti Mobile
GPU: Intel CoffeeLake-H GT2 [UHD Graphics 630]
/etc/kernel/cmdline: rw quiet bgrt_disable cryptdevice=UUID=eb86bdea-161b-4388-ba2a-f5efc4a85963:cryptlvm root=/dev/MyVolGroup/root nvidia_drm.modeset=1
/etc/mkinitcpio.conf: https://pastebin.com/raw/XZ4VhfsX
grep -R intel /{etc,usr/share}/X11/{xorg.conf,xorg.conf.d} shows no file/directory
Thanks in advance.
PS: sorry for my poor english
Last edited by Leonida12 (2022-10-18 10:28:04)
Offline
There's a bug in steam/proton (... or maybe KDE's relevant integration) that doesn't disable the compositor by default anymore. After starting a game, try to explicitly toggle/disable the KWin compositor with Alt+Shift+F12 I also strongly suggest you drop and remove xf86-video-intel in general
Last edited by V1del (2022-10-15 22:19:33)
Offline
Thank you for your answer.
Unfortunately disabling the compositor didn't solve my problem.
Also, this is my nvidia-setting (i guess that it should show that informations):
Moreover, i noticed that the KDE panel overlaps with the game, producing a flickering effect at the bottom. I tried both window mode and removing/hiding the panel but the fps+stutter problem persists.
Finally, the problem persists also with GNOME.
PS: I tried only one time with xf86-video-intel, but then i've uninstalled it immediately.
Last edited by Leonida12 (2022-10-15 23:45:59)
Offline
I did a good-range of tests.
I reverted all packages to 11 October 2022 (when all worked) but the issue still persists.
This is my xrandr --listproviders output: https://pastebin.com/raw/4KnwYpUA.
I switched to Nvidia Graphic-Only solution (https://wiki.archlinux.org/title/NVIDIA … phics_only) but the issue still persists.
Now this is my /var/log/Xorg.0.log : https://pastebin.com/raw/zvpzfrhn.
Now this is my xrandr --listproviders output: https://pastebin.com/raw/6yn3V9uj.
Now this is my nvidia-setting screen:
.
It shows more settings than before plus the display name, but that "warning" appeared. I don't think it should be a problem as my laptop has the iGPU connected to display and the dGPU not connected to display.
Also i'had to take a selection screenshot because the active-window screenshot just take the entire screen for some reason.
I'm also studying the linux display stack and the PRIME technology to figure out what it's happening and how it works entirely.
From what i've understood till now, Xorg is the display server and the client is the display manager (SDDM in my case).
The INTEL iGPU is the sink and it renders the X screen in which SDDM, and the Window Manager, draw the applications' output. The NVIDIA dGPU is the offload source. When, for example, a Vulkan application starts is wanted to be offloaded to the more powerful NVIDIA dGPU and the output is presented to the INTEL iGPU sink on the same X screen. Correct me if I'm wrong. So i think that the issue is one of these two:
-the Vulkan application (a steam game in this case) is rendered on a different X screen (showed like 2.Display in-game) that overlaps with the first;
-the Vulkan application is offloaded to the iGPU regardless nvidia-smi show that the game runs on the dGPU.
I'll do all the tests needed to make the system working properly, and for properly i guess that PRIME Render Offload should work in my laptop as the first time i setted up arch-linux. I'll try aslo kms early loading. However i don't exactly know what i should do in order to fix the issue, I'm just trying all the possibilities.
Thanks in advance for the help and V1del for the detailed old posts.
Last edited by Leonida12 (2022-10-16 17:02:11)
Offline
I reverted all packages to 11 October 2022 (when all worked) but the issue still persists.
Did you revert to the packages of that date or the one you had at that date?
Did you try the LTS kernel?
when the games worked the in-game monitor name was "1.Display" instead now is "2.Display". Also the KDE showed eDP monitor in monitor settings, with the background and the possibility to move the panel; instead now is showing just a grey background with "Built-in screen" text
Did you have the IGP disabled in the BIOS or an external display attached to the nvidia outputs?
i noticed that the KDE panel overlaps with the game, producing a flickering effect at the bottom
On a limb: https://wiki.archlinux.org/title/Intel_ … flickering
Offline
I reverted all the packages for simplicity.
Yes, i tried the LTS kernel without success.
No, i don't have the IGP disabled in BIOS or an external display attached.
By the way i think i fixed the issue thanks to Lone_Wolf: https://bbs.archlinux.org/viewtopic.php?id=267629.
I just uninstalled lib32-vulkan-intel and vulkan-intel. The games now are running fine, the KDE panel doesn't overlaps more, the in-game display now is ".DISPLAY" and not "2.DISPLAY".
I didn't flag the post as solved yet because I want to test it at least one day. However I'm quite sure that the problem is fixed.
I have to say that this community is the best I've ever seen, thank to all!
Offline
I can confirm that the issue is fixed by uninstalling lib32-vulkan-intel and vulkan-intel.
Offline