You are not logged in.

#26 2022-01-26 11:30:01

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

Re: [SOLVED]fps drops on proton games

Lone_Wolf wrote:
[     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 .

i think there was an error in deleting the file, i did it but whenever i try to remove "20-intel.conf" it shows no such file or directory i can't even see the file through vim or cat terminal just doesn't seem to find it other than plocate, what's wrong? same goes for xorg.conf when i try to see it, i get 'no such file or directory'

Last edited by kashishme (2022-01-26 11:32:33)

Offline

#27 2022-01-26 11:43:18

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

Re: [SOLVED]fps drops on proton games

Post output of

$ ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/

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

Offline

#28 2022-01-26 12:41:23

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

Re: [SOLVED]fps drops on proton games

Lone_Wolf wrote:

Post output of

$ ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/

here: http://ix.io/3NzD

Offline

#29 2022-01-26 12:50:39

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

Re: [SOLVED]fps drops on proton games

Lone_Wolf wrote:

Post output of

$ ls -lR /etc/X11 /usr/share/X11/xorg.conf.d/

i almost forgot mlocate needs reboot to refresh the file list, i rebooted and now i am getting 70fps on mirror's edge catalyst, it worked (removing xorg.conf) also the question here is, will i be needing xorg.conf in future? and also the battery saving option i use (prime-render offload) it will keep working right?

Offline

#30 2022-01-26 13:04:08

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

Re: [SOLVED]fps drops on proton games

The PRIME render offload (...powersaving) was designed with the method you're currently using in mind, if anything it will work "better" (though logically speaking there's no reason for that to be any different if you use the same or other xorg screens) you do not need a xorg.conf, xorg has auto-configuration that will generally do the correct thing.  If it didn't do the correct thing then the better approach is targeted snippets that only change single aspects of the configuration as needed, instead of providing the full definition like you used to be doing.

Please don't forget to mark this as [SOLVED] if it's fixed now.

Offline

#31 2022-01-27 03:13:52

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

Re: [SOLVED]fps drops on proton games

V1del wrote:

The PRIME render offload (...powersaving) was designed with the method you're currently using in mind, if anything it will work "better" (though logically speaking there's no reason for that to be any different if you use the same or other xorg screens) you do not need a xorg.conf, xorg has auto-configuration that will generally do the correct thing.  If it didn't do the correct thing then the better approach is targeted snippets that only change single aspects of the configuration as needed, instead of providing the full definition like you used to be doing.

Please don't forget to mark this as [SOLVED] if it's fixed now.

i will do it after i check if warframe is working properly too

Offline

#32 2022-01-27 04:40:51

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

Re: [SOLVED]fps drops on proton games

Ok, it is not solved yet, whenever i start warframe the fps fluctuates from 150 to 30 wildly and before all this i used to go for 150-200 fps smooth as butter
and the proton log is too big to post here and also since this morning even mirror's edge is running slow i haven't done anything since yesterday when everything was fine other than rebooting my laptop

Last edited by kashishme (2022-01-27 04:48:28)

Offline

#33 2022-01-27 07:32:16

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

Re: [SOLVED]fps drops on proton games

Butter is disgusting, so that's a win, I guess.

Updated xorg log and output of "glxinfo -B" and "prime-run glxinfo -B"?
You can upload the proton log anywhere else, in doubt a google drive.

Offline

#34 2022-01-27 08:01:48

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

Re: [SOLVED]fps drops on proton games

This just sounds like shader caches getting/being rebuilt to me. You'll generally have these episodes whenever there's a driver/mesa update for a short while and they'll eventually fix themselves with enough playing.

Offline

#35 2022-01-27 12:50:03

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

Re: [SOLVED]fps drops on proton games

here is the xorg log: http://ix.io/3NFE

Offline

#36 2022-01-27 12:51:33

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

Re: [SOLVED]fps drops on proton games

V1del wrote:

This just sounds like shader caches getting/being rebuilt to me. You'll generally have these episodes whenever there's a driver/mesa update for a short while and they'll eventually fix themselves with enough playing.

let me get back to you on that after i play the games again a couple times but i am not sure it will work

Offline

#37 2022-01-27 13:12:31

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

Re: [SOLVED]fps drops on proton games

You're still running on the intel chip but the nvidia chip is available w/ the proper glx library, so "prime-run some_game" should™ work on the nvidia chip.
Possible interference might be from your compositor (if any) and of course any side-load (ie. the CPU, RAM or IO becomes the bottleneck eg. when a file indexer is doing its thing)

Offline

#38 2022-01-27 13:15:37

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

Re: [SOLVED]fps drops on proton games

seth wrote:

You're still running on the intel chip but the nvidia chip is available w/ the proper glx library, so "prime-run some_game" should™ work on the nvidia chip.
Possible interference might be from your compositor (if any) and of course any side-load (ie. the CPU, RAM or IO becomes the bottleneck eg. when a file indexer is doing its thing)

i am using picom as my compositor and i tried the prime-run command but it didn't work, should i download 'nvidia-prime' package before doing that? sounds silly but yeah

Offline

#39 2022-01-27 13:37:10

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

Re: [SOLVED]fps drops on proton games

What do you mean by "didn't work"? Yes, it's provided by nvidia-prime and that's what V1del told you to do ~20 posts ago.

Install the package, try to "prime-run" the game, that will run it on the nvidia chip which is supposed to be faster than the intel chip.
Also in doubt kill picom to not get any interference from there and establish a funcitonal baseline.

Offline

#40 2022-01-27 14:19:51

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

Re: [SOLVED]fps drops on proton games

seth wrote:

What do you mean by "didn't work"? Yes, it's provided by nvidia-prime and that's what V1del told you to do ~20 posts ago.

Install the package, try to "prime-run" the game, that will run it on the nvidia chip which is supposed to be faster than the intel chip.
Also in doubt kill picom to not get any interference from there and establish a funcitonal baseline.

it didn't work and i think games randomly works and it doesn't this time it didn't work with the prime-run command

Offline

#41 2022-01-27 14:28:26

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

Re: [SOLVED]fps drops on proton games

"did not work" is not an error description, https://bbs.archlinux.org/viewtopic.php?id=57855

'tis going nowhere.

Offline

#42 2022-01-27 14:30:34

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

Re: [SOLVED]fps drops on proton games

seth wrote:

"did not work" is not an error description, https://bbs.archlinux.org/viewtopic.php?id=57855

'tis going nowhere.

i apologize for saying that, the command

prime-run %command%

in the properties of a game makes no difference to the low fps

Offline

#43 2022-01-27 14:34:56

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

Re: [SOLVED]fps drops on proton games

Can you query the renderer in the game?
(I have zero experience w/ steam but could assume that this doesn't work for client-side reasons)

What if you "prime-run" the entire proton thing?

Offline

#44 2022-01-27 15:09:17

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

Re: [SOLVED]fps drops on proton games

Afaik explicitly enforcing prime-run isn't strictly necessary, as DXVK from within proton will have their own code to prefer the dedicated GPU.

For checking this you could e.g. add

DXVK_HUD=1 %command%

which will show on which renderer DXVK is working on.

Some general other notes based on the xorg log, I still think you should try without xf86-video-intel, but that doesn't really explain how this "suddenly" happened, I still believe based on the description that you are simply running into shader cache rebuilding that you'll have to "get through"

Offline

#45 2022-01-28 03:19:47

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

Re: [SOLVED]fps drops on proton games

seth wrote:

Can you query the renderer in the game?
(I have zero experience w/ steam but could assume that this doesn't work for client-side reasons)

What if you "prime-run" the entire proton thing?

how do you query the renderer and prime-run the proton thing?

Offline

#46 2022-01-28 08:19:23

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

Re: [SOLVED]fps drops on proton games

See V1del's post and I guess "prime-run steam", though "prim-run" only sets some environment, so you could just export that to some shell and run steam/proton/game from there (again: no steam/proton experience whatsoever)

Offline

#47 2022-01-28 09:30:34

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

Re: [SOLVED]fps drops on proton games

apparently it was the shader cache being built, i reinstalled the games and they started working like before (smooth as butter)

Offline

Board footer

Powered by FluxBB