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

Missing permission to access /dev/dri/renderD128 #559

Open
dscp46 opened this issue Feb 4, 2024 · 0 comments
Open

Missing permission to access /dev/dri/renderD128 #559

dscp46 opened this issue Feb 4, 2024 · 0 comments
Labels

Comments

@dscp46
Copy link

dscp46 commented Feb 4, 2024

Describe the bug
When installed with flatpak and launched on a wayland session, YUView warns of being unable to access /dev/dri/renderD128.
Significant performance impact is noticeable.

user@testrig ~ % flatpak run de.rwth_aachen.ient.YUView 
QSocketNotifier: Can only be used with threads started with QThread
libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (Aucun fichier ou dossier de ce type)
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Quick fix
The end user can run the following command:

sudo flatpak override de.rwth_aachen.ient.YUView --device=dri

Longer term fix
As suggested by that thread, add the following in de.rwth_aachen.ient.YUView.yaml.

finish-args:
  - --device=dri

To Reproduce
Steps to reproduce the behavior:

  1. Install flatpak and set up flathub repository.
  2. Run the following command flatpak install de.rwth_aachen.ient.YUView
  3. Run the following command flatpak run de.rwth_aachen.ient.YUView
  4. See error

Expected behavior
YUView runs without any EGL warning. Console output shows the following:

user@testrig ~ % flatpak run de.rwth_aachen.ient.YUView 
QSocketNotifier: Can only be used with threads started with QThread

Screenshots
Not applicable

Version (please complete the following information):

  • OS: Debian 12 (Bookworm)
  • Version: flatpak, 2.14 (363fcd9d647d147439c5b7e0584d496155ad05a3013fb8ea8715c4e084630763, 2023-09-21 13:37:36 +0000)
@dscp46 dscp46 added the bug label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant