[Dri-users] wrong display resolution

Sebastian Gutzwiller sebastian.gutzwiller at gmx.net
Mon Jun 6 15:08:40 UTC 2016


Hi all

After upgrading my Ubuntu from 10.04 to 14.04 I only see the upper left 
detail of the whole screen.

In the Xorg log file I found that the mode was probed to 1024x768 
instead of 640x480.

Then I found a suspicious error message from the kernel that could be 
the cause of the failed mode setting.

Is my assumption correct?

[   15.312375] [drm:intel_pipe_config_compare [i915]] *ERROR* mismatch 
in base.adjusted_mode.crtc_hdisplay (expected 0, found 4096)
[   15.312378] ------------[ cut here ]------------
[   15.312469] WARNING: CPU: 0 PID: 31 at 
/build/linux-lts-wily-tX9IYW/linux-lts-wily-4.2.0/drivers/gpu/drm/i915/intel_display.c:12328 
check_crtc_state+0x28c/0x420 [i915]()
[   15.312471] pipe state doesn't match!
[   15.312534] Modules linked in: snd_ca0106 snd_ac97_codec ac97_bus 
snd_pcm i915 snd_seq_midi gpio_ich video snd_seq_midi_event 
drm_kms_helper snd_rawmidi snd_seq drm coretemp snd_seq_device snd_timer 
serio_raw snd input_leds lpc_ich rfcomm soundcore bnep bluetooth cdc_acm 
i2c_algo_bit shpchp 8250_fintek parport_pc mac_hid ppdev tpm_infineon lp 
parport hid_generic usbhid hid psmouse pata_acpi e1000e ptp pps_core
[   15.312542] CPU: 0 PID: 31 Comm: kworker/0:1 Not tainted 
4.2.0-27-generic #32~14.04.1-Ubuntu
[   15.312545] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./To be filled by O.E.M., BIOS 080015  09/08/2010
[   15.312565] Workqueue: events output_poll_execute [drm_kms_helper]
[   15.312578]  00000000 00000000 f4f2da80 c170aa8c f4f2dac0 f4f2dab0 
c1066a87 f8af69f6
[   15.312589]  f4f2dadc 0000001f f8ae8c10 00003028 f8a81dec f8a81dec 
f600f5f8 ef44e000
[   15.312600]  f600f5f4 f4f2dac8 c1066af3 00000009 f4f2dac0 f8af69f6 
f4f2dadc f4f2ddc0
[   15.312602] Call Trace:
[   15.312614]  [<c170aa8c>] dump_stack+0x41/0x52
[   15.312623]  [<c1066a87>] warn_slowpath_common+0x87/0xc0
[   15.312714]  [<f8a81dec>] ? check_crtc_state+0x28c/0x420 [i915]
[   15.312802]  [<f8a81dec>] ? check_crtc_state+0x28c/0x420 [i915]
[   15.312809]  [<c1066af3>] warn_slowpath_fmt+0x33/0x40
[   15.312902]  [<f8a81dec>] check_crtc_state+0x28c/0x420 [i915]
[   15.313010]  [<f8a94b39>] intel_modeset_check_state+0x269/0x6a0 [i915]
[   15.313105]  [<f8a95b86>] intel_crtc_set_config+0x3b6/0x570 [i915]
[   15.313117]  [<c170f317>] ? __ww_mutex_lock+0x17/0x82
[   15.313160]  [<f887b67e>] drm_mode_set_config_internal+0x4e/0xc0 [drm]
[   15.313181]  [<f87d42f7>] restore_fbdev_mode+0xc7/0xf0 [drm_kms_helper]
[   15.313224]  [<f8889b23>] ? __drm_modeset_lock_all+0xe3/0x110 [drm]
[   15.313245]  [<f87d5efe>] 
drm_fb_helper_restore_fbdev_mode_unlocked+0x1e/0x50 [drm_kms_helper]
[   15.313263]  [<f87d5f5c>] drm_fb_helper_set_par+0x2c/0x50 
[drm_kms_helper]
[   15.313281]  [<f87d5e91>] drm_fb_helper_hotplug_event+0x81/0xd0 
[drm_kms_helper]
[   15.313379]  [<f8aa36ba>] intel_fbdev_output_poll_changed+0x1a/0x20 
[i915]
[   15.313399]  [<f87cb311>] drm_kms_helper_hotplug_event+0x21/0x30 
[drm_kms_helper]
[   15.313415]  [<f87cb3e6>] output_poll_execute+0x66/0x170 
[drm_kms_helper]
[   15.313425]  [<c107c67a>] process_one_work+0x11a/0x360
[   15.313432]  [<c107cc5d>] worker_thread+0xed/0x430
[   15.313438]  [<c107cb70>] ? rescuer_thread+0x2b0/0x2b0
[   15.313445]  [<c1081391>] kthread+0xa1/0xc0
[   15.313453]  [<c1711041>] ret_from_kernel_thread+0x21/0x30
[   15.313459]  [<c10812f0>] ? kthread_create_on_node+0x140/0x140
[   15.313465] ---[ end trace 686856814ac8c6af ]---
[   15.412266] ------------[ cut here ]------------
[   15.412312] WARNING: CPU: 0 PID: 31 at 
/build/linux-lts-wily-tX9IYW/linux-lts-wily-4.2.0/drivers/gpu/drm/drm_irq.c:1171 
drm_wait_one_vblank+0x117/0x150 [drm]()
[   15.412314] vblank wait timed out on crtc 1
[   15.412373] Modules linked in: snd_ca0106 snd_ac97_codec ac97_bus 
snd_pcm i915 snd_seq_midi gpio_ich video snd_seq_midi_event 
drm_kms_helper snd_rawmidi snd_seq drm coretemp snd_seq_device snd_timer 
serio_raw snd input_leds lpc_ich rfcomm soundcore bnep bluetooth cdc_acm 
i2c_algo_bit shpchp 8250_fintek parport_pc mac_hid ppdev tpm_infineon lp 
parport hid_generic usbhid hid psmouse pata_acpi e1000e ptp pps_core
[   15.412381] CPU: 0 PID: 31 Comm: kworker/0:1 Tainted: G W 
4.2.0-27-generic #32~14.04.1-Ubuntu
[   15.412384] Hardware name: To Be Filled By O.E.M. To Be Filled By 
O.E.M./To be filled by O.E.M., BIOS 080015  09/08/2010
[   15.412403] Workqueue: events output_poll_execute [drm_kms_helper]
[   15.412415]  00000000 00000000 f4f2dce8 c170aa8c f4f2dd28 f4f2dd18 
c1066a87 f889b194
[   15.412426]  f4f2dd44 0000001f f889ad44 00000493 f8873097 f8873097 
00000000 f600f400
[   15.412436]  00000001 f4f2dd30 c1066af3 00000009 f4f2dd28 f889b194 
f4f2dd44 f4f2dd74
[   15.412438] Call Trace:
[   15.412450]  [<c170aa8c>] dump_stack+0x41/0x52
[   15.412459]  [<c1066a87>] warn_slowpath_common+0x87/0xc0
[   15.412496]  [<f8873097>] ? drm_wait_one_vblank+0x117/0x150 [drm]
[   15.412529]  [<f8873097>] ? drm_wait_one_vblank+0x117/0x150 [drm]
[   15.412536]  [<c1066af3>] warn_slowpath_fmt+0x33/0x40
[   15.412571]  [<f8873097>] drm_wait_one_vblank+0x117/0x150 [drm]
[   15.412580]  [<c10a0b30>] ? prepare_to_wait_event+0xd0/0xd0
[   15.412678]  [<f8a89034>] i9xx_crtc_disable+0x44/0x400 [i915]
[   15.412773]  [<f8a9ad9d>] ? intel_frontbuffer_flush+0x5d/0x70 [i915]
[   15.412865]  [<f8a8e9a8>] __intel_set_mode+0x228/0xa80 [i915]
[   15.412912]  [<f888a0c8>] ? drm_atomic_set_crtc_for_plane+0x78/0x100 
[drm]
[   15.413011]  [<f8a95a6c>] intel_crtc_set_config+0x29c/0x570 [i915]
[   15.413023]  [<c170f317>] ? __ww_mutex_lock+0x17/0x82
[   15.413064]  [<f887b67e>] drm_mode_set_config_internal+0x4e/0xc0 [drm]
[   15.413085]  [<f87d42f7>] restore_fbdev_mode+0xc7/0xf0 [drm_kms_helper]
[   15.413131]  [<f8889b23>] ? __drm_modeset_lock_all+0xe3/0x110 [drm]
[   15.413152]  [<f87d5efe>] 
drm_fb_helper_restore_fbdev_mode_unlocked+0x1e/0x50 [drm_kms_helper]
[   15.413171]  [<f87d5f5c>] drm_fb_helper_set_par+0x2c/0x50 
[drm_kms_helper]
[   15.413190]  [<f87d5e91>] drm_fb_helper_hotplug_event+0x81/0xd0 
[drm_kms_helper]
[   15.413293]  [<f8aa36ba>] intel_fbdev_output_poll_changed+0x1a/0x20 
[i915]
[   15.413311]  [<f87cb311>] drm_kms_helper_hotplug_event+0x21/0x30 
[drm_kms_helper]
[   15.413325]  [<f87cb3e6>] output_poll_execute+0x66/0x170 
[drm_kms_helper]
[   15.413335]  [<c107c67a>] process_one_work+0x11a/0x360
[   15.413342]  [<c107cc5d>] worker_thread+0xed/0x430
[   15.413348]  [<c107cb70>] ? rescuer_thread+0x2b0/0x2b0
[   15.413355]  [<c1081391>] kthread+0xa1/0xc0
[   15.413363]  [<c1711041>] ret_from_kernel_thread+0x21/0x30
[   15.413368]  [<c10812f0>] ? kthread_create_on_node+0x140/0x140
[   15.413375] ---[ end trace 686856814ac8c6b0 ]---

TIA Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-users/attachments/20160606/96a764d8/attachment.html>


More information about the dri-users mailing list