View previous topic :: View next topic |
Author |
Message |
sigobox n00b
Joined: 29 Nov 2010 Posts: 5
|
Posted: Sat Dec 04, 2010 1:43 pm Post subject: Przesuwanie, zmiana rozmiaru okien - skokowa zmiana |
|
|
Nurtuje mnie to, dlaczego zmiana rozmiaru okien czy ich przesuwanie zużywa czas CPU, nie GPU. Dodatkowo, okna oparte o GTK (używam GNOME), działają płynniej. Jeżeli chodzi o okna na QT, tutaj jest już gorzej - przykładowo zmiana rozmiaru okna opery, jest straszna, zmiana odbywa się całkowicie skokowo (tzw. ścina obraz).
Czy mogę coś z tym zrobić?
Poniżej trochę logów.
Code: | $ eselect opengl list
Available OpenGL implementations:
[1] nvidia *
[2] xorg-x11 |
Code: | $ sudo lspci | grep -i vga
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1) |
Code: | $ eix -Ic nvidia
[I] media-video/nvidia-settings (195.36.24@08/05/10): NVIDIA Linux X11 Settings Utility
[I] x11-drivers/nvidia-drivers (195.36.31@10/24/10): NVIDIA X11 driver and GLX libraries
Found 2 matches. |
|
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sat Dec 04, 2010 2:28 pm Post subject: Re: Przesuwanie, zmiana rozmiaru okien - skokowa zmiana |
|
|
sigobox wrote: | Poniżej trochę logów. |
Ja tam logow nie widze. A tym bardziej brakuje konfigu. _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
sigobox n00b
Joined: 29 Nov 2010 Posts: 5
|
Posted: Sat Dec 04, 2010 3:19 pm Post subject: |
|
|
Właściwie masz rację. Mam dwa monitory, dlatego sekcja Screen trochę niestandardowa.
Code: | Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowEmptyInput" "0"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
EndSection
Section "ServerFlags"
Option "Xinerama" "0"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "pl"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "1"
EndSection
Section "Monitor"
Identifier "Monitor0"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "1"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT-0: nvidia-auto-select +1440+0, CRT-1: nvidia-auto-select +0+0"
EndSection
Section "Extensions"
Option "Composite" "1"
EndSection |
|
|
Back to top |
|
|
SlashBeast Retired Dev
Joined: 23 May 2006 Posts: 2922
|
Posted: Sat Dec 04, 2010 7:27 pm Post subject: |
|
|
Zalezy jaki menager okien (np. fluxbox wyraznie wolniej rysuje okna od openboksa) i czy uzywa composite czy nie. |
|
Back to top |
|
|
Belliash Advocate
Joined: 24 Nov 2004 Posts: 2503 Location: Wroclaw, Poland
|
Posted: Sat Dec 04, 2010 8:03 pm Post subject: |
|
|
Code: | Section "Device"
Identifier "Device[0]"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce GTS 360M"
Option "AddARGBVisuals" "true"
Option "AddARGBGLXVisuals" "true"
Option "AllowGLXWithComposite" "true"
Option "DisableGLXRootClipping" "true"
Option "DynamicTwinView" "false"
Option "Mobile" "1"
Option "NoFlip" "true"
Option "NoLogo" "true"
Option "RenderAccel" "on"
Option "TrippleBuffer" "false"
Option "UseEdidFreqs" "false"
Option "UseEvents" "false"
Option "XAANoOffscreenPixmaps" "true"
EndSection |
Code: | Section "DRI"
Group "video"
Mode 0666
EndSection |
Code: | Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection |
Code: | Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Option "AddARGBVisuals" "true"
Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection |
Code: | Section "ServerLayout"
Identifier "Layout[0]"
Screen 0 "Screen[0]" 0 0
InputDevice "Mouse[0]" "CorePointer"
InputDevice "Keyboard[0]" "CoreKeyboard"
InputDevice "TouchPad[0]" "SendCoreEvents"
Option "AIGLX" "true"
EndSection |
To to co moze Cie zainteresowac... Tez przechodzilem przez rozne problemy z przycinaniem, i nie tylko zreszta, a po paru zabiegach problemy oeszly w niepamiec.
Mozesz pokopiowac te ustawienia i sprawdzic czy cos zmienia w Twoim przypadku _________________ Asio Software Technologies
Belliash IT Weblog |
|
Back to top |
|
|
sigobox n00b
Joined: 29 Nov 2010 Posts: 5
|
Posted: Sat Dec 04, 2010 11:31 pm Post subject: |
|
|
Kiedyś próbowałem tych ustawień, dla pewności przetestowałem również i teraz - mieszałem, zmieniałem; efektu niestety brak. Nadal wygląda to w ten sposób.
Tak jak wspomniałem, używam GNOME. |
|
Back to top |
|
|
|