[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

xserver hijacks cpu iff running flightgear



My xserver does hijack the cpu (almost 100 %) when running flightgear
(fgfs). 
The desktop cannot be used any more because there is no response.
The mouse can moved around.

Setting up a ssh connection to the system is possible.
I did some investigations  and post my findings here.
I am not sure if this is a Xfree86 problem or kernel related.

Board : 	ASUS A7V8X-X
CPU    : 	Athlon 2700+
Chipset : 	VIA KT400
Graphic 	Card Matrox G550
RAM 		2 GB
Kernel: 	2.6.0-test9
Distribution	unstable
X 		4.2.1.14

begin top snipplet
    1876 root      15 -10 80696  19m  64m R 99.5  0.9   1:17.60 XFree86 
end top snipplet

begin XFree86.0.log snipplet

    (==) MGA(0): Write-combining range (0xf6000000,0x2000000)
    (II) MGA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset  
is 0x0000
    (--) MGA(0): 16 DWORD fifo
    (==) MGA(0): Default visual is TrueColor
    (II) MGA(0): [drm] bpp: 16 depth: 16
    (II) MGA(0): [drm] Sarea 2200+664: 2864
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmOpenDevice: minor is 0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 7, (OK)
    drmGetBusid returned ''

end XFree86.0.log snipplet
                                                                                
Attaching to xserver (strace -p 1876) gives the following results:

    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be
started)
    --- SIGALRM (Alarm clock) @ 0 (0) ---
    sigreturn()                             = ? (mask now [])
    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be   
restarted)
    --- SIGALRM (Alarm clock) @ 0 (0) ---
    sigreturn()                             = ? (mask now [])
    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be
restarted)
    --- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be
restarted)
    --- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be
restarted)
    --- SIGALRM (Alarm clock) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
    ioctl(7, 0x4008642a, 0xbffff738)        = ? ERESTARTSYS (To be
restarted)
    --- SIGALRM (Alarm clock) @ 0 (0) ---


The xserver ends up in a endless loop.

begin glxinfo output

 jlueters@sol1~$glxinfo
name of display: localhost:10.0
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

libGL error: XF86DRIAuthConnection failed
display: localhost:10  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x24 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x25 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x26 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x27 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x29 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2a 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
jlueters@sol1~$

end glxinfo output
-- 
Juergen Lueters <jlueters at intranet-engineering de>



Reply to: