unofficial ASUS Notebook Forum
09. Jan 2009

Forum Suche Forum Übersicht Anmerkung: registrierte Benutzer können sich über neue Einträge benachrichtigen lassen Anmerkung: registrierte Benutzer können sich über neue Einträge benachrichtigen lassen

zum vorhergehenden Thema Thema drucken zum nächsten Thema

Übersicht ::  ASUS Mobile Computing ::  Linux ::  [AIGLX | XGL] + Compiz Fusion
moderiert von: Moderatoren

Zum aktuellsten Beitrag 

[AIGLX | XGL] + Compiz Fusion

YoMo verfasst: 03.12.2007, 21:54
Newbie
Newbie


registriert: Jul. 2007
Beiträge: 16

Status: offline
letzter Besuch: 18.10.08
Hi,

I am trying really hard to have Compiz Fusion works on my laptop Asus M6842NEUH with ATI Mobility Radeon 9700, Gentoo 2007. If you have a similar HW config and you got AIGLX or XGL works, please post your config (xorg.conf, make.conf, how you start XGL or Compiz...) ;)

Here a little summary of what I tried:
* ati-drivers 8.433 + AIGLX + Compiz Fusion: 'direct rendering: Yes', glxgears run on the average with 2800 FPS. Hard use of CPU, widows effects are slow, not fluid movement.
* ati-drivers any version + XGL: completely distorted screen
* opensource drivers + AIGLX + Compiz Fusion: 'direct rendering: Yes' glxgears run on the average with 1600 FPS (without compiz was 2600 FPS). Windows effects works fine, fluid movement, but some are not really responsive. Ex. scroll webpages with firefox is very slow.
* opensource drivers + XGL: 'direct rendering: No', graphics is globally slow.

I think it could work the third config, maybe is only a wrong xorg config.

Here my xorg.conf:
Code
  1. Section "ServerLayout"
  2.         Identifier     "X.org Configured"
  3.         Screen      0  "aticonfig-Screen[0]" 0 0
  4.         InputDevice    "Synaptics Mouse" "CorePointer"
  5. #       InputDevice    "Mouse1" "AlwaysCore"
  6.         InputDevice    "LogitechV450" "AlwaysCore"
  7.         InputDevice    "Keyboard0" "CoreKeyboard"
  8. #       Option         "BlankTime" "5" # Blank the screen (Fake)
  9. #       Option         "StandbyTime" "5" # Turn off screen (DPMS)
  10. #       Option         "SuspendTime"  "20"  # Full suspend
  11.         Option         "OffTime"  "5"  # Turn off
  12. EndSection
  13.  
  14. Section "Files"
  15.         FontPath     "/usr/share/fonts/misc:unscaled"
  16.         FontPath     "/usr/share/fonts/default"
  17.         FontPath     "/usr/share/fonts/Type1"
  18.         FontPath     "/usr/share/fonts/corefonts"
  19.         FontPath     "/usr/share/fonts/freefonts"
  20.         FontPath     "/usr/share/fonts/sharefonts"
  21.         FontPath     "/usr/share/fonts/terminus"
  22.         FontPath     "/usr/share/fonts/ttf-bitstream-vera"
  23.         FontPath     "/usr/share/fonts/unifont"
  24.         FontPath     "/usr/share/fonts/75dpi:unscaled"
  25.         FontPath     "/usr/share/fonts/100dpi:unscaled"
  26.         FontPath     "/usr/share/fonts/cyrillic"
  27.         FontPath     "/usr/share/fonts/dejavu"
  28.         FontPath     "/usr/share/fonts/urw-fonts"
  29.         FontPath     "/usr/share/fonts/artwiz"
  30.         FontPath     "/usr/share/fonts/encodings"
  31.         FontPath     "/usr/share/fonts/intlfonts"
  32.         FontPath     "/usr/share/fonts/liberation-fonts-ttf"
  33.         FontPath     "/usr/share/fonts/util"
  34. EndSection
  35.  
  36. Section "Module"
  37.         Load  "type1"
  38.         Load  "freetype"
  39.         Load  "record"
  40.         Load  "dbe"
  41.         Load  "extmod"
  42. #       Load  "GLcore"
  43.         Load  "dri"
  44.         Load  "drm"
  45.         Load  "glx"
  46. EndSection
  47.  
  48. Section "ServerFlags"
  49.         Option "AIGLX" "on"
  50.         Option "Xinerama" "off"
  51. EndSection
  52.  
  53. Section "Extensions"
  54.         Option "Composite" "enable"
  55.         Option "XVideo" "Enable"
  56. EndSection
  57.  
  58. Section "DRI"
  59.         Mode         0666
  60. EndSection
  61.  
  62. Section "InputDevice"
  63.         Identifier  "Keyboard0"
  64.         Driver      "kbd"
  65.         Option      "CoreKeyboard"
  66.         Option      "XkbRules" "xorg"
  67.         Option      "XkbModel" "pc105"
  68.         Option      "XkbLayout" "it"
  69. EndSection
  70.  
  71. Section "InputDevice"
  72.         Identifier  "Synaptics Mouse"
  73.         Driver      "synaptics"
  74.         Option      "Device" "/dev/input/mouse0"
  75.         Option      "Protocol" "auto-dev"
  76.         Option      "LeftEdge" "1700"
  77.         Option      "RightEdge" "5300"
  78.         Option      "TopEdge" "1700"
  79.         Option      "BottomEdge" "4200"
  80.         Option      "FingerLow" "25"
  81.         Option      "FingerHigh" "30"
  82.         Option      "MaxTapTime" "180"
  83.         Option      "MaxTapMove" "220"
  84.         Option      "VertScrollDelta" "100"
  85.         Option      "HorizScrollDelta" "0"
  86.         Option      "MinSpeed" "0.09"
  87.         Option      "MaxSpeed" "0.18"
  88.         Option      "AccelFactor" "0.0015"
  89.         Option      "SHMConfig" "on"
  90. #       Option      "Repeater"      "/dev/ps2mouse"
  91. EndSection
  92.  
  93. Section "InputDevice"
  94.         Identifier  "Mouse1"
  95.         Driver      "mouse"
  96.         Option      "Protocol" "IMPS/2"
  97. #       Option      "Device" "/dev/psaux"
  98.         Option      "Device" "/dev/input/mice"
  99.         Option      "ZAxisMapping" "4 5"
  100.         Option      "CorePointer"
  101. EndSection
  102.  
  103. Section "InputDevice"
  104.         Identifier "LogitechV450"
  105.         Driver "evdev"
  106.         Option "Name" "Logitech USB Receiver"
  107.         Option "Phys" "usb-*/input0"
  108.         Option "HWHEELRelativeAxisButtons" "7 6"
  109. EndSection
  110.  
  111. Section "Monitor"
  112.         Identifier   "aticonfig-Monitor[0]"
  113.         DisplaySize  404 303
  114.         Option       "VendorName" "ATI Proprietary Driver"
  115.         Option       "ModelName" "Generic Autodetecting Monitor"
  116.         Option       "DPMS" "true"
  117. EndSection
  118.  
  119. Section "Device"
  120.         Identifier  "aticonfig-Device[0]"
  121.         Driver      "radeon"
  122. #       Option      "VideoOverlay" "on" #Video Overlay for the Xv extension
  123. #       Option      "MonitorLayout" "NONE, LVDS"
  124. #       Option      "BackingStore" "on"
  125. #       Option      "RenderAccel" "on"
  126. #       Option      "AccelDFS"    "1"
  127.         # === From asusforum.encke.net ===
  128.         Option      "AccelMethod" "XAA" # or EXA
  129.         Option      "AGPFastWrite" "1"
  130.         Option      "ColorTiling" "1"
  131.         Option      "EnablePageFlip" "1"
  132.         Option      "GARTSize" "64"
  133.         Option      "XAANoOffscreenPixmaps" "1"
  134.         VendorName  "ATI Technologies Inc"
  135.         BoardName   "RV350 [Mobility Radeon 9600 M10]
  136.         BusID       "PCI:1:0:0"
  137. EndSection
  138. Section "Screen"
  139.         Identifier "aticonfig-Screen[0]"
  140.         Device     "aticonfig-Device[0]"
  141.         Monitor    "aticonfig-Monitor[0]"
  142.         DefaultDepth     24
  143.         SubSection "Display"
  144.                 Viewport   0 0
  145.                 Depth     24
  146.                 Modes     "1400x1050"
  147.         EndSubSection
  148. EndSection


Here make.conf:
Code
  1. # These settings were set by the catalyst build script that automatically
  2. # built this stage.
  3. # Please consult /etc/make.conf.example for a more detailed example.
  4. CFLAGS="-O2 -march=i686 -pipe -D__STDC_CONSTANT_MACROS"
  5. CXXFLAGS="${CFLAGS}"
  6. # This should not be changed unless you know exactly what you are doing.  You
  7. # should probably be using a different stage, instead.
  8.  
  9. CHOST="i686-pc-linux-gnu"
  10. MAKEOPTS="-j2"
  11.  
  12. INPUT_DEVICES="keyboard mouse synaptics"
  13.  
  14. # ati-drivers
  15. #VIDEO_CARDS="fglrx vesa fbdev"
  16. # ati-opensource-drivers
  17. VIDEO_CARDS="radeon vesa fbdev"
  18.  
  19. USE="qt3 qt3support qt4 kde cdr vcd dvd dvdr dvdread dvdnav hal X truetype type1 freetype acpi alsa oss
  20.      gtk a52 aac amr dts live matroska real theora win32codecs xanim xvid dga gif jpeg opengl png sdl
  21.      xv mmx mmx2 mmxext sse sse2 bidi mpeg ogg vorbis quicktime rtc xvmc arts midi flac mad mp2 mp3 divx
  22.      gmedia realmedia wmp ithreads gstreamer aalib libcaca speex ffmpeg ldap cdparanoia wifi cddb v4l v4l2
  23.      css dbus gnome avahi encode dri"
  24.  
  25. GENTOO_MIRRORS="ftp://mirror.ing.unibo.it/gentoo/"
  26.  
  27. SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
  28.  
  29. PORTDIR_OVERLAY="/usr/portage/local/ /usr/portage/local/layman/xeffects/"
  30.  
  31. # Portage Overlay
  32. source /usr/portage/local/layman/make.conf


I start Compiz Fusion with the following script:
Code
  1. LIBGL_ALWAYS_INDIRECT=true compiz --replace --sm-disable ccp &
  2. emerald --replace &


Regards
Nach oben  Profil PM senden
 
Flynn verfasst: 04.12.2007, 02:20
Administrator
Administrator
Flynn

registriert: Jan. 2004
Beiträge: 554

Status: offline
letzter Besuch: 22.09.08
Maybe you can accelerate Firefox by typing "about:config" in the address bar and then search for (or create if it doesn't exist) the property "general.smoothScroll" and set it to the boolean value "false".

You might have to restart Firefox to get the effect.


grüsse,

O. Encke

ASUS M6826N | BANIAS 1.5GHz | SXGA+ | 1280MB | 60GB HDD | R9600@420/250 | Ubuntu 8.04.1 "Hardy";
Raidsonic iTank-i302 (USB+eSATA) + Maxtor MaxLine3 7V300F0
Nach oben  Profil PM senden Webseite
 
YoMo verfasst: 05.12.2007, 05:51
Newbie
Newbie


registriert: Jul. 2007
Beiträge: 16

Status: offline
letzter Besuch: 18.10.08
FlynnMaybe you can accelerate Firefox by typing "about:config" in the address bar and then search for (or create if it doesn't exist) the property "general.smoothScroll" and set it to the boolean value "false".

You might have to restart Firefox to get the effect.


Is not firefox the problem but a drastic global decrease of 3D performance, even the scroll in Opera or Konsole is slow. With ati opensource drivers + AIGLX I got the best copiz-fusion performance ever, but 1000 FPS less with glxgears.
Nach oben  Profil PM senden
 


Zur Teilnahme an der Diskussion bitte anmelden.

Powered by pnForum Version 2.6

Wer ist Online

Mitglieder: 4914
Gäste online: 0
Mitglieder online: 0

Anmeldung

Forum Stats


12 aktuellste Beiträge:

Gesamtstatistik:
  • Themen: 5783
  • Beiträge: 43405

 

Anmeldung





 


Asus Notebooks