Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Hardware => Téma založeno: Tomáš Karger 01 Září 2008, 16:09:17
-
Ahoj, mám notebook Compaq Evo N800v s grafickou kartou ATI Radeon Mobility 7500. Po instalaci Ubuntu 8.04 mi sice veškeré grafické prostředí naběhlo v pořádku a karta se tváří funkčně.
glxinfo | grep direct vrací Direct rendering:Yes a glxgears se pohybují kolem 1000FPS. Když ale běží, tak si nejde nevšimnout nepříjemného zatížení procesoru (skoro 90%), které doprovází i ostatní procesy pracující s grafikou - načítání webových stránek, flashů, her atd. To mě vede k názoru, že se o vykreslování stará procesor a ne grafická karta (což vše značně zpomaluje). Nevíte někdo prosím jak ji přinutit makat? :)
Díky za každou radu.
-
Ještě pro upřesnění, tady je výpis z mého /etc/X11/xorg.conf:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cz"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Configured Video Device"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
-
Aktualizace: upravil jsem /etc/X11/xorg.conf podle návodu, který jsem našel tady:
https://help.ubuntu.com/community/RadeonDriver
takže vypadá takhle:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cz"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Radeon 7500"
Driver "ati"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "DynamicClocks" "on"
# Option "EnablePageFlip" "true"
Option "TripleBuffer" "true"
Option "DMAForXv" "true"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
což mi snížilo zatížení procesoru u glxgears asi na 80%.
Pořád to ale nefunguje tak jak by mělo...
-
Podařilo se mi vyřešit ten problém s pomocí lidí na anglickém fóru. Pro jedince vládnoucí tímto jazykem zde http://ubuntuforums.org/showthread.php?t=912283&highlight=Radeon+7500
Jinak ve zkratce, můj xorg.conf teď vypadá takto:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "cz"
Option "XkbOptions" "lv3:ralt_switch"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection
Section "Device"
Identifier "Radeon 7500"
Driver "ati"
BusID "PCI:1:0:0"
Option "XAANoOffscreenPixmaps"
Option "VBERestore" "true"
Option "DynamicClocks" "on"
Option "RenderAccel" "true"
Option "ColorTiling" "yes"
EndSection
Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Radeon 7500"
DefaultDepth 16
EndSection
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Synaptics Touchpad"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
Section "Module"
Load "dri"
EndSection
Důležité je tam zejména to DefaultDepth v sekci Screen - markantně to zvýšilo výkon (později jsem ale zjistil že dělá problémy při přehrávání videa takže jsem to odpoznámkoval).
Dále sekce Module na konci je jen ujištění že se načte direct rendering - občas mi to dělalo problémy.
Doinstaloval jsem si ještě balík driconf, který umožňuje lepší ovládání grafické karty. TCL mode jsem nastavil na hardware a zapnul HyperZ boost - další vylepšení výkonu.
S těmito úpravami a za pomocí malého prográmku compizcheck (viz. http://forlong.blogage.de/entries/pages/Compiz-Check) se mi podařilo i plynule rozchodit Compiz.
Co se týče sekaných videjí na YouTube, problém byl spíš v nainstalovaném Flash playeru. Ten jsem přeinstaloval podle tohoto návodu (nejen na flash) http://ubuntuforums.org/showthread.php?t=766683&highlight=Radeon+7500
V sekci Troubleshooting najdete část zabývající se Adobe flash playerem.
To by mělo být asi tak vše. Třeba to v budoucnu někomu pomůže ;)