5 ms·
Not for me :(. I recently wanted to play some rounds of de_dust (don't judge) and while the game runs its performance are way worse than when running under win
by johnchristopher 5y ago
Not for me :(.
I recently wanted to play some rounds of de_dust (don't judge) and while the game runs its performance are way worse than when running under windows. I know, small GPU, etc. but still.
Months ago an HN user helped me a bit and I found a (temporary maybe) solution: https://news.ycombinator.com/item?id=25348159 https://news.ycombinator.com/item?id=25348159
Maybe I should try the flatpak version now that I am running ubuntu 20.04.
Anyway, don't have time/will to fiddle around so I booted in windows. And I played.
And then I wanted to play again the following day but Windows decided to update itself for an hour and a half and killed my evening.
#2021
Maybe I should start the flatpack version
- bogwog 5y agoIf you're getting worse performance on Linux than Windows, it's probably because you don't have hardware acceleration working. You might be using the Mesa drivers (https://mesa3d.org/ https://mesa3d.org/), which are awesome because they make it possible to run 3D software even if your hardware doesn't support it, but are generally much slower than the official drivers from your GPU vendor (they might even be using software emulation!) What GPU do you have?
- johnchristopher 5y agoIt's an HD 520, embedded.
- brnt 5y agoI see you like to game on hard mode.
- johnchristopher 5y agoMy backlog is quite long ^^ and my feel good games are from the 90's/00's so yeah :].
- bogwog 5y agoYou mean Intel HD 520? Haven't tested that one myself, but Intel usually works out of the box as long as your kernel version is recent enough. It's possible you have the wrong driver loaded though. To check what driver you're using, install a package called hwinfo (`sudo apt install hwinfo`) then run the following: `hwinfo --gfxcard` and look for the line called "Driver". On my Thinkpad with intel HD4600 graphics, the driver is called "i915", but yours might be slightly different. If it says something else, it's probably a software rasterizer. This wiki page has a list of mesa drivers with descriptions: https://wiki.archlinux.org/title/OpenGL#Installation https://wiki.archlinux.org/title/OpenGL#Installation You could also use glxinfo, like `glxinfo | grep "OpenGL vendor"`. On my Thinkpad, the output is "Intel Open Source Technology Center"
- johnchristopher 5y ago> You mean Intel HD 520? Yes. Here's the output. But how do I know the game is actually using these drivers ? Also, when I tried running with proton I couldn't join any servers (insecure mode) but I suppose it's a VAC thing. $ hwinfo --gfxcard|grep Driver -n3 11- SubVendor: pci 0x1028 "Dell" 12- SubDevice: pci 0x079f 13- Revision: 0x07 14: Driver: "i915" 15: Driver Modules: "i915" 16- Memory Range: 0xee000000-0xeeffffff (rw,non-prefetchable) 17- Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable) 18- I/O Ports: 0xf000-0xf03f (rw) -- 20- IRQ: 130 (5238325 events) 21- I/O Port: 0x00 (rw) 22- Module Alias: "pci:v00008086d00001916sv00001028sd0000079Fbc03sc00i00" 23: Driver Info #0: 24: Driver Status: i915 is active 25: Driver Activation Cmd: "modprobe i915" 26- Config Status: cfg=new, avail=yes, need=no, active=unknown 27- 28-Primary display adapter: #23 and $ glxinfo | grep "OpenGL vendor" OpenGL vendor string: Intel Maybe the source engine doesn't like it. I'd have to try another game like Talos to be sure.
- bogwog 5y agoThat looks like you have the right driver. It might be a source engine/porting issue then. There's not much that can be done about that, except run it under proton. However, as you said, that probably won't let you play on some servers. Have you tried running the game's benchmark with and without Proton? Disable vsync and set all the graphics settings to the same level, then see if one performs better than the other. That would at least confirm that the issue is due to a shitty port. > But how do I know the game is actually using these drivers ? I'm not expert on the Linux graphics stack, but if you see that in hwinfo, then it probably means the game is using it unless you have some funky switching setup (like Nvidia Optimus). The safest way to check be to read the game's logs, since it might print out that information (similar to the output of glxinfo). There are debugging tools like Renderdoc you can use, but that might get you VAC banned. Launching Steam through a terminal will show you the standard output of the Steam client, but idk if it also shows you the output of launched games. There's probably a way to do it.