I have noticed that some games were more laggy than usual and after some digging I figured out that for some reason it's not utilizing the dGPU (it's an nvidia GPU). But when I try to run the same game with proton the dGPU is utilized.
system:
Distro: Linux Mint 22.3 - Cinnamon 64-bit
dGPU: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile]
iGPU:Radeon 680M
Here's the log when I run a game
nwjs-v0.106.0-linux-x64
wayland not detected, starting in x11
[42052:42052:0130/052148.870736:WARNING:chrome/browser/signin/account_consistency_mode_manager.cc:74] Desktop Identity Consistency cannot be enabled as no OAuth client ID and client secret have been configured.
[42052:42052:0130/052148.892343:WARNING:chrome/browser/push_messaging/push_messaging_service_factory.cc:33] PushMessagingService could not be built because InstanceID is unexpectedly disabled
[42109:42109:0130/052148.934932:WARNING:chrome/app/chrome_main_delegate.cc:310] process type 'renderer' should be created through the zygote.
[42089:42089:0130/052149.097438:WARNING:sandbox/policy/linux/sandbox_linux.cc:406] InitializeSandbox() called with multiple threads in process gpu-process.
[42052:42052:0130/052149.139416:WARNING:ui/base/idle/idle_linux.cc:98] None of the known D-Bus ScreenSaver services could be used.
[42052:42052:0130/052149.154303:INFO:CONSOLE:2] "ccsc22", source: /home/xxx/desktopapps/nwjs/nwjs/packagefiles/jspatches/case-insensitive-nw.js (2)
[42052:42052:0130/052149.269907:INFO:CONSOLE:7] "Uncaught SyntaxError: Unexpected token '<'", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/plugins/GraphicsRenderFix.js (7)
[42052:42052:0130/052149.271239:INFO:CONSOLE:23] "Quit Game", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/plugins/gameEnd.js (23)
[42052:42052:0130/052149.272832:INFO:CONSOLE:115] "Greenworks failed to load. Make sure you copied all files from the Steamworks SDK to the right folders;", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/plugins/OrangeGreenworks.js (115)
[42052:42052:0130/052149.272870:INFO:CONSOLE:116] "http://hudell.com/blog/orange-greenworks", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/plugins/OrangeGreenworks.js (116)
[42052:42052:0130/052149.272888:INFO:CONSOLE:117] "Error: Cannot find module './lib/greenworks-linux64'
Require stack:
- /home/xxx/xxx/xxx/xxx/xxx/www/greenworks.js
- /home/xxx/desktopapps/nwjs/nwjs/nwjs/nwjs-v0.106.0-linux-x64/www/index.html", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/plugins/OrangeGreenworks.js (117)
[42052:42052:0130/052149.288817:INFO:CONSOLE:2423] "Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/rpg_core.js (2423)
[42052:42052:0130/052149.301300:INFO:CONSOLE:27682] "
%c %c %c PixiJS 4.5.4 - ✰ WebGL ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥
background: #ff66a5; padding:5px 0; background: #ff66a5; padding:5px 0; color: #ff66a5; background: #030307; padding:5px 0; background: #ff66a5; padding:5px 0; background: #ffc3dc; padding:5px 0; background: #ff66a5; padding:5px 0; color: #ff2424; background: #fff; padding:5px 0; color: #ff2424; background: #fff; padding:5px 0; color: #ff2424; background: #fff; padding:5px 0;", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/libs/pixi.js (27682)
[42052:42052:0130/052154.238867:INFO:CONSOLE:1197] "Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently", source: chrome-extension://mnbfjcnejicgljdjlkaoedcikljlgepa/www/js/rpg_core.js (1197)
I have noticed that some games were more laggy than usual and after some digging I figured out that for some reason it's not utilizing the dGPU (it's an nvidia GPU). But when I try to run the same game with proton the dGPU is utilized.
system:
Here's the log when I run a game