PDA

View Full Version : [BUG] annoying lag opening a menu (with NVIDIA tv)


carlojekko
May 26th, 2007, 12:55 PM
Hi, I have this configuration file
[code:7bd09]Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
Option "DAMAGE" "Enable"

# Option "Composite" "Enable"
EndSection
Section "Module"

Load "dbe"

# Load the glx module.
Load "glx"

Load "extmod"

Load "type1"
Load "freetype"
EndSection
# ************************************************** ********************
# Files section. This allows default font and rgb paths to be set
# ************************************************** ********************

Section "Files"

# The module search path. The default path is shown here.

# Load "freetype"
FontPath "/usr/local/share/fonts/Calibri"
FontPath "/usr/local/share/fonts/Corbel"
FontPath "/usr/local/share/fonts/Constantia"
FontPath "/usr/local/share/fonts/Consolas"
FontPath "/usr/local/share/fonts/Candara"
FontPath "/usr/local/share/fonts/Cambria"
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/freefont"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/artwiz"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/cyrillic"
FontPath "/usr/local/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts"
FontPath "/usr/share/fonts/default"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/ukr"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/dejavu"
EndSection

# ************************************************** ********************
# Server flags section.
# ************************************************** ********************

Section "ServerFlags"

AllowMouseOpenFail

EndSection

# ************************************************** ********************
# Input devices
# ************************************************** ********************

# ************************************************** ********************
# Core keyboard's InputDevice section
# ************************************************** ********************

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbdRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"

EndSection


# ************************************************** ********************
# Core Pointer's InputDevice section
# ************************************************** ********************
Section "InputDevice"
Driver "mouse"
Identifier "Mouse1"
Option "Buttons" "5"
Option "Device" "/dev/input/mice"
Option "Name" "ImPS/2 Generic Wheel Mouse"
Option "Protocol" "explorerps/2"
Option "Vendor" "Sysp"
Option "ZAxisMapping" "4 5"
EndSection

# ************************************************** ********************
# Monitor section
# ************************************************** ********************

Section "Monitor"
Identifier "Monitor[0]" #CRT
Modeline "1280x1024_75.00" 138.54 1280 1368 1504 1728 1024 1025 1028 1069 -HSync +Vsync
HorizSync 50-60
VertRefresh 70-80

EndSection

Section "Monitor"
Identifier "Monitor[1]" #TV
HorizSync 60
VertRefresh 30-150
EndSection

# ************************************************** ********************
# Graphics device section
# ************************************************** ********************

Section "Device"
Identifier "Device[0]"
Driver "nvidia"
BusID "PCI:4:0:0" #adjust using 'lspci' or cat /proc/pci
Screen 0
Option "nologo"
Option "AllowGLXWithComposite" "true"
Option "RenderAccel" "true"

EndSection

Section "Device"
Driver "nvidia"
Identifier "Device[1]"
Screen 1
Option "TVOutFormat" "SVIDEO" #or S-VIDEO etc
Option "TVStandard" "PAL-B" #or NTSC etc
Option "ConnectedMonitor" "Monitor[1]"
BusID "PCI:4:0:0" #adjust using 'lspci' or cat /proc/pci
Option "nologo"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
EndSection

# ************************************************** ********************
# Screen sections
# ************************************************** ********************

Section "Screen"
Identifier "Screen[0]"
Device "Device[0]"
Monitor "Monitor[0]"
DefaultDepth 24
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
Subsection "Display"
Depth 32
Modes "1024x768" "800x600" "640x480"
EndSubSection
Option "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
Device "Device[1]"
Identifier "Screen[1]"
Monitor "Monitor[1]"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
Option "AddARGBGLXVisuals" "True"
EndSection

# ************************************************** ********************
# ServerLayout sections.
# ************************************************** ********************
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "Screen[0]"
Screen 1 "Screen[1]" RightOf "Screen[0]"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
# Option "AIGLX" "true"
EndSection
[/code:7bd09] Only with a CRT and TV connected... when i click on a menu on CRT, it wil be shown after 2-3 sec and Tv works fine...
Thx !

max
May 26th, 2007, 01:45 PM
I've got the same problem with a second TFT connected.... I'm on KDE and the lag on opening a menu appear just with gtk applications (like vlc or firefox).

carlojekko
May 26th, 2007, 03:20 PM
I've got the same problem with a second TFT connected.... I'm on KDE and the lag on opening a menu appear just with gtk applications (like vlc or firefox).
I use gnome.. :(

Jupiter
May 26th, 2007, 05:46 PM
I am going to assume, because of the different hardware, that this is not
hardware config related. What i do see is that both of you are using dual
monitor setup. Looking at your config carlojekko, nothing pops out at me
that could cause a problem. This could very well be a problem with the
implementation of the dual monitor setup use with compcomm. I would ask
you guy's to please try using just one monitor to test and see if the problem
persist. If verified that dual monitor setup is in fact a problem with
compcomm we can then get with the devs to take a look at this as a verified
bug. I know this is asking a lot, but we want to make sure we are on the
right track before we get the devs involved. We don't want to waste their time
chasing a problem that may not be related to their code.

EDIT: Can both of you please let us know exactly what video card and how
much vram you have. Also let us know if you are using a custom kernel
with latency adjustments made. Verify if you have a "MTRR" setting in your
bios and make sure it is set to "DISCRETE".

Thanks
Jupiter

max
May 26th, 2007, 11:34 PM
I try with a single screen and the problem is gone... all is ok !
With the twinview all is ok too.
I've got a nvidia 7600GtT with 256Mo with a Kubuntu feisty version and I don't use a custom kernel.

Jupiter
May 26th, 2007, 11:40 PM
I try with a single screen and the problem is gone... all is ok !
With the twinview all is ok too.
I've got a nvidia 7600GtT with 256Mo with a Kubuntu feisty version and I don't use a custom kernel.

Excellent, thank you for verifying this. Ok now what we want to do to get the devs to check this out,
is to file a bug report. Please go here and input the symptom and a description of the test you performed
to verify this. This is the best way to get this bug fixed.
http://bugs.opencompositing.org/index.cgi

EDIT: I am also marking the title of this thread "BUG" so that it stands out to the devs.

carlojekko
May 28th, 2007, 03:11 PM
I confirm... with one monitor is all ok!! I think it's only a problem with the gtk+... with qt and kdelibs (es. amarok) it works fine
I have
[code:b1c30]lspci |grep VGA
04:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600] (rev a2)
[/code:b1c30]
[code:b1c30] cat /proc/mtrr
reg00: base=0x00000000 ( 0MB), size=1024MB: write-back, count=1
[/code:b1c30]

Kristian
May 29th, 2007, 01:36 AM
Eh, I should probably point out that this is a bit of a well known problem amoung the multiscreen-using opencompositing.org developers (==me).

Seems more like a GTK problem, but I haven't really given this issue much attention. There are several issues with these sort of setups, this is by far the most annoying that I have left once my multiscreen branch is merged....

It is on the todo list.

olmari
June 1st, 2007, 10:35 PM
Heck I'm just glad it is on the to-do list (Remembers the original Beryl discussion about it).

Keep up the hard but hopefully rewarding work!

carlojekko
October 7th, 2007, 05:06 PM
Compiz 0.5.5 doesn't solve this prob :(
But twinview solve this problem very well...