LINUX.ORG.RU

FC6 + nVidia (драйвер 9ххх)


0

0

Не могу понять, почему не работает compiz:

[shaman@localhost ~]$ compiz
compiz: No sync extension
[shaman@localhost ~]$

OpelGL приложения работают.

[shaman@localhost ~]$ cat /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Thu Sep 14 15:50:24 PDT 2006
# Xorg configuration created by system-config-display
# Enable the composite extension

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
Option "AIGLX" "true"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules/extensions/nvidia"
ModulePath "/usr/lib/xorg/modules"
EndSection

Section "Module"
Load "glx"
EndSection

Section "InputDevice"

# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru"
Option "XkbOptions" "grp:ctrl_shift_toggle"

EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "nvidia"
Option "AddARGBGLXVisuals" "true"
EndSection

Section "Screen"

# Enable 32-bit ARGB GLX Visuals
# Option "AddARGBGLXVisuals" "True"
# If you are using an older version of compiz that
# does not support rendering into the Composite
# Overlay Window, you will need to disable clipping
# of GLX rendering to the X Root window with this
# option, or you will get a blank screen after
# starting compiz:
# Option "DisableGLXRootClipping" "True"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x800" "800x600" "640x480"
EndSubSection
EndSection

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

[shaman@localhost ~]$

★★★★★

Кусками.

Section "Files"
#       FontPath     "unix/:7100"
#       ModulePath "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib64/xorg/modules/extensions/nvidia"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/X11/fonts/msttf/"
        FontPath     "/usr/share/X11/fonts/cyrillic/"
        FontPath     "/usr/share/X11/fonts/misc/"
        FontPath     "/usr/share/fonts/tv-fonts/"
EndSection

Section "Module"

#       Load  "dbe"
#       Load  "GLcore"
#       Load  "type1"
        Load  "extmod"
        Load  "record"
        Load  "xtrap"
        Load  "v4l"
#       Load  "speedo"
        Load  "freetype"
        SubSection "extmod"
                Option      "omit xfree86-dga"
        EndSubSection
        Load  "glx"
EndSection

Section "ServerFlags"
        Option      "AIGLX" "on"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        VendorName  "nvidia"
        BoardName   "NVIDIA GeForce 7600GS"
        Option      "AddARGBGLXVisuals" "True"
        Option      "NoLogo" "True"
        Option      "RenderAccel" "1"
        Option      "SLI" "Auto"
EndSection

Section "DRI"
        Group        0
        Mode         0666
EndSection

Section "Extensions"
        Option      "Composite"
EndSection

jackill ★★★★★
()

Не хватает в Section "Modules" каких-то расширений. Я просто добавил те, которые в доке были описаны.

2jackill ты точно 9xxx используешь? Тогда Option "AIGLX" "off" выставляй

Deleted
()
Ответ на: комментарий от Deleted

Всем спасибо, все заработало :-)

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc105"
        Option      "XkbLayout" "us,ru"
        Option      "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"
EndSection

Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
        Option      "AddARGBGLXVisuals" "True"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Videocard0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

Section "Extensions"
        Option "Composite"
EndSection

no-dashi ★★★★★
()
Ответ на: комментарий от Deleted

>http://fedoraproject.org/wiki/RenderingProject/aiglx#head-df1959e565dbcf41eba...

How can I disable AIGLX and the compositing extension?

You can disable AIGLX and the compositing extension by amending your /etc/X11/xorg.conf like this:

Section "ServerFlags" Option "AIGLX" "off" EndSection

Section "Extensions" Option "Composite" "Disable" EndSection

This can be useful if you do not need or want AIGLX or if X11 behaves strangely (e.g. disabled DRI and thus missing 3D acceleration).

Понимаешь теперь?

jackill ★★★★★
()
Ответ на: комментарий от mutronix

>Что-то вы господа тормозите. Реальные пацаны уже давно перешли на beryl, а вы всё с компизом возитесь :)

Они возятся на низком уровне, который одинакого использует и compiz, и beryl.

Beryl рулит. Слушайте, а как можно видео снять прямо с экрана?

jackill ★★★★★
()
Ответ на: комментарий от jackill

> Они возятся на низком уровне, который одинакого использует и compiz, и beryl.

Разница между compiz и beryl только в том, что первый превязан к гному. Beryl можно использовть с GNOME, KDE, XFCE. Compiz вроде тоже можно запустить с KDE, но работать с декоратором окон он будет через анал.

mutronix ★★★★
()
Ответ на: комментарий от mutronix

>xvidcap

С экрана после AIGLX. Насколько я знаю, даже утилиту снятия скринов переписывали.

jackill ★★★★★
()
Ответ на: комментарий от mutronix

>Разница между compiz и beryl только в том, что первый превязан к гному. Beryl можно использовть с GNOME, KDE, XFCE. Compiz вроде тоже можно запустить с KDE, но работать с декоратором окон он будет через анал.

Я это и говорил.

Нормально он работает, только настройки в gconf'е.

jackill ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.