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

Re: AMD GPU + HDMI + vlc = lockup



Kamil Jońca composed on 2021-02-04 07:14 (UTC+0100):

> Felix Miata writes:

>> How quickly after video start does this happen, right away, or only after a while?

> when I launch vlc with list of movie files. vlc "waits" (and then there
> 
> [....]
									
There what?

>>   Display: x11 server: X.Org 1.20.10 driver: loaded: modesetting

> "Display: x11 server: X.Org 1.20.10 driver: loaded: radeon display ID: :0"

> but when I changed to "modesetting" I also noticed hangup.

> BTW what is difference between the two in terms of performance for
> example?
										
I don't know whether the difference is detectable in the absence of benchmarking.

> [...]
>>   OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.3
>>   compat-v: 3.1 direct render: Yes

> OpenGL: renderer: AMD CEDAR (DRM 2.50.0 / 5.10.0-2-amd64 LLVM 11.0.1) 
> v: 3.3 Mesa 20.3.3 compat-v: 3.1 direct render: Yes 

> How can I test "llvmpipe" here?
										
AFAIK, llvmpipe is used by the Modesetting DDX, while Radeon DDX uses AMD CEDAR.
Whether either could possibly use the other I have no idea, but since the
Modesetting uses a very different technology, I suspect it's not possible.

>> Info:...Shell: Bash v: 5.1.4 running in: konsole inxi: 3.3.00
>> # dmesg | grep adeon
...

>> [   38.389555] radeon 0000:01:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
>> [   38.389561] radeon 0000:01:00.0: GTT: 1024M 0x0000000040000000 - 0x000000007FFFFFFF
>> [   38.389820] [drm] radeon: 1024M of VRAM memory ready
>> [   38.389824] [drm] radeon: 1024M of GTT memory ready.
...

> similar but only 512M vram.
										
I suppose the hang could be from CPU initializing VLC before the video actually
starts running. Have you tried watching top as you start VLC? How powerful is your
CPU?

When I have trouble with VLC, I often find trouble absent using SMplayer.
-- 
Evolution as taught in public schools, like religion,
	is based on faith, not on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/


Reply to: