You are not logged in.

#1 2025-03-23 00:57:52

jza873
Member
Registered: 2007-10-11
Posts: 22

random freezes when I start a video. This can be local or youtube.

So I for the life of me cannot figure this out. I start a video and the computer freezes. I cant move the mouse or do anything for about 1 min. I have an asrock rx6600 I just put in. Computer is a HP z820 running dual xeon with 128ECC. So I know the computer is not lagging.  I am running Plasma with wayland. I tried to look it up dug through the forums installed removed disabled things and i cant figure it out. Hopefully someone that is way smarter then me can help.

i guess ill start with this

Output from journalctl -b -p err

https://pastebin.com/PmHUh84i

Offline

#2 2025-03-23 01:26:28

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

sorry here is an updated paste it didn't all copy

https://pastebin.com/AVL1kTNf

Offline

#3 2025-03-23 06:54:39

seth
Member
Registered: 2012-09-03
Posts: 62,106

Re: random freezes when I start a video. This can be local or youtube.

"journalctl -b -p err" will likely not help anyway.

1. same on plasma on X11
2. "local or youtube" but both are your browser?

mpv /path/to/weallknowitsporn.mp4"

same problem?

mpv -ao alsa /path/to/weallknowitsporn.mp4"

same problem?

mpv -ao null /path/to/weallknowitsporn.mp4"

same problem?

I have an asrock rx6600 I just put in.

glxinfo -B; vainfo

What was there before?

Offline

#4 2025-03-23 22:57:28

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

ok this is interesting.

So. This appears to only be happening under wayland. on X11 this issue don't occur. But this was under a fresh logon.

Now under wayland I try and play a local video using haruna it freezes for about 30 seconds. I try with VLC and it freezes for about 1 min. I open a terminal and run

 mpv "all your base are belong to us.mp4" 

and no freeze. Then just to see if its persistent. I run the same video under haruna and vlc.  and i get the same freezes. Same with all videos I run in a browser.

Switching to x11 and no issues.

output of glxinfo -B

glxinfo -B; vainfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6600 (radeonsi, navi23, LLVM 19.1.7, DRM 3.61, 6.12.19-1-lts) (0x73ff)
    Version: 25.0.1
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 7461 MB, largest block: 7461 MB
    VBO free aux. memory - total: 64271 MB, largest block: 64271 MB
    Texture free memory - total: 7461 MB, largest block: 7461 MB
    Texture free aux. memory - total: 64271 MB, largest block: 64271 MB
    Renderbuffer free memory - total: 7461 MB, largest block: 7461 MB
    Renderbuffer free aux. memory - total: 64271 MB, largest block: 64271 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 72607 MB
    Currently available dedicated video memory: 7461 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6600 (radeonsi, navi23, LLVM 19.1.7, DRM 3.61, 6.12.19-1-lts)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 25.0.1-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 25.0.1-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 25.0.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

bash: vainfo: command not found

So with that beings said. Thanks. That narrows it down to a wayland issue. Which for the life of me i didn't even think of switching back to x11.

So ill go 1 step further.

I switched back to wayland and tried the videos again under mpv, haruna, and vlc. and there is no freeze, as well as youtube.  ok came back to my computer 3 hours later unlocked it. went you play a video on youtube and it locked again. VLC locked it. MPV no locking. And Haruna locked the computer up too.

hope that helped.

Offline

#5 2025-03-23 23:05:03

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,197

Re: random freezes when I start a video. This can be local or youtube.

What does

sudo fuser -v /dev/snd/*

give you during the problematic situation? FWIW seth's specific test had a purpose and you didn't mention whether you ran that exact test. The running theory being that you have conflicting sound servers installed, usually happening by the constellation of pipewire with wireplumber and pulseaudio instead of pipewire-pulse.

Offline

#6 2025-03-23 23:56:13

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  blank     1480738 F.... wireplumber
/dev/snd/controlC1:  blank     1480738 F.... wireplumber
/dev/snd/controlC2:  blank     1480738 F.... wireplumber
/dev/snd/seq:        blank     1480737 F.... pipewire

Offline

#7 2025-03-24 07:52:52

seth
Member
Registered: 2012-09-03
Posts: 62,106

Re: random freezes when I start a video. This can be local or youtube.

Switching to x11 and no issues.

I switched back to wayland […] and there is no freeze, as well as youtube.  […] 3 hours later […] video on youtube and it locked again. VLC locked it. MPV no locking

1. mpv doesn't cause locks
2. apparently it takes a while or maybe a suspend cycle or the screenlocker to trigger this
=> Did you test condition #2 on X11?
Does VLC / your browser run as native wayland client?
https://wiki.archlinux.org/title/Waylan … plications
Does VLC spit error/warnings when lagging/freezing and started from konsole?

If it wasn't for the delay part I'd also suggest to try a differen WL compositor (weston or sway or so)…

bash: vainfo: command not found

=> libva-utils …


Edit: x-ref, https://bbs.archlinux.org/viewtopic.php?id=303855

Last edited by seth (2025-03-24 07:57:22)

Offline

#8 2025-03-24 10:17:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 24,197

Re: random freezes when I start a video. This can be local or youtube.

Some general HWVA lockup? Though once again I seem to be a unicorn as I can not repro any of this hmm Though most of my videoing recently is in chromium and I haven't yet had the need to enable VAAPI there.

Offline

#9 2025-03-24 21:00:19

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

here is the output from vainfo

Trying display: wayland
vainfo: VA-API version: 1.22 (libva 2.22.0)
vainfo: Driver version: Mesa Gallium driver 25.0.1-arch1.2 for AMD Radeon RX 6600 (radeonsi, navi23, LLVM 19.1.7, DRM 3.61, 6.12.19-1-lts)
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
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
      VAProfileAV1Profile0            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc

I am withing back to X11 and will report back in a few hours. I don't have a screen locker. For some reason it wont auto lock no matter what I set the settings to. That is a problem for another day. I haven't even begun to fix that issue yet. I try before I ask.

Offline

#10 2025-03-24 23:10:11

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

Oh i will state this too. I had this issue when I had my garbage k4000 NVIDIA card in my computer as well. Also my browser is waterfox. I generally don't use VLC. It was for a test. I found Haruna to be much better and much more stable. (never thought I would say that). Back when I was on Manjaro. VLC just crashed.

Also running VLC from terminal no errors. everything just froze and then started working like no big issue.

Now I will say this. I switched back to arch about a month ago. This was not an issue under Manjaro. I know they are similar and different. The reason i switched back to arch was Manjaro forums was ran by stupid assholes. It would break constantly and if I asked a question I would get flamed hard.

Offline

#11 2025-03-25 13:18:01

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

UPDATE. ok so i had my computer on X11 all night. even ran some high processes compiling for like 3 hours. Locked the screen manually as i do and the same normal as always with even more more work to it. Docker running compiling etc. and no freezes with local videos under vlc or haruna. Waterfox with youtube no freeze. So this is a wayland issue. I thought wayland was the way to go. I bought this video card so i could use hyprland. which I don't like. So I guess X11 is still superior. So I dont mind using X11. I see no real difference.

But anyone got any ideas why this is an issue with Wayland?

Offline

#12 2025-03-25 15:56:35

seth
Member
Registered: 2012-09-03
Posts: 62,106

Re: random freezes when I start a video. This can be local or youtube.

I bought this video card so i could use hyprland. which I don't like.

For clarification, you're currently experiencing this on plasma?
Apparently it's powerdevil related, https://bbs.archlinux.org/viewtopic.php … 8#p2233448

Offline

#13 2025-03-25 17:47:03

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

Yes this is on plasma. I will read the article you sent over and let you know the results. BTW thanks for the help I really do appreciate it.

Offline

#14 2025-03-25 19:45:08

jza873
Member
Registered: 2007-10-11
Posts: 22

Re: random freezes when I start a video. This can be local or youtube.

Well after reading that thread and the KDE thread that's exactly what is happening.

Offline

Board footer

Powered by FluxBB