U24.04. Screen Grab does not work due to Parameters

Following an Ubuntu update to 24.04 (which was a nightmare)
with Wayland, on a Dell G3 350,
I cannot no more to use Grab screen.

The error message:

Capture crashed. Please review your parameters.

and log details

ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 13.2.0 (GCC) configuration: --prefix=/app --disable-doc --disable-static --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-gnutls --enable-gpl --enable-libaom --enable-libass --enable-libdav1d --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsvtav1 --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-rpath --enable-shared --enable-vaapi --enable-vdpau --enable-libvpl
libavutil 59. 8.100 / 59. 8.100 libavcodec 61. 3.100 / 61. 3.100 libavformat 61. 1.100 / 61. 1.100 libavdevice 61. 1.100 / 61. 1.100 libavfilter 10. 1.100 / 10. 1.100 libswscale 8. 1.100 / 8. 1.100 libswresample 5. 1.100 / 5. 1.100 libpostproc 58. 1.100 / 58. 1.100 [x11grab @ 0x61efa87310c0] Cannot open display :0.0+1920.0, error 1.
[in#0 @ 0x61efa8730e00] Error opening input: Input/output error Error opening input file :0.0+1920.0. Error opening input files: Input/output error

It is quite difficult for me to find the issue in this.

My Capture parameters are:
crf=25 ab=192k vcodec=libx264 acodec=libvorbis ab=192k preset=veryfast threads=%threads

Detected device is empty! Is it right?

Thank you for any feedback

Have a nice end of year and an excellent 2025 year

José

I uninstalled ffmpeg from SNAP

I try to install it from apt.

root@my-pc:/home/jrd_10# apt install ffmpeg
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
ffmpeg : Depends: libavcodec60 (>= 7:6.1)
         Depends: libavfilter9 (>= 7:6.0)
         Depends: libavformat60 (>= 7:6.0)
libavdevice60 : Depends: libavcodec60 (>= 7:6.0)
                Depends: libavfilter9 (>= 7:6.0)
                Depends: libavformat60 (= 7:6.1.1-3ubuntu5)
                Depends: libavutil58 (= 7:6.1.1-3ubuntu5) but 7:6.1.1-3ubuntu5+esm2 is to be installed
libswscale7 : Depends: libavutil58 (= 7:6.1.1-3ubuntu5) but 7:6.1.1-3ubuntu5+esm2 is to be installed
E: Unable to correct problems, you have held broken packages.
root@my-pc:/home/jrd_10# 

I am in troubles with some dependancies!

Thank you in advance for any feedback.

José

Hi! To help folks here best guide you, could you please let us know:

  • What application are you trying to use to record the screen?
  • Are you using KDE Plasma as your desktop environment? If yes, can you please send along the details from the Info Center app using the Copy Details button?

1 Like

Hi, it’s with Kdenlive.

Sorry @johnandmegh, I was thinking to be in the Kdenlive Room :).
I understand, I missed adding the Kdenlive tag. I understand I’m in the Help Room :).

This is my system (that i missed to detail too, sorry :).

System Details Report


Report details

  • Date generated: 2024-12-29 11:38:18

Hardware Information:

  • Hardware Model: Dell Inc. G3 3500
  • Memory: 8,0 GiB
  • Processor: Intel® Core™ i5-10300H Ă— 8
  • Graphics: Intel® UHD Graphics (CML GT2)
  • Graphics 1: NVIDIA GeForce GTX 1650
  • Disk Capacity: 256,1 GB

Software Information:

  • Firmware Version: 1.32.0
  • OS Name: Ubuntu 24.04.1 LTS
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 46
  • Windowing System: Wayland
  • Kernel Version: Linux 6.8.0-40-generic

My Ubuntu is 24.04.1 is on Gnome 46


Please, not I have had an issue with Inkscape. Unable to export my draws as it was not possible to access to the Repertory and filename box.
It is (still) a bug from SNAP wich has some troubles with some access rights.
I have reinstall Inkscape from apt and now it words :).

I am on, according to About Kdenlive:
Kdenlive Version 24.08.1
Qt Version 6.7.2 (built against 6.7.2)
The wayland windowing system
MLT Version 7.27.0, Open source multimedia framework.

FFmpeg (no version?)
A complete, cross-platform solution to record, convert and stream audio and video.

I was thinking it was a SNAP installation. In Ubuntu Software, it does not appear as installed in the following source:

  • ubuntu-noble-universe-(deb)
  • Snap store (Snap)

Note… In troubles with U 24.04, no software list in Ubuntu Software > Installed!!!

From the terminal, we can see:

jrd_10@my-pc:~$ apt show kdenlive
Package: kdenlive
Version: 4:23.08.5-0ubuntu4
Priority: optional
Section: universe/graphics
Origin: Ubuntu
Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
Original-Maintainer: Debian/Kubuntu Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9 155 kB
Depends: breeze, breeze-icon-theme (>= 4:5.83.0), ffmpeg, gstreamer1.0-plugins-bad, kded5, kdenlive-data (= 4:23.08.5-0ubuntu4), kinit, kio, melt, qml-module-org-kde-kcm, qml-module-org-kde-newstuff, qml-module-qtgraphicaleffects, qml-module-qtqml-models2, qml-module-qtquick-controls, qml-module-qtquick-controls2, qml-module-qtquick-dialogs, qml-module-qtquick-layouts, qml-module-qtquick-window2, qml-module-qtquick2, libc6 (>= 2.38), libkf5archive5 (>= 5.92.0~), libkf5bookmarks5 (>= 5.92.0~), libkf5codecs5 (>= 5.92.0~), libkf5completion5 (>= 5.81.0), libkf5configcore5 (>= 5.92.0~), libkf5configgui5 (>= 5.92.0~), libkf5configwidgets5 (>= 5.107.0), libkf5coreaddons5 (>= 5.95.0), libkf5crash5 (>= 5.92.0~), libkf5dbusaddons5 (>= 5.92.0~), libkf5filemetadata3 (>= 5.92.0~), libkf5guiaddons-bin, libkf5guiaddons5 (>= 5.92.0~), libkf5i18n5 (>= 5.17.0), libkf5iconthemes5 (>= 5.92.0~), libkf5itemviews5 (>= 4.96.0), libkf5jobwidgets5 (>= 4.96.0), libkf5kiocore5 (>= 5.98.0), libkf5kiofilewidgets5 (>= 5.100.0), libkf5kiogui5 (>= 5.100.0), libkf5kiowidgets5 (>= 5.108.0), libkf5newstuffcore5 (>= 5.92.0~), libkf5newstuffwidgets5 (>= 5.115.0), libkf5notifications5 (>= 5.92.0~), libkf5notifyconfig5 (>= 5.92.0~), libkf5purpose-bin, libkf5purpose5 (>= 5.92.0~), libkf5solid5 (>= 5.92.0~), libkf5textwidgets5 (>= 5.92.0~), libkf5widgetsaddons5 (>= 5.100.0), libkf5xmlgui5 (>= 5.97.0), libmlt++7 (>= 7.22.0), libmlt7 (>= 7.22.0), libqt5core5t64 (>= 5.15.1), libqt5dbus5t64 (>= 5.14.1), libqt5gui5t64 (>= 5.14.1) | libqt5gui5-gles (>= 5.14.1), libqt5multimedia5 (>= 5.9.0~rc), libqt5network5t64 (>= 5.15.1), libqt5networkauth5 (>= 5.12.2), libqt5qml5 (>= 5.9.0~beta), libqt5quick5 (>= 5.6.1) | libqt5quick5-gles (>= 5.6.1), libqt5quickcontrols2-5 (>= 5.9.0~rc), libqt5quickwidgets5 (>= 5.11.0), libqt5svg5 (>= 5.6.0~beta), libqt5widgets5t64 (>= 5.15.1), libqt5xml5t64 (>= 5.0.2), libstdc++6 (>= 13.1)
Recommends: frei0r-plugins, mediainfo, swh-plugins
Suggests: khelpcenter, vlc | xine-ui
Homepage: https://kdenlive.org/
Task: ubuntustudio-video
Download-Size: 3 051 kB
APT-Sources: http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
Description: non-linear video editor
 Kdenlive is a non-linear video editing suite, which supports DV, HDV and many
 more formats.
 Its main features are:
  * Guides and marker for organizing timelines
  * Copy and paste support for clips, effects and transitions
  * Real time changes
  * FireWire and Video4Linux capture
  * Screen grabbing
  * Exporting to any by FFMPEG supported format

jrd_10@my-pc:~$ 

Thank you for your time.
José

I am thinking to uninstall Kdenlive and to try reinstalling it with Snap or apt.

1 Like

Please try with the current Kdenlive AppImage version 24.12.0 to see if there are any packaging issues Download - Kdenlive

1 Like

Hi @Eugen_Mohr

With the AppImage, Version 24.12.0, same issue.

Log details.

ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers built with gcc 12 (SUSE Linux) configuration: --enable-libmp3lame --cc=gcc --cxx=g++ --enable-libopus --enable-libvorbis --enable-libvpx --enable-libass --enable-libaom --enable-libdav1d --enable-libzimg --arch=x86_64 --enable-shared --disable-debug --disable-doc --enable-gpl --enable-version3 --enable-nonfree --enable-openssl --enable-libx264 --enable-libx265 --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-cuvid --enable-amf --enable-libsvtav1 --enable-vaapi --enable-vdpau --enable-libmfx --prefix=/builds/sysadmin/ci-management/linux-64-gcc --libdir=/builds/sysadmin/ci-management/linux-64-gcc/lib
libavutil 59. 39.100 / 59. 39.100 libavcodec 61. 19.100 / 61. 19.100 libavformat 61. 7.100 / 61. 7.100 libavdevice 61. 3.100 / 61. 3.100 libavfilter 10. 4.100 / 10. 4.100 libswscale 8. 3.100 / 8. 3.100 libswresample 5. 3.100 / 5. 3.100 libpostproc 58. 3.100 / 58. 3.100
[x11grab @ 0x1faf640] Cannot open display :0.0+0.0, error 1.
[in#0 @ 0x1faf380] Error opening input: Input/output error Error opening input file :0.0+0.0. Error opening input files: Input/output error

Is it normal that in Parameters > Capture > Blackmagic > Detected devices, the text box is empty (no choice)

Blackmagic is a external screen or the device which achieves the screen copy?

Thank you for your time.

José

I’ll put my dollar on something to do with you running Wayland now …

Hi @Ron,

I tried to go back to X_org. Ubuntu + NVIDIA driver
But, it does not work.
Troubles with Ubuntu + unable to run Kdenlive (installed + AppImage)

Now, I go back to Wayland,
and I tried the NVIDIA driver ; NVIDIA Driver 565 (proprietary)

I am going to see another capture tool.
Not easy as with Wayland, some of them does not work anymore (Spectacle…)

Thank you for any piece of advice.

Have a funny end of year

José

I assume it’s either the wrong display number you like to connect:

Or a display forward commend is set to no: