Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


LinkBack Search this Thread
Old 09-13-2003, 05:52 AM   #1
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
ATI Radeon IGP 345M

Hi guys,
I need to get hardware acceleration working with this card if I'm to use linux as a serious alternative to windows. The card is built into my Vaio FR285M laptop (2.4ghz, 512mb ram) and has 128mb vga ram. The output form lsmod -v is :

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon IGP 340M (prog-if 00 [VGA])
Subsystem: Sony Corporation: Unknown device 8158
Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 11
Memory at e0000000 (32-bit, prefetchable) [size=256M]
I/O ports at a000 [size=256]
Memory at c0500000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: [58] AGP version 2.0
Capabilities: [50] Power Management version 2

The relevant segment of XF86Config is (I'm using the generic vesa right now:


Section "Device"
Identifier "ati"
Driver "vesa"
#VideoRam 131072
# Insert Clocks lines here if appropriate

I'm running slackware 9 with the 2.4.21 kernel. Recompiling a kernel is not a problem if I can get this to work. I tried the generic radeon driver but it wouldn't load x.

All comments / suggestions are welcome to get this to work.


Old 09-13-2003, 05:57 AM   #2
Registered: May 2003
Location: Kerala,India
Distribution: RedHat,Mandrake,Debian
Posts: 643

Rep: Reputation: 30
Radeon IGP is unsupported by XFree86 4.3.0. In order to use
Radeon IGP with XFree86, you need to use newer drivers, as the
support for Radeon IGP was contributed by ATI to XFree86 after
4.3.0 was released. This support is integrated into Red Hat
Rawhide XFree86 4.3.0 and provides working 2D.
The current version of XFree86 in rawhide is 4.3.0-22.1. I've
also got the driver module files separated out which can be
dropped in on top of the existing X drivers to give working 2D.
They can be downloaded from:
Be sure to read the README file. Also note that these drivers
should work on any Linux distribution or BSD OS running XFree86
4.3.0. They're not Red Hat specific.
-copied from
Old 09-13-2003, 06:18 AM   #3
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Original Poster
Rep: Reputation: 15
Thanks, I'm going to try that now. I'll repost if I can get back into x
Old 09-13-2003, 07:31 AM   #4
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Original Poster
Rep: Reputation: 15
Well, adding those drivers and choosing radeon as the driver and kde loaded in about nothing flat! I'm going to install mplayer and test that now. System certainly seems to be faster.


Old 09-23-2003, 11:56 AM   #5
LQ Newbie
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Red face Chromium and Tux Racer???

Hi - Thanks for the pointer to the drivers. I seem to be having better luck with my Evo N1020V now. But still, my games are running SLOWWWWWW. It seems the frame rates are still not what they should be.

Anything in the X config that I can tweak?
Old 09-24-2003, 10:22 PM   #6
LQ Newbie
Registered: May 2003
Posts: 12

Rep: Reputation: 0
hi all,

I got Compaq 2538CL which also has the same IGP 345 M , but no luck with the driver.

I copied (overwrite) the file in /usr/X11R6/lib/modules/drivers/ati_drv.o and radeon_drv.o and tried both ati and radeon as the driver for the display and it failed.

You guy who succedeed using the driver please shed some light.
I'm on RH 8.0 with 2.4.22

Old 10-08-2003, 06:18 AM   #7
LQ Newbie
Registered: Oct 2003
Distribution: Red Hat and Mandrake
Posts: 1

Rep: Reputation: 0
Hi all,

I'm both French and so I've got some problems installing red hat 9 on my laptop (hp pavilion ze5228) using the same IGP 345M chip.
I overwrited ati_drv.o and radeon_drv.o in the same directory than ox but the X server refuses to boot.

please help.

Last edited by fanch; 10-08-2003 at 06:20 AM.
Old 10-12-2003, 01:58 AM   #8
LQ Newbie
Registered: May 2003
Posts: 12

Rep: Reputation: 0
I finally got mine working

Now if I can get the external vga to work properly it would be awesome.
Currently it worked but for some reason it can show the whole screen on my monitor. I know this monitor is capable of the resolution, so it might just be the driver, or some setting I missed. Anyone got this working ??

Old 12-01-2003, 09:26 PM   #9
Registered: Aug 2003
Distribution: Ubuntu 5.10
Posts: 81

Rep: Reputation: 15
ok, I would put those files on my computer. But according to the properties of my current ati_drv.o file it is newer than the one on that site. Also, it sounds like that fix is for the 2-d acceleration. So far as I can tell my 2-d is fine, but my 3-d is horrid. I am using Mandrake 9.2, the ATI RADEON IGP 345M 64MB (shared) graphics. How can I get the 3d acceleration going?
Old 03-16-2004, 09:10 PM   #10
Registered: Mar 2004
Posts: 71

Rep: Reputation: 15
Could someone re-post the XFree86 ATI radeon modules? The link to them given by the second post doesnt work anymore. Thank you!

Old 03-21-2004, 09:53 AM   #11
LQ Newbie
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
i need that file too!

Old 03-23-2004, 08:19 AM   #12
LQ Newbie
Registered: Feb 2004
Location: Filderstadt/Germany
Distribution: SuSE 9.0
Posts: 12

Rep: Reputation: 0
For 3D for the Radeon IGP-chipset have a look at

Use with
as newer patches for newer XFree86-Versions make problems (not only for me)
You have to use a kernel with IGP-Support (2.4.23 and above or some patched older kernels).
There are some snares in configuration, so see this sites:

If you use kernel 2.4.25-vanilla delete this lines in
before compiling radeon.o:

# define pte_offset_kernel(dir, address) pte_offset(dir, address)
# define pte_pfn(pte) (pte_page(pte) - mem_map)
# define pfn_to_page(pfn) (mem_map + (pfn))

Old 03-25-2004, 07:16 AM   #13
LQ Newbie
Registered: Mar 2004
Posts: 6

Rep: Reputation: 0
So this is what i have done:

updated the system (debian) with an apt...

now I have
and kernel 2.6.4 compiled

Running glxinfo I got



Xlib: extension "XFree86-DRI" missing on display ":0.0".
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_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project:
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
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

Now X is running with this config file
	Section "Module"

# This loads the DBE extension module.

    Load        "dbe"  	# Double buffer extension
    Load 	"v41"   # Video for Linux
    Load 	"extmod"
    Load	"type1"
    Load 	"freetype"
    Load 	"glx"	# 3D layer
    Load 	"dri"	# direct rendering

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension

# This loads the Type1 and FreeType font modules
    Load        "speedo"
#    Load        "xtt"


Section "DRI"
	Mode 0666

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).

    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

    ModulePath "/usr/X11R6/lib/modules"


# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

#    Option "DontVTSwitch"

#    Option "DontZap"

#    Option "Dont Zoom"

#    Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client. 

#    Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings. 

#    Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#    Option "AllowNonLocalModInDev"


# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#    Option     "Protocol"      "Xqueue"

    Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option	"Xleds"      "1 2 3"

#    Option "LeftAlt"     "Meta"
#    Option "RightAlt"    "ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option "XkbModel"    "microsoft"
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option "XkbLayout"   "de"
# or:
#    Option "XkbLayout"   "de"
#    Option "XkbVariant"  "nodeadkeys"
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option "XkbOptions"  "ctrl:swapcaps"

# These are the default XKB settings for XFree86
#    Option "XkbRules"    "xfree86"
#    Option "XkbModel"    "pc101"
#    Option "XkbLayout"   "us"
#    Option "XkbVariant"  ""
#    Option "XkbOptions"  ""

#    Option "XkbDisable"

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc104"
    Option "XkbLayout"	"it"


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/psaux"

# Mouse-speed setting for PS/2 mouse.

#    Option "Resolution"	"256"

# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.

#    Option "Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#    Option "BaudRate"	"9600"
#    Option "SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

    Option "Emulate3Buttons"
#    Option "Emulate3Timeout"    "50"

# ChordMiddle is an option for some 3-button Logitech mice

#    Option "ChordMiddle"


Section "InputDevice"
	Identifier "Mouse2"
	Driver "mouse"
	Option "Protocol" "IMPS/2"
	Option "Device" "/dev/input/mice"

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "My Monitor"
    VendorName  "Generic"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

    HorizSync   31.5 - 48.5

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

    VertRefresh 40-70


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"device1"
    VendorName	"ATI Technologies Inc"
    BoardName	"ATI Radeon"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset	"generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "radeon"
    Option 	"DPMS"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam	256

#    Clocks	25.2 28.3


# Device configured by xf86config:

#Section "Device"
#    Identifier  "** ATI (generic)                      [ati]"
#    Driver      "ati"
    #VideoRam    65536
    # Insert Clocks lines here if appropriate

# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "device1"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "640x480"
        ViewPort    0 0
    Subsection "Display"
        Depth       16
        Modes       "800x600"
        ViewPort    0 0
    Subsection "Display"
        Depth       24
        Modes       "1024x768"
        ViewPort    0 0

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoDreEvents".
    InputDevice "Mouse2" "CorePointer"	
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"


# Section "DRI"
#    Mode 0666
# EndSection
Is this correct?

What should I do now?

Patch and install a newer version of X?

Last edited by Jango; 03-25-2004 at 07:22 AM.
Old 04-05-2004, 08:19 PM   #14
LQ Newbie
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
go to as in above post, go down to comment #233 to the link for get_dri_xfree_install.txt. Download that, read it for directions. The script recommends you move /usr/X11R6 to somewhere else, I say copy it with "cp -Ra /usr/X11R6 $HOME/X11R6-saved" . I also believe that you need to change on the first two cvs lines to

Then run it with "sh get_dri_xfree_install.txt".

If you are running 2.6.x you need to make sure that the ati-agp and agpgart modules are loaded before the radeon drm module. For me I just added those in /etc/modprobe.preload (using Mandrake 10.0).

I also found out on Mandrake anyway that you have to delete the contents of /usr/X11R6/lib/modules/dri/tls and /usr/X11R6/lib/tls. These have something to do with NPTL and get in the way of the DRI installation.

After the script runs do "ldconfig" as root and start X. All the other configuration information in the above posts.

I don't get really great performance, but the open GL games are not choppy. I'm getting about 589 fps with glxgears with dri and 493 without.

Hope some of this helps
Old 04-28-2004, 12:19 PM   #15
LQ Newbie
Registered: Oct 2003
Location: Jamaica
Posts: 27

Rep: Reputation: 15

i try getting the drivers from the following


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4 and ATI Radeon IGP 345M Flukey Linux - Hardware 3 09-06-2006 09:24 AM
Ati Radeon Igp 320m dkitt10 Linux - Hardware 12 02-16-2005 08:46 PM
compaq nx9010 with ATI radeon mobility 345M hellrom Linux - Laptop and Netbook 1 12-31-2004 01:37 PM
ati 345M IGP graphics drivers toddncl Linux - Laptop and Netbook 3 08-12-2004 04:23 AM
Mandrake 9.2 and ATI Radeon IGP 345M Wandering Idiot Linux - Laptop and Netbook 4 01-20-2004 04:19 PM

All times are GMT -5. The time now is 11:17 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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration