Hi @sunhuge welcome to the Proton issue tracker on Github. And thanks for opening a issue for your game.
Could you say what game you're having issues with? Because right now, your issue is not very helpful.
I have the same problem trying to play "Totally Accurate Battle Simulator". I tried mucking around with command line options like "-screen-fullscreen 0" and "-show-screen-selector" and explicit "-screen-height" and "-screen-width".
Client information:
https://gist.github.com/windo/49282ee679ff459a4377539fe9d7c275
Add command line options "PROTON_USE_WINED3D=1 %command%"
Seems that issue appears at specific hardware. I have a PC with GeForce GT 1030 and a laptop with GeForce GT 740M. Nvidia driver versions are the same. PC has no problems with Unity renderer but a laptop fails with the problem described above.
Trying to avoid the problem using flag PROTON_USE_WINED3D=1 allows me to run the game but it can't render an image. Screen is black and console is spammed by messages:
Attempting to bind Texture ID 15 as UAV, the texture wasn't created with the UAV usage flag set!
I'm wondering what sources (wine, proton) can I inspect trying to fix one of those two issues?
@yuanbi 's solution worked for me for "Pathfinder: Wrath of the Righteous", but shouldn't be necessary.
FWIW, the error I got was the resolution I was already using (!), so a simple check of the current resolution before attempting to apply a new one and only doing it if it's different might sidestep the problem
Possibly NOT using the kernel parameter nvidia_drm.modeset=1 may also fix this
Just to add to this, for the game "Encased", @yuanbi 's tip worked to get past the initial screens, but the game itself wouldn't complete loading up a savefile, it would just hang and play the background music
Unable to run game developed by unity3d.
Error:
couldn't switch ro requested monitor resolution
Details:
Switching to resolution 1280x720 failed, trying lower one
All reqolution switches have failed
Screen: DX11 could not switch resolution (1280x720 fs=1)