Open jkowalk opened 1 year ago
Hi @jkowalk thank you for reporting this issue.
I was able to reproduce the issue... I sincerely don't know if it's a Luciferin problem or a GStreamer one, I'll investigate the problem and let you know if I find some news about it.
just for reference, this problem does not affect Wayland.
I just want to add plus one to this issue. Looking forward to a solution or a workaround. I am using it on Debian 12.
Cheers!
@gk1089 what is the version of GStreamer you are using? can you try to update it to 1.24.4? what GPU are you using? is drivers correctly installed? What version of GNOME are you using?
Firefly Luciferin version
2.11.7
Glow Worm Luciferin version
5.10.6
Firmware type
FULL
What is the stream method?
WiFi Stream
Fiefly Luciferin config file
Relevant log output
How to reproduce
I have a 3840x2160 4k Monitor set up with Firefly Luciferin. In the OS I have a scaling of 150%. Same Settings in the Firefly App. On Windows it works as expected, whole screen gets captured and so on. But on Ubuntu only the top left corner of the screen gets recorded. The log also states, that the scaling seems to be applied wrong:
ximagesrc startx=1 endx=2559 starty=0 endy=1439 ! videoscale ! videoconvert (Width: 2560.0 Height: 1440.0 Scaling: 2.0 MinX: 0.0 MinY: 0.0)
I also tried 100%, which works correct:
ximagesrc startx=1 endx=3839 starty=0 endy=2159 ! videoscale ! videoconvert (Width: 3840.0 Height: 2160.0 Scaling: 1.0 MinX: 0.0 MinY: 0.0)
And 200%, which again only records a forth of the screen:
ximagesrc startx=1 endx=1919 starty=0 endy=1079 ! videoscale ! videoconvert (Width: 1920.0 Height: 1080.0 Scaling: 2.0 MinX: 0.0 MinY: 0.0)
I was able to verify this by running:
gst-launch-1.0 ximagesrc startx=1 endx=2559 starty=0 endy=1439 ! video/x-raw,framerate=30/1 ! videoscale method=0 ! video/x-raw,width=1920,height=1080 ! ximagesink
which resulted in only the top left corner showing up. The correct settings for 150% scaling would be:ximagesrc startx=1 endx=5759 starty=0 endy=3239
which is screen_resolution * 1.5 - 1So I thought I'll just set the screen resolution to 5760 to 3240 and scaling to 100% in the app settings, which didn't work either. Log output was:
ximagesrc startx=1 endx=2559 starty=0 endy=1439 ! videoscale ! videoconvert (Width: 2560.0 Height: 1440.0 Scaling: 2.0 MinX: 0.0 MinY: 0.0)
It seems to me that there is something wrong with the calculation of the dimensions, but maybe someone can help me out.
Thanks anyways for the great system and your work so far.