2 příspěvky / 0 new
Poslední
Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
pred instalaci ATI driveru rychlejsi nez po

zdravím,
nainstaloval jsem si suse 11.0 a byl jsem prijemne prekvapen ze mi fungovala akcelrovana grafika (nejakych 1600fps glxgears) ale preci jen to nebylo uplne ono (napr tuxracer mel misty pod 10fps) a taky mi pripadalo ze nektere examply programovani v opengl se nerenderuji uplne spravne.

Nainstaloval jsem si tedy ATI drivery ati-driver-installer-8-8-x86.x86_64.run (podle navodu s kernel source a podobne)
a instalace probleha bez problemu (bez erroru)

ale ve vysledku mam nizsi fps nez predtim (a to vyrazne glxgeras asi 190fps a v tuxraceru stablilne kolem 1fps),
dival jsem se do info (v Catalystu) a tam je ze poskytovatel opengl je Mesa.

Jde to jeste nejak dodatecne opravit?
resp. cim se to stalo? predtim v SuSE 10.3 mi ati ovladac fungoval slusne.
mam radeon9600
A pro zajimavost - cim to je ze v suse 11.0 jde jakz-takz 3D akcelerace hned po nainstalovani?

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
Dekuji, ale asi jste me uplne nepochopil

ad oprava - nemyslim si ze jde o "cudny" ovladac, je to aktualni ovladac na strankach AMD, odinstalovat a naistalovat jsem ho skousel (podle navodu ktery linkujete), pripada mi ale ze nejak "nerozumi" memu xorg.conf (tak si to vysvetluji, nerozumim tomu) preztoze jsem skousel vice xorg.conf - ruzne zalozni verze myslim ze v cetne te kterou suse vytvori ihned pri instalaci.

ad Zlate pravidlo - asi mate pravdu, ale je obtizne po provedeni "kroku zpet" si byt jisty jestli jsem na neco nezapomel a jestli je opravdu vsechno v nejakem defaultnim stavu. Navic je obtizne dohledat co ma clovek udelat zvlaste kdyz ani nevi v cem je problem, preinstalace zadne sofistikovane znalosti nepotrebuje. ad a,b] no to asi jsem oboje, linux mam v praci a do toho radsi moc nehrabu, ale doma ho mam opravdu spise k tomu abych experimentoval kdy ho uz na nej konecne budu moci uplne prejit z windows, hrat si s nim me prave ze moc nebavi :(, ale pripada mi snadnejsi programovat v nem (linkovat knihovny pro kompilator), ale ty se tykaji obvykle prave 3D grafiky.

pzn. - toto tema jsem chtel aby bylo dodeleno od otazky rozdilu v podpore meziradeno 9600 a 3650. Proto jsem tak udelal dva oddelene topicky. nyni resim sprovozneni 9600 a teprve do budoucna planuju koupit HD3650.

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
z ATI repozitaru to nejde

z ATI repozitaru to nejde, tady na koleji mame pristup pouze na repozitare vramic cesnetu (napr. sh.cvut.cz) ostatni blokuje proxy

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
no to jo, to uz sem pochopil

//////
tohle jsem napsal jeste nez se si precetl prispevek "Tohle je zajimave" a navazujici
//////

no to jo, to uz sem pochopil z toho xorg.conf

ale laciny trick prepsat "radeon" na "fglrx" nevysel, a nic sofistikovanejsiho neumim (kdyz to neumi aticonfig)

protoze mel jsem jako podezdreni ze jak tam je
# puvodni device[0]
Section "Device"
Identifier "Device[0]"
Driver "radeon"
VendorName "ATI"
BoardName "RV350 AP"
Option "GARTSize" "32"
BusID "1:0:0"
EndSection
#nove device [0]
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

tak ze je problem v tom ze se nacita to stare misto toho noveho, ale kdy to stare zrisim nebo kdyz v nem prepisu "radeon" na "fglrx" tak mi Xka nenastartujou.

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
Abych upresnil

DOMA, suse 11.0, Radeon9600, problem
------------------------------------

prokop@asija:~> fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.3)

prokop@asija:~> fgl_glxgears
Using GLX_SGIX_pbuffer
Segmentation fault

glxgears - 190fps

v praci, suse 10.3, Radeon9600, OK
----------------------------------

prokop@pc049e:~> fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI RADEON 9600 Series
OpenGL version string: 2.1.7415 Release

fgl_glxgears - OK
glxgears - 2000fps

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
A jeste vyspis xorg.conf

# /.../
# SaX generated X11 config file
# Created on: 2008-09-01T20:35:59+0200.
#
# Version: 8.1
# Contact: Marcus Schaefer , 2005
# Contact: SaX-User list
#
# Automatically generated by [ISaX] (8.1)
# PLEASE DO NOT EDIT THIS FILE!
#

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

Section "Files"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

Section "Module"
Load "dbe"
Load "type1"
Load "freetype"
Load "extmod"
Load "glx"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
Option "ZapWarning" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "us"
Option "XkbModel" "microsoftpro"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "12"
Option "Device" "/dev/input/mice"
Option "Name" "Logitech USB-PS/2 Optical Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "800x600" 38.2 800 832 912 1024 600 601 604 622
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "--> VESA"
ModelName "800X600@60HZ"
UseModes "Modes[0]"
HorizSync 31.0 - 38.0
VertRefresh 50.0 - 100.0
Option "DPMS"
Option "PreferredMode" "800x600"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "radeon"
VendorName "ATI"
BoardName "RV350 AP"
Option "GARTSize" "32"
BusID "1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
Aha vy jste to vlastne pasl :)

Jsem si techto dvou vasich prispevku jaksi nevsiml, ale vlastne uz jsem udelal presne co v nich pisete (tedy "Experiment"), s tim srovnanim konfigu to se musim podivat teprve v praci.

jinak experiment dopadl tak ze xserver nenabehnul, tak sem tam vratil zalozni xorg.conf kde mi jde to glxgeas na 1600fps...nejakou dobu s tim vystacim, spise mi vadi ze to nepodporuje glextensions jako pbuffer a podobne.

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
skusil jsem

tak jsem skusil porovnat xorg.conf z prace s tim doma

nasel sem tam hlavne 2 odlisnosti
v tom z prace je v
Section "Module"
polozka Load "dri"
ktera v tom doma neni //naivne jsem si rikal ze to je "load modul driveru"

dale v
Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection
chybi v tom z prace chybi BusID "1:0:0" //myslel sem si ze to muze znamenat ze se pokousi hledat kartu chybne na PCI-e misto AGP

ale kdyz sem obe modifikace skusil jak kazdou zvlast tak dohromady tak se nic nezmenilo (system fungoval ale porad s MESA)

Obrázek uživatele ProkopHapala
Offline
Naposledy viděn: 15 let 7 měsíců zpět
Připojen: 07.08.2007 - 09:36
xorg.conf z prace (tj. suse 10.3)

Tady davam jeste vypis toho co mi funguje v praci.
Ja sem tam nic chytrejsiho nez to "Load "dri"" a "BusID" nenasel,
tj. v obou jsou dve section device a monitor a sceen

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

Section "Files"
InputDevices "/dev/gpmdata"
InputDevices "/dev/input/mice"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/URW"
FontPath "/usr/share/fonts/Speedo"
FontPath "/usr/share/fonts/PEX"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/share/fonts/latin2/misc:unscaled"
FontPath "/usr/share/fonts/latin2/75dpi:unscaled"
FontPath "/usr/share/fonts/latin2/100dpi:unscaled"
FontPath "/usr/share/fonts/latin2/Type1"
FontPath "/usr/share/fonts/latin7/75dpi:unscaled"
FontPath "/usr/share/fonts/baekmuk:unscaled"
FontPath "/usr/share/fonts/japanese:unscaled"
FontPath "/usr/share/fonts/kwintv"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/uni:unscaled"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/ucs/misc:unscaled"
FontPath "/usr/share/fonts/ucs/75dpi:unscaled"
FontPath "/usr/share/fonts/ucs/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/misc:unscaled"
FontPath "/usr/share/fonts/hellas/75dpi:unscaled"
FontPath "/usr/share/fonts/hellas/100dpi:unscaled"
FontPath "/usr/share/fonts/hellas/Type1"
FontPath "/usr/share/fonts/misc/sgi:unscaled"
FontPath "/usr/share/fonts/xtest"
FontPath "/opt/kde3/share/fonts"
EndSection

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

Section "ServerFlags"
Option "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard[0]"
Driver "kbd"
Option "Protocol" "Standard"
Option "XkbLayout" "cz,us"
Option "XkbModel" "microsoftpro"
Option "XkbOptions" "grp:shift_toggle"
Option "XkbRules" "xfree86"
EndSection

Section "InputDevice"
Identifier "Mouse[1]"
Driver "mouse"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Logitech Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

Section "Modes"
Identifier "Modes[0]"
ModeLine "1280x1024" 107.0 1280 1360 1496 1712 1024 1025 1028 1059
ModeLine "1280x1024" 87.8 1280 1328 1360 1440 1024 1027 1034 1053 +hsync -vsync
ModeLine "1152x864" 105.0 1152 1224 1352 1552 864 865 868 902
ModeLine "1152x864" 96.8 1152 1224 1344 1536 864 865 868 900
ModeLine "1152x864" 89.6 1152 1224 1344 1536 864 865 868 897
ModeLine "1152x864" 86.8 1152 1200 1232 1312 864 867 871 895 +hsync -vsync
ModeLine "1152x864" 81.6 1152 1216 1336 1520 864 865 868 895
ModeLine "1024x768" 81.8 1024 1080 1192 1360 768 769 772 802
ModeLine "1024x768" 76.2 1024 1080 1192 1360 768 769 772 800
ModeLine "1024x768" 69.7 1024 1080 1184 1344 768 769 772 798
ModeLine "1024x768" 69.5 1024 1072 1104 1184 768 771 775 796 +hsync -vsync
ModeLine "1024x768" 64.1 1024 1080 1184 1344 768 769 772 795
ModeLine "800x600" 48.9 800 840 920 1040 600 601 604 627
ModeLine "800x600" 45.5 800 840 920 1040 600 601 604 625
ModeLine "800x600" 44.0 800 848 880 960 600 603 607 622 +hsync -vsync
ModeLine "800x600" 42.1 800 840 920 1040 600 601 604 623
ModeLine "800x600" 38.2 800 832 912 1024 600 601 604 622
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
Identifier "Monitor[0]"
VendorName "SAM"
ModelName "SAMSUNG SYNCMASTER"
UseModes "Modes[0]"
DisplaySize 338 270
HorizSync 30.0 - 81.0
VertRefresh 43.0 - 75.0
Option "DPMS"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection

Section "Device"
Identifier "Device[0]"
Driver "radeon"
VendorName "ATI"
BoardName "RV350 AP"
Option "GARTSize" "32"
BusID "1:0:0"
EndSection

Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600"
EndSubSection
EndSection

Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "DRI"
Group "video"
Mode 0660
EndSection