LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-23-2005, 02:45 PM   #1
pohl886
LQ Newbie
 
Registered: Dec 2004
Posts: 15

Rep: Reputation: 0
Ati fglrx Dri debian sarge


Hello,

I have a problem to get 3D acceleration to work, although I could not find any reason why it should not work. I followed the excellent instructions to install the drivers given at http://xoomer.virgilio.it/flavio.sta...installer.html.

My system:
Hardware: IBM R50 Ati Mobility Radeon 9000 64 MB RAM
Distribution: Debian Sarge
Kernel: 2.6.8-2-686 (stock kernel)
X-window-system: 4.3.0.dfsg.1-12
Ati kernel driver: 8.12.10-1

Thank you for your help.

--
$ cat XFree86.0.log | grep fglrx


(II) LoadModule: "fglrx"
(II) Loading /usr/X11R6/lib/modules/drivers/fglrx_drv.o
(II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
(II) fglrx(0): pEnt->device->identifier=0x82076a0
(II) fglrx(0): === [R200PreInit] === begin, [s]
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(==) fglrx(0): Qbs disabled
(==) fglrx(0): FAST_SWAP disabled
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(==) fglrx(0): Gamma Correction for I is 0x06419064
(==) fglrx(0): Gamma Correction for II is 0x06419064
(==) fglrx(0): Buffer Tiling is ON
(II) fglrx(0): initializing int10
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(--) fglrx(0): Chipset: "MOBILITY RADEON 9000 (M9 4C66)" (Chipset = 0x4c66)
(--) fglrx(0): (PciSubVendor = 0x1014, PciSubDevice = 0x0531)
(--) fglrx(0): board vendor info: third party grafics adapter - NOT original ATI(--) fglrx(0): Linear framebuffer (phys) at 0xe0000000
(--) fglrx(0): MMIO registers at 0xc0100000
(--) fglrx(0): ChipExtRevID = 0x02
(--) fglrx(0): ChipIntRevID = 0x00
(--) fglrx(0): VideoRAM: 32768 kByte (64-bit DDR SDRAM)
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(II) fglrx(0): I2C bus "DDC" initialized.
(II) fglrx(0): Connector Layout from BIOS --------
(II) fglrx(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) fglrx(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-4
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 2 with Monitor Type 0
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 3 with Monitor Type 0
(II) fglrx(0): Primary head:
(II) fglrx(0): Secondary head:
(II) fglrx(0):
(II) fglrx(0): DesktopSetup 0x0000
(II) fglrx(0): Panel ID string: Samsung LTN150P1-L02
(II) fglrx(0): Panel Size from BIOS: 1400x1050
(==) fglrx(0): PseudoColor visuals disabled
(==) fglrx(0): Overlay disabled
(==) fglrx(0): Overlay disabled
(II) fglrx(0): PLL parameters: rf=2700 rd=12 min=20000 max=35000
(==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
(==) fglrx(0): Center Mode is disabled
(==) fglrx(0): TMDS coherent mode is enabled
(II) fglrx(0): Valid mode using on-chip RMX: 1400x1050
(II) fglrx(0): Valid mode using on-chip RMX: 1280x1024
(II) fglrx(0): Valid mode using on-chip RMX: 1280x960
(II) fglrx(0): Valid mode using on-chip RMX: 1152x864
(II) fglrx(0): Valid mode using on-chip RMX: 1024x768
(II) fglrx(0): Valid mode using on-chip RMX: 800x600
(II) fglrx(0): Valid mode using on-chip RMX: 640x480
(II) fglrx(0): Total 7 valid mode(s) found.
(--) fglrx(0): Virtual size is 1400x1050 (pitch 1408)
(**) fglrx(0): *Mode "1400x1050": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "1400x1050" 108.00 1400 34208 34320 1688 1050 1052 1055 1063
(**) fglrx(0): *Mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "1280x1024" 108.00 1280 34208 34320 1688 1024 1052 1055 1063
(**) fglrx(0): *Mode "1280x960": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "1280x960" 108.00 1280 34208 34320 1688 960 1052 1055 1063
(**) fglrx(0): *Mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "1152x864" 108.00 1152 34208 34320 1688 864 1052 1055 1063
(**) fglrx(0): *Mode "1024x768": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "1024x768" 108.00 1024 34208 34320 1688 768 1052 1055 1063
(**) fglrx(0): *Mode "800x600": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "800x600" 108.00 800 34208 34320 1688 600 1052 1055 1063
(**) fglrx(0): *Mode "640x480": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.2 Hz
(II) fglrx(0): Modeline "640x480" 108.00 640 34208 34320 1688 480 1052 1055 1063
(++) fglrx(0): DPI set to (100, 100)
(==) fglrx(0): NoAccel = NO
(==) fglrx(0): HPV inactive
(==) fglrx(0): FSAA enabled: NO
(==) fglrx(0): FSAA Gamma enabled
(==) fglrx(0): FSAA Multisample Position is fix
(==) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
(II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
(II) fglrx(0): Depth moves disabled by default
(==) fglrx(0): Capabilities: 0x00000000
(==) fglrx(0): cpuFlags: 0x8000001d
(==) fglrx(0): cpuSpeedMHz: 0x000005d7
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(==) fglrx(0): UseFastTLS=0
(==) fglrx(0): BlockSignalsOnLock=1
(==) fglrx(0): EnablePrivateBackZ = NO
(II) fglrx(0): UMM area: 0xe07ad000 (size=0x01853000)
(II) fglrx(0): driver needs XFree86 4.3.x
(II) fglrx(0): detected XFree86 4.3.0
(II) fglrx(0): doing DRIScreenInit
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0ceb000
(II) fglrx(0): [drm] mapped SAREA 0xe0ceb000 to 0x4024c000
(II) fglrx(0): [drm] framebuffer handle = 0xe0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.12.10
(II) fglrx(0): Date: Apr 4 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0): Build-Kernel UTS_RELEASE: 2.6.8-2-686
(II) fglrx(0): Build-Kernel MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0): Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle = 0xc0100000
(II) fglrx(0): [agp] Mode=0x1f000217 bridge: 0x8086/0x3340
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000314
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000314)
(II) fglrx(0): [agp] grafics chipset has AGP v2.0
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe2fa2000
(II) fglrx(0): shared FSAAScale=1
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xe0000000 FBMappedSize: 0x007ad000
(II) fglrx(0): Splitting WC range: base: 0xe0000000, size: 0x7ad000
(II) fglrx(0): Splitting WC range: base: 0xe0400000, size: 0x3ad000
(II) fglrx(0): Splitting WC range: base: 0xe0600000, size: 0x1ad000
(II) fglrx(0): Splitting WC range: base: 0xe0700000, size: 0xad000
(II) fglrx(0): Splitting WC range: base: 0xe0780000, size: 0x2d000
(II) fglrx(0): Splitting WC range: base: 0xe07a0000, size: 0xd000
(II) fglrx(0): Splitting WC range: base: 0xe07a8000, size: 0x5000
(==) fglrx(0): Write-combining range (0xe07ac000,0x1000)
(==) fglrx(0): Write-combining range (0xe07a8000,0x5000)
(==) fglrx(0): Write-combining range (0xe07a0000,0xd000)
(==) fglrx(0): Write-combining range (0xe0780000,0x2d000)
(==) fglrx(0): Write-combining range (0xe0700000,0xad000)
(==) fglrx(0): Write-combining range (0xe0600000,0x1ad000)
(==) fglrx(0): Write-combining range (0xe0400000,0x3ad000)
(==) fglrx(0): Write-combining range (0xe0000000,0x7ad000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1408,1429)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1408,1050) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1056)
(II) fglrx(0): Largest offscreen area available: 1408 x 365
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled


--
$ glxinfo

name of display: :0.0
display: :0 screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.2
server glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.2
client glx extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
GLX extensions:
GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.5 Mesa 6.2
...

--
$ cat XF86Config-4

...
Section "Module"
Load "GLcore"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
# SubSection "extmod"
# Option "omit xfree86-dga"
# EndSubSection
EndSection
...

Section "Device"
Identifier "ATI Technologies, Inc. Radeon R250 Lf [Radeon Mobility 9000 M9]"
Driver "fglrx"
# Option "UseInternalAGPGART" "yes"
EndSection
...

Section "DRI"
Mode 0666
EndSection

--
$ dmesg | grep agp

Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 855PM Chipset.
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 256M @ 0xd0000000
agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode

$ dmesg | grep fglrx

[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 8.12.10 [Apr 4 2005] on minor 0
[fglrx] Internal AGP support requested, but kernel AGP support active.
[fglrx] Have to use kernel AGP support to avoid conflicts.
[fglrx] AGP detected, AgpState = 0x1f000217 (hardware caps of chipset)
[fglrx] AGP enabled, AgpCommand = 0x1f000314 (selected caps)
[fglrx] free AGP = 256126976
[fglrx] max AGP = 256126976
[fglrx] free LFB = 13611008
[fglrx] max LFB = 13611008
[fglrx] free Inv = 0
[fglrx] max Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total AGP = 65536
 
Old 05-24-2005, 08:36 AM   #2
Harmaa Kettu
Member
 
Registered: Apr 2005
Location: Finland
Posts: 196

Rep: Reputation: 30
Quote:
Hardware: IBM R50 Ati Mobility Radeon 9000 64 MB RAM
Why are you using the closed source driver with a card that is supported by the open source radeon driver that comes with X ?

Anyway, the problem is that you have Mesa openGL libraries somewhere (probably in /usr/X11R6/lib) and openGL programs are finding them instead of the ones that come with the ATI driver. Removing those libraries should fix it.
 
Old 05-24-2005, 04:11 PM   #3
pohl886
LQ Newbie
 
Registered: Dec 2004
Posts: 15

Original Poster
Rep: Reputation: 0
thank's for your help, I will try that in a minute.

Is the open source driver for radeon graphics cards not only available in the Xorg distribution? I thought in Xfree 4.3.0 you are stuck to the closed source version provided by ATI in order to get 3D acceleration.
 
Old 05-24-2005, 04:57 PM   #4
pohl886
LQ Newbie
 
Registered: Dec 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Which library should I remove? I have tried to remove xlibmesa-gl but still no success.
Here are my installed GL libraries:

--
$ ldd fgl_glxgears

libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x40026000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40281000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40349000)
libm.so.6 => /lib/tls/libm.so.6 (0x40357000)
libc.so.6 => /lib/tls/libc.so.6 (0x40379000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x404ae000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x404bd000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

--
$ dpkg -S libGL.so.1

xlibmesa-gl: /usr/lib/libGL.so.1
xlibmesa-gl: /usr/X11R6/lib/libGL.so.1
libmesagl1: /usr/X11R6/lib/libGL.so.1.0
diversion by fglrx-driver from: /usr/X11R6/lib/libGL.so.1.2 ### I don't understand those lines ###
diversion by fglrx-driver to: /usr/share/fglrx/diversions/libGL.so.1.2
fglrx-driver, xlibmesa-gl: /usr/X11R6/lib/libGL.so.1.2
xlibmesa-gl: /usr/lib/libGL.so.1.2
libmesagl1: /usr/X11R6/lib/libGL.so.1.5.060200
diversion by fglrx-driver from: /usr/X11R6/lib/libGL.so.1.2

--
$ dpkg -S fgl_glxgears

fglrx-driver: /usr/X11R6/bin/fgl_glxgears
diversion by fglrx-driver to: /usr/share/fglrx/diversions/libGL.so.1.2

### update ###
Got it! The package to remove was libmesagl1. Thanks a lot.

Last edited by pohl886; 05-24-2005 at 05:11 PM.
 
  


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
ATI drivers: fglrx vs dri. What's the difference?? rose_bud4201 Linux - Hardware 3 09-09-2005 07:18 PM
ATI fglrx driver - can't get dri working SpruceMoose Linux - Hardware 1 06-20-2005 11:22 PM
cannot get DRI to work with ATI fglrx drivers under X alesz Fedora 2 06-09-2005 07:39 AM
ati fglrx on debian sarge testing Vladimir R. Linux - Hardware 1 11-29-2004 02:11 PM
[ATI] fglrx vs dri-radeon <what is the diff?> carboncopy Slackware 1 06-18-2004 02:50 AM


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