Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I have GeForce G210 and first action
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Fri Apr 16, 2010 10:39 am    Post subject: I have GeForce G210 and first action Reply with quote

I have GeForce G210 on SyncMaster p2370HD (1920x1080) and I use compiz. Everything works OK, however the first thing (anything) I do in compiz, first action is "slow" and not smooth (e.g. resize of window or workspace change (cube), but after that the same action is smooth.

Any ideas why?

Kind regards,

Rok
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Sat Apr 17, 2010 2:53 pm    Post subject: Reply with quote

What video drivers are you using? nv? nouveau? or nvidia?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sat Apr 17, 2010 6:43 pm    Post subject: Reply with quote

Also, can you post your /etc/X11/xorg.conf plz ?
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Mon Apr 19, 2010 6:33 am    Post subject: Reply with quote

Rexilion wrote:
What video drivers are you using? nv? nouveau? or nvidia?

nvidia

d2_racing wrote:
Also, can you post your /etc/X11/xorg.conf plz ?


Code:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (root@rokj)  Wed Mar 31 13:34:26 CEST 2010


Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
    FontPath        "/usr/share/fonts/misc:unscaled"
    FontPath        "/usr/share/fonts/Type1"
    FontPath        "/usr/share/fonts/TTF"
    FontPath        "/usr/share/fonts/corefonts"
    FontPath        "/usr/share/fonts/freefonts"
    FontPath        "/usr/share/fonts/terminus"
    FontPath        "/usr/share/fonts/ttf-bitstream-vera"
    FontPath        "/usr/share/fonts/unifont"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/artwiz"
EndSection

Section "Module"
    Load           "record"
    Load           "glx"
    Load           "dbe"
    Load           "extmod"
    Load           "dri"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Samsung SyncMaster"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"

    #Option         "FSAAEnable" "true"
    #Option         "EnablePrivateBackZ" "no"
    #Option         "AddARGBGLXVisuals" "true"
    Option         "UseEvents" "false"
    #Option         "RenderAccel" "true"
    #Option         "HWcursor" "true"
    #Option         "SWCursor" "off"
    #Option         "UseEdidDpi" "true"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce G210"
EndSection

Section "Screen"

# Removed Option "metamodes" "nvidia-auto-select +0+0; 1920x1080 +0+0"
# Removed Option "metamodes" "1920x1080_50i +0+0; nvidia-auto-select +0+0; 1920x1080 +0+0"
# Removed Option "metamodes" "1920x1080_60 +0+0; 1920x1080 +0+0"
# Removed Option "metamodes" "1920x1080 +0+0; 1920x1080_60 +0+0"
# Removed Option "metamodes" "1920x1080_50 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    # Option         "metamodes" "1920x1080_60 +0+0"
      Option          "metamodes" "nvidia-auto-select +0+0; 1920x1080_60 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Mon Apr 19, 2010 11:50 am    Post subject: Reply with quote

Code:
    #Option         "AddARGBGLXVisuals" "true"


Perhaps uncommenting that option (to make it active) might help. Not sure...
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Mon Apr 19, 2010 3:24 pm    Post subject: Reply with quote

... and post the output of:
    egrep '\((W|E)|X.Org X Server' /var/log/Xorg.0.log
plz.
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Wed Apr 21, 2010 7:13 am    Post subject: Reply with quote

Mike Hunt wrote:
... and post the output of:
    egrep '\((W|E)|X.Org X Server' /var/log/Xorg.0.log
plz.


Code:

X.Org X Server 1.7.6
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
(WW) The directory "/usr/share/fonts/artwiz" does not exist.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Warning, couldn't open module dri
(EE) Failed to load module "dri" (module does not exist, 0)
(WW) Warning, couldn't open module dri2
(EE) Failed to load module "dri2" (module does not exist, 0)
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(EE) Apr 21 10:09:07 NVIDIA(1): Unable to find available Display Devices for screen 1.
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Wed Apr 21, 2010 7:19 am    Post subject: Reply with quote

Rexilion wrote:
Code:
    #Option         "AddARGBGLXVisuals" "true"


Perhaps uncommenting that option (to make it active) might help. Not sure...


I think it is little better, but problem persists.
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Wed Apr 21, 2010 7:31 am    Post subject: Reply with quote

Mike Hunt gave the hint:

Quote:
(WW) Warning, couldn't open module dri
(EE) Failed to load module "dri" (module does not exist, 0)
(WW) Warning, couldn't open module dri2
(EE) Failed to load module "dri2" (module does not exist, 0)


Can you post the output of:

Code:
eselect opengl list


please?

And also make sure that the nvidia driver is used, reïnstall if possible.
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Wed Apr 21, 2010 11:22 am    Post subject: Reply with quote

Rexilion wrote:
Mike Hunt gave the hint:

Quote:
(WW) Warning, couldn't open module dri
(EE) Failed to load module "dri" (module does not exist, 0)
(WW) Warning, couldn't open module dri2
(EE) Failed to load module "dri2" (module does not exist, 0)


Can you post the output of:

Code:
eselect opengl list


please?

And also make sure that the nvidia driver is used, reïnstall if possible.


Code:

rokj # eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Wed Apr 21, 2010 12:26 pm    Post subject: Reply with quote

nvidia-drivers will always complain about dri/dri2 as it uses its own internal version.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Rexilion
Veteran
Veteran


Joined: 17 Mar 2009
Posts: 1044

PostPosted: Wed Apr 21, 2010 2:34 pm    Post subject: Reply with quote

Then that means the threadstarter is just experiencing a driver bug :(
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6103
Location: Dallas area

PostPosted: Wed Apr 21, 2010 4:42 pm    Post subject: Reply with quote

This is part of my xorg.conf
Code:
Section "Module"
    Disable        "dri"
    Disable        "dri2"   
    Disable        "record"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "TwinView" "false"
    Option         "RenderAccel" "true"
    Option         "Backingstore" "true"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
EndSection



You show 2 device sections and you should only have one.
change your module and screen sections to match mine and see what happens.



Rexilion wrote:
Then that means the threadstarter is just experiencing a driver bug :(

Or problems with xorg's configuration.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
rokj
n00b
n00b


Joined: 05 Sep 2005
Posts: 43

PostPosted: Thu Apr 22, 2010 7:28 am    Post subject: Reply with quote

Anon-E-moose wrote:
This is part of my xorg.conf
Code:
Section "Module"
    Disable        "dri"
    Disable        "dri2"   
    Disable        "record"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "false"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    Option         "NoLogo" "true"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    Option         "TwinView" "false"
    Option         "RenderAccel" "true"
    Option         "Backingstore" "true"
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
EndSection



You show 2 device sections and you should only have one.
change your module and screen sections to match mine and see what happens.



Rexilion wrote:
Then that means the threadstarter is just experiencing a driver bug :(

Or problems with xorg's configuration.


2 device sections are because I use two monitors sometimes, but now only one is used... I use nvidia-settings which configures xorg.conf for two monitors, but I think it is not that important for compiz to behave in such way.

I tried your configuration and "problem" is still there.

It is strange... like card is trying to "load every action" for the first time... but after that everything goes smooth. But since I switch between actions (workspace switch, alt+tab, it is annoying).
Back to top
View user's profile Send private message
aaberg
n00b
n00b


Joined: 18 Oct 2010
Posts: 1

PostPosted: Mon Oct 18, 2010 8:14 pm    Post subject: Re: I have GeForce G210 and first action Reply with quote

rokj wrote:
I have GeForce G210 on SyncMaster p2370HD (1920x1080) and I use compiz. Everything works OK, however the first thing (anything) I do in compiz, first action is "slow" and not smooth (e.g. resize of window or workspace change (cube), but after that the same action is smooth.

Any ideas why?

Kind regards,

Rok


I have a Nvidia Quadro NVS 140M, and had exactly the same problem as you. Compiz works very smooth, but after a short while of no "compiz use", it is very slow and laggy with the first action, then it becomes smooth again.

I figured out a way to fix it in my case. I use Ubuntu, not Gentoo, so it might be that the solution is different for you. But here it goes.

Open "NVIDIA X Server Settings". In PowerMixer menu, set Preferred Mode to "Prefer Maximum performance".

This prevents the gpu-clock to automatically go down to save power. Compiz is very smooth all the time, but the battery time is drastically reduces :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum