Is there a way to force FiveM to use a browser and/or executable as the FiveM_ChromeBrowser subprocess?
If there is a way to code into the FiveM framework, the option of choosing which browser and/or which chrome to use. This would resolve all secondary non-dedicated graphic card issues such as those found on Dell Gaming Laptops and any other gaming laptop with onboard intel graphics card. With Chrome, it runs only on the dedicated on-board graphics card, regardless many including myself have gaming laptops with secondary graphics cards installed. Even with symbolic links to create gpu-chrome version, the FiveM app of course calls the main chrome.exe browser. Chrome, does not allow the option with both AMD/nVidia and others of choosing which GPU is used. This causes all FiveM connectivity and in-game browser/NUI issues such as not loading at all. With my onboard graphics, everything is on lowest setting in order to run game with onboard GPU, whereas max with secondary works just fine but no NUI functionality.
With the F8 debugger, typing “connect 111.111.111.111:30120” to connect to a server allows secondary graphic cards to be used and to load into a known server via IP ( check servers list on desktop chrome, get IP , use to enter ), but, no NUI or chrome can be used in game which effectively ruines most server use. So the FiveM_chromebrowser subprocess can not load anything on screen that requires NUI.
Question after the long winded explanation: Is there a way to force FiveM to use a specific subprocess as the browser instead of using intels choice crappy onboard GPU which makes game unplayable for anyone who uses dual card gaming laptops.
system
2
Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.
Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.
To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.
Thanks for keeping these forums tidy!

If you are using nvidia you should be able to choose which gpu the chrome plugin uses . In your case you would need browse to the process and add it manually.
Change CUDA GPUs and OpenGL rendering to use the gpu you wish.
1 Like
Although it works for selecting GPU for FiveM, it breaks the FiveM_ChromeBrowser subprocess. And nVideo / AMD are different.
With any laptop that has a dedicated onboard graphics card, 3D settings does not change the card used with Chrome. Chrome, Firefox - both disabled using AMD/Nvidia GPUs by design due to security issues. Some peeps can use chrome://flags/ , set the flag, then restart and ensure it’s using secondary GPU with chrome://gpu , but, there is no choosing a secondary card for “Chrome” with 3D settings or AMD Interchangeable Graphics. Both Chrome/FF automatically use the onboard graphics card if present such as intel. Even with FiveM being selected to high end GPU, Chrome itself ( in this case, FiveM_ChromeBrowser subprocess ) still uses GPU 0(primary). Desktops, dont’ have this specific problem. Intel gaming laptops do.
I loaded my AMD to laptop to edit this post:
AMD, even with chrome flags set, does not allow changing the GPU with AMD or nVideo (I’ll have to load another LP). However, using some mklink from cmd, can setup a gpu-chrome. Hence the original question in OP: "Is there a way to force FiveM to use a specific subprocess as the browser such as “gpu-chrome.exe’ as shown in radeon switchable graphics area of screenshot.” Note FiveM using GPU 1 ( correct GPU ), whereas Chrome still uses GPU 0 (unswitchable), and FiveM is empty loading screen due to this.
bismuth
5
… what? Your conclusions are utterly and completely wrong and there is no way to ‘magically swap’ the executable and fix this kind of issue, especially as the FiveM_ChromeBrowser binary is a copy of FiveM.exe and not at all related to an actual browser binary at all.
This is easy to fix by tweaking around the DXGI infrastructure if we actually can reproduce the issue on hardware we have access to, as was done with a fix for AMD eGPUs a few releases ago, but this apparently still did not fix built-in dedicated GPUs.
In addition, usually it should be possible to add FiveM_ChromeBrowser as an override to your GPU drivers by using the option to browse for an executable by hand (and helping out the dialog box .exe filter by directly entering the filename). This again has nothing to do with security issues or in fact anything related to standard Chrome since we’re using a custom fork of CEF and a custom set of flags that completely ignores the GPU blacklist.
If your GPU drivers somehow decide to have non-standard interception methods for selecting a different GPU (or broken heuristics), this is not something one can fix without having access to said hardware and half an hour with a debugger + the required skills to disassemble the D3D UMD (and/or, for Win8.1/10, the GPU driver DList handler).
1 Like
system
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.