Re: 4k video playback on some videos makes entire system sluggish

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, Oct 6, 2023 at 6:35 AM Roger Heflin <rogerheflin@xxxxxxxxx> wrote:
On Thu, Oct 5, 2023 at 9:01 PM Alex <mysqlstudent@xxxxxxxxx> wrote:
>
> Hi,
>
>> You might try uninstalling mesa-va-drivers and replacing with this:
>> mesa-va-drivers-freeworld
>>
>> one of my 2 machines was ok and a 2nd one looked closer to what yours
>> looked like.
>>
>> And replacing with freeworld it now looks much better and has a lot
>> more accelerators.
>
>
> I've done that, and now it definitely appears to have more support, but alas, it made no difference.
>
> $ vainfo The.Equalizer.mkv
> Trying display: wayland
> Trying display: x11
> libva info: VA-API version 1.18.0
> libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
> libva info: Found init function __vaDriverInit_1_18
> libva info: va_openDriver() returns 0
> vainfo: VA-API version: 1.18 (libva 2.18.2)
> vainfo: Driver version: Mesa Gallium driver 23.1.8 for AMD Radeon RX 570 Series (polaris10, LLVM 16.0.6, DRM 3.54, 6.5.5-200.fc38.x86_64)
> vainfo: Supported profile and entrypoints
>       VAProfileMPEG2Simple            : VAEntrypointVLD
>       VAProfileMPEG2Main              : VAEntrypointVLD
>       VAProfileVC1Simple              : VAEntrypointVLD
>       VAProfileVC1Main                : VAEntrypointVLD
>       VAProfileVC1Advanced            : VAEntrypointVLD
>       VAProfileH264ConstrainedBaseline: VAEntrypointVLD
>       VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
>       VAProfileH264Main               : VAEntrypointVLD
>       VAProfileH264Main               : VAEntrypointEncSlice
>       VAProfileH264High               : VAEntrypointVLD
>       VAProfileH264High               : VAEntrypointEncSlice
>       VAProfileHEVCMain               : VAEntrypointVLD
>       VAProfileHEVCMain               : VAEntrypointEncSlice
>       VAProfileHEVCMain10             : VAEntrypointVLD
>       VAProfileJPEGBaseline           : VAEntrypointVLD
>       VAProfileNone                   : VAEntrypointVideoProc
>
> I also just tried to play two regular 1080p videos at the same time using vlc, and it also showed the same problem where the system becomes effectively unusable.
>

Did you reboot after that?    The driver is loaded by vainfo (and
bypasses X11), but I also believe the original  driver is also loaded
by X11/Wayland and is still in memory when used via X11/Wayland.

I also found that some video tools (default mplayer) do not use vaapi.

And there are also ffmpeg versions in fedora/updates and a different
one with more free but not quite free 3rd-party licensed in rpmfusion
(ffmpeg-free vs ffmpeg)

Finally got a chance to reboot, and it definitely made a difference with playing 4k videos.

However, playing two 4k videos at the same time makes both of them slow. 

This is on my i7-12700k with 64GB and the Radeon with 4GB:

07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev ef) (prog-if 00 [VGA controller])
        Subsystem: ASRock Incorporation Device 5026
        Flags: bus master, fast devsel, latency 0, IRQ 194
        Memory at 4000000000 (64-bit, prefetchable) [size=4G]
        Memory at 4100000000 (64-bit, prefetchable) [size=2M]
        I/O ports at 3000 [size=256]
        Memory at 82000000 (32-bit, non-prefetchable) [size=256K]
        Expansion ROM at 82040000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: amdgpu
        Kernel modules: amdgpu

I'm pretty sure I recall playing multiple 4k videos at the same time with fc37 before this problem started. Do you have any other ideas what could be causing this jerkiness? 

Thanks,
Alex

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux