content:linux_fedora
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| content:linux_fedora [2026/02/13 19:05] – obel1x | content:linux_fedora [2026/04/10 14:22] (aktuell) – obel1x | ||
|---|---|---|---|
| Zeile 3: | Zeile 3: | ||
| here are some basics for setting up Fedora. Actual Version: 43 | here are some basics for setting up Fedora. Actual Version: 43 | ||
| - | Useful Docs also: https:// | + | Useful Docs also: [[https:// |
| ===== Graphics ===== | ===== Graphics ===== | ||
| - | Out of the Box there are not alle Multimedia Codecs installed. | + | ==== Basic codecs ==== |
| - | ==== For AMD ==== | + | Out of the Box there are not all multimedia codecs installed which are needed to decode propietary formats. |
| + | To use h264 and vlc, you need to: | ||
| < | < | ||
| + | |||
| + | sudo dnf config-manager setopt fedora-cisco-openh264.enabled=1 | ||
| + | sudo dnf install vlc | ||
| + | sudo dnf install python-vlc | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Interfaces ==== | ||
| + | |||
| + | There are different Hardware/ | ||
| + | |||
| + | From [[https:// | ||
| + | |||
| + | [[https:// | ||
| + | |||
| + | There are several ways to achieve this on Linux: | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | For comprehensive overview of driver and application support see [[https:// | ||
| + | |||
| + | === VA-API === | ||
| + | |||
| + | This is the most used Interface for video acceleration and decoding itself. The example here is a very old card still supported by AMDGPU: | ||
| + | < | ||
| + | |||
| + | root@pc-000700080009: | ||
| + | Trying display: wayland | ||
| + | Trying display: x11 | ||
| + | libva info: VA-API version 1.22.0 | ||
| + | libva info: User environment variable requested driver ' | ||
| + | libva info: Trying to open / | ||
| + | libva info: Trying to open / | ||
| + | libva info: Found init function __vaDriverInit_1_22 | ||
| + | libva info: va_openDriver() returns 0 | ||
| + | vainfo: VA-API version: 1.22 (libva 2.22.0) | ||
| + | vainfo: Driver version: Mesa Gallium driver 25.3.6 for AMD CAICOS (DRM 2.51.0 / 6.19.11-200.fc43.x86_64, | ||
| + | vainfo: Supported profile and entrypoints | ||
| + | VAProfileMPEG2Simple | ||
| + | VAProfileMPEG2Main | ||
| + | VAProfileVC1Simple | ||
| + | VAProfileVC1Main | ||
| + | VAProfileVC1Advanced | ||
| + | VAProfileH264ConstrainedBaseline: | ||
| + | VAProfileH264Main | ||
| + | VAProfileH264High | ||
| + | VAProfileH264High10 | ||
| + | VAProfileNone | ||
| + | |||
| + | </ | ||
| + | |||
| + | Please check to use the right driver (see beneath), and not maybe r600, which would be the first matching driver, if the environment LIBVA_DRIVER_NAME had not been set. | ||
| + | |||
| + | === VDPAU === | ||
| + | |||
| + | Basically a good way, to put load from the cpu to gpu. But: | ||
| + | |||
| + | The Mesa-Project, | ||
| + | |||
| + | < | ||
| + | https:// | ||
| + | |||
| + | Post by grknight » Wed Mar 18, 2026 12:48 pm | ||
| + | Oh, so mesa removed VDPAU support with version 25.3.0 | ||
| + | |||
| + | Now anything that depended on it should be removed. Please disable all vdpau on your system. | ||
| + | |||
| + | Edit: Try vaapi instead system-wide. Mesa should provide a vaapi driver for radeonsi | ||
| + | |||
| + | </ | ||
| + | |||
| + | To still be able to unload rendering to GPU, you ma y use the LIBVDPAU-VA-GL ( [[https:// | ||
| + | |||
| + | See beaneath for setup. | ||
| + | |||
| + | === Vulkan === | ||
| + | |||
| + | This is the actual framework for using 3d graphics in Linux. It will be the best supported Interface in the Future. | ||
| + | |||
| + | To tes, use: | ||
| + | < | ||
| + | |||
| + | vulkaninfo | grep VK_KHR_video_ | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== For AMD ==== | ||
| + | < | ||
| + | |||
| dnf install https:// | dnf install https:// | ||
| dnf install libavcodec-freeworld --allowerasing | dnf install libavcodec-freeworld --allowerasing | ||
| dnf install https:// | dnf install https:// | ||
| dnf install mesa-va-drivers-freeworld --allowerasing | dnf install mesa-va-drivers-freeworld --allowerasing | ||
| + | dnf install libvdpau-va-gl | ||
| </ | </ | ||
| + | |||
| + | By default, most Linux deliver radeon- driver, which is open source and stable, but lacks important features. | ||
| + | |||
| + | For AMD, one should switch to AMDGPU if possible (supported card by that driver). | ||
| + | |||
| + | To do so: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Add to GRUB_CMDLINE_LINUX the following Parameters: | ||
| + | |||
| + | < | ||
| + | radeon.si_support=0 amdgpu.si_support=1 radeon.cik_support=0 amdgpu.cik_support=1 | ||
| + | |||
| + | </ | ||
| + | |||
| + | and update Grub: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Blacklist radeon - this is needed for Vulkan ro work properly: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | |||
| + | </ | ||
| + | |||
| + | Reboot. lsmod should than not show radeon any more. | ||
| + | |||
| + | Environment: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | |||
| + | </ | ||
| + | |||
| + | and put the lines in it: | ||
| + | |||
| + | < | ||
| + | LIBVA_DRIVER_NAME=radeonsi | ||
| + | # 10.04.2026 No support from mesa for VDPAU any more, use libvdpau-va-gl | ||
| + | VDPAU_DRIVER=va_gl | ||
| + | |||
| + | </ | ||
| + | |||
| + | Hint: Also the driver is changed to **AMDGPU**, you need to set **radeonsi** | ||
| + | |||
| + | VDPAU will work via VA-API: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | root@pc-000700080009: | ||
| + | display: :0 | ||
| + | libva info: VA-API version 1.22.0 | ||
| + | libva info: User environment variable requested driver ' | ||
| + | libva info: Trying to open / | ||
| + | libva info: Trying to open / | ||
| + | libva info: Found init function __vaDriverInit_1_22 | ||
| + | libva info: va_openDriver() returns 0 | ||
| + | API version: 1 | ||
| + | Information string: OpenGL/ | ||
| + | |||
| + | </ | ||
| + | |||
| + | Do not install / use | ||
| + | |||
| + | * **libva-vdpau-driver** | ||
| + | **This would be the other way round (use VA-API via VDPAU Driver!)** | ||
| ==== Intel ==== | ==== Intel ==== | ||
| Zeile 28: | Zeile 197: | ||
| </ | </ | ||
| + | |||
| + | Environment: | ||
| + | |||
| + | < | ||
| + | root@pc-000700080009: | ||
| + | |||
| + | </ | ||
| + | |||
| + | and put the lines in it: | ||
| + | |||
| + | < | ||
| + | LIBVA_DRIVER_NAME=intel | ||
| + | VDPAU_DRIVER=intel | ||
| + | |||
| + | </ | ||
| ==== NVIDIA ==== | ==== NVIDIA ==== | ||
content/linux_fedora.1771005906.txt.gz · Zuletzt geändert: von obel1x
