Open BeyondThe5D opened 2 months ago
We don't have any special wayland logic. This is most likely a sway bug. Try forcing xwayland (QT_QPA_PLATFORM=xcb ./rpcs3)
We don't have any special wayland logic. This is most likely a sway bug. Try forcing xwayland (QT_QPA_PLATFORM=xcb ./rpcs3)
I tried this, appears to have made no difference.
I personally suspect Fedora's Sway spin just doesn't come with a dependency that there other spins that use Wayland do, I could be wrong as I haven't really developed much software but I'm just spitting out ideas.
Are you using the nvidia gpu for desktop acceleration? That is most likely the culprit if that is the case.
Are you using the nvidia gpu for desktop acceleration? That is most likely the culprit if that is the case.
No, not only is my NVIDIA card disabled (I use it for VMs) I also have RPCS3's GPU setting set to my AMD card.
GPU selected for rpcs3 does not mean it's the one pushing pixels through to the final output, just that it's driver is loaded. I have had a similar issue before with corruption and poor performance, and I only got around it by making my AMD card the X11 host card througg xorg.conf. I don't think wayland allows this selection though so no idea if there is a workaround other than just installing Xorg and using that.
Surely there is a proper solution though, I didn't have this issue when using GNOME with Wayland.
Well, yes, but not from our side. Rpcs3 doesn't have that kind of control over your display server.
I still believe my missing dependency theory, thanks for the help, if no proper solution is found soon I'll mark your Xorg workaround as the solution.
I was doing some deep level experimenting (Checking system journal, checking RPCS3 error logs, etc) and I accidentally figured out the best solution to the issue for a player, turns out being in fullscreen gets rid of the issue. This fix is good enough for me as I always play RPCS3 games in fullscreen (Except for when debugging, which is why I didn't notice this sooner) but I can imagine this issue being annoying for Sway users wanting to develop PS3 cheats or develop for RPCS3 in general, because of this I'll keep the issue open and I can provide more information to help developers fix the issue if requested.
I think that makes sense if the desktop is accelerated using the nvidia card but rpcs3 is rendering on AMD since the data has to be copied over.
I don't think my NVIDIA card has anything to do with it, I have my Nouveau driver blacklisted on boot.
Quick summary
Running any game on Sway will have "jittering" graphical issues with Vulkan when not in fullscreen
Details
Loading any game on RPCS3 with Vulkan when using Sway and not fullscreened seems to have graphical issues, there is a constant "jitter" where the display seemingly goes backwards and then quickly goes back to where it's meant to be, and depending on the game the effect can be minor or serve.
Attach a log file
Attach capture files for visual issues
https://www.mediafire.com/file/nnn9yynzndzlwwi/Video.7z/file
System configuration
Linux Distro: Fedora Sway Spin CPU: 13th Gen Intel(R) Core(TM) i5-13600KF (20) @ 5.10 GHz GPU 1: AMD Radeon RX 6600 XT (The one being used for the emulation) GPU 2: NVIDIA GeForce RTX 3060 Lite Hash Rate RAM: 32 GBs
Other details
Tested games:
Minecraft: PlayStation 3 Edition (BLUS31426) | Effect is barely noticeable Driver: San Francisco (BLUS30536) | Effect happens occasionally Grand Theft Auto IV (BLUS30127) | Effect is constant and happens every 1 - 5 seconds
Attempted solutions:
.config
and.cache
)Final note:
I'm unsure of if this issue happens because of Wayland, I've ran RPCS3 on this computer before using Wayland without issue, but that was months ago on a desktop environment, I feel if this was an issue in that environment it would of been reported and looked into ages ago.