Ruln Report post Posted February 10, 2005 The main HD for my laptop (Which had Windows XP installed) died over the weekend. My backup drive has Linux so I figured I'd just install the linux el client and get my "fix" that way until I get my Windows drive replaced. No go though... Error: Couldn't set GL mode: X11 driver not configured with OpenGL is what I get in the error log every time I try to start it. glxgears runs fine. I've fooled around with various combinations of software/drivers and direct rendering has come and gone. Doesn't seem to matter, always the same symptom. I've got a DELL Inspiron 8600 laptop with the ATI Mobility 9600 graphics. I'm running Gentoo 2004.3 with the xorg X server. I've tried both the standard gentoo ati drivers and the ati-gatos drivers. Anyone got a clue as to what I need to do to get things going? Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 Here's my glxinfo output... name of display: :0.0 display: :0 screen: 0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig client glx vendor string: SGI client glx version string: 1.4 client glx extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group GLX extensions: GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIS_multisample OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.2.1) OpenGL extensions: GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, GL_ARB_shadow_ambient, GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, GL_ATIX_texture_env_combine3, GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square, GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays 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 ---------------------------------------------------------------------- 0x25 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None 0x26 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None 0x27 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 None 0x28 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 None 0x29 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x2a 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x2b 24 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x2c 24 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x2d 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None 0x2e 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None 0x2f 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 None 0x30 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 None 0x31 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x32 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None 0x33 24 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x34 24 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None 0x35 8 pc 1 8 1 c y . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x36 8 pc 1 8 1 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x37 8 gs 1 8 1 c y . 0 0 0 0 0 0 0 0 0 0 0 0 0 None 0x38 8 gs 1 8 1 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None Quote Share this post Link to post Share on other sites
Grum Report post Posted February 10, 2005 It's probably SDL that's giving this error. Which version of libSDL do you have? Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 * media-libs/libsdl Latest version available: 1.2.8-r1 Latest version installed: 1.2.8-r1 Size of downloaded files: 2,541 kB Homepage: http://www.libsdl.org/ Description: Simple Direct Media Layer License: LGPL-2 I'm running gentoo BTW. I've tried both the CVS source and just emerging eternal-lands. Same symptoms either way. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 I'm inclined to say this is an EL client bug. I've re-emerged libsdl, still no go. I now have direct rendering working and UT2004 is working great, so my GL and graphics setup appear to be fully functional... Maybe its time I started grep'ing through the source for clues? Quote Share this post Link to post Share on other sites
darcus Report post Posted February 10, 2005 direct rendering: No I'd say that there is something 'wrong' with your installation. I myself have a ATi R9600XT running on a Gentoo box with 8.8.25 drivers and Xorg 6.8.0. In my setup the direct rendering is YES. I got EL to work nicely also with 3.14.x and Xorg 6.7.0. What FPS do you get with glxgears? With incorrect setup (DR: no), I get some 300FPS (three hundred), but now (DR: yes) some 2100+*. I'd say you should get something like 1600+ atleast. Also, have you done #opengl-update ati -darcus *) Yes, I know glxgears is not a benchmark SW. Quote Share this post Link to post Share on other sites
Brom Report post Posted February 10, 2005 (edited) Im recommending hitting the Gentoo fourms, the Gentoo Tech-support is some of the best I have ever seen. Im thinking you need to link your ATI drivers to OpenGL. umm the code I think was mentioned eariler... opengl-update ati In case you missed it, good command. Edited February 10, 2005 by EWQ222 Quote Share this post Link to post Share on other sites
Grum Report post Posted February 10, 2005 The problem is not in openGL, I think (EL should still run, even if direrct rendering isn't working). SDL is doing something funky. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 Thanks for the replies everyone. I've done an opengl-update ati. I've re emerged the driver multiple times alonge with sdl. I'm getting 1400 FPS with glxgears & UT2004 was fairly smooth at 1900x1200. I've done a preliminary search through the source and didn't find the string so it certainly seems like the problem is external. I've also re emerged SDL_net & lopenal just in case... I'll try re emerging the xorg build and see if that helps any. Quote Share this post Link to post Share on other sites
Malaclypse Report post Posted February 10, 2005 I too think, it's the libsdl that makes the problem. As you told, you use libsdl-1.2.8-r1, I assume you are using ~x86. Which xorg version do you use? I stopped using ~x86 in general, as I got too many problems with all kind of libs and apps after it ran for a while. I use it only for selected packages now. Other people had different experiences with this. Have you tried to install the latest stable libsdl? Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 * x11-base/xorg-x11 Latest version available: 6.8.1.904 Latest version installed: 6.8.1.904 Size of downloaded files: 44,890 kB Homepage: http://xorg.freedesktop.org/ Description: An X11 implementation maintained by the X.Org Foundation I've recompiled X and am just waiting for OpenOffice 1.1.4 to finish building (Takes for freaking ever) before I restart X. I am indeed using the ~x86 flag. I may try removing this and starting over if I can't get things to work soon. In the meantime I'm having to borrow my wifes computer. Which means very little playing time since she's on hers as much as I'm on mine. On up/downside I'm sick today so I'm getting in lots of debugging and playing time. Quote Share this post Link to post Share on other sites
Malaclypse Report post Posted February 10, 2005 Well, I think you don't have to switch completely away from ~x86. Just try the libsdl, because imho that's where the problem is here. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 10, 2005 Good call on sdl being the problem. I've been able to start the client since removing ~x86 and rebuilding. Problem is, I'm getting massive artifacts now even though the frame rate are good. Big flashing triangular wedges constantly. And walking isn't working consistently. This happens both full screen and windowed. Oh well, more fiddling needed I guess. At least I've made some progress. Quote Share this post Link to post Share on other sites
darcus Report post Posted February 11, 2005 Big flashing triangular wedges constantly. And walking isn't working consistently. Me too. The same problem (both!). If you find anything that helps on this flashing issue, I'd be happy to get some feedback. How about your avatars legs? I see my (and others) legs disappear now and then. -darcus Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 11, 2005 Hmm, haven't noticed any vanishing legs. There is so much other "noise" though I might have missed it. The really funky thing is I can go through doors, attack monsters I come close to, harvest if I'm close enough... Basically everything but walk on the graphics screen. If there is a map for an area I can kind of navigate that way but it is awkward. I've tried fooling with everything I can think of and nothing seems to make a difference. I assume the Linux client is working for somebody. Are you running Gentto BTW? Quote Share this post Link to post Share on other sites
darcus Report post Posted February 11, 2005 I assume the Linux client is working for somebody. Anyone? Anyone? Are you running Gentto BTW? Yes I am (2.6 kernel, Xorg 6.8.0, ATi 8.8.25, Gnome 2.8). -darcus Quote Share this post Link to post Share on other sites
Leeloo Report post Posted February 11, 2005 Linux 2.6.10, XFree 6.8.1, Radeon 9250, DRI drivers - not ATI drivers. Running fine, 20-160 FPS depending on how much is on the screen. A little bit of flashing, usually one person is flashing, everything else is not. There is a known workaround to disable the flashing, but it reduces the framerate (change one feature from hardware to software rendering), so I don't use it: export R200_NO_TCL=1 ./el.x86.linux.bin Not sure if it works with the ATI drivers though. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 11, 2005 I don't see the DRI drivers anywhere in gentoo's emerge system. Is this an opesource alternative and does it work on the 9600 series? I tried the environment variable plus some variants, no difference. mke@gentoo ~/el/elc $ export R200_NO_TCL=1 mke@gentoo ~/el/elc $ export R300_NO_TCL=1 mke@gentoo ~/el/elc $ export R350_NO_TCL=1 The weird thing is walking seemed to work briefly when I first got the client working and hasn't worked since. I've also seen a somewhat similer problem on the Windows client, only in that case clicking on doors doesn't work but I believe walking does. In the Windows case exiting and restarting the client solves the problem. Quote Share this post Link to post Share on other sites
Leeloo Report post Posted February 11, 2005 I don't see the DRI drivers anywhere in gentoo's emerge system. Is this an opesource alternative and does it work on the 9600 series? DRI is a part of XFree/X.org, it's not a separate download. Unfortunately it only works on cards up to R2x0, the R3x0 chips, including the 9600 cards are not supported, as ATI refuses to give out the programming information for those chips. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 12, 2005 Ah, I tihink that is called the Radeon driver. Its more then a little annoying when vendors refuse to give out information. makes me wonder what they are hiding. And yes, I know they generally claim they are afraid of giving away trade secrets. If the higher ups at ATI & NVidea don't know what is going on in each others R&D labs then I'd be very surprised. Quote Share this post Link to post Share on other sites
Ruln Report post Posted February 12, 2005 OK, I have a working solution but it is ugly. First I use the radeon driver, not the fglrx one. Which means essentially software only GL. Next I set poorman to be true. Everything works, I get about 3 frames per second, can walk and have no artifacts. Not a great solution, but functional for what I do. What this points out to me is that ATI's linux GL driver stinks, at least in regards to the stuff EL does. The software renderer works fine, even if it is slow. Meaning that the EL client isn't really doing anything overly exotic. If I don't set poorman I get about 1 frame per second. I might try going back a version on both my X server and the ATI drivers at some point but for now I'm sticking with this. Quote Share this post Link to post Share on other sites