You are not logged in.

#1 2006-12-12 16:59:16

arialis111
Member
Registered: 2006-12-12
Posts: 63

Kernel 2.6.19 and ATI Radeon 9200?

Hello, that's my first post and big (in my mind) problem with radeon 9200 and kernel26 2.6.19. For my card i must use ati-fglrx-8-28-2 and with kernel 2.6.18 all was ok but in new i dont't have acceleration. J have a questions:
- is other way than compiling kernel or using oss drivers? J have compiled closed drivers but i get :

[root@archlinux andrzej]# makepkg
[root@archlinux andrzej]# makepkg
==> Making package: ati-fglrx 8.28.8-2 (Mon Dec 11 19:12:28 CET 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found ati-driver-installer-8.28.8-x86.run in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Starting build()...
Creating directory archive_files
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.28.8..................................................................................................
....................................................................................................................
.....................................................................................................................
.....................................................................................................................
.....................
make: Entering directory `/usr/src/linux-2.6.19-ARCH'

  CC [M]  /home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.o
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:89:26: error: linux/config.h: No such file or directory
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:233: error: 'UTS_RELEASE' undeclared here (not in a function)
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:447: warning: initialization from incompatible pointer type
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c: In function 'firegl_stub_open':
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:570: warning: assignment discards qualifiers from pointer target type
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_request_irq':
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:2492: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_vm_map':
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: 'VM_SHM' undeclared (first use in this function)
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: (Each undeclared identifier is reported only once
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: for each function it appears in.)
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c: In function '__ke_smp_call_function':
/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.c:3880: warning: passing argument 1 of 'smp_call_function' from incompatible pointer type
make[1]: *** [/home/andrzej/src/lib/modules/fglrx/build_mod/firegl_public.o] Error 1
make: *** [_module_/home/andrzej/src/lib/modules/fglrx/build_mod] Error 2
make: Leaving directory `/usr/src/linux-2.6.19-ARCH'
==> ERROR: Build Failed.  Aborting... 

I found config.h but rest of bug still exist. J'm very angree becouse isn't first time when i have trouble with ATI    :x You ask why i don't want oss drivers, that is my argument:

[andrzej@archlinux ~]$ glxgears 
3634 frames in 5.0 seconds = 726.699 FPS
3486 frames in 5.0 seconds = 697.094 FPS
3632 frames in 5.0 seconds = 726.398 FPS

that is in small window, next:

375 frames in 5.0 seconds = 74.992 FPS
428 frames in 5.0 seconds = 85.431 FPS
429 frames in 5.0 seconds = 85.604 FPS

that's in fullscreen  :shock:  :x .
Someone can help me, please. Sorry for my english.  A here is some my conf. files:
a)xorg - from ubuntu

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

#Section "Files"
#    FontPath    "/usr/share/X11/fonts/misc"
#    FontPath    "/usr/share/X11/fonts/cyrillic"
#    FontPath    "/usr/share/X11/fonts/100dpi/:unscaled"
#    FontPath    "/usr/share/X11/fonts/75dpi/:unscaled"
#    FontPath    "/usr/share/X11/fonts/Type1"
#    FontPath    "/usr/share/X11/fonts/100dpi"
#    FontPath    "/usr/share/X11/fonts/75dpi"
    # path to defoma fonts
#    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
#EndSection

Section "Module"
    Load    "bitmap"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "kbd"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc105"
    Option        "XkbLayout"    "pl"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ExplorerPS/2"
    Option        "ZAxisMapping"        "4 5"
    Option        "Emulate3Buttons"    "true"
EndSection

#Section "InputDevice"
# Driver        "wacom"
#Identifier    "stylus"
# Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
#  Option        "Type"          "stylus"
#  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
#  Driver        "wacom"
#  Identifier    "eraser"
#  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
#  Option        "Type"          "eraser"
#  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

#Section "InputDevice"
#  Driver        "wacom"
#  Identifier    "cursor"
#  Option        "Device"        "/dev/wacom"          # Change to 
                                                      # /dev/input/event
                                                      # for USB
#  Option        "Type"          "cursor"
#  Option        "ForceDevice"   "ISDV4"               # Tablet PC ONLY
#EndSection

Section "Device"
    Identifier    "Silicon Integrated Systems (SiS) 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP"
    Driver        "radeon"
    BusID        "PCI:1:0:0"
    Option          "VideoOverlay"    "on"
        Option          "OpenGLOverlay"    "off"
EndSection

Section "Monitor"
    Identifier    "SyncMaster"
    Option        "DPMS"
    HorizSync    30-85
    VertRefresh    50-160
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Silicon Integrated Systems (SiS) 661FX/M661FX/M661MX/741/M741/760/M760 PCI/AGP"
    Monitor        "SyncMaster"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
#    InputDevice     "stylus" "SendCoreEvents"
#    InputDevice     "cursor" "SendCoreEvents"
#    InputDevice     "eraser" "SendCoreEvents"
EndSection

Section "DRI"
    Mode    0666
EndSection

b)rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/unimaps
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="pl_PL.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Warsaw"
KEYMAP="pl"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=()
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="archlinux"
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="dhcp"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)
#
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network-profiles
#
#NET_PROFILES=(main)

#
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond dbus hal slim)


# End of file

Offline

#2 2006-12-12 21:44:21

vredfreak
Member
Registered: 2004-11-20
Posts: 66

Re: Kernel 2.6.19 and ATI Radeon 9200?

I also have a ATI 9200, and it works quite well for me with the built-in xorg drivers.  I can even use beryl and aiglx quite well.

And I certainly wouldn't base my opinion of which driver to use on the output of glxgears.

If you're willing to give the OSS drivers a go, make sure you have libdrm installed.  Aside from that, here are the differences between your xorg.conf and mine:

In "Section Device",

I do not have any lines about "VideoOverLay" or "OpenGLOverLay", but adding 'Option    "EnablePageFlip"     "True" definitely boosted my fps.

Just so you know, that gets me around 2100 fps in glxgears.


Hi.  I'm a sig.  What are you?

Offline

#3 2006-12-13 06:49:39

arialis111
Member
Registered: 2006-12-12
Posts: 63

Re: Kernel 2.6.19 and ATI Radeon 9200?

I do not have any lines about "VideoOverLay" or "OpenGLOverLay"

Well, on polish ubuntu forum i get info about mplayer and fullscreen. They tell me that help me.

but adding 'Option "EnablePageFlip" "True" definitely boosted my fps.

You're my God  smile  big_smile Now i have:

5196 frames in 5.0 seconds = 1039.028 FPS
5205 frames in 5.0 seconds = 1040.953 FPS
5206 frames in 5.0 seconds = 1041.011 FPS

Maybe isn't so much but Enemy-Territosry works some worst than Closed Drivers but is ok. Very thanks for you. smile

Offline

#4 2006-12-13 07:54:17

vredfreak
Member
Registered: 2004-11-20
Posts: 66

Re: Kernel 2.6.19 and ATI Radeon 9200?

glad it helped.  big_smile


Hi.  I'm a sig.  What are you?

Offline

Board footer

Powered by FluxBB