NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.39k stars 13.62k forks source link

pokerth in gnome3 crashes, but works in plasma5 #89113

Closed reirob closed 1 year ago

reirob commented 4 years ago

pokerth does not work in gnome 3, on NixOS 20.03 Installed pokerth on 20.03, it works nicely in KDE (plasma5), but when I am in Gnome (gnome3) then it crashes

To Reproduce

  1. On NixOS 20.03, log in to Gnome 3 Desktop
  2. Open a terminal
  3. Type pokerth You should get:

> pokerth

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in "" This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa.

Aborted (core dumped)

Expected behavior pokerth should start. It should be as well possible to start it without the terminal but from the gnome application start menu.

Additional context

I spoke with people in IRC on #nixos channel and they said that the issue is resolved in unstable and provided the link to this pull request: .

And they adviced me to open this issue so that the solution might be backported to 20.03.

jtojnar commented 4 years ago

Linking the pull request here might be helpful.

06kellyjac commented 4 years ago

Related: #84612 PR that (I think) fixed this in unstable

reirob commented 4 years ago

I just installed the unstable package and I can confirm that it works in gnome, after having logged out and restarting the display manager. However the HiDPI scaling does not work for this application under gnome (in KDE it works).

I don't know if this can be fixed too, but as a workaround I can start it from the terminal with:

QT_SCALE_FACTOR=1.8 pokerth

and it seems to be reasonable.

alexarice commented 4 years ago

I think this is fixed now

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info