Jump to content

Terrible performance on linux mint

Switched to linux mint today and im only getting about 20 fps in factorio and around 15 or less in payday 2. These games ran fine in windows, what could be the problem? Also the look of the game in payday looks worse even when i put the graphics settings on max.

On factorio i tried Proton Experimental, 9.0 beta, 8.0-5 but they got the error:
`
Failed to compile shader __core__/graphics/shaders/sprice.psk as ps_4_0: __core__/grpahics/shaders/sprite.psh:25:17: E5000: syntax error, unexpected NEW_IDENTIFIER, expecting ')' or ','
`
And on payday i tried proton 8.0-5 with the launch options:
WINEDLLOVERRIDES="wsock32=n,b"

My specs are:
CPU: i5 12600kf
GPU: RTX 2080 Super
Storage: 2TB M.2 + 4TB M.2
RAM: 16gb @  2666mhz i think

I had the proprietary nvidia-driver-535 535.161.01-0ubuntu0.22.04.1 and then tried 545.29.06-0ubuntu0.22.04.2 and just got same fps.

Link to comment
Share on other sites

Link to post
Share on other sites

What is the output of this terminal command

inix -G

Does it list nvidia driver?

 

38 minutes ago, CentreMetre said:

On factorio i tried Proton Experimental, 9.0 beta, 8.0-5 but they got the error:
`
Failed to compile shader __core__/graphics/shaders/sprice.psk as ps_4_0: __core__/grpahics/shaders/sprite.psh:25:17: E5000: syntax error, unexpected NEW_IDENTIFIER, expecting ')' or ','

Factortio has a native linux build, uncheck steam compatibility tool under game proprieties to run native linux version.

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, C2dan88 said:

Does it list nvidia driver?

Nope just get

Command 'inix' not found, did you mean:
  command 'init' from deb systemd-sysv (249.11-0ubuntu3.11)
  command 'init' from deb finit-sysv (4.2-1)
  command 'inxi' from deb inxi (3.3.13-1-1)
  command 'nix' from deb nix-bin (2.6.0+dfsg-3)
  command 'ninix' from deb ninix-aya (5.0.9-1)
Try: sudo apt install <deb name>
inxi -G gets this if you meant inxi:

Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] driver: nvidia v: 545.29.06
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution:
    1: 1360x768~60Hz 2: 1920x1080~60Hz
  OpenGL: renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
    v: 4.6.0 NVIDIA 545.29.06
I tried 535.161.01 and 535.161.01

image.png.e56a51a968f60d104101fb11028f84ed.png

6 minutes ago, C2dan88 said:

Factortio has a native linux build, uncheck steam compatibility tool under game proprieties to run native linux version.

As i mentioned in my post i only got around 20fps, i should've specified without proton. But this is why im really confused since i thought factorio had a native linux version, and still bad performance. This is in the main menu in both games aswell

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, CentreMetre said:

Nope just get…

unfortunately @C2dan88's command contains a typo. The correct command is

inxi -G

not inix. You should get output similar to mine, though obviously for Nvidia, not AMD

Spoiler
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver: amdgpu
    v: kernel
  Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 driver:
    X: loaded: amdgpu dri: radeonsi gpu: amdgpu resolution: 1: 1920x1200~60Hz
    2: 2560x1440
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
    renderer: AMD Radeon RX 6600 (radeonsi navi23 LLVM 16.0.6 DRM 3.54
    6.6.19-1-MANJARO)
  API: Vulkan v: 1.3.276 drivers: radv surfaces: xcb,xlib

 

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

3 minutes ago, Eigenvektor said:

unfortunately @C2dan88's command contains a typo. The correct command is

inxi -G

not inix. You should get output similar to mine, though obviously for Nvidia, not AMD

  Hide contents
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] driver: amdgpu
    v: kernel
  Display: x11 server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 driver:
    X: loaded: amdgpu dri: radeonsi gpu: amdgpu resolution: 1: 1920x1200~60Hz
    2: 2560x1440
  API: EGL v: 1.5 drivers: radeonsi,swrast platforms: x11,surfaceless,device
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.0.2-manjaro1.1
    renderer: AMD Radeon RX 6600 (radeonsi navi23 LLVM 16.0.6 DRM 3.54
    6.6.19-1-MANJARO)
  API: Vulkan v: 1.3.276 drivers: radv surfaces: xcb,xlib

 

Yep tried that, put it underneath the failed one

10 minutes ago, CentreMetre said:

inxi -G gets this if you meant inxi:

Graphics:
  Device-1: NVIDIA TU104 [GeForce RTX 2070 SUPER] driver: nvidia v: 545.29.06
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia resolution:
    1: 1360x768~60Hz 2: 1920x1080~60Hz
  OpenGL: renderer: NVIDIA GeForce RTX 2070 SUPER/PCIe/SSE2
    v: 4.6.0 NVIDIA 545.29.06
I tried 535.161.01 and 535.161.01

 

Link to comment
Share on other sites

Link to post
Share on other sites

33 minutes ago, CentreMetre said:

ep tried that, put it underneath the failed one

Umm, so it is the using nvidia driver.

Does running

glxinfo -B

List nvidia as the opengl render too?

 

Should get output similar to this

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

 

Only thing I can suggest. Is to add the (unofficial) nvidia driver ppa (this should work with mint)

https://itsfoss.com/ubuntu-official-ppa-graphics/

 

Purge all nvidia drivers and fresh install latest 550 driver. To do so hit Ctrl+Alt+F2 (or 3, 4, 5 etc) to enter tty terminal (no graphical interface). Login to the terminal and run these commands

sudo service lightdm stop
sudo apt remove nvidia-* --purge
sudo rm /etc/X11/xorg.conf
sudo apt install nvidia-graphics-drivers-550

Reboot and should now be using new nvidia driver.

Link to comment
Share on other sites

Link to post
Share on other sites

I installed steam via the deb file on the website and it seems like its fixed it. Got 60fps on factorio native, and going to test payday 2. will mark as solution when tested and if it works.

Dunno how the steam client origin changes the game performance but i wont question it.

@C2dan88 @Eigenvektor

Edit: i think its cos i used some sort of community flatpak version, which didnt seem to work for me.

Link to comment
Share on other sites

Link to post
Share on other sites

7 hours ago, CentreMetre said:

Dunno how the steam client origin changes the game performance but i wont question it.

Edit: i think its cos i used some sort of community flatpak version, which didnt seem to work for me.

Is there a reason you're not simply using the version that's provided in Mint's repositories? You can either do that graphically from their software center, or also on the terminal:

sudo apt install steam

You shouldn't have to hunt around for Steam on various websites.

 

Flatpak brings along its own version of every library the software requires. This has the advantage that different programs with conflicting dependencies can be installed without issues. It has the disadvantage that programs requires more space. And in this case apparently comes with some older libs that appear to break 3D acceleration.

 

What about your other issue with the additional download locations, is that working as well now?

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, Eigenvektor said:

Is there a reason you're not simply using the version that's provided in Mint's repositories? You can either do that graphically from their software center, or also on the terminal:

sudo apt install steam

You shouldn't have to hunt around for Steam on various websites.

 

Flatpak brings along its own version of every library the software requires. This has the advantage that different programs with conflicting dependencies can be installed without issues. It has the disadvantage that programs requires more space. And in this case apparently comes with some older libs that appear to break 3D acceleration.

 

What about your other issue with the additional download locations, is that working as well now?

I remember Linus(from the tech tip) once nuked his desktop on popos from doing apt install steam. It might sound counter intuitive but commercial/propietary softwares I would always get from manufacturer website if it is available because I just don't trust the repo to have everything correctly package or updated. I download directly from jetbrain for all of its IDEs for example. 

Sudo make me a sandwich 

Link to comment
Share on other sites

Link to post
Share on other sites

1 hour ago, wasab said:

I download directly from jetbrain for all of its IDEs for example. 

Never had issues with Steam from the official repos, nor IntelliJ Ultimate from the AUR.

 

As far as I can remember, Linus got a warning about some incompatible packages, and accepted the first possible resolution which is what broke his desktop.

Remember to either quote or @mention others, so they are notified of your reply

Link to comment
Share on other sites

Link to post
Share on other sites

13 hours ago, Eigenvektor said:

Is there a reason you're not simply using the version that's provided in Mint's repositories? You can either do that graphically from their software center, or also on the terminal:

sudo apt install steam

You shouldn't have to hunt around for Steam on various websites.

 

Flatpak brings along its own version of every library the software requires. This has the advantage that different programs with conflicting dependencies can be installed without issues. It has the disadvantage that programs requires more space. And in this case apparently comes with some older libs that appear to break 3D acceleration.

 

What about your other issue with the additional download locations, is that working as well now?

I went on software manager and got the one that looked the most official, but not the most highly rated, 4.1 vs 4.2. The one i used (flatpak & 4.1 stars) looked official tbh, i didnt read the description. The other one (4.2 stars system package) has screen shots that look like old steam so i wasnt sure if it had even been updated recently.

Im still kinda new, so i dont really know what to look for.

I get its better to install from the software manager cos then your os can more easily manage packages.

 

Also yes that is fixed with the deb package i downloaded from the website. The flatpak i downloaded did have a note in the description saying about that bug and that you need to grant access first, but i had the performance issue aswell so. Anyway its all fixed it seems

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×