Proton fullscreen clashing with UI elements

Ubuntu Version:
24.04 LTS

Desktop Environment (if applicable):
GNOME

Problem Description:
When tying to run a game using proton and going fullscreen using the ingame settings, the fullscreen window does match up with the display resolution, but it clashes with the UI. Due to it clashing with the top bar, the fullscreen window is forced down, causing some of the window to go off-screen. The dock (if auto-hide is not enabled) also forces the window to the right, causing some of the window to be lost in that direction too.

This is occurring on every Windows-only game running using proton.

Relevant System Information:
On desktop.

Screenshots :
Example:

There’s a gnome extension called “Disable unredirect fullscreen windows” that I have installed to allow some non-gtk fullscreen applications (QT-based) to operate in full-screen without clashing with the top bar element in gnome.

I don’t play fullscreen games on my system so I don’t know if this will work or not, but you might give it a try.

Edit: tried it with SuperTuxKart and FooBillard++ in full-screen mode, and they both worked well with no clashing with the gnome-shell top bar.

Uhh, I got it, but it download as a zip. it’s also not popping up on the Extentions app, what now?

I have the native host connector downloaded and the GNOME Shell Integration extension installed on brave (a chromium-based browser), but it is unable to detect the native host connector too. I tried common fixes and also tried manually installing firefox and trying there too, but on firefox I got a different error message: “No such native application org.gnome.chrome_gnome_shell”

From where did you download that .zip? (just to be sure that it is safe).

Anyway, you should decompress it inside ~/.local/share/gnome-shell/extensions, logout, login again, and it should be available in the Extensions application.

I used gnome-shell-extension-manager to install it. It does the downloading, decompressing, and copying to ~/.local/share/gnome-shell/extensions seamlessly.

I downloaded it directly from the gnome extentions website.

This one: https://extensions.gnome.org/extension/1873/disable-unredirect-fullscreen-windows/

Going to try what you suggested now.

Ok, whoa, doing that unlocked a bunch more options in the extentions app, a bunch of system extentions options that weren’t even there before.

First up, in my gnome-shell folder, there wasn’t an extentions folder, so I made one and I extracted the contents in it. then I restarted the PC.

Here is what it is showing me now (it showed me only 4 options before this)

https://uploads.disquscdn.com/images/5a62429db38baf403a90bfac0fdf8697f0101df1628b8c457d89784b2c8fc411.png

https://uploads.disquscdn.com/images/09167387e51529ba110e81ca28c1195dd48c6847cc67741b34dd4a302f8b7196.png

P.S. Had to do this because the image upload failed multiple times.

Did what you suggested, but it still didn’t work.

https://uploads.disquscdn.com/images/09167387e51529ba110e81ca28c1195dd48c6847cc67741b34dd4a302f8b7196.png

P.S. Had to do this because the image upload failed multiple times.

Yeah, you’re using the gnome-shell-extension-prefs application. I prefer using the gnome-shell-extension-manager. It allows browsing, searching, and installing extensions from the gnome-shell extensions website all within the application. And of course you can configure and remove extensions too.

It eliminates the hassle of manually doing the steps you performed to install the extension.

Speaking of installing, your first image didn’t show the disable-unredirect-fullscreen-windows extension listed among the other extension you have enabled. It doesn’t appear to be installed correctly.

Also, I would disable the “Native Window Placement” for testing purposes.

I have no idea what you just said.

and yeah, it seems like it didn’t install properly. I tried doing it manually cause my browser (brave, which is chromium, which I installed from the App Center) says “Although GNOME Shell integration extension is running, native host connector is not detected. Refer documentation for instructions about installing connector.” even though I have installed the native host connector properly, I ran the command in the terminal and it says it’s installed and on the latest version.

I tried instaling the debian package of firefox and using the extention there, but firefox instead says “No such native application org.gnome.chrome_gnome_shell”

I’ve tried with disabling Native Window Placement and that also did nothing.

Just do:
sudo apt install gnome-shell-extension-manager

Then hit Super-A (Windows-A), type in Extension and run the manager app by clicking the icon with the puzzle pieces that should show up in the search to manage all your extensions and their settings …

There is no need for the browser plugin since a long time anymore (I think the .deb for it in the archive has even actually been discontinued after the 24.04 release) …

1 Like

Ok, did that, now I can actually download the extension. It popped up on the options of the extension manager after downloading it. Since it stays even after a restart, I assume I have installed it correctly.

I downloaded the “Disable unredirect fullscreen windows” extension, turned off Ubuntu Tiling Assistant, Native Window Placement, and windowNavigator.

It has still not fixed the issue.

At this point, is there anything I can do to just disable/toggle the top bar that is pushing the window down?

I am able to disable the dock, but can’t seem to find the toggle for the top bar.

As a non-gamer I might be totally wrong, but have you tried F11? That’s the default shortcut to make any window fullscreen. It should work with native apps, like Firefox, for instance. And if it doesn’t with Proton games then that points to an issue with that platform; or something else consumes F11, maybe.

I also seem to vaguely remember performance tips that suggested to not actually run games in fullscreen but some kind of maximized mode without window decorations. The screenshot in the OP seems to suggest such.

Yes, that was the first thing I tried.

I tried it again with the new extension and f11 still did nothing.

Could you give me the instructions of this “maximised mode”?

Seeing that the screenshot has key suggestions for F6, the game itself could be overriding GNOME’s F11 shortcut; maybe check if there is a binding for it in the controls menu. Alternatively you can use a different key combo in GNOME’s shortcut settings, to be absolutely sure.

No, I’m afraid that’s too long in the past. The gist of it was to disable window decorations and just maximize the window and disabling/auto-hiding taskbars/docks. It is also what I suspect could be the issue, because maximized windows never hide the top bar. I don’t know, it could be something baked into Proton or even the game’s settings. Or I could simply be barking up the wrong tree, as I said.

This might help you:
https://dredyson.com/fix-proton-fullscreen-clashing-with-ui-elements-on-ubuntu-gnome-a-beginners-step-by-step-guide-to-resolving-fullscreen-window-overlap-with-top-bar-and-dock-in-2026/

I’ve only just begun reading it, so I cannot judge the quality of the proposed steps to a solution, but it starts out pretty well.

Update: Reading further shows that you’ve already done this, as suggested by @gpmitch. I also happen to disagree that this is not a bug; it is one but in GNOME – somehow it places an unredirected window, which is exactly what it supposed not to do in that mode. It may be a combination of Proton/GNOME bugs, too; e.g. Proton failing to request that mode and/or GNOME failing to recognize that request and/or failing to act accordingly. If F11 works with native apps then any “window” requesting fullscreen mode should just get the full screen to itself.

Disabling the “unredirected mode” is a hack and also disables the implied performance benefit, because now the compositor is in the loop again.

I strongly suggest to report a bug, because the “common wisdom of the internet” has got it colossally wrong, once again.

1 Like

This solution from the same author seems to be more like it.

I still consider it a workaround, because it sidesteps the GNOME compositor interference, but Valve seem to think it’s good enough.

sudo apt install gamescope

And then you need to adjust your game launcher to use it:

gamescope -w 1920 -h 1080 -f -- %command%

(adjust -w and -h to your monitor resolution)

This is taken from that guide and it’s for Steam, but you should be able to get the gist and adapt it, I hope. Others might be able to help with that, too. I have no clue how Proton games are launched. Ideally that should be done with some kind of generic command prefix for all games.

On a more general rant/note, people should report such bugs, so they can be fixed upstream, instead of finding faux solutions that become “folklore of the internet”.

1 Like

No, it’s still there.

gnome-shell-extension-manager/resolute 0.6.5-1 amd64

Ah, it has been renamed, the binary used to have something with -chrome- in the name, I only looked for that…