Bug 51355 - Mode switch kills HDMI on TURKS
Summary: Mode switch kills HDMI on TURKS
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 03:30 UTC by Zoltán Böszörményi
Modified: 2019-11-19 08:27 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg log after a prboom session (92.84 KB, text/x-log)
2012-06-23 03:30 UTC, Zoltán Böszörményi
no flags Details
Xorg.0.log (79.45 KB, text/plain)
2012-06-23 03:31 UTC, Zoltán Böszörményi
no flags Details
non-default configuration in $HOME/.config/monitors.xml : DVI-0 is set to primary (978 bytes, text/plain)
2012-06-23 03:32 UTC, Zoltán Böszörményi
no flags Details
$HOME/.prboom/prboom.cfg : the reason to switch to 640x480 (10.28 KB, text/plain)
2012-06-23 03:35 UTC, Zoltán Böszörményi
no flags Details

Description Zoltán Böszörményi 2012-06-23 03:30:22 UTC
Created attachment 63369 [details]
dmesg log after a prboom session

I have tried playing prboom on Fedora 17/x86_64 and noticed that the HDMI output is turned off. The DVI output is set to primary, mode switch to 640x480 is performed on the DVI output and it's switched back to 1920x1080 when exiting from prboom but HDMI output is not restored. The TV says "no signal", xrandr says this before or after a prboom session:

$ xrandr 
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
HDMI-0 connected (normal left inverted right x axis y axis)
   1360x768       60.0 +   60.0  
   1920x1080      60.0     50.0     30.0     25.0     24.0     30.0     25.0  
   1920x1080i     30.0  
   1680x1050      60.0     59.9  
   1680x945       60.0  
   1400x1050      60.0     59.9  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1280x800       74.9     59.8     59.9  
   1152x864       75.0  
   1280x768       84.8     74.9     59.9     60.0  
   1280x720       60.0     50.0  
   1440x576       25.0  
   1024x768       85.0     75.1     75.0     70.1     60.0  
   1440x480       30.0  
   1024x576       60.0  
   800x600        85.1     72.2     75.0     60.3     56.2  
   720x576        50.0  
   848x480        60.0  
   720x480        59.9  
   640x480        85.0     75.0     72.8     60.0     59.9     59.9  
   720x400        85.0  
   640x400        85.1  
   640x350        85.1  
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080      60.0*+   60.0  
   2048x1152      60.0  
   1920x1200      59.9     60.0  
   1600x1200      65.0     60.0  
   1680x1050      74.9     60.0     59.9  
   1680x945       60.0  
   1400x1050      74.9     60.0     59.9  
   1600x900       60.0  
   1280x1024      75.0     60.0  
   1440x900       75.0     59.9     59.9  
   1280x960       60.0  
   1366x768       60.0  
   1360x768       60.0  
   1280x800       74.9     59.8     59.9  
   1152x864       75.0  
   1280x768       74.9     59.9     60.0  
   1280x720       60.0  
   1024x768       75.1     75.0     70.1     60.0  
   1024x576       60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   848x480        60.0  
   640x480        75.0     72.8     60.0     59.9  
   720x400        70.1  
VGA-0 disconnected (normal left inverted right x axis y axis)

dmesg shows some bugs being hit:

[140302.370894] ------------[ cut here ]------------
[140302.370943] WARNING: at drivers/gpu/drm/radeon/r600_hdmi.c:548 r600_hdmi_disable+0x161/0x1c0 [radeon]()
[140302.370946] Hardware name: To be filled by O.E.M.
[140302.371022] Modules linked in: tcp_lp rfcomm fuse ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_d
efrag_ipv4 xt_state nf_conntrack bnep be2iscsi iscsi_boot_sysfs bluetooth bnx2i cnic uio cxgb4i cxgb4 cxgb3i xt_CHECKSUM iptable_mangle cxgb3 mdio libcxgbi ib
_iser rdma_cm ib_addr iw_cm ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi bridge scsi_transport_iscsi stp llc w83793 hwmon_vid snd_hda_codec_hdmi
 snd_hda_codec_realtek snd_hda_intel snd_hda_codec eeepc_wmi microcode asus_wmi r8169 snd_hwdep hid_generic snd_pcm sparse_keymap snd_page_alloc snd_timer rfk
ill edac_core edac_mce_amd serio_raw pcspkr sp5100_tco snd fam15h_power k10temp i2c_piix4 mii soundcore vhost_net tun macvtap macvlan nfsd nfs_acl auth_rpcgss
 kvm_amd kvm lockd sunrpc uinput binfmt_misc crc32c_intel ghash_clmulni_intel 3w_9xxx firewire_ohci firewire_core mxm_wmi crc_itu_t wmi radeon i2c_algo_bit dr
m_kms_helper ttm drm i2c_core [last unloaded: scsi_wait_scan]
[140302.371029] Pid: 13250, comm: Xorg Not tainted 3.5.0-rc3+ #1
[140302.371032] Call Trace:
[140302.371042]  [<ffffffff81055cdf>] warn_slowpath_common+0x7f/0xc0
[140302.371049]  [<ffffffff81055d3a>] warn_slowpath_null+0x1a/0x20
[140302.371072]  [<ffffffffa00de261>] r600_hdmi_disable+0x161/0x1c0 [radeon]
[140302.371095]  [<ffffffffa00f0fb5>] radeon_atom_encoder_disable+0x175/0x180 [radeon]
[140302.371113]  [<ffffffffa004a678>] drm_encoder_disable+0x18/0x30 [drm_kms_helper]
[140302.371127]  [<ffffffffa004b0b8>] drm_crtc_helper_set_mode+0x468/0x500 [drm_kms_helper]
[140302.371150]  [<ffffffffa004c171>] drm_crtc_helper_set_config+0xa11/0xb30 [drm_kms_helper]
[140302.371175]  [<ffffffffa0022e77>] drm_mode_setcrtc+0x127/0x5c0 [drm]
[140302.371181]  [<ffffffff815f1b7d>] ? mutex_lock+0x1d/0x50
[140302.371209]  [<ffffffffa00a7df2>] ? radeon_crtc_gamma_set+0x72/0x80 [radeon]
[140302.371226]  [<ffffffffa0013553>] drm_ioctl+0x4d3/0x580 [drm]
[140302.371248]  [<ffffffffa0022d50>] ? drm_mode_setplane+0x380/0x380 [drm]
[140302.371257]  [<ffffffff81181149>] do_vfs_ioctl+0x99/0x580
[140302.371263]  [<ffffffff812618aa>] ? inode_has_perm.isra.30.constprop.60+0x2a/0x30
[140302.371268]  [<ffffffff81262e27>] ? file_has_perm+0x97/0xb0
[140302.371273]  [<ffffffff811816c9>] sys_ioctl+0x99/0xa0
[140302.371280]  [<ffffffff815fbe29>] system_call_fastpath+0x16/0x1b
[140302.371284] ---[ end trace 5b0596b4d30657d2 ]---
[140302.374401] ------------[ cut here ]------------
[140302.374435] WARNING: at drivers/gpu/drm/radeon/r600_hdmi.c:548 r600_hdmi_disable+0x161/0x1c0 [radeon]()
[140302.374438] Hardware name: To be filled by O.E.M.
[140302.374511] Modules linked in: tcp_lp rfcomm fuse ip6table_filter ip6_tables ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_d
efrag_ipv4 xt_state nf_conntrack bnep be2iscsi iscsi_boot_sysfs bluetooth bnx2i cnic uio cxgb4i cxgb4 cxgb3i xt_CHECKSUM iptable_mangle cxgb3 mdio libcxgbi ib
_iser rdma_cm ib_addr iw_cm ib_cm ib_sa ib_mad ib_core iscsi_tcp libiscsi_tcp libiscsi bridge scsi_transport_iscsi stp llc w83793 hwmon_vid snd_hda_codec_hdmi
 snd_hda_codec_realtek snd_hda_intel snd_hda_codec eeepc_wmi microcode asus_wmi r8169 snd_hwdep hid_generic snd_pcm sparse_keymap snd_page_alloc snd_timer rfk
ill edac_core edac_mce_amd serio_raw pcspkr sp5100_tco snd fam15h_power k10temp i2c_piix4 mii soundcore vhost_net tun macvtap macvlan nfsd nfs_acl auth_rpcgss
 kvm_amd kvm lockd sunrpc uinput binfmt_misc crc32c_intel ghash_clmulni_intel 3w_9xxx firewire_ohci firewire_core mxm_wmi crc_itu_t wmi radeon i2c_algo_bit dr
m_kms_helper ttm drm i2c_core [last unloaded: scsi_wait_scan]
[140302.374518] Pid: 13250, comm: Xorg Tainted: G        W    3.5.0-rc3+ #1
[140302.374520] Call Trace:
[140302.374529]  [<ffffffff81055cdf>] warn_slowpath_common+0x7f/0xc0
[140302.374536]  [<ffffffff81055d3a>] warn_slowpath_null+0x1a/0x20
[140302.374558]  [<ffffffffa00de261>] r600_hdmi_disable+0x161/0x1c0 [radeon]
[140302.374581]  [<ffffffffa00f0fb5>] radeon_atom_encoder_disable+0x175/0x180 [radeon]
[140302.374595]  [<ffffffffa004a678>] drm_encoder_disable+0x18/0x30 [drm_kms_helper]
[140302.374608]  [<ffffffffa004a7d0>] drm_helper_disable_unused_functions+0x140/0x170 [drm_kms_helper]
[140302.374622]  [<ffffffffa004c0a2>] drm_crtc_helper_set_config+0x942/0xb30 [drm_kms_helper]
[140302.374646]  [<ffffffffa0022e77>] drm_mode_setcrtc+0x127/0x5c0 [drm]
[140302.374651]  [<ffffffff815f1b7d>] ? mutex_lock+0x1d/0x50
[140302.374678]  [<ffffffffa00a7df2>] ? radeon_crtc_gamma_set+0x72/0x80 [radeon]
[140302.374695]  [<ffffffffa0013553>] drm_ioctl+0x4d3/0x580 [drm]
[140302.374717]  [<ffffffffa0022d50>] ? drm_mode_setplane+0x380/0x380 [drm]
[140302.374725]  [<ffffffff81181149>] do_vfs_ioctl+0x99/0x580
[140302.374730]  [<ffffffff812618aa>] ? inode_has_perm.isra.30.constprop.60+0x2a/0x30
[140302.374735]  [<ffffffff81262e27>] ? file_has_perm+0x97/0xb0
[140302.374740]  [<ffffffff811816c9>] sys_ioctl+0x99/0xa0
[140302.374746]  [<ffffffff815fbe29>] system_call_fastpath+0x16/0x1b
[140302.374749] ---[ end trace 5b0596b4d30657d3 ]---
[140302.382514] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140302.382542] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140302.682598] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140302.682619] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140302.983555] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140302.983583] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140303.284423] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140303.284450] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140303.585144] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140303.585171] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140303.885975] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140303.885992] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140304.186780] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140304.186808] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140304.487641] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140304.487730] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[140304.788431] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[140304.788450] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149602.598876] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149602.598906] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149602.899406] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149602.899435] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149603.200220] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149603.200238] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149603.501001] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149603.501019] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149603.801893] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149603.801983] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149604.102716] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149604.102747] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149604.406520] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149604.406538] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149604.707445] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149604.707463] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0
[149605.008251] ALSA sound/pci/hda/hda_eld.c:337 HDMI: ELD buf size is 0, force 128
[149605.008280] ALSA sound/pci/hda/hda_eld.c:356 HDMI: invalid ELD data byte 0

Kernel is 3.5-rc3+, commit 2fe8ac608bf1a9c947f03f5d8cbf25c91b4f1a7c.
Comment 1 Zoltán Böszörményi 2012-06-23 03:31:11 UTC
Created attachment 63370 [details]
Xorg.0.log
Comment 2 Zoltán Böszörményi 2012-06-23 03:32:52 UTC
Created attachment 63371 [details]
non-default configuration in $HOME/.config/monitors.xml : DVI-0 is set to primary
Comment 3 Zoltán Böszörményi 2012-06-23 03:35:04 UTC
Created attachment 63372 [details]
$HOME/.prboom/prboom.cfg : the reason to switch to 640x480
Comment 4 Martin Peres 2019-11-19 08:27:50 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/279.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.