You are not logged in.

#1 2021-07-28 18:40:43

peanutstick
Member
Registered: 2021-07-04
Posts: 39

[SOLVED]Poor performance or crash with games.

I'm trying to play Darksouls 3 on steam, but it's unplayable in 1080p.
I'v tryed to lunch steam via prime-run and them lunch the game, and also with optimus manager.
Proton is enabled in steam and I force it in the game setting.

While the game is running my GPU is active, I can see it with nvtop.

neofetch:

peanutstick@peanutstick 
----------------------- 
OS: Arch Linux x86_64 
Host: 81FV Lenovo Legion Y530-15ICH 
Kernel: 5.13.5-arch1-1 
Uptime: 54 mins 
Packages: 1163 (pacman) 
Shell: zsh 5.8 
Resolution: 1920x1080 
DE: Xfce 4.16 
WM: Xfwm4 
WM Theme: Default 
Theme: Adwaita [GTK2/3] 
Icons: Adwaita [GTK2/3] 
Terminal: xfce4-terminal 
Terminal Font: Monospace 12 
CPU: Intel i5-8300H (8) @ 4.000GHz 
GPU: Intel CoffeeLake-H GT2 [UHD Graph 
GPU: NVIDIA GeForce GTX 1050 Mobile 
Memory: 2157MiB / 7827MiB 

pacman -Q |grep nvidia

lib32-nvidia-utils 470.57.02-1
nvidia 470.57.02-5
nvidia-dkms 470.57.02-3
nvidia-prime 1.0-4
nvidia-settings 470.57.02-1
nvidia-utils 470.57.02-3

Last edited by peanutstick (2021-07-30 19:56:50)

Offline

#2 2021-07-28 22:13:29

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,378

Re: [SOLVED]Poor performance or crash with games.

Define "unplayable".
Is it better at lower resolutions?
Try to disable the compositor, https://wiki.archlinux.org/title/Xfwm#Composite_manager
Is the GPU at its maximum?
Is the CPU at its maximum?
The subject says "or crash", but the post doesn't elaborate. What crashes how? Do you get an error output? Or a coredump?

Also

prime-run glxinfo -B

Offline

#3 2021-07-29 17:06:37

peanutstick
Member
Registered: 2021-07-04
Posts: 39

Re: [SOLVED]Poor performance or crash with games.

I can run Darksouls 3 in 720P at 30 fps, but if I run it in 1080P I'm at 10 fps and my inputs have delay.
The GPU is at 100% and CPU around 40%.

This is the only error I have for an another game (Rayman origins).

0084:err:rpc:RpcAssoc_BindConnection receive failed with error 1726

prime-run glxinfo -B

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 103 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1050/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 470.57.02
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 470.57.02
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 470.57.02
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

I disabled the compositor but it change nothing, I also tried with I3.

Last edited by peanutstick (2021-07-29 17:14:50)

Offline

#4 2021-07-29 20:20:47

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,378

Re: [SOLVED]Poor performance or crash with games.

The GPU is at 100%

Well…
Since it's a mobile GPU, does it matter whether you play on battery or AC? Does the GPU enter a higher performance mode while you play?

Offline

#5 2021-07-29 21:04:18

peanutstick
Member
Registered: 2021-07-04
Posts: 39

Re: [SOLVED]Poor performance or crash with games.

That's the same I think, when I tried I was on AC.
An no while I'm playing it's still slow, the performance still bad.
The GPU can do it, while I was on windows I was able to run them.

Offline

#6 2021-07-29 21:13:00

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,378

Re: [SOLVED]Poor performance or crash with games.

seth wrote:

Does the GPU enter a higher performance mode while you play?

while I was on windows I was able to run them

Different in-game visual feature settings?
vulkan/opengl/directx differences?

Offline

#7 2021-07-29 21:20:56

peanutstick
Member
Registered: 2021-07-04
Posts: 39

Re: [SOLVED]Poor performance or crash with games.

While I play the game still ugly, I have to set it to low in 720P to play it correctly.
I use vulkan, I will try with opengl and directx.
On windows I was with directx and opengl.

Offline

#8 2021-07-29 21:30:55

peanutstick
Member
Registered: 2021-07-04
Posts: 39

Re: [SOLVED]Poor performance or crash with games.

I was wrong, I'm on opengl but steam load vulkan shaders when I start the game.

Offline

#9 2021-07-30 06:23:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,378

Offline

#10 2021-07-30 19:56:29

peanutstick
Member
Registered: 2021-07-04
Posts: 39

Re: [SOLVED]Poor performance or crash with games.

I installed vulkan-icd-loader, lib32-vulkan-icd-loader and  vulkan-tools.
And themnswitch to NVIDIA card, but the problem was not solved.

It was solved when I switched to hybrid.

optimus-manager --switch hybrid

Optimus Manager (Client) version 1.4

Current GPU mode : hybrid
GPU mode requested for next login : no change
GPU at startup : integrated
Temporary config path: no

Thank seth!

Offline

Board footer

Powered by FluxBB