LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-20-2006, 03:55 PM   #1
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Rep: Reputation: 30
Angry Graphics accelleration not working on 915GM


Hi,
I have been having loads of trouble getting the 3D accelleartion to work on my new laptop. For a long time I could not get the i810 driver to load for the i915GM card, but I was told to switch to xorg 6.9. I did this, and the i810 driver now loads in X. I have compiled the agpgart, and chipset stuff for my card in the kernel as modules, and load them. The modules I have loaded are: intel_agp, i915, drm, and agpgart. What happens now though is X will start with the i810 driver (or maybe it falls back to vesa, I'm not sure, I was running vesa before this and it works, but no 3D accell), but I have no 3D accelleration still. My output from glxinfo is:

--- CUT ---

name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

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
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None

--- CUT ---

So I went and looked in Xorg.0.log and the relevant info is:

--- CUT ---

(EE) Failed to load module "glx" (module does not exist, 0)
(WW) The directory "/opt/kde3/share/fonts" does not exist.
(WW) Warning, couldn't open module glx
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): config file hsync range 30-82kHz not within DDC hsync ranges.
(WW) I810(0): config file vrefresh range 58-75Hz not within DDC vrefresh ranges.
(WW) I810(0): Probed monitor is 330x210 mm, using Displaysize 385x240 mm
(WW) I810(0): Bad V_BIOS checksum
(WW) I810(0): Extended BIOS function 0x5f05 failed.
(WW) I810(0): Option "CalcAlgorithm" is not used

--- CUT ---

So it looks like I lost the glx module somehow. Where did it go, and how do I get it back? The bad checksum thing is probably because I am using 915resolution in order to get the right resolution on my monitor, as if I dont use it, it is stuck in 1024x768 or something. I try to load glx and dri in my xorg.conf, and have switched it around so it will not load dri, but that does not seem to help. Also, I do not think it is listed there, but if I just started "X" from a console and then killed it, it was saying it couldn't find /dev/agpgart, that it did not exist, but I checked, and it does exist. This computer has been the biggest pain to get things working right on, I swear.
 
Old 05-20-2006, 04:36 PM   #2
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Original Poster
Rep: Reputation: 30
I got glx working, aparantly the file was in the wrong place, so I moved it to where it was looking for the extentions, and it finds out. However now DRI doesn't work. When running glxinfo I get:

--- CUT ---

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_hyperpipe, GLX_SGIX_swap_barrier,
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_OML_swap_method,
GLX_SGI_make_current_read, GLX_SGIS_multisample, GLX_SGIX_fbconfig
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.4.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_texture_rectangle, 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_HP_occlusion_test, 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
----------------------------------------------------------------------
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x25 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x26 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x29 24 dc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x2a 24 dc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None

--- CUT ---

When I look in Xorg.0.log I see:

--- CUT ---

(EE) I810(0): [dri] DRIScreenInit failed. Disabling DRI.

--- CUT ---

Anybody know what thats about? Does it have to do with the way the 915GM is suppost to be able to do multiple screens, and how two of them are detected in lspci? It also says that stuff about how the other one is not listed in xorg.conf. I don't care right now weather the other works, I just want the main one to work right, but it would be good if it had something to do with that and I could kill two birds with one stone.
 
Old 05-20-2006, 05:57 PM   #3
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Original Poster
Rep: Reputation: 30
I FINALLY got glx and dri working right! The frame rates arn't what I hoped for though. It says direct rendering is enabled and working properly, but it just seems a bit slower then it should be. I only get about 800fps on glxgears. Shouldn't it be a bit faster?
 
Old 05-20-2006, 06:33 PM   #4
gmanpsycho
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Can you tell me how you got the DRI working?? Thanks.
 
Old 05-21-2006, 01:13 PM   #5
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Original Poster
Rep: Reputation: 30
This stumped me for a while, and I'm still not sure why exactly it didn't work. I had read in all the guides that you should compile agpgart support and DRM support as modules, so I went back and compiled them as modules before I started messing with stuff. When I finally got to the part where DRI was not starting, I did some poking around, and in dmesg (I think) it would say something about how it could not use the agpgart module. I messed with that for a few hours and couldn't figure out why, because it seemed to be working fine for everything else. I finally went back and recompiled my kernel with agpgart and DRM support IN the kernel (not as modules, but actually compiled in there) deviating from all the guides I have saw, rebooted, loaded X, and DRI worked. Don't ask me why. My only guess is there is some kind of bug in the module part of either the agpgart or DRM portions of the kernel that made it not work as a module when using it with my card, or a buggy compile, something like that, or a bug in the way my system was loading the modules (which doesn't make much sence, because I have other things compiled as modules, and they work fine), but it worked.

So try recompiling the kernel and making sure agpgart and DRM are compiled IN the kernel, not as modules. If you do that, make sure to tell it not to autoload the agpgart and drm modules on startup, because they shouldn't need to be there anymore anyway.

Hope this helps,
Marshall
 
Old 05-22-2006, 06:11 AM   #6
gmanpsycho
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Thanks, Oxagast. I'll try to recompile my kernel and I'll let you know what happens. Thanks again.
 
Old 05-22-2006, 01:27 PM   #7
gmanpsycho
LQ Newbie
 
Registered: May 2006
Posts: 4

Rep: Reputation: 0
Talking

Good News!!! Good News!!! I did not have to recompile my Mepis Kernel.... I so not looking forward to that. I'm not the programing type... I did however modify my xorg.conf to reflect the 1400x1050 option and made that my "max" resolution and I restarted X and it worked. I even rebooted to make sure it would hold and YES!!!! it did!!!! I appreciate all those who contributed to this thread becuase you guys and girls have helped me tremendously. Thanks Oxagast et al....
 
Old 05-23-2006, 01:25 AM   #8
Oxagast
Member
 
Registered: Aug 2003
Location: Mocksville, NC, USA
Distribution: Gentoo, Slackware.
Posts: 410

Original Poster
Rep: Reputation: 30
Thats good. I wonder why having it run at a different resolution would affect weather DRI worked or not. Do you happen to know?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics problems with Intel 915GM on Dell Latitude D610 EdoardoC Linux - Laptop and Netbook 46 09-19-2006 06:19 AM
Latitude X1 12.1" WXGA (Intel 915GM graphics) display problem thunderweasel Linux - Laptop and Netbook 2 01-03-2006 03:34 PM
Graphics problems with Intel 915GM on Dell Inspiron 6000 cmosbjt Linux - Laptop and Netbook 1 07-07-2005 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration