I have updated my system to fedora 35 and immediately after start-up my screen starts flashing after I interact with Rstudio (scrolling, typingl selecting, ...). Sometimes the screen remains blank for a second. I can end the session in a regular way.
My terminal shows the following (harmless?) warnings:
libpng warning: iCCP: known incorrect sRGB profile
QXcbClipboard: SelectionRequest too old
I did some more tests on my local f35 machine and once I disabled the sandbox (rstudio --no-sandbox or setting RSTUDIO_CHROMIUM_ARGUMENTS="--no-sandbox" in your shell profile) I at least could start rstudio successfully.
Unfortunately I cannot reproduce the flashing behaviour that you observe. Also din't get the libpng and QXcbClipboard messages but got some warnings about rstudio ignoring some wayland settings.
@ruth.seurinck another option would be to check-out the Fedora 35 native solution and install "their" rstudio ide which is available as "rstudio-desktop". The version is exactly the same than you get from rstudio but it is purpose compiled against the fedora OS packages. On my Fedora 35 box this rstudio works flawlessly without a single workaround.
I've encountered the same issue on Manjaro after a recent system update (update to Manjaro 21.2.1), using RStudio official binaries. I've opened a separate thread but just wanted to add that doing this
maybe it would be worth to move ~/.config/rstudio and ~/.local/share/rstudio out of the way for a moment to ensure you don't have any left-over legacy configuration in there
didn't help. On the other hand, changing to software rendering seems to have solved the problem for me.