Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old games do not start in fullscreen properly. #15

Open
propthrower69 opened this issue Jul 28, 2021 · 2 comments
Open

old games do not start in fullscreen properly. #15

propthrower69 opened this issue Jul 28, 2021 · 2 comments

Comments

@propthrower69
Copy link

On arch, with Window Maker 0.95.9 I have found some old games will not start properly when in fullscreen.

I tested urbanterror, both the quake3mod variant and the stand alone variant. Then I tested Prey (2006).

system information:

OS: Arch amd64 (linux-kernel 5.12.14-arch1-1 #1 SMP PREEMPT)
wmake version: 0.95.9
gpu: rx 470 (amdgpu driver, using xorg not wayland)
cpu: i7 4770

almost 20 years ago I had windowmaker on slackware and never had such issues. I even moved back to it from fvwm/cde because they have similar problems. It might be the most sane wm/de left for linux I think.

I am not a programmer so if there is any additional information I can provide let me know, the games dont provide any errors outside the usual console spew they do while loading. Even when they crash xorg, xorg logs are less than helpful and are as clueless as I am.

@propthrower69
Copy link
Author

Some other games I just tested are quake 4 and rally-quake3. Same issue.

@gryf
Copy link
Member

gryf commented Aug 1, 2021

I have performed some tests regarding this issue, and as a representative Urban Terror was used (simply because I'm lazy, and package for this game exists in my OS).

I can confirm, that it will no switch to the fullscreen, and it will try to change screen resolution according to selected one. I'm not sure about tricks it uses for changing screen options, but for sure that was done in hackish way. I was curious about the root cause why game window dosn't change to fillscreen, and found out it doesn't set _NET_WM_STATE(ATOM) to _NET_WM_STATE_FULLSCREEN, which is the case for any other "modern" games, which meant to be run in fullscreen.

I guess, Window Maker is doing right thing - if NET_WM_STATE is not set to full screen, it should stay windowed. That's probably a valid case to report an issue the UrbanTerror devels.

As a workaround, you could bind a shortcut (either using menu entry, or by using xbindkeys) to force certain window to fullscreen. I'm using shortcut Super+f to execute "wmctrl -r :ACTIVE: -b toggle,fullscreen. You'll need wmctrl, obviously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants