Bug 497004 - MP4 full screen or rectangular region recordings are all black (window recording works fine)
Summary: MP4 full screen or rectangular region recordings are all black (window record...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.08.3
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-03 18:23 UTC by José Rafael
Modified: 2025-03-11 21:28 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
black (6.00 KB, video/mp4)
2024-12-03 18:23 UTC, José Rafael
Details
log spectacle (9.73 KB, text/plain)
2024-12-16 03:16 UTC, José Rafael
Details
rectangular region (770.85 KB, video/mp4)
2024-12-16 19:21 UTC, José Rafael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description José Rafael 2024-12-03 18:23:31 UTC
Created attachment 176329 [details]
black

Screen recording and window recording is black in spectacle
SUMMARY
Spectacle in Screen Recording and Window Recording mode is saving videos on a completely black screen, this does not happen in Rectangular Region Recording.

STEPS TO REPRODUCE
1. click on the screen or window recording options
2. save the video 

OBSERVED RESULT
The saved videos are completely black 

EXPECTED RESULT
The videos record what is on the screen normally

SOFTWARE VERSIONS
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.11.10-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4200U CPU @ 1.60GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 4400
Comment 1 John Kizer 2024-12-15 06:55:26 UTC
Hi - I can't reproduce this on my system below. Are you able to start spectacle from a terminal and provide any messages that might provide some clues?

Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.1
Kernel Version: 6.11.11-300.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4070 SUPER/PCIe/SSE2
Comment 2 José Rafael 2024-12-16 03:16:38 UTC
Created attachment 176671 [details]
log spectacle

Hello, this is the log (attached) that I have calling spectacle via terminal to record a screen
Comment 3 John Kizer 2024-12-16 17:33:50 UTC
Thanks for attaching the console log - looking at the repeated "failed to open /usr/lib64/dri/hybrid_drv_video.so" lines in that log, do you have additional graphics driver and/or codec packages installed on your Fedora system? (For example, what's discussed here: https://discussion.fedoraproject.org/t/rpmfusion-hardware-accelerated-codec/117198 )
Comment 4 José Rafael 2024-12-16 19:17:25 UTC
(In reply to John Kizer from comment #3)
> Obrigado por anexar o log do console - olhando as repetidas linhas "failed
> to open /usr/lib64/dri/hybrid_drv_video.so" nesse log, você tem driver
> gráfico adicional e/ou pacotes de codec instalados em seu sistema Fedora?
> (Por exemplo, o que é discutido aqui: 
> https://discussion.fedoraproject.org/t/rpmfusion-hardware-accelerated-codec/
> 117198  )

So, the problem isn't with the codec, because as I said in my problem, it only happens when recording a whole screen, or a rectangular region, but when recording a window, the video recording works

but I do have the libva-intel-driver package

today I updated to spectacle 24.12 and it's still there!
Comment 5 José Rafael 2024-12-16 19:20:38 UTC
(In reply to José Rafael from comment #4)
> (In reply to John Kizer from comment #3)
> > Obrigado por anexar o log do console - olhando as repetidas linhas "failed
> > to open /usr/lib64/dri/hybrid_drv_video.so" nesse log, você tem driver
> > gráfico adicional e/ou pacotes de codec instalados em seu sistema Fedora?
> > (Por exemplo, o que é discutido aqui: 
> > https://discussion.fedoraproject.org/t/rpmfusion-hardware-accelerated-codec/
> > 117198  )
> 
> So, the problem isn't with the codec, because as I said in my problem, it
> only happens when recording a whole screen, or a rectangular region, but
> when recording a window, the video recording works
> 
> but I do have the libva-intel-driver package
> 
> today I updated to spectacle 24.12 and it's still there!

Sorry, the spectacle only records all black in screen mode and window mode, the rectangular region recording mode works normally

I'll send you a video of the rectangular region
Comment 6 José Rafael 2024-12-16 19:21:29 UTC
Created attachment 176687 [details]
rectangular region
Comment 7 John Kizer 2024-12-16 20:04:07 UTC
Thanks for confirming you still see that issue on 24.12.0!
Comment 8 Nate Graham 2025-03-07 15:07:09 UTC
José, does this work if you use the WebM/VP9 format? Or does it fail in the same way there?
Comment 9 José Rafael 2025-03-09 18:33:07 UTC
(In reply to Nate Graham from comment #8)
> José, does this work if you use the WebM/VP9 format? Or does it fail in the
> same way there?

Sorry for not getting back to you, but the problem stopped when I removed the libva-nvidia-driver.x86_64 package from my fedora.
It was interfering and giving me a black screen when recording the spectacle.
Comment 10 Nate Graham 2025-03-11 21:28:25 UTC
Thanks! Sounds like a case of buggy or incompatible drivers, or something similar.