jabref icon indicating copy to clipboard operation
jabref copied to clipboard

GUI flicker to black (Linux, Wayland)

Open multiflexi opened this issue 2 years ago • 16 comments

JabRef version

5.7 (latest release)

Operating system

GNU / Linux

Details on version and operating system

Manjaro 22.0.0, GNOME 43, Wayland, Nvidia 525.60.11

Checked with the latest development build

  • [X] I made a backup of my libraries before testing the latest development version.
  • [X] I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

  1. Run JabRef
  2. Move mouse, open menu, click on button
  3. Affects both portable and version from https://aur.archlinux.org/packages/jabref-bin

Appendix

Flickers to black

Screenshot from 2022-12-04 20-20-16 Screenshot from 2022-12-04 20-20-29

multiflexi avatar Dec 04 '22 19:12 multiflexi

Cannot reproduce via JabRef 5.8--2022-12-08--8ebdb52 Linux 6.0.11-300.fc37.x86_64 amd64 Java 18.0.2.1 JavaFX 19+11 on Fedora 37

ilippert avatar Dec 11 '22 06:12 ilippert

What GPU and drivers? Can it be specific to nVidia drivers and GPUs?

multiflexi avatar Dec 20 '22 19:12 multiflexi

Can you please try the latest development version? We recently upgraded the javafx version:

We would like to ask you to use a development build from https://builds.jabref.org/main and report back if it works for you. Please remember to make a backup of your library before trying-out this version.

Siedlerchr avatar Apr 15 '23 19:04 Siedlerchr

Not the original poster, but I'm having the exact same issues. As suggested by @Siedlerchr I installed a development build: JabRef 5.10--2023-05-30--424ff1c Linux 6.2.15-300.fc38.x86_64 amd64 Java 20.0.1 JavaFX 20+19 on Fedora 38

The issues still persists.

Details on version and operating system: Fedora 38, Gnome 44.1, Wayland, Nvidia 530.41.03

St0rml avatar Jun 01 '23 13:06 St0rml

Forcing jabref as flatpak to run with GTK2 as mentioned in the workaround in #5867 (More specifically this comment) fixes the issues on wayland for me. Edit: Newer versions from https://builds.jabref.org/main/ fix this issue for me without any hacky workarounds :) JabRef 5.10--2023-08-13--8864ace Linux 6.4.8-200.fc38.x86_64 amd64 Java 21-internal JavaFX 20+19

St0rml avatar Aug 06 '23 10:08 St0rml

Having the same problem with Fedora 38 and Wayland, using the latest RPM download from https://builds.jabref.org/main/ or the Flatpak version. I have an Nvidia 4070 GPU.

It blinks terribly for me, basically making Jabref unusable.

But: logging out and then back into an X.org session makes it work perfectly.

bshor avatar Oct 17 '23 19:10 bshor

Cryptomator seems to have also issues w/ Wayland: https://github.com/cryptomator/cryptomator-linux/issues/9. Does Cryptomator run well on your side @bshor?

koppor avatar Oct 24 '23 23:10 koppor

I've never run Cryptomator, so unfortunately I don't know about that.

bshor avatar Oct 25 '23 19:10 bshor

Cryptomator seems to have also issues w/ Wayland: cryptomator/cryptomator-linux#9. Does Cryptomator run well on your side @bshor?

I have no problems running Cryptomator. However after updating, Jabref again shows this flicker behaviour. Sadly, I cannot really reproduce what exactly caused it to flicker again :/

St0rml avatar Nov 25 '23 13:11 St0rml

Also having issues after the recent update to 5.11. I am using Arch linux on wayland

fanzhuyifan avatar Nov 28 '23 23:11 fanzhuyifan

Can you please test this version ? https://builds.jabref.org/pull/10808/merge

Siedlerchr avatar Jan 20 '24 19:01 Siedlerchr

I'm afraid, I cannot be of big help anymore, as I moved away from Nvidia GPUs on the machine which regularly had the issues described above. Big reason here being me wanting to use Jabref. No regrets. For what its worth, the build runs fine on my laptop, which has an Nivida MX250 and the same OS and Desktop Environment (+Wayland) as the machine on which I observed the behavior described above. However, so does an older version of Jabref. Also, my laptop (MX250) had a recent fresh install so there's many variables which might contribute to it now working smoothly. If there's any steps or something you'd like me to try out, please let me know and I'll try to get back to you soon.

St0rml avatar Jan 20 '24 23:01 St0rml

Can you please test this version ? https://builds.jabref.org/pull/10808/merge

I also have this issue. I've tried portable 5.13 and 5.12 from my package manager and didn't notice any difference. This is probably have something to do with how nvidia drivers works on Wayland, because this is not the only issue i get.

Cvtq avatar Jan 25 '24 11:01 Cvtq

Can you please test this version ? https://builds.jabref.org/pull/10808/merge

I've tried this build on Wayland and the problem is still there. Happy to test further if needed.

wallywasadog avatar Mar 10 '24 09:03 wallywasadog

@wallywasadog One more try: Could you download a javafx22-ea version from https://builds.jabref.org/jdk-ea/ and try it?

koppor avatar Mar 11 '24 18:03 koppor

I just tried the latest FlatPak on a different system running Wayland (an immutable distro that pretty much requires Flatpaks), and it operates perfectly!

bshor avatar Mar 26 '24 04:03 bshor

Nvidia driver 555 finally fixed many screen issues on wayland, as proprietary (open/closed source?) gsync is now supported. Any nvidia users that experience issues please test with 555 or later.

As far as I am aware, Nvidia drivers on Linux are a never ending story, since they are closed source, so when things break, nobody can fix it apart from Nvidia.

ThiloteE avatar Jul 08 '24 20:07 ThiloteE

Can confirm that with the implementation of Wayland's linux-drm-syncobj-v1 protocol (aka. "explicit sync") by NVIDIA in the 555 driver release, all of the flickering and black screens are gone on my machine.

JabRef 5.13, NixOS 24.11.20240716.ad0b5ee with Linux 6.10.0, KDE Plasma 6.1.3 on Wayland, NVIDIA 555.58.02

tob1asr avatar Jul 23 '24 08:07 tob1asr