LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-03-2005, 11:22 PM   #1
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Rep: Reputation: 16
Slackware 10.2 & Direct Rendering


I am running Slackware 10.2 and I have a Intel 915GM/GMS/910GML Express Graphics card. I am trying to get my direct rendering to work. I have installed the i915 driver from Intel and glxinfo still shows
Quote:
direct rendering = no
Here is my lsmod
Code:
[root@slacker] # lsmod                                                         
Module                  Size  Used by    Not tainted
e100                   47668   1 
snd-pcm-oss            36736   0 
snd-mixer-oss          12376   0  [snd-pcm-oss]
iptable_mangle          2072   0  (autoclean) (unused)
iptable_nat            16814   0  (autoclean) (unused)
ipt_REJECT              3096   1 
ip_conntrack_ftp        3632   0  (unused)
ip_conntrack_irc        2768   0  (unused)
iptable_filter          1644   1 
ipt_state                504   4 
ip_conntrack           18564   2  [iptable_nat ip_conntrack_ftp ip_conntrack_irc         ipt_state]
ip_tables              12000   7  [iptable_mangle iptable_nat ipt_REJECT iptable        _filter ipt_state]
uhci                   24284   0  (unused)
ehci-hcd               17516   0  (unused)
usbcore                59148   1  [uhci ehci-hcd]
i810_rng                2528   0  (unused)
snd-intel8x0           18304   0 
snd-ac97-codec         58556   0  [snd-intel8x0]
snd-pcm                54344   0  [snd-pcm-oss snd-intel8x0 snd-ac97-codec]
snd-timer              13764   0  [snd-pcm]
snd                    32772   0  [snd-pcm-oss snd-mixer-oss ;snd-intel8x0 snd-ac        97-codec snd-pcm snd-timer]
soundcore               3396   4  [snd]
snd-page-alloc          4712   0  [snd-mixer-oss snd-intel8x0 snd-pcm snd-timer         snd]
ds                      6548   1 
yenta_socket           10436   1 
pcmcia_core            39172   0  [ds yenta_socket]
ide-scsi                9392   0 
agpgart                45508   0  (unused)
and my lspci:

Code:
00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 03)
00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d3)
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 03)
02:01.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller
02:03.0 Network controller: Broadcom Corporation: Unknown device 4319 (rev 02)
02:08.0 Ethernet controller: Intel Corporation 82562ET/EZ/GT/GZ - PRO/100 VE (LOM) Ethernet Controller Mobile (rev 03)
If anyone has any luck with this chipset, it would be appreciated. Thanks
 
Old 12-03-2005, 11:40 PM   #2
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
What about your xorg.conf, do you have the following enabled..
Code:
Load glx
Load dri

 Section "DRI"
    Mode 0666
 EndSection
 
Old 12-03-2005, 11:55 PM   #3
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
I didnt have the
Quote:
Section "DRI"
Mode 0666
EndSection
but the load glx and load dri were there. I added them and now for a reboot. Also, I noticed on my dmesg

Code:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Tungsten Graphics version 20040405
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: no supported devices found.
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 196M
agpgart: Detected an Intel(R) 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
Thanks
 
Old 12-04-2005, 12:03 AM   #4
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Well no luck. Also, here is the output from glxinfo, maybe it will help.

Code:
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_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.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_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, 
    GL_SGIX_shadow_ambient
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
Thanks
 
Old 12-04-2005, 12:03 AM   #5
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,180

Rep: Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377Reputation: 1377
One quick thing..

Code:
 Section "DRI"
    Mode 0666
 EndSection
Goes at the very end of xorg.conf , at the bottom of the file, you should see something like EndSection , thats where you put that DRI settings... like this..

Code:
EndSection

 Section "DRI"
    Mode 0666
 EndSection
 
Old 12-04-2005, 12:36 AM   #6
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Still no luck. Also, my xorg.conf shows:
Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "Intel Corp."
        BoardName   "Unknown Board"
        BusID       "PCI:0:2:0"
EndSection
I tried changing vesa to i915 and X wouldnt work. When i.

Thanks
 
Old 12-04-2005, 12:55 AM   #7
liquidtenmilion
Member
 
Registered: May 2004
Location: South Carolina
Distribution: Slackware 11.0
Posts: 606

Rep: Reputation: 32
Change it to i810, make sure you have "load glx" "load dri" where they belong, and the Dri Section at the end.
 
Old 12-04-2005, 01:15 AM   #8
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Now I get the error:
Code:
(WW) I810: No matching Device section for instance {BusID PCI:0:2:1) found
(EE) No devices detected
Here is my entire xorg.conf:
Code:
ection "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "record"
	Load  "extmod"
	Load  "dbe"
	Load  "dri"
	Load  "glx"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/mouse"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "DefaultRefresh"     	# [<bool>]
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corp."
	BoardName   "Unknown Board"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

 Section "DRI"
    Mode 0666
 EndSection
Thanks

Last edited by securitybreach; 12-04-2005 at 01:17 AM.
 
Old 12-04-2005, 09:16 AM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
-----------
No matching Device section for instance {BusID PCI:0:2:1)
-----------

that probably is your tv-out.

i miss the frequency settings in the monitor section ?
like :

------------
HorizSync 30-70
VertRefresh 50-160
------------

( those values ar for my monitor )

also can you take a look at /var/log/Xorg.0.log to find errors ( marked (EE) )

edit : and how about the display resolution in section "screen ?
like :

-------
Subsection "Display"
Depth 24
Modes "1024x768" <-----resolution
ViewPort 0 0
EndSubsection
-------
egag

Last edited by egag; 12-04-2005 at 09:19 AM.
 
Old 12-04-2005, 10:44 AM   #10
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
I see what you mean now about the missing resolutions. I assume this happened when I ran /usr/X11R6/bin/xorgsetup, since it rewrites a new xorg.conf.

Also, how can I go about getting my monitor frequency?
If I had them I could run xorgconfig and maybe that will help. I had them for my old laptop but I can not remember how I got them. I have a Dell Inspiron 2200 laptop.
 
Old 12-04-2005, 11:49 AM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
your machine isn't in the hcl, so use google or goto the dell website to find info.

btw...seen any errors in the xorg-log ?

egag

Last edited by egag; 12-04-2005 at 01:31 PM.
 
Old 12-04-2005, 01:05 PM   #12
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
No errors in xorg.log that I can tell. I can post it but it is a long log. I have searched google for the freqeuency with no luck. Thanks
 
Old 12-04-2005, 01:31 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 53
but isn't it strange that xorg is running without the config file giving a
resolution or monitor freqencies ?
( i don't understand... )

egag
 
Old 12-05-2005, 10:30 AM   #14
securitybreach
Member
 
Registered: Jan 2005
Location: In front of my computers, USA
Distribution: Archlinux 64
Posts: 100

Original Poster
Rep: Reputation: 16
Yeah it is. When I ran /etc/X11R6/bin/xorgsetup it made the xorg.conf without resolution or monitor frequencies. I still have not found my lcd frequencies. Thanks
 
  


Reply



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
no Direct Rendering on FC4 & GeForce FX 5500 oradev Linux - Hardware 2 08-13-2005 10:05 AM
Slackware current i810 direct rendering securitybreach Slackware 4 05-03-2005 09:09 PM
Direct Rendering with Radeon 9600, Slackware 10 and Kernel 2.4.26 Nigh Unstoppabl Linux - Hardware 2 08-02-2004 07:15 PM
Slackware 10, 2.4.26 kernel, and a Radeon 9600 direct rendering help Nigh Unstoppabl Linux - Newbie 0 07-15-2004 12:35 AM
need help: Matrox G400, setting up direct rendering in slackware 9.0 Mizugori Linux - Hardware 0 01-19-2004 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:13 AM.

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