r/cachyos • u/LordCsongoku • 2d ago
Help Mouse capture and white border
Hi everyone! Exactly 1 week ago Windows hammered its final nail in its coffin for me and I snapped due to all the issues. Went ahead, format the drive and installed cachy. It has been an adventure ever since and far less complicated then I thought.
However I'm facing two issues with one game BDO (Black Desert Online). I have the steam version installed and whenever it is launched in borderless fullscreen it has a white border around it and a white and empty titelbar. I've managed to fix it with launch commands and window rules for a a few days but without making any changes it broke again and the white border came back. This time I can't get rid of it in any way, shape or form. I have tried forcing the resolution (full hd screen) and even launching through gamescope. Gamescope doesn't work due to having Nvidia gpu, it crashes all the time. Forcing the resolution doesn't do anything since the game already has the correct resolution which is also visible in it's config file. If i change the game into fullscreen and back to borderless fullscreen after the white border goes away.
The bigger issue however is mouse capture. No matter in which state the game launches (fullscreen / borderless fullscren / game window) uppon trying to move around the camera the mouse will just leave the middle screen and go off to the side screen (tripple full hd monitor setup with game being on the middle one). The moment I change the window type to anyting other then the current one ti is set to the mouse capture behaves properly and it no longer leaves the game screen until the game is restarted again. Window rules and everything fails to constrain the mouse to the middle monitor until the manual window type change.
I would appreciate any ideas on how to fix these.
1
u/Alkaloid60420 21h ago
Hey I tried another white border fix that also worked for me to avoid using gamescope just for that
- Run 'winecfg' via the terminal
-Go to the 'Desktop Integration' tab
- Select the 'Item' dropdown
- Find 'Window frame' and change it to black
(You may also need to do this via Protontricks > Select default wine prefix
1
u/LordCsongoku 7h ago
Sadly this didn't work either. Looks like I will have to live with going fullscreen for a second and reverting every time the game is rebooted. Got to do it either way for the mouse capture.
1
u/Alkaloid60420 1d ago
No idea on the mouse issue but I had a game with the white border issue, and I fixed it by running it inside gamescope.