Ati

Uzeo sam novu (!?) grafičku karticu, ATI Radeon 9200 SE sa 128 MB DDR-a.
U XFree86Config-4 sam podesio driver na ati i stavio on board memory na 131072.
Bez problema sam startao X.

Pitanje: da li je “generic ati” driver koji dođe uz Linux distribuciju jedini ati driver za Linux? Na ATI stranici sam našao samo jedan njihvo driver za Linux. Da li su to isti driveri?
Odnosno, da li postoji ATI Proprietary Linux driver za pojedine verzije kartica ili se koristi jedan za sve?

Postoje tri drajvera za ATI kartice.
Jedan je zvanični sa www.ati.com koji je closed source/proprietary i koji bi trebalo da podržava sve kartice i 3D na svim karticama, ali on baš i nije sjajan (nije tako dobar kao recimo nVidia Linux drajveri). Osim toga ljudi se žale na razne probleme prilikom instalacije, podršku za pojedine distribucije itd.
Open-source drajver “ati” je onaj koji uglavnom dolazi uz distribucije, koji je sasvim dobro podržan i koji podržava 3D samo na starijim ATIjevim karticama (mislim da je zadnja podržana Radeon 9200 ali nisam siguran).
Treći je “ati.2” koji se još zove i Gatos koji podržava samo 2D ali ima podršku za TV in/out što ovaj drugi OSS drajver nema.

Ma meni radi ok. Interesuje me samo koliko su mi mogućnosti grafičke realno iskorištene. Instalirao sam driver koji je došao uz Linux. Ima li neki program kojim mogu testirati karticu?

Ima li gdje više informacija o ovom open source ati driveru (ati, ne gatos)?

Nema nigdje informacija, i mene je iznenadilo da su neki ljudi imali 3D sa free driverom npr. testni_hamo.

Testirati možeš sa Quake 3 :smiley: (može se skinuti sa id software-ovog ftp servera).

Ok, zainatio sam se da nađem zvanični sajt, pa evo ga:
http://dri.sourceforge.net
http://dri.sourceforge.net/cgi-bin/moin.cgi/ATIRadeon

Za (grubo) testiranje kertice pokreni ‘glxgears’ iz xterma

Orijentacije radi:

GeForceMX 4, X11R6.8.1 (RenderAccel off),
16-bit color 2300 FPS
24-bit color 1300 FPS

anonim@cudoviste:~> glxgears
5738 frames in 5.0 seconds = 1147.600 FPS
5526 frames in 5.0 seconds = 1105.200 FPS
5776 frames in 5.0 seconds = 1155.200 FPS

ati radeon 7200 sa 64 MB
samo sto driver nije “ati” nego “radeon”

[quote]Section “Device”
BoardName “Radeon QD”
BusID “1:0:0”
Driver “radeon”
Identifier “Device[0]”
Screen 0
Option “Rotate” “off”
VendorName “ATI”
EndSection[/quote]

Ma glxgears nije nikakav test, on ti samo govori da li imaš akceleraciju ili ne.

Ali pošto možeš upoređivati rezultate ‘glxgears’ programa sa drugim mašinama => mislim da se kvalificira kao (uporedni) test. Ili to, ili meni treba brain surgery .

Htio sam reći da će ti glxgears dati da je npr. neka najnovija ATI kartica 3 puta brža od ekvivalentne nVidia kartice mada to nema veze sa životom, jer se testiraju neke stvari koje se uopšte ne koriste u nekim stvarnim aplikacijama. To je kao da uspoređuješ brzinu modernih procesora onim starinskim benchmarcima kao što je Erastotenovo sito, shell sort i slični.

3041 frames in 5.0 seconds = 608.200 FPS 3038 frames in 5.0 seconds = 607.600 FPS 3044 frames in 5.0 seconds = 608.800 FPS 3041 frames in 5.0 seconds = 608.200 FPS

Jesu li ovo iole normalni rezultati za ATI Radeon 9200 SE na 128 MB RAM-a?

Ako poredim ovo sa

[quote]
anonim@cudoviste:~> glxgears
5738 frames in 5.0 seconds = 1147.600 FPS
5526 frames in 5.0 seconds = 1105.200 FPS
5776 frames in 5.0 seconds = 1155.200 FPS

ati radeon 7200 sa 64 MB
samo sto driver nije “ati” nego “radeon” [/quote]

čini mi se da i nije baš neka performansa.

nije ti podrzana/ukljucena 3d akceleracija!

Kako to da uključim?

Moraš pod Section “Module” imati opciju Load “glx”, dalje pod Section “Device” moraš imati Driver “radeon” Option “DPMS”. Javi ako bude problema.

OK, pod Module, bila je već opcija Load “glx”

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"
EndSection[/code]

Pod Section "Device" promijenio sam Driver sa "ati" na "radeon" i uključio opciju "DPMS"

[code]Section "Device"
        Identifier      "ATI Radeon 9200 SE"
        Driver          "radeon"
        VideoRam        131072
        Option          "DPMS"
EndSection

I dalje, rezultat glxgears-a je

3068 frames in 5.0 seconds = 613.600 FPS 3067 frames in 5.0 seconds = 613.400 FPS 3068 frames in 5.0 seconds = 613.600 FPS 3067 frames in 5.0 seconds = 613.400 FPS 3067 frames in 5.0 seconds = 613.400 FPS

Kod mene:

[code]anonim@cudoviste:~> cat /etc/X11/XF86Config

/…/

SaX generated XFree86 config file

Created on: 2004-08-14T03:40:19-0700.

Version: 4.8

Contact: Marcus Schaefer sax@suse.de, 2002

Automatically generated by [ISaX] (4.8)

PLEASE DO NOT EDIT THIS FILE!

Section "Files"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/local"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/latin2/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/kwintv"
FontPath "/usr/X11R6/lib/X11/fonts/truetype"
FontPath "/usr/X11R6/lib/X11/fonts/uni:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/CID"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/hellas/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/misc/sgi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
InputDevices "/dev/ttyS0"
InputDevices "/dev/ttyS1"
InputDevices "/dev/ttyS2"
InputDevices "/dev/ttyS3"
InputDevices "/dev/ttyS4"
InputDevices "/dev/ttyS5"
InputDevices "/dev/ttyS6"
InputDevices "/dev/ttyS7"
InputDevices "/dev/ttyS8"
InputDevices "/dev/psaux"
InputDevices "/dev/logibm"
InputDevices "/dev/sunmouse"
InputDevices "/dev/atibm"
InputDevices "/dev/amigamouse"
InputDevices "/dev/atarimouse"
InputDevices "/dev/inportbm"
InputDevices "/dev/gpmdata"
InputDevices "/dev/mouse"
InputDevices "/dev/usbmouse"
InputDevices "/dev/adbmouse"
InputDevices "/dev/input/mice"
InputDevices "/dev/input/event0"
InputDevices "/dev/pointer0"
InputDevices "/dev/pointer1"
InputDevices "/dev/pointer2"
InputDevices "/dev/pointer3"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
Option “RandR” "on"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
Load "dri"
EndSection

Section "InputDevice"
Driver "Keyboard"
Identifier "Keyboard[0]"
Option “Protocol” "Standard"
Option “XkbLayout” "us"
Option “XkbModel” "pc104"
Option “XkbRules” "xfree86"
EndSection

Section "InputDevice"
Driver "mouse"
Identifier "Mouse[1]"
Option “Buttons” "7"
Option “Device” "/dev/input/mice"
Option “Name” "Autodetection"
Option “Protocol” "explorerps/2"
Option “Vendor” "Sysp"
Option “ZAxisMapping” "4 5"
EndSection

Section "Monitor"
DisplaySize 280 210
HorizSync 28-70
Identifier "Monitor[0]"
ModelName "105B (105B1)"
Option "DPMS"
VendorName "PHILIPS"
VertRefresh 50-160
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline “1280x1024” 105.15 1280 1360 1496 1712 1024 1025 1028 1059
Modeline “1280x1024” 125.14 1280 1368 1504 1728 1024 1025 1028 1065
Modeline “1280x1024” 145.69 1280 1376 1512 1744 1024 1025 1028 1071
Modeline “1280x1024” 165.29 1280 1376 1512 1744 1024 1025 1028 1077
Modeline “1280x1024” 186.80 1280 1376 1520 1760 1024 1025 1028 1083
Modeline “1280x1024” 207.19 1280 1376 1520 1760 1024 1025 1028 1090
Modeline “1280x1024” 229.69 1280 1384 1528 1776 1024 1025 1028 1096
Modeline “1280x1024” 250.74 1280 1384 1528 1776 1024 1025 1028 1103
Modeline “1280x1024” 271.80 1280 1384 1528 1776 1024 1025 1028 1109
Modeline “1024x768” 86.18 1024 1088 1200 1360 768 769 772 803
Modeline “800x600” 36.88 800 832 912 1024 600 601 604 621
Modeline “800x600” 44.13 800 840 920 1040 600 601 604 624
Modeline “800x600” 51.73 800 840 928 1056 600 601 604 628
Modeline “800x600” 58.73 800 840 928 1056 600 601 604 632
Modeline “800x600” 66.71 800 848 936 1072 600 601 604 635
Modeline “800x600” 73.98 800 848 936 1072 600 601 604 639
Modeline “800x600” 82.55 800 856 944 1088 600 601 604 643
Modeline “800x600” 90.10 800 856 944 1088 600 601 604 647
Modeline “800x600” 97.59 800 856 944 1088 600 601 604 650
Modeline “640x480” 23.06 640 656 720 800 480 481 484 497
Modeline “640x480” 27.74 640 664 728 816 480 481 484 500
Modeline “640x480” 32.64 640 672 736 832 480 481 484 503
Modeline “640x480” 36.97 640 672 736 832 480 481 484 505
Modeline “640x480” 42.22 640 680 744 848 480 481 484 508
Modeline “640x480” 46.80 640 680 744 848 480 481 484 511
Modeline “640x480” 51.43 640 680 744 848 480 481 484 514
Modeline “640x480” 57.18 640 680 752 864 480 481 484 517
Modeline “640x480” 62.12 640 680 752 864 480 481 484 521
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes “1280x1024” “1024x768” “800x600” "640x480"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

Section "Device"
BoardName "Radeon QD"
BusID "1:0:0"
Driver "radeon"
Identifier "Device[0]"
Screen 0
Option “Rotate” "off"
VendorName "ATI"
EndSection

Section "ServerLayout"
Identifier "Layout[all]"
InputDevice “Keyboard[0]” "CoreKeyboard"
InputDevice “Mouse[1]” "CorePointer"
Option “Clone” "off"
Option “Xinerama” "off"
Screen "Screen[0]"
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection[/code]

Ima li veze to što mi je ploča malo starija i što ima 4X AGP a ne 8X AGP?

Mislim da nema. Da li se u necemu razlikuje moja config datoteka od tvoje ?

Hajde Amare prođi se glxgears-a i probaj pokrenuti neku igru, recimo TuxRacer ili Chromium. :slight_smile:

Tux Racer radi bez problema. Poenta jeste u tome da mi sve radi kako treba, ali kada koristim programe koji ne opterećavaju grafičku previše. Nisam je probao opteretiti nekim zahtjevnijim programom i zbog toga ne znam da li mogu iskoristiti sve mogućnosti kartice. Sudeći po glxgears-u, kartica se ponaša kao da ima manje od 64 MB RAM-a.