You are not logged in.

#1 2007-02-18 21:48:47

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

[SOLVED] Xorg and the nvidia composite extension

Hi, I recently switched to archlinux (on my desktop pc) and this is my first post on this forum so...
hello arch community! wink

For a while my xorg freeze randomly when using the nvidia composite extension. This really bugs me because you can't kill xorg (keyboard doesn't work and you can't click with the mouse) and so I have to make a hard reboot everytime (ouch!).

currently installed: xorg-11R7.0-1, nvidia-1.0.9746-1

Here are the related parts of my xorg.conf:

Section "Module"
    Load           "glx"
EndSection

Section "Device"
    Identifier     "NVIDIA GeForce 6600GT"
    Driver         "nvidia"
    #VideoRam    131072
EndSection

Section "Screen"
    Identifier     "Screen 1"
    Device         "NVIDIA GeForce 6600GT"
    Monitor        "Samsung SyncMaster 913n"
    DefaultDepth    24
    Option         "RenderAccel" "true"
    Option         "EnablePageFlip" "true"
    Option         "TripleBuffer" "True"
    Option         "AddARGBGLXVisuals"
    Option         "TwinView" "true"
    Option         "TwinViewOrientation" "Clone"
    SubSection     "Display"
        Viewport    0 0
        Depth       8
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

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

In the driver notes it says that glx can cause problems when it's enabled together with the composite extension but I didn't force glx to be enabled when composite is used so it should be disabled (by default).

Option "AllowGLXWithComposite" "boolean"
Enables GLX even when the Composite X extension is loaded. ENABLE AT YOUR OWN RISK. OpenGL applications will not display correctly in many circumstances with this setting enabled.

I found some related threads on this forum where people also had problems with xorg freezing but in my case the reason is definetly the composite extension. The Problem only occurs when it's enabled. However to use beryl with all it's glory you have to use it! wink

I tried 2 different driver versions but the problem remains. Maybe it works with a special driver version?

This problem is not archlinux related but I hope someone can help me solving this problem.

Last edited by sen (2007-02-19 23:28:16)

Offline

#2 2007-02-19 23:36:19

sen
Member
From: .de
Registered: 2007-02-18
Posts: 153
Website

Re: [SOLVED] Xorg and the nvidia composite extension

Nevermind, I've found a fix on the nvnews.net board! smile

Passing the parameter "NVreg_RegistryDwords="PerfLevelSrc=0x2222" to the nvidia module solves the problem:

modprobe nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"

...and the permanent solution is to add this line to the /etc/modprobe.conf:

options nvidia NVreg_RegistryDwords="PerfLevelSrc=0x2222"

Offline

Board footer

Powered by FluxBB