PDA

View Full Version : [all variants] slow menu-popups when running two separate screens with nvdia



hachel
September 15th, 2008, 09:21 AM
hello,
I'm running two separate x-screens, set up with nivdia x-server settings. First screen being my monitor and the second my tv.
I had twinview before, but with that any video brought to fullscreen on the tv would pop up on my monitor instead of the tv, so i switched to two separate screens.
My problem: There is a general delay with everything now. It takes ~1 second when I hover over a menu tree for the sub-menu to pop up, 1 second before the context-menu appears after clicking the rm-button etc.
I googled, and in this thread (http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=4110678), blaming compiz for the delay, they came up with this script

#!/bin/bash
DISPLAY=:0.0 compiz --only-current-screen &
DISPLAY=:0.1 compiz --only-current-screen &
It does work (even though I'm certain there is still a wee delay), but as far as I understood that script, compiz is still running on both screens, also, I wish I could get a workaround without having to run a script each login.
So basically, my preferred solution would be to be able to get twinview to work with full screen on the second screen (cause I like that the second screen has no panels and buttons).
If that doesn't work, is it possible with separate screens to disable compiz entirely for the second screen, maybe without a script at startup?
Or is there a even better solution to all that, that I haven't considered yet?
Thanks
hachel

ps: this is my xconf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Thu Jun 5 09:26:53 UTC 2008

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
Screen 1 "Screen1" RightOf "Screen0"
EndSection

Section "Module"
Load "glx"
EndSection

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

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "WOR COMPAL EM599"
HorizSync 24.0 - 80.0
VertRefresh 49.0 - 75.0
EndSection

Section "Monitor"
Identifier "Monitor1"
VendorName "Unknown"
ModelName "TV-0"
HorizSync 24.0 - 80.0
VertRefresh 49.0 - 75.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 LE"
BusID "PCI:7:0:0"
Screen 0
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 7300 LE"
BusID "PCI:7:0:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"

# Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0"
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0, TV: 640x480 +1280+0"
# Removed Option "TwinViewXineramaInfoOrder" "CRT-0"
# Removed Option "TwinViewXineramaInfoOrder" "TV-0"
# Removed Option "TwinView" "1"
# Removed Option "metamodes" "CRT: nvidia-auto-select +0+0, TV: 800x600 +1280+0"
Identifier "Screen0"
Device "Videocard1"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "TwinViewXineramaInfoOrder" "CRT-0"
Option "metamodes" "CRT: nvidia-auto-select +0+0"
EndSection

Section "Screen"

# Removed Option "metamodes" "TV: nvidia-auto-select +0+0"
# Removed Option "metamodes" "TV: 640x480 +0+0"
Identifier "Screen1"
Device "Videocard0"
Monitor "Monitor1"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "TV: 800x600 +0+0"
EndSection

hachel
September 15th, 2008, 10:31 AM
i found out that you can tell vlc on which display it shall go fullscreen, but thats a far from perfect solution cause I sometimes I also want to watch fullscreen on my monitor