Dota 2
Svetlinatora 3 FEB 2024 a las 5:53 p. m.
20fps on linux mint ?
Hi guys. Another one of those... fps issues
Fresh install Linux Mint and of course everything is woking awesome.
Only my dota2 is constantly on 20fps... (Vulcan)
Tried all launch options I could find.
Reinstalled the drivers, etc...
From my experience with my laptop (sound wise), it can take a lot more pressure.
On Windows I get about 150ish FPS
Any ideas please? Thanks

System:
Kernel: 5.15.0-92-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 6.0.4
tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
base: Ubuntu 22.04 jammy
Machine:
Type: Laptop System: ASUSTeK product: ASUS TUF Gaming A15 FA506IV_FA506IV v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: FA506IV v: 1.0 serial: <superuser required> UEFI: American Megatrends
v: FA506IV.320 date: 06/01/2022
Battery:
ID-1: BAT1 charge: 32.7 Wh (97.3%) condition: 33.6/48.1 Wh (69.9%) volts: 12.4 min: 11.7
model: ASUS A32-K55 type: Li-ion serial: N/A status: N/A
CPU:
Info: 8-core model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
Speed (MHz): avg: 1602 high: 3901 min/max: 1400/2900 boost: enabled cores: 1: 1397 2: 1397
3: 1397 4: 1397 5: 1397 6: 1397 7: 1396 8: 1397 9: 1499 10: 3901 11: 1673 12: 1476 13: 1413
14: 1586 15: 1398 16: 1520 bogomips: 92619
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: NVIDIA TU106M [GeForce RTX 2060 Mobile] vendor: ASUSTeK driver: nvidia v: 535.154.05
pcie: speed: 2.5 GT/s lanes: 8 ports: active: none empty: DP-1 bus-ID: 01:00.0
chip-ID: 10de:1f15 class-ID: 0300
Device-2: AMD Renoir vendor: ASUSTeK driver: amdgpu v: kernel pcie: speed: 16 GT/s lanes: 16
ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300
Device-3: Sonix USB2.0 HD UVC WebCam type: USB driver: uvcvideo bus-ID: 3-4:3
chip-ID: 322e:202c class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati,nvidia
unloaded: fbdev,modesetting,nouveau,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 2560x2520 s-dpi: 96 s-size: 677x667mm (26.7x26.3") s-diag: 950mm (37.4")
Monitor-1: HDMI-A-0 mapped: HDMI-A-1 pos: primary,top-left model: VG27AQ1A serial: <filter>
res: 2560x1440 dpi: 109 size: 596x336mm (23.5x13.2") diag: 685mm (27") modes: max: 2560x1440
min: 720x400
Monitor-2: eDP pos: bottom-r res: 1920x1080 hz: 144 dpi: 142 size: 344x194mm (13.5x7.6")
diag: 395mm (15.5")
OpenGL: renderer: RENOIR (renoir LLVM 15.0.7 DRM 3.42 5.15.0-92-generic)
v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
Device-1: NVIDIA TU106 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:10f9 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel
v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A pcie: speed: 16 GT/s
lanes: 16 bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
speed: 16 GT/s lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.15.0-92-generic running: yes
Sound Server-2: PulseAudio v: 15.99.1 running: yes
Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169
v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
class-ID: 0200
IF: enp2s0 state: down mac: <filter>
Device-2: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter vendor: Lite-On
driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 03:00.0
chip-ID: 10ec:c822 class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: Lite-On Bluetooth Radio type: USB driver: btusb v: 0.8 bus-ID: 5-1:2
chip-ID: 04ca:4005 class-ID: e001 serial: <filter>
Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 6d7d hci-v: 5.1 rev: 19b7
Drives:
Local Storage: total: 953.88 GiB used: 118.25 GiB (12.4%)
ID-1: /dev/nvme0n1 vendor: Silicon Power model: SPCC M.2 PCIe SSD size: 476.94 GiB
speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter> rev: EJFM90.1 temp: 23.9 C scheme: GPT
ID-2: /dev/nvme1n1 vendor: Micron model: 2210 MTFDHBA512QFD size: 476.94 GiB speed: 31.6 Gb/s
lanes: 4 type: SSD serial: <filter> rev: P6MA001 temp: 32.9 C scheme: GPT
Partition:
ID-1: / size: 119.59 GiB used: 41.53 GiB (34.7%) fs: ext4 dev: /dev/nvme0n1p1
ID-2: /boot/efi size: 96 MiB used: 34.8 MiB (36.3%) fs: vfat dev: /dev/nvme1n1p1
ID-3: /home size: 348.23 GiB used: 76.68 GiB (22.0%) fs: ext4 dev: /dev/nvme0n1p2
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 48.5 MiB (2.4%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 3-3:2 info: SHARKOON GmbH [Mediatrack Edge Mini Keyboard] type: Keyboard,Mouse
driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 100mA chip-ID: 1ea7:0066
class-ID: 0301
Device-2: 3-4:3 info: Sonix USB2.0 HD UVC WebCam type: Video driver: uvcvideo interfaces: 2
rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 322e:202c class-ID: 0e02
Hub-4: 4-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Hub-5: 5-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 5-1:2 info: Lite-On Bluetooth Radio type: Bluetooth driver: btusb interfaces: 2
rev: 1.0 speed: 12 Mb/s power: 500mA chip-ID: 04ca:4005 class-ID: e001 serial: <filter>
Hub-6: 6-0:1 info: Super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A gpu: amdgpu temp: 38.0 C
Fan Speeds (RPM): cpu: 2500
Repos:
Packages: 2287 apt: 2262 flatpak: 25
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http:// /packages.linuxmint.com virginia main upstream import backport
2: deb http:// /archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
3: deb http:// /archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
4: deb http:// /archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
5: deb http:// /security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
Processes: 415 Uptime: 23m wakeups: 1 Memory: 15.04 GiB used: 4.84 GiB (32.2%) Init: systemd
v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 6.0.4 inxi: 3.3.13
< >
Mostrando 1-15 de 23 comentarios
ˢᵈˣ FatCat 3 FEB 2024 a las 8:17 p. m. 
stop trying to be a hipster bro, grow up, pay taxes, buy real pc gaming
no154370 3 FEB 2024 a las 9:18 p. m. 
Linux is not a Gaming Computer at all.

anyone who recommend Linux to play games on Gaming Platforms don't know anything at all.

majority of the games on Gaming Platforms are not fully compatible with Linux at all.
Nivek 4 FEB 2024 a las 2:14 a. m. 
Use Proton on Experimental and ensure your NVIDIA driver is 535 and not 545...

545 for some reason has a lot of issues with Wayland and since it's still in beta you'd be better off on 535. On Linux mint you can check this by opening the start menu and typing "Driver" and selecting the first option, From there, you should see a selection with "Additional Drivers" which is where you'll find the 535 driver and see if it's set or not. :)

Also, safe bet is to just run updates! Linux Mint is a good OS, especially for gaming, So you shouldn't have this serious of an issue... Once you set 535 and experimental it should run significantly better. For some reason Linux Mint cannot run Dota 2 out of the box correctly so it must be ran through Proton.

Game on brother, you're making the right decision. :steamhappy:
]"] 4 FEB 2024 a las 2:38 a. m. 
That's not normal, no other recent reports of such drastic FPS drops on https://github.com/ValveSoftware/Dota-2/issues

Maybe Dota is using the AMD iGPU?

Remove all launch options first, don't add random ones you find around. There is a lot of bad advice or outdated info.

Publicado originalmente por Nivek:
For some reason Linux Mint cannot run Dota 2 out of the box correctly so it must be ran through Proton.

Source? This is a big claim considering different Mint versions and lack of similar reports.
Sentient Entropy 4 FEB 2024 a las 3:05 a. m. 
Publicado originalmente por FatCat:
stop trying to be a hipster bro, grow up, pay taxes, buy real pc gaming


Publicado originalmente por no154370:
Linux is not a Gaming Computer at all.

anyone who recommend Linux to play games on Gaming Platforms don't know anything at all.

majority of the games on Gaming Platforms are not fully compatible with Linux at all.

One, not appropriate responses for a tech support question, and two, ♥♥♥♥ Microsoft and their grasping ♥♥♥♥♥♥♥♥. Maybe Linux isn't 100% viable today, but I like knowing there's an option on the horizon if Windows continues its trend of gettin worse and more invasive with evey version.
]"] 4 FEB 2024 a las 3:12 a. m. 
Publicado originalmente por Sentient Entropy:
Please don't respond to trolls, you are only derailing the thread further and not helping. Just block.
Svetlinatora 4 FEB 2024 a las 3:28 a. m. 
Thanks for jumping in guys.
Quick update: just found out that, unless I right click Steam and choose "Run with dedicated GPU", it will not use my 2060 at all... So this brought my lobby FPS to 170-180.
However, once in a game my max is around 60-70 and starts dropping after a while. (for comparison, in Windows I get around 110-120)
Afterwards:
1) Removed all launch options
2) Made sure the driver is 535 (was before as it is recommended I did not change it)
3) Enabled the Proton. Tried with both the latest version and Experimental. However, once I get to the lobby, the game just crashes.
Any ideas why Proton crashes it?
Many thanks
]"] 4 FEB 2024 a las 4:39 a. m. 
Publicado originalmente por Svetlinatora:
unless I right click Steam and choose "Run with dedicated GPU", it will not use my 2060 at all...

You should be able to choose Nvidia dGPU for specific games using an environment variable, instead of running Steam on the dGPU.

Example launch option for Steam game:

__NV_PRIME_RENDER_OFFLOAD=1 %command%

If your system reports the AMD iGPU first, you might need another env var:

__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command%

Reference: https://download.nvidia.com/XFree86/Linux-x86_64/535.154.05/README/primerenderoffload.html#configureapplications

---

About the FPS drop or Proton crash, i don't have more info for you. I play with 60 FPS cap on a RX 6600 (roughly in the same ballpark as 2060), so I won't experience something like 100 to 60 FPS drop. The game sometimes drops frames especially in late game with illusion heroes but still 60 or close to 60 FPS.

I suggest looking through https://github.com/ValveSoftware/Dota-2/issues and reporting if you don't find anything.
D4C 4 FEB 2024 a las 5:31 a. m. 
i dont know man,people these day really pain in the ass like using linux or mac to play game,like wtf,you never check you thing before you buy it or something?
Pepe 4 FEB 2024 a las 6:00 a. m. 
I'm glad you find the issue was related to not using the dedicated GPU, but the iGPU. On that point, make sure you are running the closed-source nvidia drivers, and not the open source version (nouveau). Make sure the nouveau version is removed from your system. If you have consistent bad experience with the drivers, try reinstalling them. At least on Fedora based OSs, the nvidia ecosystem contains multiple packages, one being akmod-nvidia, which is in charge of compiling the kernel module for the nvidia drivers. I had an issue on one PC a couple of times with poor performance after updating the drivers, because, what I assumed there, the kernel module didn't compile properly, for some reason. Reinstalling akmod-nvidia package fixed it for me. Note that this package in particular uses some post scripts that run even if the package seems to be installed successful already. It's a good idea not to reboot for a couple of minutes before rebooting, or you could just watch in the process tree there's nothing related to kmod/akmod running. I think the nvidia deb package is bndled different, but there still should be some kind of kernel module compilation at one point. Try removing all nvidia packages and reinstalling them.

You don't need Proton to run Dota 2. Dota 2 has binaries for GNU/Linux. By using Proton, even if it goes through Vulkan, there's still a transformation layer on top that your PC has to process. If you install the GNU/Linux version, you get the best performance you can get. Dota 2 menus are trash, some parts of the GUI just ramps up the GPU to 100% for no obvious reason.

There are also optimizations you can make based on your Desktop Environment (DE). Some DEs work fine out of the box, others need a bit of tinkering. I think the differences are minor and a couple of FPSs are not worth the work. But if you like tinkering, you have this option as well. There are many discussions on the web talking about game optimizations. I'll just share this Guide from a Steam user: https://steamcommunity.com/sharedfiles/filedetails/?id=1787799592

Another thing to consider is using X11 vs Wayland as "display protocol"* that might come with your distro. I think Linux MInt still uses X11 by default, and only the latest CInnamon 6 has Wayland support, but it's something you can check out (https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used(. Wayland is still alpha/beta software. Even if hard fans are out there telling everyone how wonderful Wayland is, it has its shortcomings when it comes to games and HiDPI, at least that was my experience using it a couple of times a year or so back. There should be a button in your Login Manager to switch between X11 and Wayland.

* X11 does more than Wayland, it's not quite just a protocol, but parts "missing" from Wayland are actually decoupled functionality from the monolith and made as stand alone software.

If you have any kind of issue with your GNU/Linux distro, you'll have more success making a topic on Steam for Linux discussion forum, than on a game forum: https://steamcommunity.com/app/221410/discussions/.
Última edición por Pepe; 4 FEB 2024 a las 6:02 a. m.
ˢᵈˣ FatCat 4 FEB 2024 a las 7:07 p. m. 
ppl are just hipster, if you can buy 2060 meaning you can buy windows, and safe some trouble, i bet everyday he have tshirt says : linux enjoyer or something
no154370 4 FEB 2024 a las 9:23 p. m. 
Publicado originalmente por FatCat:
ppl are just hipster, if you can buy 2060 meaning you can buy windows, and safe some trouble, i bet everyday he have tshirt says : linux enjoyer or something

or it is plainly obvious that OP has this misconception

1) Linux is the best Gaming Computer to play Games
ˢᵈˣ FatCat 5 FEB 2024 a las 12:36 a. m. 
sure bro whatever float your boat
B1asman 5 FEB 2024 a las 1:16 a. m. 
1
Svetlinatora 5 FEB 2024 a las 11:11 a. m. 
Hey guys. Ready for a follow up :)
First of all, thanks again your time. I hope the below might help someone else.

Will start with the trolls... I've been using windows for maybe 25 years (probably around the time I met all your mums :D jk ). Windows is just fine, but you know, a man has too explore his options.

Regarding my issue:
After many trials and errors, here are my conclusions:
1. Despite all my efforts, it turns out that nothing was using my 2060 at all. Even though it was on-demand. At the end everything was ran by my CPUs basically.
Managed to find that out by running:
nvidia-smi --query-gpu=gpu_name,utilization.gpu --format=csv
in the terminal and it always showed 0%, regardless of software or game I was running.
It did not matter if I ran them through the terminal with attributes or just rightclicking the icon and choosing "Run with dedicated GPU". Always 0%

2. Did the logical thing and from the NVIDIA tool/driver, I switched the active profile to: NVIDIA (performance mode). So now my 2060 is used for basically everything, which I don't mind to be honest. At first I thought that the laptop would be quite noisy, but there is an easy fix:
From the software manager (Linux Mint) download "Power Profiles". From there you can switch between Power saver, balanced and performance. So far running chrome on battery saver, with 10 open tabs, 2 streams and youtube on 2k res - running smooth as hell and I can barely hear my laptop.
Note: you might need to install power-profiles-daemon for the Power Profiles to work.
sudo apt-get -y install power-profiles-daemon
(In my opinion, when I did the same in Windows, chrome was studdering and the 2k video was very disappinting to watch.)

3. So at that point I though everything was fixed. To my surprise, even with the above settings, not a single game was using my 2060. The only way out I found is an app called Lutris. It's a game launcher/compiler/installer etc. and can be donwloaded in the software manager (Linux Mint).
Similar to Steam, if I rightclick on Lutris and click "Run with dedicated GPU", any game I launch from within it, will indeed use my dedicated GPU.
By the way, Lutris can even wrap *.exe files in Wine. So you can run Windows programs and games in Linux within seconds.

4. But let's get back to Dota 2 :)
Current setup brought my ingame FPS to around 70-75 and sometimes even more. No drops or spikes. Game feels way smoother than running 120FPS on windows.

In conclusion, I feel like it is quite a challenge to achive balance with linux (at least as a beginner). But once you do, it feels quite nice and in my opinion way slicker than windows.
Thanks again.
Will keep an eye on the thread for a few, so let me know if have any follow ups :)
Cheers
Última edición por Svetlinatora; 5 FEB 2024 a las 11:11 a. m.
< >
Mostrando 1-15 de 23 comentarios
Por página: 1530 50

Publicado el: 3 FEB 2024 a las 5:53 p. m.
Mensajes: 16