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

Proton 5.13 Application tried to create a window, but no driver could be loaded #4266

Closed
serebit opened this issue Oct 15, 2020 · 53 comments
Closed

Comments

@serebit
Copy link

serebit commented Oct 15, 2020

With Proton 5.13, upon launching any game that I've tested, the following appears in proton logs:

err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

Please only reply to this issue with affirmation IF YOU SEE THESE MESSAGES IN PROTON LOGS.

All of these games worked, and still work, with Proton 5.0-9, but do not launch with 5.13-1:

I thought it might be an issue with my installation, but I deleted the Proton 5.13 directory and validated files, to no effect. Same result.

I've attempted reinstallation of some of these games, and attempted nuking proton prefixes as well, with no success. It's worth noting that I've talked to others with Nvidia graphics cards who are not seeing this issue with TESV Skyrim specifically. Most of these fail to launch due to a DXVK error or Vulkan initialization error, seemingly, but DOOM Eternal fails to launch due to a page fault. All of the games fail to preload several dynamic libraries from /usr/$LIB.

My system info
CPU: AMD Ryzen 7 3700X
GPU: AMD Radeon RX 580 8GB
Distribution: Solus 4.1
Kernel: Linux 5.6.19
Drivers: Mesa 20.1.9, AMDGPU RADV
LLVM: 10.0.1

Steam System Information report

@kisak-valve
Copy link
Member

Hello @serebit, please copy your system information from Steam (Steam -> Help -> System Information) and put it in a gist, then include a link to the gist in this issue report.

@nutta-git

This comment has been minimized.

@serebit
Copy link
Author

serebit commented Oct 15, 2020

Done, @kisak-valve. Also clarified that none of the games I've tested have launched with 5.13, so there have been none in my testing that have worked. Felt like that's worth mentioning.

@CSahajdacny

This comment has been minimized.

@nutta-git

This comment has been minimized.

@kisak-valve kisak-valve changed the title Proton 5.13 breaks numerous games Proton 5.13 Application tried to create a window, but no driver could be loaded Oct 15, 2020
@kisak-valve
Copy link
Member

kisak-valve commented Oct 15, 2020

This issue report is going to quickly become unusable if all Proton 5.13 issues are dumped here. Unless you have a Proton log with something like the following, please report the issues separately (preferably on the compatibility reports for the games you're seeing the issue with):

err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

@nutta-git

This comment has been minimized.

@kisak-valve
Copy link
Member

I suspect this issue might be an odd interaction between pressure vessel and the Solus's Linux Steam Integration. What settings do you have set in Linux Steam Integration and does setting everything there to the off position have an effect?

@serebit
Copy link
Author

serebit commented Oct 16, 2020

@kisak-valve All testing I conducted was done with Linux Steam Integration disabled. I can try enabling it.

Edit: Just re-enabled LSI and relaunched Steam, then tried DOOM Eternal. Same result.

@kuunha
Copy link

kuunha commented Oct 16, 2020

I have the same problem using Opensuse Tumbleweed

Witcher 3 steam-292030.log
Cuphead steam-268910.log

System Information: https://gist.github.com/kturques/d0c69dfcbb0626a2ce0a2d5ba5561b63

@ghost

This comment has been minimized.

@kisak-valve

This comment has been minimized.

@TheDunkShot
Copy link

TheDunkShot commented Oct 16, 2020

I have the same issue, no game using Proton 5.13-1 can run what so ever.
Seems to launch games fine without Steam Linux Runtime - Soldier but with no steam integration and pulls up normal wine menus.
There seems to be issues with drivers, /usr/lib/gvfs/libgvfscommon.so and /usr/lib/gio/modules/libgvfsdbus.so (for me at least)
Proton 5.13-1 cannot launch AT ALL, so I can only get a log from running steam in a terminal.
Plus, .../common/Proton 5.13-1/proton_dist.tar doesn't even unpack/extract, manual extraction does nothing either.

Call Of Duty: Infinite Warfare - https://gist.github.com/TheDunkShot/6eb9da6398c54fa916e545010c3de6e0
Lethal League Blaze - https://gist.github.com/TheDunkShot/6ecb97c1f0ca828fdd82ee3f461b6bc1
Wreckfest - https://gist.github.com/TheDunkShot/dfd6377e2d8969dc9f93af297f5243bd

System Information - https://gist.github.com/TheDunkShot/81af63ddb80d7b00b0ffa5ef2e31f2a3

EDIT: I get the same feeling as Steam Linux Runtime gives me for a wine game, also Solder downloaded when I was trying to run a WINE/Proton game really strange. << I think this is the issue for me, since steam dodges 5.13-1 and downloads the steam linux runtime soldier regardless if I'm enforcing Proton for that specific version, 5.09 works fine though.

@kiroma
Copy link

kiroma commented Oct 16, 2020

Same issue here, Warframe, Fallout: New Vegas, Metal Gear Rising: Revengeance all fail.
OpenSUSE Tumbleweed, Nvidia GTX 1650 Super
System info: https://gist.github.com/kiroma/e87f416650333b23338fb71fdc732c69

@RyuzakiKK
Copy link

RyuzakiKK commented Oct 16, 2020

I was able to reproduce the "X server" error and at first glance it seems like to be related to the Steam Linux Runtime Soldier not being launched correctly.

@serebit @kturques please can you follow these steps and report back if it solves the issue?

  • Create a temporary directory like /tmp/steam_test
  • In Steam uninstall the "Steam Linux Runtime - Soldier" (this seems to be the key to solve the issue)
  • Close and re launch Steam (otherwise it will continue to fail)
  • In the game that you want to launch right click with your mouse and select "Properties"
  • In "Set launch options" put this PRESSURE_VESSEL_COPY_RUNTIME_INTO=/tmp/steam_test %command%
  • Finally launch the game (Soldier will be automatically reinstalled and used)

UPDATE: With these steps I was able to solve a very similar launch issue, but it turns out that it was caused by a Steam compatibility tools file that I previously manually created. The error reported here is unlikely to be fixed by following these steps.

@kuunha
Copy link

kuunha commented Oct 16, 2020

@RyuzakiKK I tried these steps, but still have the same problem.

Cuphead steam-268910.log

@TheDunkShot
Copy link

TheDunkShot commented Oct 16, 2020

Steam won't re-download Proton 5.13-1 even after a re-install of steam. For whatever reason I think Steam is trying to dodge from using proton. When proton wasn't installed/it was at 0 bytes it was going straight to using wine-staging.
EDIT: UK, Manchester server either has a corrupted proton 5.13-1 or that it doesn't download properly.
EDIT 2: Even after nuking steam, uninstalling wine, proton being downloaded and there. Still nothing, gonna try what RyuzakiKK says.

@RyuzakiKK
Copy link

RyuzakiKK commented Oct 16, 2020

@kturques Okay, thanks for trying. It seems like your issue is different from the one I experienced then.

EDIT: Are you using Wayland, right?

(I removed the request for more logging because I think I'm able to reproduce this issue under Wayland)

@MaCroX95
Copy link

Just confirming this bug. Games tested: Rocket League, Ultra Streeg Fighter IV, a few LEGO titles, The Witcher 3: Wild Hunt, Temtem.

@alosarjos
Copy link

From the Batman Arkham Asylum bug report, I confirm this is happening in Arch Linux on Gnome+Wayland.

@kuunha
Copy link

kuunha commented Oct 16, 2020

@kturques Okay, thanks for trying. It seems like your issue is different from the one I experienced then.

EDIT: Are you using Wayland, right?

(I removed the request for more logging because I think I'm able to reproduce this issue under Wayland)

I'm using KDE Plasma on X11

@jomarocas
Copy link

Also the same problem, games erase all data and with the game data from proton 5.0.9 no working,no driver could be loaded, all games that i test , gta v, rocket league, asassin creed origins, waiting new version of proton fix this, while i use proton 5.0.9

@DMGPage
Copy link

DMGPage commented Oct 16, 2020

I can confirm. With proton 5.13-1 can't launch even a single game.

@serebit
Copy link
Author

serebit commented Oct 16, 2020

I'm going to edit the issue contents to be more clear on what this issue is about. Everyone who's commented, make sure your issue is characterized by THESE MESSAGES in proton logs:

err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
err:winediag:nodrv_CreateWindow Make sure that your X server is running and that $DISPLAY is set correctly.

If not, you're having a different problem.

@serebit
Copy link
Author

serebit commented Oct 16, 2020

please can you follow these steps and report back if it solves the issue?

@RyuzakiKK Tried it, no dice.

@ghost
Copy link

ghost commented Oct 16, 2020

@serebit try doing what I commented before , in your case move the intel_icd.*.json to a different directory leave only the radeon icds and launch again any game.

@serebit
Copy link
Author

serebit commented Oct 16, 2020

I'm not using VK_ICD_FILENAMES, @qquique.

@sk8ersteve
Copy link

Are you changing the location of your Xauthority file (via XAUTHORITY env var)? I had mine set to a different location to clean up my home directory. If you run 'echo $XAUTHORITY' and see anything other than '/home/username/.Xauthority', you might be setting it somewhere (in my case it was .profile/.zprofile). Once I disabled this variable change, Proton 5.13 started working once again.

@serebit
Copy link
Author

serebit commented Oct 19, 2020

If Proton is looking in a certain directory for an Xauthority file, it shouldn't be. My Xauthority is in /var/run/lightdm/serebit/xauthority by default. I'll see if changing it to @sk8ersteve's suggestion works.

@sk8ersteve
Copy link

sk8ersteve commented Oct 19, 2020

If Proton is looking in a certain directory for an Xauthority file, it shouldn't be.

I 100% agree and actually just opened up a new issue about this (#4296).

@sk8ersteve
Copy link

sk8ersteve commented Oct 19, 2020

@serebit can you take a look at this ValveSoftware/steam-runtime#283 (comment). Apparently there is a bug with pressure vessel that might be related to this problem, which they are going to push out a fix for soon. I’m just not sure if it’s really the same problem.

@serebit
Copy link
Author

serebit commented Oct 20, 2020

@sk8ersteve Well I gave changing the XAUTHORITY env var a shot, and it immediately caused my login to fail, so I'm pretty much stuck at the moment. Had to change it back to default.

@sk8ersteve
Copy link

sk8ersteve commented Oct 24, 2020

Try it now!
ValveSoftware/steam-runtime#283.
https://store.steampowered.com/news/76967/
Update: "steam-runtime-tools: pick the correct DISPLAY and XAUTHORITY, fixes Gnome+Wayland and related problems (steam-runtime#283)"

@kisak-valve kisak-valve added the Need Retest Request to retest an issue with vanilla Proton label Oct 24, 2020
@wwmm
Copy link

wwmm commented Oct 24, 2020

I have just tested it on Gnome 3.38(Arch Linux). Things improved but games are still crashing. I think the following was not present before but I do not have the old logs to verify:

[1024/184347.252667:ERROR:frame_sink_video_capturer_impl.cc(206)] Invalid resolutions constraints: 0x0 must not be greater than 0x0; and also within media::limits.

Full log file:
gnome_3_38_crash_wayland.txt

@sk8ersteve
Copy link

@wwmm This sounds like a separate issue. This thread is for a bug that prevents games from launching. You should maybe open up a new issue if one doesn't already exist for the problem you're facing.

@wwmm
Copy link

wwmm commented Oct 24, 2020

@sk8ersteve I had the nodrv_CreateWindow message described in the first post. I have updated to the latest steam client but games are still not launching. The difference is that now I see the error I mentioned before instead of the one in the first post.

@sk8ersteve
Copy link

@wwmm Oh, I interpreted crash as necessarily happening after launch. Nevermind.

@tjkl1
Copy link

tjkl1 commented Oct 24, 2020

Try it now!
ValveSoftware/steam-runtime#283.
https://store.steampowered.com/news/76967/
Update: "steam-runtime-tools: pick the correct DISPLAY and XAUTHORITY, fixes Gnome+Wayland and related problems (steam-runtime#283)"

I can confirm this fixes the XAUTHORITY bug on openSUSE with atleast KDE! Thanks!

@serebit
Copy link
Author

serebit commented Oct 25, 2020

Yep, issue is resolved on Solus Budgie for me.

@wwmm
Copy link

wwmm commented Oct 25, 2020

I had time to do more tests. This issue was fixed. What happened is that yesterday I tested with GreedFall and Atelier Ryza and these games do not work with the latest update. But other games like code Vein or A Plague Tale Innocence are launching with no problem.

@DMGPage
Copy link

DMGPage commented Oct 25, 2020

Even after latest update, I still can't play Conan Exiles with it (game just freezes on loading saved game). In same time Assassin's Creed Odyssey works just fine.

@serebit
Copy link
Author

serebit commented Oct 25, 2020

Seems like the issue is largely resolved, then. If no one else has issues, I'll close this sometime over the next couple days.

@serebit
Copy link
Author

serebit commented Oct 26, 2020

No one has piped up, so I'm closing the issue. Feel free to reopen if you're still facing this problem.

@serebit serebit closed this as completed Oct 26, 2020
@kisak-valve kisak-valve removed the Need Retest Request to retest an issue with vanilla Proton label Oct 26, 2020
@Faithy3
Copy link

Faithy3 commented Dec 31, 2020

i have been unable to launch Borderlands 2 under Proton, having tried GloriousEggroll and older versions, as well as random game options, to no avail. upon creating a log it exhibited both this issue and #2878. I'm using Ubuntu Server 20.04 with GNOME 3.36.8 and X11, Nvidia 455 drivers.

@unknown321
Copy link

unknown321 commented May 5, 2021

Same issue after upgrading Proton from 6.3-2 to 6.3-3. Unfortunately it is not possible to downgrade to lower minor version without compiling.

Specifically, update broke NieR Replicant, which was running without issues mentioned in related compability report (#4777). Proton log: steam-1113560.log

Risk of Rain 2, same behaviour: steam-632360.log

xhost+ doesn't help

System information https://gist.github.com/unknown321/9f325cbcaa0a4a282335ba83ed59b5fb

@mercuriete
Copy link

mercuriete commented Jul 18, 2021

I am having this same error on all proton > 5.13.

First off all, I am a Gentoo user and most probably it is a error on my side but I couldn't understand what I have to do to fix it.
what I did so far:
1- installed bubblewrap with setuid
2- compiled the kernel with CONFIG_BPF_JIT=y and CONFIG_USER_NS=y

another think is that I have my game library and the proton and steam runtime soldier installed on a NTFS partition.

sys_info.txt

pressure-vessel.log

steam-745920.log

I know this is a closed issue but I don't know what to do because it seems everybody else is not having my problem.

my only workaround is to roll back to proton 5.0 and enjoy my library with an outdated proton/dxvk.

partial log:

5871.044:00b8:00bc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.

Edit:
I could fix my problem.
1- I had to delete steam runtime soldier and I had to delete libraries from NTFS partition.
2- then I had to install steam runtime soldier in my home steam library(ext4 partition)
3- then I could readd my libraries from NTFS partitions.

I hope it help someone with the same problem.

@MikaelElkiaer
Copy link

I hope it help someone with the same problem.

It helped me a lot. Could not figure out why wine wouldn't run, until I read your comment.
However, I just moved Windows games to ext4.

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