dec05eba / gpu-screen-recorder-issues

GPU Screen Recorder issue tracker
13 stars 0 forks source link

[BUG] (void linux) Incorrectly assumed wayland is running without Xwayland #49

Open anischenk0 opened 3 days ago

anischenk0 commented 3 days ago

Hello.

Upon using the command

$ flatpak run --command=gpu-screen-recorder com.dec05eba.gpu_screen_recorder -w screen -f 30 -o video.mp4

The console returns:

Warning: failed to connect to the X server. Assuming wayland is running without Xwayland Info: using h264 encoder because a codec was not specified gsr info: gsr_kms_client_init: waiting for server to connect Can't find bus: Cannot autolaunch D-Bus without X11 $DISPLAY gsr error: gsr_kms_client_init: kms server died or never started, exit code: 1 gsr error: gsr_capture_start failed

Similarly, $ flatpak run com.dec05eba.gpu_screen_recorder returns

Warning: failed to connect to the X server. Assuming wayland is running without Xwayland gsr error: gsr_dbus_init: dbus_bus_get failed with error: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

(gpu-screen-recorder-gtk:2): Gdk-WARNING **: 12:08:50.399: Settings portal not found: Cannot autolaunch D-Bus without X11 $DISPLAY

The package for Xwayland on void linux, "xorg-server-xwayland" is installed. Attempted on Sway wm. Have a nice day.

dec05eba commented 3 days ago

flatpak no longer supports x11 and wayland to be used at the same time so the error is correct. But what is the actual issue you are reporting? that it fails to start recording? is that the full terminal output? is there nothing else besides:

gsr error: gsr_kms_client_init: kms server died or never started, exit code: 1
gsr error: gsr_capture_start failed

? can you run sudo rm -rf ~/.local/share/gpu-screen-recorder/ and try running that same flatpak run --command=gpu-screen-recorder com.dec05eba.gpu_screen_recorder -w screen -f 30 -o video.mp4 command again?

anischenk0 commented 3 days ago

Hello. Yes, the program fails to record. I have posted the full contents of the terminal. In the first case it exits, in the second it gets stuck at what you see there.

On Tue, Sep 17, 2024, 13:27 dec05eba @.***> wrote:

flatpak no longer supports x11 and wayland to be used at the same time so the error is correct. But what is the actual issue you are reporting? that it fails to start recording? is that the full terminal output? is there nothing else besides:

gsr error: gsr_kms_client_init: kms server died or never started, exit code: 1 gsr error: gsr_capture_start failed

?

— Reply to this email directly, view it on GitHub https://github.com/dec05eba/gpu-screen-recorder-issues/issues/49#issuecomment-2356392813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUNPJL4K7ONO3VYTJAR3UQLZXBJ6PAVCNFSM6AAAAABOLWSXBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJWGM4TEOBRGM . You are receiving this because you authored the thread.Message ID: @.***>

dec05eba commented 3 days ago

Did you try the steps described above? also something might be wrong with flatpak on your system, have you tried if other flatpak applications work? for example try this: https://flathub.org/apps/nl.hjdskes.gcolor3