remote GLX broken for some configs?

Андрей Рандрианасулу randrianasulu at mail.ru
Mon Sep 28 17:22:32 PDT 2009


I have SGI O2, with Gentoo Linux on it. Framebuffer driver set to 
1024x768-16bpp, X server (version 1.6.3 from gentoo ports) 
configured for using xf86-video-fbdev and DefaultDepth 15 bpp. It 
works fine, I recently allow ssh into my x86 box and now I can use 
X apps from it. But any GLX apps just wait forever for something, 
strace shows for example glxinfo waiting for select:

select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\230\23\3\0\0\0\0\0\3\0\0\0"..., 12}], 1) = 12
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\0\20\0C\0\0\0\0\0\0\0\t\1\0\0\0]\\\260\0\0\0\0\0\0\0\0\1\ng\270G"..., 
4096) = 300
read(3, 0x844b68c, 4096)                = -1 EAGAIN (Resource 
temporarily unavailable)
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, 
[{"\230\21\n\0\4\0\1\0\3\0\0\0\0\0\0\0\0\0\0\0\0\341\365\5\0\0\0\0\0\0\0\0\0"..., 
40}], 1) = 40
select(4, [3], [], NULL, NULL)          = 1 (in [3])
read(3, "\1\377\21\0\0$\0\0\200\0\0\0$\0\0\0\0]\\\260\0\0\0\1\0\0\0\1\0\324\261\370\v"..., 
4096) = 4096
read(3, "\21\200\0\0\1\0\0\0\5\0\0\0\1\0\0\0\6\0\0\0\0\0\0\0\2\0\0\0\10\0\0\0\3"..., 
32800) = 256
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0K\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
32544) = 1448
read(3, "\23\200\0\0P\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21\200\0\0\1\0\0\0\5"..., 
31096) = 2872
read(3, 0x8454608, 28224)               = -1 EAGAIN (Resource 
temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0Z\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
28224) = 4320
read(3, 0x84556e8, 23904)               = -1 EAGAIN (Resource 
temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0i\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
23904) = 10088
read(3, "\23\200\0\0\214\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21\200\0\0\1\0\0\0\5"..., 
13816) = 2872
read(3, 0x8458988, 10944)               = -1 EAGAIN (Resource 
temporarily unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0\226\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
10944) = 4320
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0\245\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
6624) = 1448
read(3, "\23\200\0\0\252\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21\200\0\0\1\0\0\0\5"..., 
5176) = 2872
read(3, "\v\200\0\0\0\0\0\0\23\200\0\0\264\0\0\0\22\200\0\0\1\0\0\0\4\0\0\0\1\0\0\0\21"..., 
2304) = 2304
read(3, 0x844b68c, 4096)                = -1 EAGAIN (Resource 
temporarily unavailable)
select(4, [3], [3], NULL, NULL)         = 1 (out [3])
writev(3, [{"\210\1\3\0\275\0\0\0\0\0\0\0"..., 12}], 1) = 12
select(4, [3], [], NULL, NULL)          = ? ERESTARTNOHAND (To be 
restarted)
--- SIGWINCH (Window changed) @ 0 (0) ---
select(4, [3], [], NULL, NULL


------

I can kill glxinfo with Ctrl-C. Local glxinfo, glxgears works, 
gears with strange colors, but it may be caused by 
unusual/untested/unimplemented X depth (15bpp), in swrast_dri or 
somewhere else.

Should any GLX app work on display set to 15bpp (RGB555, if i 
understand correctly)? May be I should add bug into fdo bugzilla, 
but it can be  just  strange misconfiguration, or known problem, 
so I asked here first.




More information about the xorg mailing list