You are not logged in.

#1 2022-01-24 08:21:42

kashishme
Member
Registered: 2021-01-08
Posts: 175

[SOLVED]fps drops on proton games

So a few days back proton games weren't really launching and then the issue was solved and now when i started playing games the fps is ridiculously low before i used to get 100+fps and now i am hardly getting 15fps for the same settings.

here is the previous post for logs and stuff as nothing has changed really: https://bbs.archlinux.org/viewtopic.php?id=273007

i also notice this (https://imgur.com/a/nReJBIx) when i am shutting down my laptop, is this related?

solution: I had to reinstall the games as it was shader cache being built properly because i didn't play the games for a long time, so all i had to do to speed it up was to reinstall the games and everything was smooth as butter

Last edited by kashishme (2022-01-28 09:32:16)

Offline

#2 2022-01-24 08:37:19

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

Re: [SOLVED]fps drops on proton games

Obviously something has changed you wouldn't be here again otherwise. Post those logs from the current state again with the output they return now

Offline

#3 2022-01-24 08:57:36

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

Obviously something has changed you wouldn't be here again otherwise. Post those logs from the current state again with the output they return now

here is the log for mirror's edge catalyst: http://ix.io/3NlS

I tried changing the kernel but that doesn't work either, currently i am on lts kernel (i have tried the normal kernel and zen kernel)

Offline

#4 2022-01-24 09:06:26

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

Re: [SOLVED]fps drops on proton games

You were either in the wrong directory or did not actually enable the PROTON_LOG, look at the "output" you posted.

Also the general set of

glxinfo -B
glxinfo32 -B
vulkaninfo --summary

would be interesting as well.

If you are indeed on the LTS kernel, you didn't forget to setup nvidia-lts did you (and regenerated the initramfs, if you listed the nvidia modules in /etc/mkinitcpio.conf)?

Last edited by V1del (2022-01-24 09:08:02)

Offline

#5 2022-01-24 09:38:36

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

You were either in the wrong directory or did not actually enable the PROTON_LOG, look at the "output" you posted.

Also the general set of

glxinfo -B
glxinfo32 -B
vulkaninfo --summary

would be interesting as well.

If you are indeed on the LTS kernel, you didn't forget to setup nvidia-lts did you (and regenerated the initramfs, if you listed the nvidia modules in /etc/mkinitcpio.conf)?

I have configured the nvidia-lts package
as for the log, its too big for me to post it for some reason let me search for a way meanwhile anyways here are the other commands

glxinfo32 -B: http://ix.io/3Nm6
vulkaninfo --summary: http://ix.io/3Nm8
glxinfo -B: http://ix.io/3Nm6 (yes the output for glxinfo32 and glxinfo is same)

Last edited by kashishme (2022-01-24 09:40:23)

Offline

#6 2022-01-24 09:43:31

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

Re: [SOLVED]fps drops on proton games

You're running a setup w/ independent screens - is proton running on :0.0 or :0.1 ?
(If you don't know what any of that means, you may want to elaborate on your approach to configure the hybrid graphics, https://wiki.archlinux.org/title/NVIDIA_Optimus )

Offline

#7 2022-01-24 14:14:31

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

seth wrote:

You're running a setup w/ independent screens - is proton running on :0.0 or :0.1 ?
(If you don't know what any of that means, you may want to elaborate on your approach to configure the hybrid graphics, https://wiki.archlinux.org/title/NVIDIA_Optimus )

oh ok, so you mean that opening multiple workspaces might be interfering with the games? if you mean external screens then i ain't using any.

Offline

#8 2022-01-24 14:19:57

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

Re: [SOLVED]fps drops on proton games

I mean, the used GPU might have quite some impact on the game performance. Therefore it's crucial to know on what screen you're actually running the game.
This isn't so much about "multiple workspaces".

How do you (intend to) configure the system, https://wiki.archlinux.org/title/NVIDIA_Optimus ?

Offline

#9 2022-01-24 14:37:11

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

seth wrote:

I mean, the used GPU might have quite some impact on the game performance. Therefore it's crucial to know on what screen you're actually running the game.
This isn't so much about "multiple workspaces".

How do you (intend to) configure the system, https://wiki.archlinux.org/title/NVIDIA_Optimus ?

oh ok, i am using runtime d3 to save battery but i have been using that for almost a year now and this issue started like a week ago

Offline

#10 2022-01-24 14:59:55

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

Re: [SOLVED]fps drops on proton games

That doesn't answer any of the previous questions.
* How do you intend to use the hybrid graphics?
* Why are there 2 screens (one per GPU)?
* What screen do you run the game on?

Offline

#11 2022-01-24 15:59:30

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

Re: [SOLVED]fps drops on proton games

They have a pretty weird config file http://ix.io/3LPX that I'm not sure on which basis it has been created that way-

I'd also generally suggest you rid yourself of that config and try to just use the standard support as provided by the auto configuration/primusrun.

Offline

#12 2022-01-25 03:04:22

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

seth wrote:

That doesn't answer any of the previous questions.
* How do you intend to use the hybrid graphics?
* Why are there 2 screens (one per GPU)?
* What screen do you run the game on?

*I don't think i understand the question in that case but i read the wiki u linked and i am using prime render offload from that (i thought that was called runtime d3 sorry), does this answer the question?
*Wait, i have 2 screens? that doesn't make sense i never did anything to get 2 screens other than one time i tried to use an external monitor in which case it was behaving weird (pc won't detect laptop screen when i remove the monitor)
*No idea how do i know/change that?

Last edited by kashishme (2022-01-25 03:12:33)

Offline

#13 2022-01-25 03:05:37

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

They have a pretty weird config file http://ix.io/3LPX that I'm not sure on which basis it has been created that way-

I'd also generally suggest you rid yourself of that config and try to just use the standard support as provided by the auto configuration/primusrun.

I actually lost the original config file and now i can't find anything proper on forums, what should i enter in it? discussion on other forums are outdated and on wiki i can't understand

Offline

#14 2022-01-25 08:02:28

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

Re: [SOLVED]fps drops on proton games

All outputs you posted point to that config still existing "somewhere", check

grep -R intel /{etc,usr/share}/X11/{xorg.conf,xorg.conf.d}

. You should not have any config you made yourself in the first place and remove xf86-video-intel. Automatic configuration setup as done by xorg by default will do the correct thing to properly setup PRIME support.

Seth is referring to two Xorg "screens", which do not need to have a physical representation, but match the config I/you posted. To change the screen it is displayed on you'd manipulate the DISPLAY=:0.0 variable. However seeing as you don't know what this is you might've just been lucky and it happening to work that way, probably due to proton's auto-config handling it properly anyway.

However I'd generally see that

ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)

might lead to an actual problem here, but I'm also assuming that with an actual proper offloading setup this could possibly work anyway.

Last edited by V1del (2022-01-25 08:40:31)

Offline

#15 2022-01-25 09:15:49

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

All outputs you posted point to that config still existing "somewhere", check

grep -R intel /{etc,usr/share}/X11/{xorg.conf,xorg.conf.d}

. You should not have any config you made yourself in the first place and remove xf86-video-intel. Automatic configuration setup as done by xorg by default will do the correct thing to properly setup PRIME support.

Seth is referring to two Xorg "screens", which do not need to have a physical representation, but match the config I/you posted. To change the screen it is displayed on you'd manipulate the DISPLAY=:0.0 variable. However seeing as you don't know what this is you might've just been lucky and it happening to work that way, probably due to proton's auto-config handling it properly anyway.

However I'd generally see that

ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Driver /usr/lib/libvulkan_intel.so supports Vulkan 1.2, but only supports loader interface version 4. Interface version 5 or newer required to support this version of Vulkan (Policy #LDP_DRIVER_7)

might lead to an actual problem here, but I'm also assuming that with an actual proper offloading setup this could possibly work anyway.

here is the output for

grep -R intel /{etc,usr/share}/X11/{xorg.conf,xorg.conf.d}

http://ix.io/3Nsy

what do i put in the config file?

Offline

#16 2022-01-25 09:23:00

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

Re: [SOLVED]fps drops on proton games

Post /etc/X11/xorg.conf and /usr/share/X11/xorg.conf.d/20-intel.conf and you most likely don't want to have anything in /etc/X11/xorg.conf

Offline

#17 2022-01-25 09:24:12

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

Re: [SOLVED]fps drops on proton games

Nothing. You probably want to remove/move away /etc/X11/xorg.conf and restart the Xorg session/reboot. glxinfo -B should show only the intel card unless you preface it with primerun from the nvidia-prime package, try running a proton game again (possibly, though this shouldn't be necessary, adjust the launch options to

primerun %command%

for a given game).

Last edited by V1del (2022-01-26 08:08:46)

Offline

#18 2022-01-26 03:31:39

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

Nothing. You probably want to remove/move away /etc/X11/xorg.conf and restart the Xorg session/reboot. glxinfo -B should show only the intel card unless you preface it with primerun from the nvidia-prime package, try running a proton game again (possibly, though this shouldn't be necessary, adjust the launch options to

primusrun %command%

for a given game).

alright let ne do that, and should i remove xf86-video-intel? because last time i did i just had to stare at only a black screen

Last edited by kashishme (2022-01-26 03:32:55)

Offline

#19 2022-01-26 03:34:21

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

seth wrote:

Post /etc/X11/xorg.conf and /usr/share/X11/xorg.conf.d/20-intel.conf and you most likely don't want to have anything in /etc/X11/xorg.conf

alright, and what about 20-intel.conf? whould i delete it too?

btw i deleted xorg.conf

Offline

#20 2022-01-26 04:01:42

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

Nothing. You probably want to remove/move away /etc/X11/xorg.conf and restart the Xorg session/reboot. glxinfo -B should show only the intel card unless you preface it with primerun from the nvidia-prime package, try running a proton game again (possibly, though this shouldn't be necessary, adjust the launch options to

primusrun %command%

for a given game).

adding

 primusrun %command% 

to launch options just crashes the game and when i start the game without the command the fps in beginning is 200 but then it drops to 15

and removing xf86-video-intel just gives me a black screen

Last edited by kashishme (2022-01-26 04:02:18)

Offline

#21 2022-01-26 08:13:31

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

Re: [SOLVED]fps drops on proton games

removing xf86-video-intel should not give you black screens if you don't have a config referencing the intel driver, unless you have a xrandr config doing invalid names, or still something lingering. From a "black screen" can you switch TTY and post your /var/log/Xorg.0.log? And I of course meant

prime-run %command%

sorry.

What game is this? Can you reproduce this with everything?

Offline

#22 2022-01-26 08:22:48

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

Re: [SOLVED]fps drops on proton games

kashishme wrote:

alright, and what about 20-intel.conf? whould i delete it too?

If this is still around and you removed xf86-video-intel, it'll cause the X11 server to fail.
So if you removed the xf86-video-intel package, remove that file as well.

Edit: oh, and post the new Xorg log either way.

Last edited by seth (2022-01-26 08:23:16)

Offline

#23 2022-01-26 11:14:38

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

here is the xorg log and btw i still get a black screen after removing the file and the package so had to tty

xorg log: http://ix.io/3Nzj

Last edited by kashishme (2022-01-26 11:16:53)

Offline

#24 2022-01-26 11:21:27

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]fps drops on proton games

V1del wrote:

removing xf86-video-intel should not give you black screens if you don't have a config referencing the intel driver, unless you have a xrandr config doing invalid names, or still something lingering. From a "black screen" can you switch TTY and post your /var/log/Xorg.0.log? And I of course meant

prime-run %command%

sorry.

What game is this? Can you reproduce this with everything?

i M doing this 9n mirrors edge catalyst and btw the prime-run command just crashes the game

Offline

#25 2022-01-26 11:23:32

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,281

Re: [SOLVED]fps drops on proton games

[     3.905] (==) Using config file: "/etc/X11/xorg.conf"
[     3.905] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.911] (==) ServerLayout "layout"
[     3.911] (**) |-->Screen "intel" (0)
[     3.911] (**) |   |-->Monitor "<default monitor>"
[     3.911] (**) |   |-->Device "intel"
[     3.911] (==) No monitor specified for screen "intel".
	Using a default monitor configuration.
[     3.911] (**) |-->Screen "nvidia" (1)
[     3.911] (**) |   |-->Monitor "<default monitor>"
[     3.911] (**) |   |-->Device "nvidia"
[     3.911] (==) No monitor specified for screen "nvidia".

You either posted the wrong log or didn't remove xorg.conf .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

Board footer

Powered by FluxBB