protonscr

Can't change resolution with unity3d (dx11) based game

protonopen
ValveSoftware/Proton#905 · opened 2018-08-29 by sunhuge · updated 2022-08-29 · 8 comments · github
2 matching comments, n / p to jump
Ssunhuge 2018-08-29 github

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)

HHonkingGoose 2018-08-29 github

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.

Steps to make a better issue report:

  1. Search the Proton issue tracker for your game.
  2. See if there is already a issue open for your game, if so, add your findings to that issue, by commenting on that issue.
  3. If there is no issue yet opened for your game, edit the title of your issue from "Bug with Proton" to "name of game (appid)"
  4. The name of the game is the name you find on the Steam store for the game.
  5. Please copy/paste the name from the Steam store, so it's correct.
  6. Then look at the appid number, you can find this on the Steam store page for the game, its the last number. For example, for the game Sid Meier's Pirates! the appid is 3920
    App 3920 on the Steam Store
  7. Go to your Steam Client -> Help -> System Information.
  8. Copy and paste the System Information into a gist. Copy into a gist here
  9. Attach a link to the gist into your issue.
Ssiimphh 2019-06-09 github

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".

Bbinronn 2019-07-12 github

Add command line options "PROTON_USE_WINED3D=1 %command%"

GGauraden 2019-11-24 github

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?

Ppmarreck 2022-08-11 github

@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

Ppmarreck 2022-08-29 github

Possibly NOT using the kernel parameter nvidia_drm.modeset=1 may also fix this

Ppmarreck 2022-08-29 github

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

Launch options

Launch lines