You are not logged in.

#1 2009-08-27 15:28:55

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

[SOLVED] X server crash on kdm logout with xf86-video-intel driver

When running kdm, the X server crashes on every logout. The crash probably happens in betwen the WM shutting down and kdm taking over the display.

I have the latest xorg-server and xf86-video-intel installed. This happens whether or not KMS is enabled. It is also not dependent on the WM - twm, fluxbox and KDE all show the problem.

The problem is also present with xorg-server 1.6.1.901-3 *with* KMS enabled. xorg-server 1.6.1.901-3 without KMS is fine.

The messages in Xorg.0.log generated at the time of the crash are:

< (II) Macintosh mouse button emulation: Close
< (II) UnloadModule: "evdev"                  
< (II) ImPS/2 Generic Wheel Mouse: Close      
< (II) UnloadModule: "evdev"                  
< (II) AT Translated Set 2 keyboard: Close
< (II) UnloadModule: "evdev"
< (II) Power Button: Close
< (II) UnloadModule: "evdev"
< (II) Power Button: Close
< (II) UnloadModule: "evdev"
< (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
< (II) No APM support in BIOS or kernel
< (II) intel(0): [DRI2] Setup complete
< (**) intel(0): Framebuffer compression disabled
< (**) intel(0): Tiling enabled
< (**) intel(0): SwapBuffers wait enabled
< (==) intel(0): VideoRam: 262144 KB
< (II) intel(0): Attempting memory allocation with tiled buffers.
<
< Backtrace:
< 0: /usr/bin/X(xorg_backtrace+0x26) [0x4e9186]
< 1: /usr/bin/X(xf86SigHandler+0x6f) [0x47612f]
< 2: /lib/libc.so.6 [0x7f6206295f90]
< 3: /usr/lib/libdrm_intel.so.1(drm_intel_bo_alloc+0x3) [0x7f6204862933]
< 4: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_memory+0x24a) [0x7f6204a9f11a]
< 5: /usr/lib/xorg/modules/drivers//intel_drv.so(i830_allocate_2d_memory+0xb4) [0x7f6204a9fa34]
< 6: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7f6204a95877]
< 7: /usr/lib/xorg/modules/drivers//intel_drv.so [0x7f6204a99cf0]
< 8: /usr/bin/X(AddScreen+0x1d4) [0x42deb4]
< 9: /usr/bin/X(InitOutput+0x76f) [0x46908f]
< 10: /usr/bin/X(main+0x1fe) [0x42e5be]
< 11: /lib/libc.so.6(__libc_start_main+0xfd) [0x7f62062829ed]
< 12: /usr/bin/X [0x42dbf9]
<
< Fatal server error:
< Caught signal 11.  Server aborting
<
<
< Please consult the The X.Org Foundation support
<        at http://wiki.x.org
<  for help.
< Please also check the log file at "/var/log/Xorg.0.log" for additional information.
<

Last edited by grey (2009-09-01 07:59:12)


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#2 2009-08-27 22:37:15

tanguyr
Member
From: Brussels, Belgium
Registered: 2009-05-25
Posts: 12

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

I've got the same problem (well, same symptoms and same error message in Xorg.0.log, don't know about KMS and how to check if it is set or unset it if it is)

pacman -Q xorg-server = xorg-server 1.6.3-4

Offline

#3 2009-08-28 07:59:38

ChemBro
Member
Registered: 2008-10-22
Posts: 703

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

I believe, it is a problem with KMS, because it is not stable enough at the moment. Should be better with kernel 2.6.31 (that's what I read). I hope it does. Bugs me, too.

Offline

#4 2009-08-28 09:45:33

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

tanguyr: what is your graphics hardware? I have

$ lspci |grep VGA
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)

Also could you do $ grep WW /var/log/Xorg.0.log and check if there is something like

(WW) intel(0): ESR is 0x00000001, instruction error
(WW) intel(0): Existing errors found in hardware state.

I've downgraded to xorg-server 1.6.1.901-3 and xf86-video-intel 2.7.1-1 and I'm still seeing this warning, although X seems stable. Still, it could be related to the instability of the latest xorg-server/intel driver.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2009-08-28 23:50:35

tanguyr
Member
From: Brussels, Belgium
Registered: 2009-05-25
Posts: 12

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

and...

# grep WW /var/log/Xorg.0.log                                                                    
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.                                            
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.                  
(WW) Disabling Keyboard                                                                                          
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)                                        
(WW) intel(0): libpciaccess reported 0 rom size, guessing 64kB                                                   
(WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009                                
(WW) intel(0): PP_STATUS before: on, ready, sequencing idle                                                      
(WW) intel(0): PP_STATUS after: on, ready, sequencing on                                                         
(WW) intel(0): Register 0x61110 (PORT_HOTPLUG_EN) changed from 0x00000120 to 0x20000120                          
(WW) intel(0): Register 0x68000 (TV_CTL) changed from 0x200000d0 to 0x000c00d0                                   
(WW) intel(0): Register 0x68010 (TV_CSC_Y) changed from 0x00000000 to 0x0332012d                                 
(WW) intel(0): Register 0x68014 (TV_CSC_Y2) changed from 0x00000000 to 0x07d30104                                
(WW) intel(0): Register 0x68018 (TV_CSC_U) changed from 0x00000000 to 0x0733052d                                 
(WW) intel(0): Register 0x6801c (TV_CSC_U2) changed from 0x00000000 to 0x05c70200                                
(WW) intel(0): Register 0x68020 (TV_CSC_V) changed from 0x00000000 to 0x0340030c                                 
(WW) intel(0): Register 0x68024 (TV_CSC_V2) changed from 0x00000000 to 0x06d00200                                
(WW) intel(0): Register 0x6802c (TV_CLR_LEVEL) changed from 0x00000000 to 0x010b00e1                             
(WW) intel(0): Register 0x68030 (TV_H_CTL_1) changed from 0x00000000 to 0x00400359                               
(WW) intel(0): Register 0x68034 (TV_H_CTL_2) changed from 0x00000000 to 0x80480022                               
(WW) intel(0): Register 0x68038 (TV_H_CTL_3) changed from 0x00000000 to 0x007c0344                               
(WW) intel(0): Register 0x6803c (TV_V_CTL_1) changed from 0x00000000 to 0x00f01415
(WW) intel(0): Register 0x68040 (TV_V_CTL_2) changed from 0x00000000 to 0x00060607
(WW) intel(0): Register 0x68044 (TV_V_CTL_3) changed from 0x00000000 to 0x80120001
(WW) intel(0): Register 0x68048 (TV_V_CTL_4) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x6804c (TV_V_CTL_5) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68050 (TV_V_CTL_6) changed from 0x00000000 to 0x000900f0
(WW) intel(0): Register 0x68054 (TV_V_CTL_7) changed from 0x00000000 to 0x000a00f0
(WW) intel(0): Register 0x68060 (TV_SC_CTL_1) changed from 0x00000000 to 0xc1710087
(WW) intel(0): Register 0x68064 (TV_SC_CTL_2) changed from 0x00000000 to 0x6b405140
(WW) intel(0): Register 0x68070 (TV_WIN_POS) changed from 0x00000000 to 0x00360024
(WW) intel(0): Register 0x68074 (TV_WIN_SIZE) changed from 0x00000000 to 0x02640198
(WW) intel(0): Register 0x68080 (TV_FILTER_CTL_1) changed from 0x00000000 to 0x8000085e
(WW) intel(0): Register 0x68084 (TV_FILTER_CTL_2) changed from 0x00000000 to 0x00028283
(WW) intel(0): Register 0x68088 (TV_FILTER_CTL_3) changed from 0x00000000 to 0x00014141
(WW) intel(0): Register 0x68100 (TV_H_LUMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x681ec (TV_H_LUMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Register 0x68200 (TV_H_CHROMA_0) changed from 0x00000000 to 0xb1403000
(WW) intel(0): Register 0x682ec (TV_H_CHROMA_59) changed from 0x00000000 to 0x0000b060
(WW) intel(0): Register 0x321b (FBC_FENCE_OFF) changed from 0x1d010400 to 0x11008000
(WW) intel(0): ESR is 0x00000010, page table error
(WW) intel(0): PGTBL_ER is 0x00100000, CS instruction GTT PTE
(WW) intel(0): Existing errors found in hardware state.
(WW) SynPS/2 Synaptics TouchPad can't grab event device, errno=16

Offline

#6 2009-08-29 15:57:45

damian01w
Member
Registered: 2009-02-07
Posts: 7

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

As workaround set TerminateServer=true in /usr/share/config/kdm/kdmrc.


This works for me..

Offline

#7 2009-08-29 18:22:29

moose jaw
Member
From: Milwaukee
Registered: 2007-08-20
Posts: 104

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

damian01w wrote:

As workaround set TerminateServer=true in /usr/share/config/kdm/kdmrc.


This works for me..

+1

Offline

#8 2009-08-29 23:09:17

tanguyr
Member
From: Brussels, Belgium
Registered: 2009-05-25
Posts: 12

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

damian01w wrote:

As workaround set TerminateServer=true in /usr/share/config/kdm/kdmrc.
This works for me..

which section? I tried under [General] and [Shutdown], but no joy sad

Offline

#9 2009-08-30 01:14:44

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

tanguyr: There is a commented line by me, try uncomment it.

Offline

#10 2009-08-30 11:37:32

tanguyr
Member
From: Brussels, Belgium
Registered: 2009-05-25
Posts: 12

Re: [SOLVED] X server crash on kdm logout with xf86-video-intel driver

It works. Added to the following section:

[X-:*-Core]
AllowNullPasswd=true
AllowShutdown=All
NoPassEnable=false
NoPassUsers=
ServerArgsLocal=-nolisten tcp
ServerCmd=/usr/bin/X -br -novtswitch -quiet
TerminateServer=true

Thanks to damian01w for the tip.

Edit: sorry, meant to say damian01w

Last edited by tanguyr (2009-08-30 11:57:43)

Offline

Board footer

Powered by FluxBB