LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Ati Radeon 9200 SE (xorg 6.8.0) driver (HELP please!) (http://www.linuxquestions.org/questions/slackware-14/ati-radeon-9200-se-xorg-6-8-0-driver-help-please-304994/)

apinta10 03-23-2005 05:00 AM

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.

xushi 03-23-2005 06:28 AM

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.

apinta10 03-23-2005 06:53 AM

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.

xushi 03-23-2005 07:44 AM

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

egag 03-23-2005 08:07 AM

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

xushi 03-23-2005 08:29 AM

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).

egag 03-23-2005 08:40 AM

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

xushi 03-23-2005 08:44 AM

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.

egag 03-23-2005 08:57 AM

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 )

xushi 03-23-2005 09:37 AM

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:~#


egag 03-23-2005 09:46 AM

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

xushi 03-23-2005 09:48 AM

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.

egag 03-23-2005 04:41 PM

do you have agp enabled ?
is the agpgart module loaded ?

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

egag

xushi 03-23-2005 05:00 PM

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)


egag 03-23-2005 05:21 PM

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


All times are GMT -5. The time now is 01:21 AM.