vinegarhq / sober

Runtime for Roblox on Linux
https://sober.vinegarhq.org/
319 stars 13 forks source link

Default to OpenGL on older intel iGPUs (Ivy Bridge and Haswell) #458

Open WindClan opened 5 days ago

WindClan commented 5 days ago

Before Creating the Enhancement Request

Is your feature request related to a problem?

Older intel iGPUs have horrible Vulkan drivers that perform very subpar compared to OpenGL and have bad lag spikes

Describe the Solution you'd Like

Default to OpenGL, forcing it with fflags has issues in my experience (crash on launch)

Describe Alternatives you've considered

Use --opengl - its a hassel to launch the game using it every time

Additional context

No response

PhoenixCausesOof commented 5 days ago

As a workaround, edit $HOME/.local/share/applications/org.vinegarhq.Sober.desktop and add the --opengl parameter there. (in the Exec line).

WindClan commented 5 days ago

As a workaround, edit $HOME/.local/share/applications/org.vinegarhq.Sober.desktop and add the --opengl parameter there. (in the Exec line).

Thats not where flatpak installs its file on my system and idk where it is

PhoenixCausesOof commented 4 days ago

I think it may be /home/phoenix/.local/share/flatpak/exports/share/applications/org.vinegarhq.Sober.desktop. I think you may need to copy this file to the path I mentioned previously, though if not necessary, don't do it.