You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to voidlinux here. I use Orange Pi 3 as my lightweight workstation, which is an aarch64 board, and I have the latest Armbian running there. Meanwhile, it has panfrost support to make hardware accelration (Mali T720) usable.
And then, I setup a voidlinux by following the official doc here, run it in a chroot with /dev,/proc,/sys,/tmp,/run etc binding. Everything works good except qt apps.
When I try to run qt apps as normal user in chroot, for example qutebrowser or keepassxc, they always say "Unable to query physical screen size":
~> ls -l /dev/dri/
total 0
drwxr-xr-x 2 root root 100 Nov 13 09:56 by-path
crw-rw----+ 1 root video 226, 0 Nov 13 09:56 card0
crw-rw----+ 1 root video 226, 1 Nov 13 09:56 card1
crw-rw----+ 1 root render 226, 128 Nov 13 09:56 renderD128
~> glxinfo | grep render
direct rendering: Yes
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mali T720 (Panfrost)
GL_EXT_multisampled_render_to_texture,
GL_EXT_multisampled_render_to_texture2, GL_EXT_occlusion_query_boolean,
GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,
~> DISPLAY=:0 keepassxc
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-justin'
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
~> DISPLAY=:0 keepassxc
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-justin'
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
Then with those errors, both of them show apps' ui in fullscreen mode, without window manager's border, and unresponsive to any keyboard or mouse click events:
They are expected to run without such issues. Both qutebrowser and keepassxc work well in alpinelinux or archlinuxarm chroot environment with same setup.
Actual behavior
They failed to run normally (full screen, not respond to any keyboard or mouse events) with the errors:
Unable to query physical screen size, defaulting to 100 dpi.
To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters)
Steps to reproduce the behavior
Setup a voidlinux by following the official doc here, and run it in a chroot with /dev,/proc,/sys,/tmp,/run etc binding. Host may be a Debian distro, and my host is:
Hi, all:
New to
voidlinux
here. I use Orange Pi 3 as my lightweight workstation, which is an aarch64 board, and I have the latestArmbian
running there. Meanwhile, it haspanfrost
support to make hardware accelration (Mali T720) usable.And then, I setup a voidlinux by following the official doc here, run it in a chroot with /dev,/proc,/sys,/tmp,/run etc binding. Everything works good except qt apps.
When I try to run qt apps as normal user in chroot, for example
qutebrowser
orkeepassxc
, they always say"Unable to query physical screen size"
:Then with those errors, both of them show apps' ui in fullscreen mode, without window manager's border, and unresponsive to any keyboard or mouse click events:
System
Void 5.10.60-sunxi64 aarch64 Unknown uptodate rFF
qutebrowser-2.4.0_1
keepassxc-2.6.6_1
Expected behavior
They are expected to run without such issues. Both
qutebrowser
andkeepassxc
work well inalpinelinux
orarchlinuxarm
chroot environment with same setup.Actual behavior
They failed to run normally (full screen, not respond to any keyboard or mouse events) with the errors:
Unable to query physical screen size, defaulting to 100 dpi. To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters)
Steps to reproduce the behavior
Setup a
voidlinux
by following the official doc here, and run it in a chroot with /dev,/proc,/sys,/tmp,/run etc binding. Host may be a Debian distro, and my host is:The text was updated successfully, but these errors were encountered: