Bug 19249 - [KMS] X hang in a few seconds after startup
Summary: [KMS] X hang in a few seconds after startup
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Jesse Barnes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-23 01:25 UTC by Jie Luo
Modified: 2017-07-24 23:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (981.84 KB, text/plain)
2008-12-23 01:43 UTC, Jie Luo
no flags Details

Description Jie Luo 2008-12-23 01:25:41 UTC
When I try the Intel kernel modesetting staff in drm-next, the console is good except a few warning in the kernel log. But after I start the X server, the whole screen stand still after a few seconds, and I can only move the cursor. The system is not totally hang up, I can access it through ssh. No error message show up in Xorg.0.log. But there is something wrong in kernel log after enable drm debug.


Kernel: drm-next commit 38d98db4575ed04d909bf640784e4752ec030133
xserver: master commit aea6f19f25e13768b1d09fac4991d6a5e6c2cdac
libdrm: master commit 0243c9f801a35de3465a0321c02f18a4d07ce5b8
xf86-video-intel: master commit aae4008096399a0e84abc7c016b35092caf9db25
Comment 1 Jie Luo 2008-12-23 01:43:41 UTC
Created attachment 21432 [details]
dmesg
Comment 2 Yves-Alexis 2008-12-23 02:55:11 UTC
I can reproduce this. It was with non-kms-enabled userland (drm 2.4.1 and xorg-intel 2.5.1)

I've try to build kms-enabled userland, drm is ok (2.4.3) but xorg driver won't build:

../doltcompile gcc -DHAVE_CONFIG_H -I. -I../../src -I..   -I/usr/include/xorg -I/usr/include/pixman-1    -I/usr/include/drm   -Wall -Wpointer-arith -Wstrict-prototypes 	-Wmissing-prototypes -Wmissing-declarations 	-Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1   -I/usr/include/drm   -I/usr/include/X11/dri -I../../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -Wall -g -O2 -MT drmmode_display.lo -MD -MP -MF .deps/drmmode_display.Tpo -c -o drmmode_display.lo ../../src/drmmode_display.c
../../src/drmmode_display.c: In function 'drmmode_set_mode_major':
../../src/drmmode_display.c:149: error: 'struct _xf86Crtc' has no member named 'transformPresent'
../../src/drmmode_display.c:170: error: too few arguments to function 'xf86CrtcRotate'
../../src/drmmode_display.c: In function 'drmmode_load_cursor_argb':
../../src/drmmode_display.c:217: warning: unused variable 'drmmode_crtc'
../../src/drmmode_display.c: In function 'drmmode_crtc_shadow_destroy':
../../src/drmmode_display.c:321: warning: unused variable 'drmmode_crtc'
../../src/drmmode_display.c: In function 'drmmode_crtc_init':
../../src/drmmode_display.c:367: warning: unused variable 'ret'
../../src/drmmode_display.c:366: warning: unused variable 'pI830'
../../src/drmmode_display.c: In function 'drmmode_is_rotate_pixmap':
../../src/drmmode_display.c:646: warning: unused variable 'i'
../../src/drmmode_display.c:645: warning: unused variable 'config'
make[5]: *** [drmmode_display.lo] Error 1
make[5]: Leaving directory `/tmp/buildd/xserver-xorg-video-intel-2.5.99.1/obj-x86_64-linux-gnu/src'
Comment 3 Gordon Jin 2009-02-03 22:40:57 UTC
Does this still exist with the latest code?
Comment 4 Yves-Alexis 2009-02-03 22:43:36 UTC
Nop, it seems fixed here.
Comment 5 Jie Luo 2009-02-07 18:46:26 UTC
It should be fixed.
Comment 6 Jesse Barnes 2009-02-08 09:15:04 UTC
Thanks for testing.


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.