LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-23-2005, 06:00 AM   #1
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Rep: Reputation: 15
Ati Radeon 9200 SE (xorg 6.8.0) driver (HELP please!)


ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.11.2/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/home/api/linux-2.6.11.2/linux-2.6.11.2'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_putminor':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:509: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:511: warning: `inter_module_unregister' is deprecated (declared at include/linux/module.h:574)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `firegl_stub_register':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:531: warning: `inter_module_register'is deprecated (declared at include/linux/module.h:573)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:562: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_get_vm_phys_addr':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1673: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `do_vm_shm_nopage':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2203: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_phys_addr_str':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2573: warning: passing arg 1 of `pmd_offset' from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2661: warning: initialization from incompatible pointer type
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_vm_map':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2722: warning: implicit declaration of function `remap_page_range'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: At top level:
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2876: error: parse error before '*' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2876: warning: type defaults to `int'in declaration of `drm_agp_module_stub'
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2876: warning: data definition has notype or storage class
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agpgart_available':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: error: `drm_agp_t' undeclared (first use in this function)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: error: (Each undeclared identifier is reported only once
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: error: for each function it appears in.)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3018: error: parse error before ')' token
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3039: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3041: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3044: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3046: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3049: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3051: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3054: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3056: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3059: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3061: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3064: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3066: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3069: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3071: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3074: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3076: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_uninit':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3147: warning: `inter_module_put' is deprecated (declared at include/linux/module.h:578)
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_free_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3180: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3181: error: request for member `free_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_allocate_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3190: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3191: error: request for member `allocate_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_bind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3201: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3202: error: request for member `bind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_unbind_memory':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3212: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3213: error: request for member `unbind_memory' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_enable':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3223: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3225: error: request for member `enable' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_acquire':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3271: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3272: error: request for member `acquire' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_release':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3282: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3283: error: request for member `release' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function `__ke_agp_copy_info':
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3296: error: request for member `copy_info' in something not a structure or union
/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3303: error: request for member `copy_info' in something not a structure or union
make[2]: *** [/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1
make[1]: *** [_module_/lib/modules/fglrx/build_mod/2.6.x] Error 2
make[1]: Leaving directory `/home/api/linux-2.6.11.2/linux-2.6.11.2'
make: *** [kmod_build] Error 2
build failed with return value 2

Does anyone have any suggestions please?

Slackware 10.1
I am still searching for an answer how ti fix this! thank you.
 
Old 03-23-2005, 07:28 AM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Re: Ati Radeon 9200 SE (xorg 6.8.0) driver (HELP please!)

Quote:
Originally posted by apinta10
Does anyone have any suggestions please?[/B]
Yes, switch to Nvidia. Seriously.
 
Old 03-23-2005, 07:53 AM   #3
apinta10
Member
 
Registered: Nov 2004
Location: Croatia, Hrvatska
Distribution: Slackware 10.1 + Debian Sarge 3.1 (testing)
Posts: 35

Original Poster
Rep: Reputation: 15
I have GeForce4 card at home as a reserve.

I think i will do that.

Don't have time to fix that kind of problem.
 
Old 03-23-2005, 08:44 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Nevertheless, lets try..

Have you tried any of the two patches mentioned here (at the bottom of the thread)?

http://www.linuxquestions.org/questi...&highlight=ati
 
Old 03-23-2005, 09:07 AM   #5
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hi there,

i also have a 9200SE and my absolute max. runtime with fglrx is about 5 minutes.

but why would you use it.
using the radeon driver with dri gives the same results for acceleration.

try it ?
check for this in the xorg.conf :
modules section should have

Load "glx"
Load "dri "

device section should look like this :

Section "Device"
Identifier "card"
Driver "radeon"
ChipId 0x5964
Option "Overlay"
Option "EnablePageFlip" "on"
EndSection

and at the end of the file :

Section "DRI"
Mode 0666
EndSection

( note : the option "overlay" is not used, it sais so in my xorg.log file,
but without that option my tvimage won't work in overlay mode )
and i think the chipID will be ok for your card.

this gives the same fps with glxgears as the fglrx driver.

egag
 
Old 03-23-2005, 09:29 AM   #6
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
egag,

What do you have compiled in the kernel in order to achieve such good results using just the default 'radeon' drivers? Because i have the same setting as you do up there (excluding the chipID), and the most i can get is 300fps (as opposed to 1400+fps on fglrx drivers).
 
Old 03-23-2005, 09:40 AM   #7
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
hmmm....1400 fps.
i get 760 fps max. and 550 fps without the "pageflip " option.
but when i had the fglrx driver running it did also 760 fps.
( and that driver always froze the screen within a few minutes )

but do you have a 9200SE or maybe a 9200 ?

egag
 
Old 03-23-2005, 09:44 AM   #8
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Quote:
Originally posted by egag
hmmm....1400 fps.
i get 760 fps max. and 550 fps without the "pageflip " option.
but when i had the fglrx driver running it did also 760 fps.
( and that driver always froze the screen within a few minutes )

but do you have a 9200SE or maybe a 9200 ?

egag
Well i'm on a Mobility Radeon 9200. On fglrx i used to get around 1400fps, but there were ALOT of complications and crashes, so it wasn't worth it.

Now on 'radeon' i get 200 to 250 fps, but none of the games want to run on 3D... =/

But i don't have the Radeon drivers compiled in the kernel (under Graphics drivers afaik)... I wonder if you need that or not, as well as anything else that i might have missed.
 
Old 03-23-2005, 09:57 AM   #9
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
no, i don't have anything special in the kernel configuration. ( afik )
i just use the radeon driver and i got the info from :

http://dri.freedesktop.org/wiki/ATIR...ac6c242de7f3c1

does "glxinfo " give " hardware acceleration=yes " ?
if not, maybe try the ChipID and pageflip options.

acc. to the dri-pages 3D-accel. should work for you..

edit: btw: the radeon driver you build in the kernel is only the framebuffer driver, that's used in console-mode.
the drm-radeon driver is used in graphics mode.

egag

2nd edit =erroredit ( drm was xorg )

Last edited by egag; 03-23-2005 at 10:02 AM.
 
Old 03-23-2005, 10:37 AM   #10
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
erm... how do i know what my ChipID is ?

edit: hmm, very weird..
X11 logs give me this output, although my graphics card is 9200
Code:
(--) Chipset ATI Radeon Mobility 9000 (M9) Lf (AGP) found
(--) RADEON(0): Chipset: "ATI Radeon Mobility 9000 (M9) Lf (AGP)" (ChipID = 0x4c66)
root@xushi:~#

Last edited by xushi; 03-23-2005 at 10:43 AM.
 
Old 03-23-2005, 10:46 AM   #11
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
maybe it's not ok recognised

quote
--------------
You need to use the 'ChipID 0x4242' option in the device section to make
it recognize the 9200.
--------------

from :

http://users.actrix.co.nz/michael/radeon9200.html

( take a look there, a lot of info on 9200 )

egag
 
Old 03-23-2005, 10:48 AM   #12
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Sorry, forgot to mention.

I've tried 0x4242, all i get is a black screen. Tried 0x514d too.. same problem.

EDIT:

Found the right one.. 0x4c66.
Atleast i can get into X again.. but still no dri rendering.. bah.

Last edited by xushi; 03-23-2005 at 10:53 AM.
 
Old 03-23-2005, 05:41 PM   #13
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
do you have agp enabled ?
is the agpgart module loaded ?

also you can check /var/log/Xorg.0.log for warnings/errors.

egag
 
Old 03-23-2005, 06:00 PM   #14
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
EDIT:::::
==============
Ok few corrections here...

Still same problem, but good progress so far.

In kernel, i've set /dev/agpgart as module instead of built in, and i don't get error messages anymore. When i lsmod, i get
Code:
root@xushi:/usr/src/linux# lsmod
Module                  Size  Used by
radeon                 75072  0 
drm                    60308  1 radeon
snd_pcm_oss            48672  0 
snd_mixer_oss          17536  3 snd_pcm_oss
sr_mod                 13732  0 
usb_storage            29184  0 
scsi_mod               79688  2 sr_mod,usb_storage
snd_intel8x0           29504  2 
snd_ac97_codec         75320  1 snd_intel8x0
snd_pcm                84552  3 snd_pcm_oss,snd_intel8x0,snd_ac97_codec
snd_timer              22020  1 snd_pcm
snd_page_alloc          7620  2 snd_intel8x0,snd_pcm
agpgart                28904  1 drm
(Strange how 'radeon' isn't being used anymore.. hmm)

I also enabled DRI in kernel as module..

But still, glxinfo shows Direct rendering as : NO
and glxgears is around 250fps


EDIT 2
========
Xorg.0.log

Code:
(II) RADEON(0): [drm] loaded kernel module for "radeon" driver
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xf98d3000
(II) RADEON(0): [drm] mapped SAREA 0xf98d3000 to 0xb3ce7000
(II) RADEON(0): [drm] framebuffer handle = 0x98000000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available   
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xf98d3000 at 0xb3ce7000
(II) RADEON(0): Memory manager initialized to (0,0) (1680,8191)
(II) RADEON(0): Reserved area from (0,1050) to (1680,1052)
(II) RADEON(0): Largest offscreen area available: 1680 x 7139
(II) RADEON(0): Render acceleration enabled  
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)

Last edited by xushi; 03-23-2005 at 06:21 PM.
 
Old 03-23-2005, 06:21 PM   #15
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721

Rep: Reputation: 52
agpgart support is the general part.
the other module must match your chipset
( i have a via chipset , so i need a via-agp module )

and you need drm for ati radeon.

i allways make that 3 modules ( agpgart, via-agp, radeon )
maybe try that.
( don't forget to recompile the kernel also without the agp )

edit: didn't see your last post.....
looks ok, only agpgart should be loaded before the radeon....but u gueass agpgart is already
loaded by rc.modules.........so ???

egag

Last edited by egag; 03-23-2005 at 06:32 PM.
 
  


Reply

Tags
dont, help, live


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 Radeon 9200 driver installation queries Jimsta Linux - Hardware 0 01-17-2005 02:06 AM
ATI Radeon 9200 SE TV-OUT without ATI Driver? carboncopy Slackware 6 07-11-2004 09:30 AM
vmware/ xorg fullscreen problems with ati radeon 9200 isl01jbe Linux - Software 0 06-26-2004 11:42 AM
ATI Radeon 9200 on Debian, driver problems mrnicke Linux - Hardware 6 03-19-2004 01:46 PM
ATI Radeon 9200 vedio card driver please windyang12 Linux - Hardware 4 09-22-2003 08:43 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration