Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-08-2004, 10:39 AM   #1
LQ Newbie
Registered: Nov 2004
Posts: 19

Rep: Reputation: 0
DRI support for intel 845 GV

I am using the intel 845GV chipset with onboard graphics... I tried to install the driver from the intel website but when the installation reaches the stage of DRM module compilation I get the following error.....

ERROR: Kernel modules did not compile

The DRI drivers can not be installed without the latest kernel modules.
Installation will be aborted. See the dri.log file for information on
what went wrong.

the dri.log file shows this....

make -C /lib/modules/2.6.9/build SUBDIRS=/root/dripkg/agpgart-2.0 modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
Makefile:461: .config: No such file or directory
Building modules, stage 2.
/usr/src/linux-2.6.9/scripts/Makefile.modpost:38: .config: No such file or directory
make[2]: *** No rule to make target `.config'. Stop.
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [default] Error 2
Makefile.linux:139: *** Cannot find a kernel config file. Stop.

Please help..
thanx in advance...
Old 11-08-2004, 10:52 AM   #2
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
In your case, I would say that you need to install the kernel sources!

If it still does not work though:

I tried the same with the driver for Intel 865 onboard with the same result: it did not compile!

But I managed to get 3D support by doing the following trick:

I compiled the kernel with agpgart integrated into the kernel (not as module). After that I had no problems activation the 3D support in the normal drivers. I don't know why, but problem was clearly related to the loading of the agpgart module.
Old 11-08-2004, 04:22 PM   #3
LQ Newbie
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I have been able to compile agpgart in the kernel itself but there is a problem...
When I do a dmesg | grep drm... this is what I get...

[drm] Initialized i915 1.1.0 20040405 on minor 0: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device

and a dmesg | grep agp gives this....

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 845G Chipset.
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: Detected 8060K stolen memory.
agpgart: AGP aperture is 128M @ 0xe0000000

and glxinfo gives this.....

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.2
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 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:
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.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_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_mirror_once, GL_ATI_texture_env_combine3,
GL_IBM_texture_mirrored_repeat, 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,
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
0x22 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None
0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None
0x24 24 tc 0 32 0 r y . 8 8 8 8 0 16 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 16 8 16 16 16 16 0 0 None

Please help with this...

Any ideas on this...

Last edited by jai_joy; 11-08-2004 at 05:02 PM.
Old 11-09-2004, 02:24 AM   #4
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Did you add the modules glx and dri to your XF86Config?
Section "Module"
  Load         "glx"
  Load         "v4l"
  Load         "extmod"
  Load         "type1"
  Load         "dbe"
  Load         "speedo"
  Load         "freetype"
  Load         "dri"
Your user account also needs to be a member of the 'video' group, or you need to give access to all users in XF86Config:

Section "DRI"
    Group      "video"
    Mode       0660
Hope this helps...good luck!
Old 11-09-2004, 02:33 AM   #5
LQ Newbie
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
DRI support for intel 845GV

Hi abisko00,

Thanx a lot for all the help... I have just noticed these lines in the /var/log/Xorg.0.log ...
what does this mean....

(II) I810(0): 12580 kBytes additional video memory is required to enable tiling mode for DRI.
(II) I810(0): 5544 kBytes additional video memory is required to enable DRI.
(II) I810(0): Disabling DRI.

Does this mean that my card doesnt have enough memory to support 3d acceleration...??
thanx again for the help...
Old 11-09-2004, 02:50 AM   #6
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
Oops, didn't recognize you were using XOrg.

To your question:
As far as I can see your AGP aperture is 128 MB, that should be sufficient. It's only 13 MB the dri module wants. Strange...

Maybe you can play around with the bios video settings and give more RAM to the card.

Do you get mtrr errors? It appears that this could cause some trouble.
Old 11-09-2004, 02:52 AM   #7
Senior Member
Registered: Oct 2004
Location: Athens, Greece
Distribution: Slackware, arch
Posts: 1,783

Rep: Reputation: 52
In some distr. (like redhat) there is no .config file

in the /usr/src/linux-2.x.xx/configs/ are all the config files. You have to choose one and copy it to
/usr/src/linux-2.x.xx/ ( i think) and rename it to .config
Old 11-09-2004, 03:45 AM   #8
LQ Newbie
Registered: Nov 2004
Posts: 19

Original Poster
Rep: Reputation: 0
DRI support for intel 845GV


Thanx for all the help....

I got the whole thing to work now...
what I did is this...

(for kernel 2.6.9 on slack 10)

I have compiled both agpgart and drm in the kernel itself....
after that I installed the intel driver that I got from the intel website...
next I changed the settings in /etc/xorg.conf
(added the following)

Load "glx"
Load "dri"

and at the bottom of the file

Section "DRI"

Mode 0666

and in the monitor section

default depth to 16 (thats the only one that is supported in the driver)

This works peacefully... giving me 1000-1100 FPS..

OK... after all that there is just one small thing left......

When I maximize or stretch the window (as in by dragging the window) for both mplayer and xine the monitor screen shakes... after the operation it stabilises...I am told this is not dangerous...
is it really so???
if there is a solution for this....please help...


Last edited by jai_joy; 11-09-2004 at 06:23 AM.


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
Games have bad gamma ( to Dark) and I cant fix it! intel 845 chipset DRI DudeArX Linux - Games 13 08-16-2005 01:13 AM
Intel 845 G/GL & LE EHCanadian Mandriva 4 06-21-2005 05:05 PM
Intel 845 for RedHat AS 2.1 ramsharma79 Linux - Hardware 0 09-24-2004 04:49 AM
Redhat 8.0, Intel 845 support (82845gl) akidd Linux - Hardware 0 01-05-2003 04:39 PM
Redhat 7.2/6.2/Intel 845 zingfharn Linux - Software 0 04-18-2002 05:52 AM

All times are GMT -5. The time now is 05:04 PM.

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