Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index International Gentoo Users Polskie forum (Polish) Instalacja i sprzęt
  • Search

Przesuwanie, zmiana rozmiaru okien - skokowa zmiana

Pytania i problemy związane z instalacją Gentoo oraz sprzętem

Moderator: SlashBeast

Post Reply
  • Print view
Advanced search
6 posts • Page 1 of 1
Author
Message
sigobox
n00b
n00b
Posts: 5
Joined: Mon Nov 29, 2010 7:15 pm

Przesuwanie, zmiana rozmiaru okien - skokowa zmiana

  • Quote

Post by sigobox » Sat Dec 04, 2010 1:43 pm

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: Select all

$ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Code: Select all

$ sudo lspci | grep -i vga
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)

Code: Select all

$ 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.
Top
Belliash
Advocate
Advocate
User avatar
Posts: 2503
Joined: Wed Nov 24, 2004 1:39 pm
Location: Wroclaw, Poland
Contact:
Contact Belliash
Website

Re: Przesuwanie, zmiana rozmiaru okien - skokowa zmiana

  • Quote

Post by Belliash » Sat Dec 04, 2010 2:28 pm

sigobox wrote:Poniżej trochę logów.
Ja tam logow nie widze. A tym bardziej brakuje konfigu.
Asio Software Technologies
Belliash IT Weblog
Top
sigobox
n00b
n00b
Posts: 5
Joined: Mon Nov 29, 2010 7:15 pm

  • Quote

Post by sigobox » Sat Dec 04, 2010 3:19 pm

Właściwie masz rację. Mam dwa monitory, dlatego sekcja Screen trochę niestandardowa.

Code: Select all

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
Top
SlashBeast
Retired Dev
Retired Dev
User avatar
Posts: 2922
Joined: Tue May 23, 2006 11:50 am
Contact:
Contact SlashBeast
Website

  • Quote

Post by SlashBeast » Sat Dec 04, 2010 7:27 pm

Zalezy jaki menager okien (np. fluxbox wyraznie wolniej rysuje okna od openboksa) i czy uzywa composite czy nie.
Top
Belliash
Advocate
Advocate
User avatar
Posts: 2503
Joined: Wed Nov 24, 2004 1:39 pm
Location: Wroclaw, Poland
Contact:
Contact Belliash
Website

  • Quote

Post by Belliash » Sat Dec 04, 2010 8:03 pm

Code: Select all

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: Select all

Section "DRI"
        Group                   "video"
        Mode                    0666
EndSection

Code: Select all

Section "Extensions"
        Option                  "Composite"                                     "Enable"
        Option                  "RENDER"                                        "Enable"
EndSection

Code: Select all

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: Select all

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
Top
sigobox
n00b
n00b
Posts: 5
Joined: Mon Nov 29, 2010 7:15 pm

  • Quote

Post by sigobox » Sat Dec 04, 2010 11:31 pm

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.
Top
Post Reply
  • Print view

6 posts • Page 1 of 1

Return to “Instalacja i sprzęt”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic