Potferdek Est-ce que tu as regardé aussi en bas de la documentation concernant l’accélération graphique ainsi que les codecs supplémentaires ?

Que retourne
$ rpm -qa \*intel\*

Bonjour.

Merci pour la réponse. Et merci d’avoir replacé le message au bon endroit en indiquant comment mieux le formaliser.

Alors, voilà ce que j’ai quand je lance $ rpm -qa \*intel\*:

xorg-x11-drv-intel-2.99.917-57.20210115.fc40.x86_64
intel-mediasdk-23.2.2-5.fc40.x86_64
intel-vpl-gpu-rt-24.2.5-1.fc40.x86_64
intel-audio-firmware-20241210-1.fc40.noarch
intel-gpu-firmware-20241210-1.fc40.noarch

En ce qui concerne l’accélération graphique, j’ai permuté les paquets de RPM Fusion comme indiqué. Et j’ai ajouté les codecs supplémentaires.

Maintenant j’arrive à lire les vidéos sur VLC. Mais pas avec Vidéos 43.0 (“décodeur H.264 manquant”) et les icônes dans l’application Nautilus sont toujours standardisées (au lieu de donner un aperçu). Et je n’arrive toujours pas à lire certaines vidéos en streaming. J’imagine que ces problèmes sont liés. Est-ce qu’il vaut mieux les aborder dans des discussions séparées ou pas ?

    donne # rpm -qa \*264\*
    chez moi

    # rpm -qa \*264\*
    x264-libs-0.164-15.20231001git31e19f92.fc41.x86_64
    openh264-2.5.0-1.fc41.x86_64
    mozilla-openh264-2.5.0-1.fc41.x86_64
    gstreamer1-plugin-openh264-1.24.11-1.fc41.x86_64
    x264-libs-0.164-13.20231001git31e19f92.fc40.x86_64
    noopenh264-0.1.0~openh264_2.4.0-1.fc40.x86_64

    Je ne sais si les deux qui manquent résoudraient le problème. Tu peux les installer pour voir.

      Si tu lances VLC depuis un terminal et essaie de lire une vidéo h264, que donne la sortie ? Un message d’erreur particulier ?

        fgland

        Je veux bien mais est-ce que tu peux me dire comment les installer stp ? ^^

        eclipseo

        Quand je lance VLC depuis le terminal puis que je lis une vidéo, ça marche et voilà ce qui apparaît dans mon terminal :

        VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
        [00005566624f3520] main libvlc: Lancement de vlc avec l’interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
        [000055666258e6c0] main playlist: playlist is empty
        libva info: VA-API version 1.21.0
        libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
        libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
        libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
        libva info: va_openDriver() returns -1
        libva info: Trying to open /usr/lib64/dri-nonfree/i965_drv_video.so
        libva info: Trying to open /usr/lib64/dri-freeworld/i965_drv_video.so
        libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
        libva info: va_openDriver() returns -1
        [00007f9a3c001da0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
        libva info: VA-API version 1.21.0
        libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
        libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
        libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
        libva info: va_openDriver() returns -1
        libva info: Trying to open /usr/lib64/dri-nonfree/i965_drv_video.so
        libva info: Trying to open /usr/lib64/dri-freeworld/i965_drv_video.so
        libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
        libva info: va_openDriver() returns -1
        [00007f9a3c001da0] glconv_vaapi_drm gl error: vaInitialize: unknown libva error
        libva info: VA-API version 1.21.0
        Xlib:  extension "DRI2" missing on display ":0".
        libva error: vaGetDriverNames() failed with operation failed
        [00007f9a3c001da0] glconv_vaapi_drm gl error: vaInitialize: operation failed
        Failed to open VDPAU backend libvdpau_nvidia.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce nom
        [h264 @ 0x7f9a48c378c0] get_buffer() failed
        [h264 @ 0x7f9a48c378c0] thread_get_buffer() failed
        [h264 @ 0x7f9a48c378c0] decode_slice_header error
        [h264 @ 0x7f9a48c378c0] no frame!
        [000055666258e6c0] main playlist: end of playlist, exiting

        Donc il essaye de détecter l’accélération vidéo mais ne trouve pas. Tu as juste une carte vidéo Intel ou aussi une NVIDIA en plus ?

        Juste Intel® HD Graphics 5500 (BDW GT2) d’après ce que je vois.

          Potferdek

          Pourrais-tu installer :

          sudo dnf install libva-intel-media-driver libva-intel-driver libva-utils

          Et ensuite nous donner le retour de la commande vainfo ?

          Vu la génération de ta carte (Broadwell), tu pourrais aussi installer libva-intel-hybrid-driver que j’avais packagé il y a quelques années pour l’accélération hybride VP9.

            eclipseo

            Merci ! Je viens d’installer les deux.

            Voilà ce que j’ai en retour de la commande vainfo :

            Trying display: wayland
            libva info: VA-API version 1.21.0
            libva info: Trying to open /usr/lib64/dri-nonfree/iHD_drv_video.so
            libva info: Trying to open /usr/lib64/dri-freeworld/iHD_drv_video.so
            libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
            libva info: Found init function __vaDriverInit_1_21
            libva info: va_openDriver() returns 0
            vainfo: VA-API version: 1.21 (libva 2.21.0)
            vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 24.2.5 ()
            vainfo: Supported profile and entrypoints
                  VAProfileMPEG2Simple            :	VAEntrypointVLD
                  VAProfileMPEG2Main              :	VAEntrypointVLD
                  VAProfileJPEGBaseline           :	VAEntrypointVLD
                  VAProfileVP8Version0_3          :	VAEntrypointVLD

              Potferdek

              tu peux check que tu as ce paquet depuis rpmfusion-nonfree ?

              intel-media-driver-24.3.4-1.fc41.x86_64 : The Intel Media Driver for VAAPI
              Repo        : rpmfusion-nonfree
              Matched from:
              Filename    : /usr/lib64/dri-nonfree/iHD_drv_video.so

              Si tu n’as pas rpmfusion :

              sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

                eclipseo

                Je ne le vois pas mais p-e que je n’ai pas cherché correctement.

                Voilà ce que j’ai en mettant dnf search rpmfusion :

                buildsys-build-rpmfusion.x86_64 : Tools and files used by the rpmfusion buildsys
                rpmfusion-free-obsolete-packages.noarch : A package to obsolete retired packages from rpmfusion-free
                rpmfusion-nonfree-obsolete-packages.noarch : A package to obsolete retired packages from rpmfusion-nonfree
                rpmfusion-packager.noarch : Tools for setting up a rpmfusion maintainer environment
                ================================================================ Nom correspond à : rpmfusion ================================================================
                buildsys-build-rpmfusion-kerneldevpkgs-current.x86_64 : Meta-package to get all current kernel-devel packages into the buildroot
                mock-rpmfusion-free.noarch : Mock config files for the RPM Fusion Free Repository
                mock-rpmfusion-nonfree.noarch : Mock config files for the RPM Fusion NonFree Repository
                python3-rpmfusion-cert.noarch : Fedora certificate tool and python library
                rpmfusion-free-appstream-data.noarch : Appstream metadata for the RPM Fusion free repository
                rpmfusion-free-release.noarch : RPM Fusion (free) Repository Configuration
                rpmfusion-free-release-rawhide.noarch : RPM Fusion Rawhide free repo definitions
                rpmfusion-free-release-tainted.noarch : RPM Fusion free Tainted repo definition
                rpmfusion-nonfree-appstream-data.noarch : Appstream metadata for the RPM Fusion nonfree repository
                rpmfusion-nonfree-release.noarch : RPM Fusion (nonfree) Repository Configuration
                rpmfusion-nonfree-release-rawhide.noarch : RPM Fusion Rawhide nonfree repo definitions
                rpmfusion-nonfree-release-tainted.noarch : RPM Fusion nonfree Tainted repo definition

                Et avec dnf repoquery -l rpmfusion-utils|more :

                Copr repo for PyCharm owned by phracek           76 kB/s | 121 kB     00:01    
                Fedora 40 - x86_64                              2.5 MB/s |  56 MB     00:22    
                Fedora 40 - x86_64 - Updates                    2.3 MB/s |  34 MB     00:14    
                google-chrome                                   8.7 kB/s | 4.3 kB     00:00    
                RPM Fusion for Fedora 40 - Free                 267 kB/s | 603 kB     00:02    
                RPM Fusion for Fedora 40 - Free - Updates       181 kB/s | 333 kB     00:01    
                RPM Fusion for Fedora 40 - Nonfree              165 kB/s | 261 kB     00:01    
                RPM Fusion for Fedora 40 - Nonfree - NVIDIA Dri  14 kB/s |  10 kB     00:00    
                RPM Fusion for Fedora 40 - Nonfree - Steam      1.3 kB/s | 2.2 kB     00:01    
                RPM Fusion for Fedora 40 - Nonfree - Updates     20 kB/s | 105 kB     00:05  

                Du coup, on dirait que j’ai quand même NIVIDIA (j’avais recherché directement dans mes paramètres sans le trouver).

                  Nicosss

                  Les codecs GStreamer semblent déjà partiellement installés :

                  Le paquet gstreamer1-plugin-libav-1.24.11-1.fc40.x86_64 est déjà installé.
                  Aucune correspondance pour le paramètre: gstreamer1-ffmpeg
                  Aucune correspondance pour le paramètre: gstreamer1-plugins-bad
                  Le paquet gstreamer1-plugins-ugly-1:1.24.10-1.fc40.x86_64 est déjà installé.
                  Erreur : Impossible de trouver une correspondance: gstreamer1-ffmpeg gstreamer1-plugins-bad

                  Et pour les plugins extra j’ai ça :

                  Le paquet gstreamer1-plugins-bad-free-1.24.11-1.fc40.x86_64 est déjà installé.
                  Dépendances résolues.
                  
                   Problème: problème avec le paquet installé telegram-desktop-5.9.0-1.fc40.x86_64
                    - package telegram-desktop-5.9.0-1.fc40.x86_64 from @System requires libQt6Core.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
                    - package telegram-desktop-5.9.0-1.fc40.x86_64 from @System requires qt6-qtbase(x86-64) = 6.7.2, but none of the providers can be installed
                    - package telegram-desktop-5.9.0-1.fc40.x86_64 from rpmfusion-free-updates requires libQt6Core.so.6(Qt_6.7_PRIVATE_API)(64bit), but none of the providers can be installed
                    - package telegram-desktop-5.9.0-1.fc40.x86_64 from rpmfusion-free-updates requires qt6-qtbase(x86-64) = 6.7.2, but none of the providers can be installed
                    - package telegram-desktop-4.16.8-1.fc40.x86_64 from rpmfusion-free requires libQt6Core.so.6(Qt_6.6_PRIVATE_API)(64bit), but none of the providers can be installed
                    - package telegram-desktop-4.16.8-1.fc40.x86_64 from rpmfusion-free requires qt6-qtbase(x86-64) = 6.6.2, but none of the providers can be installed
                    - cannot install both qt6-qtbase-6.8.1-11.fc40.x86_64 from updates and qt6-qtbase-6.7.2-6.fc40.x86_64 from @System
                    - cannot install both qt6-qtbase-6.8.1-11.fc40.x86_64 from updates and qt6-qtbase-6.6.2-7.fc40.x86_64 from fedora
                    - package gstreamer1-plugins-good-qt6-1.24.11-2.fc40.x86_64 from updates requires libQt6Core.so.6(Qt_6.8)(64bit), but none of the providers can be installed
                    - problème avec le paquet installé gstreamer1-plugins-good-qt6-1.24.9-1.fc40.x86_64
                    - package gstreamer1-plugins-good-qt6-1.24.9-1.fc40.x86_64 from @System requires gstreamer1-plugins-good(x86-64) = 1.24.9-1.fc40, but none of the providers can be installed
                    - package gstreamer1-plugins-good-qt6-1.22.9-3.fc40.x86_64 from fedora requires gstreamer1-plugins-good(x86-64) = 1.22.9-3.fc40, but none of the providers can be installed
                    - cannot install both gstreamer1-plugins-good-1.24.11-2.fc40.x86_64 from updates and gstreamer1-plugins-good-1.24.9-1.fc40.x86_64 from @System
                    - cannot install both gstreamer1-plugins-good-1.24.11-2.fc40.x86_64 from updates and gstreamer1-plugins-good-1.22.9-3.fc40.x86_64 from fedora
                    - package gstreamer1-plugins-good-extras-1.24.11-2.fc40.x86_64 from updates requires gstreamer1-plugins-good(x86-64) = 1.24.11-2.fc40, but none of the providers can be installed
                    - installation impossible du meilleur candidat pour la tâche
                  ==============================================================================================================================================================
                   Paquet                                             Architecture               Version                               Dépôt                              Taille
                  ==============================================================================================================================================================
                  Installation:
                   gstreamer1-plugins-good-extras                     x86_64                     1.22.9-3.fc40                         fedora                              66 k
                  Installation des dépendances:
                   libdv                                              x86_64                     1.0.0-39.fc39                         fedora                              83 k
                  Rétrogradation:
                   gstreamer1-plugins-good                            x86_64                     1.22.9-3.fc40                         fedora                             2.3 M
                   gstreamer1-plugins-good-gtk                        x86_64                     1.22.9-3.fc40                         fedora                              32 k
                   gstreamer1-plugins-good-qt                         x86_64                     1.22.9-3.fc40                         fedora                              68 k
                   gstreamer1-plugins-good-qt6                        x86_64                     1.22.9-3.fc40                         fedora                              42 k
                  Ignorer les paquets en conflit :
                  (ajouter « --best --allowerasing » à la ligne de commande pour forcer leur mise à niveau):
                   gstreamer1-plugins-good                            x86_64                     1.24.11-2.fc40                        updates                            2.4 M
                   qt6-qtbase                                         x86_64                     6.6.2-7.fc40                          fedora                             4.0 M
                   qt6-qtbase                                         x86_64                     6.8.1-11.fc40                         updates                            4.0 M
                  Ignorer les paquets ayant des dépendances cassées :
                   gstreamer1-plugins-good-extras                     x86_64                     1.24.11-2.fc40                        updates                             69 k
                   gstreamer1-plugins-good-qt6                        x86_64                     1.24.11-2.fc40                        updates                             81 k
                   telegram-desktop                                   x86_64                     4.16.8-1.fc40                         rpmfusion-free                      36 M
                  
                  Résumé de la transaction
                  ==============================================================================================================================================================
                  Installer    2 Paquets
                  Retrograder  4 Paquets
                  Ignorer      6 Paquets
                  
                  Taille totale des téléchargements : 2.6 M
                  Voulez-vous continuer ? [o/N] : o
                  Téléchargement des paquets :
                  (1/6): gstreamer1-plugins-good-qt-1.22.9-3.fc40.x86_64.rpm                                                                     39 kB/s |  68 kB     00:01    
                  (2/6): gstreamer1-plugins-good-1.22.9-3.fc40.x86_64.rpm                                                                       722 kB/s | 2.3 MB     00:03    
                  (3/6): gstreamer1-plugins-good-extras-1.22.9-3.fc40.x86_64.rpm                                                                329 kB/s |  66 kB     00:00    
                  (4/6): libdv-1.0.0-39.fc39.x86_64.rpm                                                                                         486 kB/s |  83 kB     00:00    
                  (5/6): gstreamer1-plugins-good-qt6-1.22.9-3.fc40.x86_64.rpm                                                                    14 kB/s |  42 kB     00:02    
                  (6/6): gstreamer1-plugins-good-gtk-1.22.9-3.fc40.x86_64.rpm                                                                   3.5 kB/s |  32 kB     00:09    
                  --------------------------------------------------------------------------------------------------------------------------------------------------------------
                  Total                                                                                                                         276 kB/s | 2.6 MB     00:09     
                  Test de la transaction
                  La vérification de la transaction a réussi.
                  Lancement de la transaction de test
                  Transaction de test réussie.
                  Exécution de la transaction
                    Préparation           :                                                                                                                                 1/1 
                    Rétrogradation        : gstreamer1-plugins-good-1.22.9-3.fc40.x86_64                                                                                   1/10 
                    Installation          : libdv-1.0.0-39.fc39.x86_64                                                                                                     2/10 
                    Installation          : gstreamer1-plugins-good-extras-1.22.9-3.fc40.x86_64                                                                            3/10 
                    Rétrogradation        : gstreamer1-plugins-good-gtk-1.22.9-3.fc40.x86_64                                                                               4/10 
                    Rétrogradation        : gstreamer1-plugins-good-qt-1.22.9-3.fc40.x86_64                                                                                5/10 
                    Rétrogradation        : gstreamer1-plugins-good-qt6-1.22.9-3.fc40.x86_64                                                                               6/10 
                    Nettoyage de          : gstreamer1-plugins-good-gtk-1.24.9-1.fc40.x86_64                                                                               7/10 
                    Nettoyage de          : gstreamer1-plugins-good-qt-1.24.9-1.fc40.x86_64                                                                                8/10 
                    Nettoyage de          : gstreamer1-plugins-good-qt6-1.24.9-1.fc40.x86_64                                                                               9/10 
                    Nettoyage de          : gstreamer1-plugins-good-1.24.9-1.fc40.x86_64                                                                                  10/10 
                    Exécution du scriptlet: gstreamer1-plugins-good-1.24.9-1.fc40.x86_64                                                                                  10/10 
                  
                  Rétrogradé:
                    gstreamer1-plugins-good-1.22.9-3.fc40.x86_64        gstreamer1-plugins-good-gtk-1.22.9-3.fc40.x86_64    gstreamer1-plugins-good-qt-1.22.9-3.fc40.x86_64   
                    gstreamer1-plugins-good-qt6-1.22.9-3.fc40.x86_64   
                  Installé:
                    gstreamer1-plugins-good-extras-1.22.9-3.fc40.x86_64                                        libdv-1.0.0-39.fc39.x86_64                                       
                  Ignoré:
                    gstreamer1-plugins-good-1.24.11-2.fc40.x86_64   gstreamer1-plugins-good-extras-1.24.11-2.fc40.x86_64   gstreamer1-plugins-good-qt6-1.24.11-2.fc40.x86_64  
                    qt6-qtbase-6.6.2-7.fc40.x86_64                  qt6-qtbase-6.8.1-11.fc40.x86_64                        telegram-desktop-4.16.8-1.fc40.x86_64              

                  Pour la commande $ lspci | grep -E "(VGA)|(3D)", ça donne ça :

                  00:02.0 VGA compatible controller: Intel Corporation HD Graphics 5500 (rev 09)

                  Tiens j’étais en train de traiter les bugs du Multimedia SIG et je suis tombé là-dessus :

                  https://bugzilla.redhat.com/show_bug.cgi?id=2257308

                  Description of problem:
                  Installing libavcodec-freeworld doesn’t cause GStreamer to “notice” H.264 playback capability.

                  Version-Release number of selected component (if applicable):
                  gstreamer1-plugin-libav-1.22.8-1.fc38.x86_64

                  How reproducible:
                  Always

                  Steps to Reproduce:
                  1 Ensure only libavcodec-free is installed and not hardware decoding is available:
                  dnf remove libavcodec-freeworld ffmpeg-libs gstreamer1-plugin-openh264 gstreamer1-plugins-bad-free

                  1. rm .cache/gstreamer-1.0/registry.*.bin
                  2. Try playing a H.264 video using e.g. clapper
                    -> black image
                  3. Install libavcodec-freeworld
                  4. Try playing H.264 video again
                    -> still black image
                  5. rm .cache/gstreamer-1.0/registry.*.bin
                  6. Try playing H.264 video again
                    -> plays fine

                  Actual results:
                  With gstreamer1-plugin-libav and libavcodec-free (no H.264 decoding capability) installed, installing libavcodec-freeworld doesn’t cause GStreamer to notice it can play H.264 now and the video stream is missing (black) until user gstreamer plugin cache is rebuilt.

                  Expected results:
                  H.264 playback works immediately after installing libavcodec-freeworld, without manually removing gstreamer plugin cache.

                  Additional info:
                  This was reported on Discourse: https://discussion.fedoraproject.org/t/totem-h-265-no-video-only-audio-problem/100818/2 .

                  Mais néanmoins tu devrais avoir une accélération matérielle fonctionnele avec libva pour Intel depuis les dépoyts RPMFusion. J’ai l’impression que tes dépots RPMFusion en sont pas actifs vu que tu ne peux pas trouver gstreamer1-ffmpeg et gstreamer1-plugins-bad.

                    eclipseo

                    Magnifique, ça a fonctionné ! Merci beaucoup.

                    Est-ce qu’il faut quand même que j’active mes dépôts RPMFusion et si oui, comment ?