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

Wayland client - screen flashing on every update #8568

Open
grawity opened this issue Dec 20, 2022 · 6 comments
Open

Wayland client - screen flashing on every update #8568

grawity opened this issue Dec 20, 2022 · 6 comments

Comments

@grawity
Copy link

grawity commented Dec 20, 2022

Starting with commit 3d77496, when the wlfreerdp client is connected to Windows 10 (from within gnome-shell 43.2), every screen update causes the display to flash/switch between what appears to be two different display buffers ("current" and "a few moments ago"). For example, if I open the Start menu on the remote host, with every mouse movement the display flashes between the menu being open and it being still closed (or open with some chunks missing).

This is a new issue in FreeRDP git; it doesn't happen with wlfreerdp 2.8.x or 2.9.x. (But on the other hand, it's exactly the same commit that fixes the memory leak I reported in #8399...)

Build options (mostly copied from Arch's packaging):

cmake_options=(
	#-DCMAKE_INSTALL_PREFIX=/usr
	-DCMAKE_INSTALL_PREFIX="$dir"
	-DCMAKE_INSTALL_LIBDIR=lib
	-DWITH_MBEDTLS=OFF
	-DWITH_PULSE=ON
	-DWITH_CUPS=ON
	-DWITH_PCSC=ON
	-DWITH_JPEG=ON
	-DWITH_GSM=ON
	-DWITH_LAME=ON
	-DWITH_FAAD2=ON
	-DWITH_FAAC=ON
	-DWITH_SOXR=ON
	-DWITH_SERVER=OFF
	-DWITH_CHANNELS=ON
	-DWITH_CLIENT_CHANNELS=ON
	-DWITH_SERVER_CHANNELS=ON
	-DCHANNEL_URBDRC_CLIENT=ON
	-DWITH_KRB5=ON
	-DGSS_FLAVOUR=MIT
)
Screencast.from.2022-12-20.09-11-11.webm
@matuszajac
Copy link

Hello, i have the same problem.
KDE on wayland.
Latest manjaro, garuda, cachyos, with latest mesa.

flickering all session opeaned against MS RDP servers. (2022. 2019 and so)

after switch to xorg session everything works.

@akallabeth
Copy link
Member

akallabeth commented Aug 23, 2023

will most likely not be fixed.
wayland client has been deprecated with 3.0 and will be replaced by sdl-client

NOTE: pull requests are, of course, always welcome.

@rlees85
Copy link

rlees85 commented Sep 3, 2023

I had this on the Wayland client. If you want native wayland use the SDL client with the following variable:

SDL_VIDEODRIVER=wayland,x11

The SDL client, for some reason, isn't working for me at the moment though

@akallabeth
Copy link
Member

@rlees85 which issues do you have with sdl-client? (discuss this better in a new issue or our matrix chat)

@rlees85
Copy link

rlees85 commented Sep 4, 2023

I've raised it here: #9354
I'm having a good play with it this morning so I will update it with any more information I find and will post some screenshots on Matrix as well.

@M8850
Copy link

M8850 commented Apr 10, 2024

I had this on the Wayland client. If you want native wayland use the SDL client with the following variable:

SDL_VIDEODRIVER=wayland,x11

The SDL client, for some reason, isn't working for me at the moment though

thanks,

xrdp,rdesktop was flickering,
sdl-rdp was laggy,
export SDL_VIDEODRIVER=wayland | sdl-rdp works best

(wayland linux connecting to win 11 vm with gpu passthrough)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants