After switch graphic mode on boot stage the picture appears immediately and disappears until I replug TV to display port
For workaround the issue #1417 absence support HDMI 2.1 I use DP to HDMI converter.
And every time when I use this converter I have problems with display initialization.
TV show a clearly low hertz frequency in service menu and no show picture from computer.
I have to repeatedly reconnect the converter to the video card until the picture appear.
Sometimes reconnecting causes the GPU to hang, which leads to reboot the computer and do it all over again.
Demonstration: https://youtu.be/-lkc7Y3n_Kc
CPU: AMD Ryzen 7950x
GPU: AMD Radeon 7900XTX
Monitor: TV LG OLED42C3
DP to HDMI converter: https://nl.aliexpress.com/item/1005005624919129.html
When GPU hangs I see such backtrace:
[ 591.684003] sysrq: Show Blocked State
[ 591.684131] task:kworker/u65:7 state:D stack:24824 pid:308 tgid:308 ppid:2 flags:0x00004000
[ 591.684140] Workqueue: events_unbound commit_work
[ 591.684148] Call Trace:
[ 591.684149] <TASK>
[ 591.684154] __schedule+0x10f2/0x64b0
[ 591.684160] ? seqcount_lockdep_reader_access.constprop.0+0xa5/0xb0
[ 591.684164] ? rcu_is_watching+0x15/0xb0
[ 591.684168] ? seqcount_lockdep_reader_access.constprop.0+0xa5/0xb0
[ 591.684172] ? ktime_get+0x67/0xe0
[ 591.684176] ? __pfx___schedule+0x10/0x10
[ 591.684178] ? lock_release+0x4ec/0xbb0
[ 591.684182] ? __pfx_lock_acquire+0x10/0x10
[ 591.684185] ? __pfx_lock_release+0x10/0x10
[ 591.684188] ? rcu_is_watching+0x15/0xb0
[ 591.684192] ? rcu_is_watching+0x15/0xb0
[ 591.684196] schedule+0xec/0x2f0
[ 591.684199] schedule_timeout+0x23f/0x280
[ 591.684202] ? __pfx_schedule_timeout+0x10/0x10
[ 591.684206] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684209] ? rcu_is_watching+0x15/0xb0
[ 591.684212] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684215] dma_fence_default_wait+0x49d/0x730
[ 591.684220] ? __pfx_lock_release+0x10/0x10
[ 591.684223] ? __pfx_dma_fence_default_wait+0x10/0x10
[ 591.684226] ? dma_fence_add_callback+0x105/0x300
[ 591.684229] ? __pfx_dma_fence_default_wait_cb+0x10/0x10
[ 591.684232] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684235] ? rcu_is_watching+0x15/0xb0
[ 591.684239] dma_fence_wait_timeout+0x2a4/0x310
[ 591.684243] drm_atomic_helper_wait_for_fences+0x480/0x710
[ 591.684247] ? __pfx_drm_atomic_helper_wait_for_fences+0x10/0x10
[ 591.684250] ? seqcount_lockdep_reader_access.constprop.0+0xa5/0xb0
[ 591.684253] ? trace_hardirqs_on+0x16/0x100
[ 591.684256] ? seqcount_lockdep_reader_access.constprop.0+0xa5/0xb0
[ 591.684262] commit_tail+0x79/0x310
[ 591.684266] process_one_work+0x786/0x12a0
[ 591.684271] ? worker_thread+0x2a6/0x1300
[ 591.684274] ? __pfx_process_one_work+0x10/0x10
[ 591.684276] ? lock_acquired+0x355/0xa10
[ 591.684280] ? assign_work+0x16c/0x240
[ 591.684283] worker_thread+0x727/0x1300
[ 591.684288] ? __pfx_worker_thread+0x10/0x10
[ 591.684290] kthread+0x2f2/0x3d0
[ 591.684293] ? __pfx_kthread+0x10/0x10
[ 591.684296] ret_from_fork+0x31/0x70
[ 591.684299] ? __pfx_kthread+0x10/0x10
[ 591.684301] ret_from_fork_asm+0x1b/0x30
[ 591.684307] </TASK>
[ 591.684314] task:kworker/u68:0 state:D stack:29952 pid:329 tgid:329 ppid:2 flags:0x00004000
[ 591.684321] Workqueue: ttm ttm_bo_delayed_delete [ttm]
[ 591.684332] Call Trace:
[ 591.684333] <TASK>
[ 591.684335] __schedule+0x10f2/0x64b0
[ 591.684338] ? _raw_read_unlock_irqrestore+0x66/0x80
[ 591.684341] ? rcu_is_watching+0x15/0xb0
[ 591.684344] ? _raw_read_unlock_irqrestore+0x66/0x80
[ 591.684347] ? stack_depot_save_flags+0x264/0x770
[ 591.684353] ? __pfx___schedule+0x10/0x10
[ 591.684355] ? lock_release+0x4ec/0xbb0
[ 591.684358] ? __pfx_lock_acquire+0x10/0x10
[ 591.684361] ? __kasan_slab_free+0x18/0x60
[ 591.684364] ? kfree+0x121/0x380
[ 591.684367] ? __pfx_lock_release+0x10/0x10
[ 591.684369] ? kthread+0x2f2/0x3d0
[ 591.684373] schedule+0xec/0x2f0
[ 591.684376] schedule_timeout+0x23f/0x280
[ 591.684379] ? __pfx_schedule_timeout+0x10/0x10
[ 591.684383] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684386] ? rcu_is_watching+0x15/0xb0
[ 591.684389] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684392] dma_fence_default_wait+0x49d/0x730
[ 591.684396] ? __pfx_lock_release+0x10/0x10
[ 591.684399] ? __pfx_dma_fence_default_wait+0x10/0x10
[ 591.684404] ? __pfx_dma_fence_default_wait_cb+0x10/0x10
[ 591.684408] ? _raw_spin_unlock_irqrestore+0x66/0x80
[ 591.684410] ? rcu_is_watching+0x15/0xb0
[ 591.684414] dma_fence_wait_timeout+0x2a4/0x310
[ 591.684416] dma_resv_wait_timeout+0xcc/0x170
[ 591.684419] ? __pfx_dma_resv_wait_timeout+0x10/0x10
[ 591.684420] ? __pfx_lock_acquire+0x10/0x10
[ 591.684423] ? __pfx_lock_acquired+0x10/0x10
[ 591.684425] ? _raw_spin_unlock_irq+0x28/0x60
[ 591.684428] ttm_bo_delayed_delete+0x56/0x130 [ttm]
[ 591.684434] process_one_work+0x786/0x12a0
[ 591.684437] ? worker_thread+0x2a6/0x1300
[ 591.684438] ? __pfx_process_one_work+0x10/0x10
[ 591.684440] ? lock_acquired+0x355/0xa10
[ 591.684443] ? assign_work+0x16c/0x240
[ 591.684445] worker_thread+0x727/0x1300
[ 591.684449] ? __pfx_worker_thread+0x10/0x10
[ 591.684451] kthread+0x2f2/0x3d0
[ 591.684452] ? __pfx_kthread+0x10/0x10
[ 591.684454] ret_from_fork+0x31/0x70
[ 591.684456] ? __pfx_kthread+0x10/0x10
[ 591.684457] ret_from_fork_asm+0x1b/0x30
[ 591.684460] </TASK>
[ 633.479824] [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:79:crtc-0] hw_done or flip_done timed out
Edited by Mikhail Gavrilov