Hyprland
Hyprland copied to clipboard
Waydroid rendering is borked
Hi! I tried setting up Waydroid and it seems to have really bad rendering issues, especially when fullscreened. It seems that only a portion of the window gets damage events, while the right and bottom sides get updated late. Additionally, the mouse cursor does not match the cursor on Hyprland. These issues do not appear on Sway.
Hyprland:
https://user-images.githubusercontent.com/44881120/235318315-8266d510-268e-49de-b371-745aa907edfc.mp4
Sway:
https://user-images.githubusercontent.com/44881120/235318222-a74510f5-462f-4808-a50f-5b59ccbdad69.mp4
Same issue with gtk dialogs on some apps like virt-manager
I've got the same issue. the default size of waydroid (fullscreen) works fine. But I have two monitors with different resolution(1080P scale 1 and 4k scale 1.5) then waydroid gets broken if I move it from one monitor to another. temporally using scrcpy for better experience but worse colors and refresh rates.
one waydroid maintainer told me "currently waydroid doesn't support on the fly resizing". we can see that waydroid is always the same size in sway. Does hyprland do the thing to force resize the window?
another interesting thing is that there will always be a full refresh after I switch to another window.
The mouse cursor offset problem also appears in some games through Wine/Proton in fullscreen.
The mouse cursor offset problem also appears in some games through Wine/Proton in fullscreen.
Do you know which games? I can try to repro on my end (this is still happening and prevents me from using Waydroid entirely). Also, are you using force_zero_scaling?
Same issue with gtk dialogs on some apps like virt-manager
Sounds like #2704
Enable force_zero_scaling does not help.
This problem mainly occurs in some VNs, such as CHAOS; CHILD.
Setting it to full screen in the game and starting it will not work, it has some strange stretch:
If starting the game in windowed mode and manually full screen, it looks good but there is the cursor offset issue.
I'm using hyprland-nvidia-git, not sure if it matters.
I've got the same issue. the default size of waydroid (fullscreen) works fine. But I have two monitors with different resolution(1080P scale 1 and 4k scale 1.5) then waydroid gets broken if I move it from one monitor to another. temporally using scrcpy for better experience but worse colors and refresh rates.
one waydroid maintainer told me "currently waydroid doesn't support on the fly resizing". we can see that waydroid is always the same size in sway. Does hyprland do the thing to force resize the window?
another interesting thing is that there will always be a full refresh after I switch to another window.
I changed screen size in waydroid to fix it by this way
Is this still borked?
Yes, seems that Hyprland and waydroid don't work very well together. (on intel graphics)
You have to manually resize the window prop for it to work. Like this:
waydroid prop set persist.waydroid.width "1920"
waydroid prop set persist.waydroid.height "1080"
That only works with a single WayDroid window that spans the entire screen. It does not work with individual app-per-window
Another issue with HiDPI scaling. Setting the persist.waydroid.* to my native resolution with my monitor scaling set to number larger than 1 leads me to the display being much bigger than my screen.
(Notice the menu being cut off.)
I still have this problem , it seems that the persist.waydroid.* params don't change when i check with the sudo waydroid shell getprop command. Any solution ?
Hello there!
This issue has been closed, as we are moving from issues to discussions. More about this can be found here and in #9854.
Firstly, please make sure this issue is still relevant in latest Hyprland. If so, we ask you to open a discussion (please read the discussion guidelines first, in the pinned post)
Thank you for your understanding!