* [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X)
@ 2018-04-24 15:26 bugzilla-daemon
2018-04-25 16:05 ` [Bug 199493] " bugzilla-daemon
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-04-24 15:26 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
Bug ID: 199493
Summary: no audio over HDMI with amdgpu.dc=1 (on R9 380X)
Product: Drivers
Version: 2.5
Kernel Version: 4.17.0-rc2
Hardware: All
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: Video(DRI - non Intel)
Assignee: drivers_video-dri@kernel-bugs.osdl.org
Reporter: haro41@gmx.de
Regression: No
Audio over HDMI doesn't work (no sound), if dc is enabled (amdgpu.dc=1).
Hardware is R9 380X (Tonga), i use ALSA only.
With dc disabled (amdgpu.dc=0), audio basically works, but i get 'noisy' sound
usually.
The only way to get correct audio over HDMI is currently:
disable dc (amdgpu.dc=0) and start windows once, then warm boot to linux.
It looks like: the windows driver is initializing the hardware correctly, while
amdgpu doesn't.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
@ 2018-04-25 16:05 ` bugzilla-daemon
2018-05-19 9:08 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-04-25 16:05 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
--- Comment #1 from haro41@gmx.de ---
Created attachment 275577
--> https://bugzilla.kernel.org/attachment.cgi?id=275577&action=edit
related part of dmesg, with amdgpu.dc=1
there are some warnings followed by callstacks in dmesg, maybe this is helpfull
...
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
2018-04-25 16:05 ` [Bug 199493] " bugzilla-daemon
@ 2018-05-19 9:08 ` bugzilla-daemon
2018-05-19 19:25 ` bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-19 9:08 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
Andy Furniss (adf.lists@gmail.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adf.lists@gmail.com
--- Comment #2 from Andy Furniss (adf.lists@gmail.com) ---
The alsa crackling bug is long standing - I use jack to avoid (pulse also works
AFAIK)
Booting into windows is interesting - but the bug can also not show depending
on CPU load, so there is a chance of false positives depending on eg. if the
vid is using a lot for CPU decode/something else is using CPU at time of test.
I have a R9 285 also tonga and reported a dc=1 HDMI regression here -
https://bugs.freedesktop.org/show_bug.cgi?id=104391
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
2018-04-25 16:05 ` [Bug 199493] " bugzilla-daemon
2018-05-19 9:08 ` bugzilla-daemon
@ 2018-05-19 19:25 ` bugzilla-daemon
2018-05-19 20:46 ` bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-19 19:25 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
--- Comment #3 from haro41@gmx.de ---
@Andy Furniss, thanks for your feedback.
This bug report is mainly pointing to 'amdgpu.dc=1' behavoir (no sound and lots
of warnings in dmesg log). This bug is still present in 4.17.0-rc5.
Do you have HDMI sound at all, with dc enabled?
While the old behavoir (with 'amdgpu.dc=0'), at least in my case should be an
initialization problem, becouse if windows was booted once, everything works
(with or without CPU-load). But yes, this problem is rather old.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
` (2 preceding siblings ...)
2018-05-19 19:25 ` bugzilla-daemon
@ 2018-05-19 20:46 ` bugzilla-daemon
2018-05-20 10:22 ` bugzilla-daemon
2018-05-28 10:46 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-19 20:46 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
--- Comment #4 from Andy Furniss (adf.lists@gmail.com) ---
I build my own kernels, usually using agd5f testing branches.
Currently I get the warnings and no sound with dc=1.
dc=0 never worked with this card + my old TV, though it did work with an HDMI
monitor I once tried.
dc=1 worked for me ever since it was available, until the regression in
December.
I can currently get sound and loose the warnings, by reverting the commits
mentioned in my FDO bug. I still have to work around the alsa bug, which I do
by using it via jack.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
` (3 preceding siblings ...)
2018-05-19 20:46 ` bugzilla-daemon
@ 2018-05-20 10:22 ` bugzilla-daemon
2018-05-28 10:46 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-20 10:22 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
--- Comment #5 from haro41@gmx.de ---
Thank you for clarifiction, our observations/issues are similar obviously.
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 199493] no audio over HDMI with amdgpu.dc=1 (on R9 380X)
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
` (4 preceding siblings ...)
2018-05-20 10:22 ` bugzilla-daemon
@ 2018-05-28 10:46 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2018-05-28 10:46 UTC (permalink / raw)
To: dri-devel
https://bugzilla.kernel.org/show_bug.cgi?id=199493
--- Comment #6 from haro41@gmx.de ---
This issue (no HDMI sound with amdgpu_dc=1) still exist in 4.17.0-rc7.
The following warning is the first of many others in dmesg log:
[ 10.067233] WARNING: CPU: 11 PID: 367 at
drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:132
generic_reg_update_ex+0x102/0x150 [amdgpu]
[ 10.067235] Modules linked in: amdgpu(+) intel_powerclamp binfmt_misc
coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc btusb btrtl
btbcm btintel bluetooth wmi_bmof chash snd_hda_codec_hdmi i2c_algo_bit
gpu_sched drbg ttm snd_hda_intel drm_kms_helper ansi_cprng snd_hda_codec joydev
snd_hwdep syscopyarea sysfillrect snd_hda_core sysimgblt fb_sys_fops
ecdh_generic snd_pcm drm snd_timer snd aesni_intel soundcore aes_x86_64
crypto_simd cryptd glue_helper sg lpc_ich mfd_core evdev shpchp wmi button
uinput ip_tables x_tables autofs4 hid_generic usbhid hid ext4 crc32c_generic
crc16 mbcache jbd2 fscrypto sd_mod xhci_pci xhci_hcd ahci crc32c_intel libahci
ehci_pci libata ehci_hcd e100 i2c_i801 scsi_mod mii usbcore
[ 10.067346] CPU: 11 PID: 367 Comm: systemd-udevd Not tainted 4.17.0-rc7 #2
[ 10.067427] RIP: 0010:generic_reg_update_ex+0x102/0x150 [amdgpu]
[ 10.067429] RSP: 0018:ffffb8ed4071f3f8 EFLAGS: 00010246
[ 10.067433] RAX: ffffb8ed4071f418 RBX: ffff8e337604cf00 RCX:
0000000000000000
[ 10.067435] RDX: 0000000000000000 RSI: 0000000000000000 RDI:
ffff8e339fb96e00
[ 10.067437] RBP: ffffb8ed4071f468 R08: 0000000000000000 R09:
0000000000000000
[ 10.067438] R10: ffffb8ed4071f480 R11: 0000000000000001 R12:
0000000000000001
[ 10.067440] R13: 0000000000000000 R14: ffff8e339aa0e000 R15:
ffff8e335efe8188
[ 10.067443] FS: 00007fa4782c88c0(0000) GS:ffff8e33a7400000(0000)
knlGS:0000000000000000
[ 10.067445] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 10.067447] CR2: 00007fa4782f7a8c CR3: 00000005dd52c003 CR4:
00000000000606e0
[ 10.067449] Call Trace:
[ 10.067544] dce110_stream_encoder_update_hdmi_info_packets+0x357/0x550
[amdgpu]
[ 10.067628] dce110_apply_ctx_to_hw+0x6e5/0x860 [amdgpu]
[ 10.067718] dc_commit_state+0x2de/0x540 [amdgpu]
[ 10.067792] ? set_freesync_on_streams.part.6+0x4d/0x250 [amdgpu]
[ 10.067867] ? mod_freesync_set_user_enable+0x11d/0x150 [amdgpu]
[ 10.067951] amdgpu_dm_atomic_commit_tail+0x35b/0xd10 [amdgpu]
[ 10.067967] ? drm_atomic_helper_swap_state+0x25a/0x380 [drm_kms_helper]
[ 10.067980] ? _raw_spin_unlock+0x24/0x30
[ 10.067994] commit_tail+0x3a/0x70 [drm_kms_helper]
[ 10.068004] drm_atomic_helper_commit+0x11c/0x130 [drm_kms_helper]
[ 10.068015] restore_fbdev_mode_atomic+0x1b2/0x220 [drm_kms_helper]
[ 10.068040] drm_fb_helper_restore_fbdev_mode_unlocked+0x47/0x90
[drm_kms_helper]
[ 10.068050] drm_fb_helper_set_par+0x29/0x50 [drm_kms_helper]
[ 10.068055] fbcon_init+0x4de/0x680
[ 10.068066] visual_init+0xcf/0x130
[ 10.068072] do_bind_con_driver+0x1ef/0x3f0
[ 10.068083] do_take_over_console+0x7b/0x180
[ 10.068090] do_fbcon_takeover+0x58/0xb0
[ 10.068095] notifier_call_chain+0x45/0x70
[ 10.068102] blocking_notifier_call_chain+0x44/0x60
[ 10.068108] register_framebuffer+0x294/0x350
[ 10.068126] __drm_fb_helper_initial_config_and_unlock+0x229/0x490
[drm_kms_helper]
[ 10.068196] amdgpu_fbdev_init+0xc4/0xf0 [amdgpu]
[ 10.068257] amdgpu_device_init+0xd60/0x1460 [amdgpu]
[ 10.068268] ? kmalloc_order+0x18/0x40
[ 10.068327] amdgpu_driver_load_kms+0x78/0x200 [amdgpu]
[ 10.068349] drm_dev_register+0x131/0x1c0 [drm]
[ 10.068409] amdgpu_pci_probe+0x13f/0x200 [amdgpu]
[ 10.068421] pci_device_probe+0xc8/0x140
[ 10.068429] driver_probe_device+0x302/0x470
[ 10.068436] __driver_attach+0xb9/0xe0
[ 10.068440] ? driver_probe_device+0x470/0x470
[ 10.068444] ? driver_probe_device+0x470/0x470
[ 10.068447] bus_for_each_dev+0x76/0xc0
[ 10.068455] bus_add_driver+0x164/0x260
[ 10.068459] ? 0xffffffffc0de5000
[ 10.068464] driver_register+0x57/0xc0
[ 10.068467] ? 0xffffffffc0de5000
[ 10.068471] do_one_initcall+0x5d/0x1e3
[ 10.068478] ? _cond_resched+0x15/0x40
[ 10.068483] ? kmem_cache_alloc_trace+0x18e/0x1e0
[ 10.068487] ? do_init_module+0x22/0x201
[ 10.068493] do_init_module+0x5b/0x201
[ 10.068498] load_module+0x21f8/0x2a50
[ 10.068511] ? ima_post_read_file+0x102/0x110
[ 10.068530] ? __do_sys_finit_module+0xe9/0x110
[ 10.068533] __do_sys_finit_module+0xe9/0x110
[ 10.068550] do_syscall_64+0x49/0xe0
[ 10.068555] entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 10.068558] RIP: 0033:0x7fa477c098f9
[ 10.068560] RSP: 002b:00007fffe9e1bbb8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[ 10.068563] RAX: ffffffffffffffda RBX: 0000557789eac330 RCX:
00007fa477c098f9
[ 10.068565] RDX: 0000000000000000 RSI: 0000557789edf2b0 RDI:
0000000000000018
[ 10.068567] RBP: 0000557789edf2b0 R08: 0000000000000000 R09:
0000000000000000
[ 10.068569] R10: 0000000000000018 R11: 0000000000000246 R12:
0000000000000000
[ 10.068571] R13: 0000557789ea0820 R14: 0000000000020000 R15:
0000000000000000
[ 10.068587] Code: 18 89 da 48 8b 07 ff 50 08 48 8b 75 a8 65 48 33 34 25 28
00 00 00 89 d8 75 18 48 83 c4 50 5b 41 5a 41 5c 41 5d 5d c3 0f 0b eb b9 <0f> 0b
e9 48 ff ff ff e8 d2 06 5d f9 41 ba 01 00 00 00 44 89 c0
[ 10.068673] ---[ end trace 5d19fb5dcccc4b59 ]---
--
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-05-28 10:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-24 15:26 [Bug 199493] New: no audio over HDMI with amdgpu.dc=1 (on R9 380X) bugzilla-daemon
2018-04-25 16:05 ` [Bug 199493] " bugzilla-daemon
2018-05-19 9:08 ` bugzilla-daemon
2018-05-19 19:25 ` bugzilla-daemon
2018-05-19 20:46 ` bugzilla-daemon
2018-05-20 10:22 ` bugzilla-daemon
2018-05-28 10:46 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.