RPCS3 / rpcs3

PS3 emulator/debugger
https://rpcs3.net/
GNU General Public License v2.0
15.14k stars 1.89k forks source link

Steam Deck OLED unable to boot game from gamemode(gamescope) #14917

Closed KrisCris closed 6 months ago

KrisCris commented 8 months ago

Quick summary

Might be something similar to this https://github.com/RPCS3/rpcs3/issues/14628, but I am not sure.

With the same boot drive, I can only reproduce this issue on my OLED Steam Deck, not on the OG. Whenever I try to boot a game from the Steam Deck game mode, this error happens. But in desktop mode it was fine.

Screenshot 2023-12-20 at 6 45 20 PM

Details

I am using the .appimage version.

Attach a log file

RPCS3.log

Attach capture files for visual issues

No response

System configuration

Steam Deck OLED

Other details

No response

MSuih commented 8 months ago

From what I recall from various conversations:

solari21 commented 8 months ago

Same issue here in Steam OS gaming mode with .appimage version of RPCS3

Originalimoc commented 8 months ago

What is this doing? Maybe some clue? https://github.com/FrogTheFrog/com.moonlight_stream.Moonlight/blob/master/gamescope/VkLayer_FROG_gamescope_wsi.x86_64.json

ds8k commented 8 months ago

Also experiencing this

xRassyx commented 8 months ago

Just got my deck OLED and launching games with it in game mode is busted for me too. Same error. Any news on how to fix this???!

xRassyx commented 8 months ago

So after speaking to a friend of mine on the discord, He's discovered a workaround to where Rpcs3 works in game mode of the steam deck. Downgrading to version v0.0.28-15245 is the best option for the moment. I give full credit to k6stor of the discord for this workaround!

k6storama commented 8 months ago

well I'm not saying it's a workaround, it's just the last build that doesn't crash inside the gamescope for me.

Originalimoc commented 8 months ago

Isn't there a flatpak build? Use that

Mrlinkwii commented 8 months ago

flatpak isnt supported and is a third party build @Originalimoc

Originalimoc commented 8 months ago

But does it work? And, Or is it built by flathub?

xRassyx commented 8 months ago

Use that build of rpcs3 and you should be fine :)

JoshuaSenouf commented 8 months ago

So after speaking to a friend of mine on the discord, He's discovered a workaround to where Rpcs3 works in game mode of the steam deck. Downgrading to version v0.0.28-15245 is the best option for the moment. I give full credit to k6stor of the discord for this workaround!

From my testing, you can actually go as far as 0.0.28-15417, i.e. the last build for 0.0.28.

The moment you start using 0.0.29-15419 (or newer), i.e. the first build for 0.0.29 and the introduction of Qt6, you will encounter the issue.

k6storama commented 6 months ago

This issue can be circumvented by adding LD_LIBRARY_PATH=/usr/lib:/usr/local/lib %command% in the Steam launching options for RPCS3, which will force RPCS3 to use system libraries instead of the ones included in the AppImage.

JosephBoseph commented 6 months ago

This issue can be circumvented by adding LD_LIBRARY_PATH=/usr/lib:/usr/local/lib %command% in the Steam launching options for RPCS3, which will force RPCS3 to use system libraries instead of the ones included in the AppImage.

Had this issue too and this solution worked! Thank you

AniLeo commented 6 months ago

Can you test with the PR that I just opened? I have the LCD model, not the OLED, so I can't test.

Build: https://artprodsu6weu.artifacts.visualstudio.com/Ad52971ce-2651-462c-a71a-8019f393a0cf/3598951b-4d39-4fad-ad3b-ff2386a649de/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL25la290ZWtpbmEvcHJvamVjdElkLzM1OTg5NTFiLTRkMzktNGZhZC1hZDNiLWZmMjM4NmE2NDlkZS9idWlsZElkLzEwMDg0L2FydGlmYWN0TmFtZS9SUENTMytmb3IrTGludXgrKGNsYW5nKQ2/content?format=zip

ghost commented 6 months ago

Can you test with the PR that I just opened? I have the LCD model, not the OLED, so I can't test.

Build: https://artprodsu6weu.artifacts.visualstudio.com/Ad52971ce-2651-462c-a71a-8019f393a0cf/3598951b-4d39-4fad-ad3b-ff2386a649de/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL25la290ZWtpbmEvcHJvamVjdElkLzM1OTg5NTFiLTRkMzktNGZhZC1hZDNiLWZmMjM4NmE2NDlkZS9idWlsZElkLzEwMDg0L2FydGlmYWN0TmFtZS9SUENTMytmb3IrTGludXgrKGNsYW5nKQ2/content?format=zip

This fixes the issue for me :) Thank you

AniLeo commented 6 months ago

Fixed by #15273

casasfernando commented 5 months ago

@AniLeo while the vulkan library error is not present anymore in gamemode (gamescope) and RPCS3 is starting up correctly, still doesn't work as expected. I'm using AppImage 16203 (latest at the moment) and the game starts to load, I can see the PPU loading progress bars screen but it image freezes there. I can hear the game sound and music in the background so emulation is still running, but screen remains stuck in the initial PPU loading screen. In desktop mode the problem is not present and everything works as expected. Since the vulkan library error is indeed solved I think I will open a new issue for this. I'm on a Steam Deck OLED with the latest updates (Steam OS 3.5.17) and firmware.

Thanks

ghost commented 5 months ago

@AniLeo while the vulkan library error is not present anymore in gamemode (gamescope) and RPCS3 is starting up correctly, still doesn't work as expected. I'm using AppImage 16203 (latest at the moment) and the game starts to load, I can see the PPU loading progress bars screen but it image freezes there. I can hear the game sound and music in the background so emulation is still running, but screen remains stuck in the initial PPU loading screen. In desktop mode the problem is not present and everything works as expected. Since the vulkan library error is indeed solved I think I will open a new issue for this. I'm on a Steam Deck OLED with the latest updates (Steam OS 3.5.17) and firmware.

Thanks

I had this issue as well very briefly, disabling Start games in fullscreen mode fixed it but I couldn't replicate the issue after re-enabling it so I was hesitant on opening an issue.

casasfernando commented 5 months ago

I had this issue as well very briefly, disabling Start games in fullscreen mode fixed it but I couldn't replicate the issue after re-enabling it so I was hesitant on opening an issue.

Thanks @rawdatafeel ! That was it, in my case I was using the --fullscreen CLI parameter when launching the emulator from a helper script I'm using to be able to use ISO files for the games, so the problem was happening regardless the status of Start games in fullscreen mode. I removed the CLI parameter and left Start games in fullscreen mode enabled, and the issue went away.

pyromancer5 commented 2 months ago

am having this problem steam deck rpcs3 app image stuck on shader game mode i saw a post saying i need to have vulkan icd loader installed how can i install that on desktop it work fine but in game mode its stuck and freez on shader compile