Random framerate drops in Rivals of Aether II, logs seem to indicate it is using Integrated Graphics

So I am trying to play Rivals of Aether II and can manage for the most part a constant 120fps at 720p on my laptop boasting a GeForce GTX 1660 Ti Mobile (Seen in sudo lspci -v | less, however I frequently and randomly get punctual framerate dips in the 45fps, before it goes back up in the 120fps. Both Steam's System Information dialog and the game logs seem to indicate that they are using the UHD Graphics 630 instead:
Video Card:
Driver: Intel Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Driver Version: 4.6 (Compatibility Profile) Mesa 24.2.7
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 119 Hz
VendorID: 0x10de
DeviceID: 0x2191
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 2
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 3840 x 1080
Primary Display Size: 13.54" x 7.64" (15.51" diag), 34.4cm x 19.4cm (39.4cm diag)
Primary VRAM Not Detected
Video Card:
Driver: Intel Mesa Intel(R) UHD Graphics 630 (CFL GT2)
Driver Version: 4.6 (Compatibility Profile) Mesa 24.2.7
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 119 Hz
VendorID: 0x10de
DeviceID: 0x2191
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 2
Primary Display Resolution: 1920 x 1080
Desktop Resolution: 3840 x 1080
Primary Display Size: 13.54" x 7.64" (15.51" diag), 34.4cm x 19.4cm (39.4cm diag)
Primary VRAM Not Detected
Is my graphics card just not detected by Steam? And if so, how do I fix it? (And ideally the framerate issues) PS: I am using the bazzite-nvidia-open:stable branch of Bazzite
13 Replies
HikariKnight
HikariKnight2w ago
can you run switcherooctl and show the output
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
bazzite@LAPTOP-3170F92N:~$ switcherooctl
Device: 0
Name: Intel® UHD Graphics 630
Default: yes
Discrete: no
Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
Name: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile]
Default: no
Discrete: yes
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
bazzite@LAPTOP-3170F92N:~$ switcherooctl
Device: 0
Name: Intel® UHD Graphics 630
Default: yes
Discrete: no
Environment: DRI_PRIME=pci-0000_00_02_0

Device: 1
Name: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile]
Default: no
Discrete: yes
Environment: __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only
Just posted the output
HikariKnight
HikariKnight2w ago
ok so how are you launching steam? as steam is supposed to have a flag in its .desktop file which tells it to run on the discrete gpu
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
Steam boots with the system in my case. I also checked the Start Menu shortcut and have %U as an argument
HikariKnight
HikariKnight2w ago
close steam and run switcherooctl launch bazzite-steam 1 that will force steam to run on the nvidia gpu. otherwise you can force the individual game with __GLX_VENDOR_LIBRARY_NAME=nvidia __NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only %command% as the launch options for the game wont show there, you need to open the .desktop file in a text editor to see the flag
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
Where is the .desktop file for the Start Menu located? Side note: The command line did work seemingly, Steam is now using the NVIDIA GPU, but I need to make sure this stays when I reboot
HikariKnight
HikariKnight2w ago
for the autostart /etc/xdg/autostart/steam.desktop or ~/.config/autostart/ has to include this in the Desktop Entry
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
the one in .config takes priority over /etc so if you have accidentally done changes then look there first it could also be that the game is weird at detecting gpus and need the environment variables in the launch options like i showed easy way to test that is to just try other games and see what gpu they use
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
Weirdly enough, adding the launch options still shows it using the integrated graphics in the logs
LogInit: Compatible Engine Version: 5.4.0-0+UE5
LogInit: Net CL: 0
LogInit: OS: Windows 10 (21H1) [10.0.19043.UNKNOWN] (), CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, GPU: Intel(R) UHD Graphics 630 (CFL GT2)
LogInit: Compiled (64-bit): Aug 2 2024 09:19:31
LogInit: Architecture: x64
LogInit: Compiled with Visual C++: 19.36.32545.00
LogInit: Build Configuration: Shipping
LogInit: Branch Name: UE5
LogInit: Command Line:
LogInit: Compatible Engine Version: 5.4.0-0+UE5
LogInit: Net CL: 0
LogInit: OS: Windows 10 (21H1) [10.0.19043.UNKNOWN] (), CPU: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz, GPU: Intel(R) UHD Graphics 630 (CFL GT2)
LogInit: Compiled (64-bit): Aug 2 2024 09:19:31
LogInit: Architecture: x64
LogInit: Compiled with Visual C++: 19.36.32545.00
LogInit: Build Configuration: Shipping
LogInit: Branch Name: UE5
LogInit: Command Line:
The desktop entry for autostart looks fine as well in ~/.config/autostart/
[Desktop Entry]
Name=Steam
Comment=Application for managing and playing games on Steam
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
Comment[bg]=Приложение за ръководене и пускане на игри в Steam
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
Comment[da]=Applikation til at håndtere og spille spil på Steam
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
Comment[no]=Program for å administrere og spille spill på Steam
Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
Comment[ru]=Приложение для игр и управления играми в Steam
Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
Comment[sv]=Ett program för att hantera samt spela spel på Steam
Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
Comment[uk]=Програма для керування іграми та запуску ігор у Steam
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
Exec=/usr/bin/bazzite-steam -silent %U
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
[Desktop Entry]
Name=Steam
Comment=Application for managing and playing games on Steam
Comment[pt_BR]=Aplicativo para jogar e gerenciar jogos no Steam
Comment[bg]=Приложение за ръководене и пускане на игри в Steam
Comment[cs]=Aplikace pro spravování a hraní her ve službě Steam
Comment[da]=Applikation til at håndtere og spille spil på Steam
Comment[nl]=Applicatie voor het beheer en het spelen van games op Steam
Comment[fi]=Steamin pelien hallintaan ja pelaamiseen tarkoitettu sovellus
Comment[fr]=Application de gestion et d'utilisation des jeux sur Steam
Comment[de]=Anwendung zum Verwalten und Spielen von Spielen auf Steam
Comment[el]=Εφαρμογή διαχείρισης παιχνιδιών στο Steam
Comment[hu]=Alkalmazás a Steames játékok futtatásához és kezeléséhez
Comment[it]=Applicazione per la gestione e l'esecuzione di giochi su Steam
Comment[ja]=Steam 上でゲームを管理&プレイするためのアプリケーション
Comment[ko]=Steam에 있는 게임을 관리하고 플레이할 수 있는 응용 프로그램
Comment[no]=Program for å administrere og spille spill på Steam
Comment[pt_PT]=Aplicação para organizar e executar jogos no Steam
Comment[pl]=Aplikacja do zarządzania i uruchamiania gier na platformie Steam
Comment[ro]=Aplicație pentru administrarea și jucatul jocurilor pe Steam
Comment[ru]=Приложение для игр и управления играми в Steam
Comment[es]=Aplicación para administrar y ejecutar juegos en Steam
Comment[sv]=Ett program för att hantera samt spela spel på Steam
Comment[zh_CN]=管理和进行 Steam 游戏的应用程序
Comment[zh_TW]=管理並執行 Steam 遊戲的應用程式
Comment[th]=โปรแกรมสำหรับจัดการและเล่นเกมบน Steam
Comment[tr]=Steam üzerinden oyun oynama ve düzenleme uygulaması
Comment[uk]=Програма для керування іграми та запуску ігор у Steam
Comment[vi]=Ứng dụng để quản lý và chơi trò chơi trên Steam
Exec=/usr/bin/bazzite-steam -silent %U
Icon=steam
Terminal=false
Type=Application
Categories=Network;FileTransfer;Game;
MimeType=x-scheme-handler/steam;x-scheme-handler/steamlink;
Actions=Store;Community;Library;Servers;Screenshots;News;Settings;BigPicture;Friends;
PrefersNonDefaultGPU=true
X-KDE-RunOnDiscreteGpu=true
I'll check if USFIV or Killer Instinct run on integrated, I think the two tell you what you're running on Yep USFIV reports it's using the NVIDIA Graphics Card
HikariKnight
HikariKnight2w ago
try exit steam and force launch it with gpu 0 switcherooctl launch bazzite-steam 0 and see if it makes a difference, might be that rivals of aether 2 only sees the igpu anyway. so forcing igpu would at least let you see if there is any differentce. also remove the launch options from the game when doing this might be the game being weird then try forcing the igpu to see if it actually uses the igpu
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
I tried doing that and got no change in performance, but then again Steam and USFIV were also still using the NVIDIA card, so I'm a bit confused
HikariKnight
HikariKnight2w ago
my guess would be game being weird at gpu detection you can check if it even does anything on the nvidia gpu with nvidia-smi i believe while the game runs
Mathias Wolfbrok
Mathias WolfbrokOP2w ago
Yep, it seems to be using the GPU anyways. I'll just check with the devs. Either way, thanks for helping me with trying to troubleshoot this!
bazzite@LAPTOP-3170F92N:~$ nvidia-smi
Sun Dec 8 21:29:05 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1660 Ti Off | 00000000:01:00.0 On | N/A |
| N/A 56C P0 47W / 80W | 3406MiB / 6144MiB | 39% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2103 G /usr/bin/kwin_wayland 1MiB |
| 0 N/A N/A 22899 C+G ....local/share/Steam/logs/cef_log.txt 5MiB |
| 0 N/A N/A 24823 C+G ...es\Win64\Rivals2-Win64-Shipping.exe 3361MiB |
+-----------------------------------------------------------------------------------------+
bazzite@LAPTOP-3170F92N:~$ nvidia-smi
Sun Dec 8 21:29:05 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.01 Driver Version: 565.57.01 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce GTX 1660 Ti Off | 00000000:01:00.0 On | N/A |
| N/A 56C P0 47W / 80W | 3406MiB / 6144MiB | 39% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2103 G /usr/bin/kwin_wayland 1MiB |
| 0 N/A N/A 22899 C+G ....local/share/Steam/logs/cef_log.txt 5MiB |
| 0 N/A N/A 24823 C+G ...es\Win64\Rivals2-Win64-Shipping.exe 3361MiB |
+-----------------------------------------------------------------------------------------+
HikariKnight
HikariKnight2w ago
yw, i dont use nvidia but figured this would be easy enough to try diagnose
Want results from more Discord servers?
Add your server