Модератор: Модераторы разделов
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 16.11.2008 11:31
Задача - запустить эффекты в Кедах 4.1.3. В настройках указано, что нужны расширения xComposite и xDamage.
Nvidia-drivers-177.30
emerge --info
System uname: Linux-2.6.27-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-glibc2.2.5
KDE-4.1.3
Код: Выделить всё
xorg.conf:
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 9600 GSO"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1680x1050_60 +0+0"
Option "AddARGBGLXVisuals" "True"
Option "Damage" "true"
Option "Composite" "true"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Damage" "true"
Option "Composite" "true"
EndSection
Added:
btw после установки KDM новой сессии в /usr/kde не пояилось, так что же прописывать в conf.d/xdm ? сейчас вхожу "вручную" .
С уважением, Владимир.
Flaming
Сообщения: 2579
Сообщение
Flaming » 16.11.2008 15:31
А пакет kdm новой версии поставился?
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 16.11.2008 16:12
kde-base/kdm
Latest version available: 4.1.3
Latest version installed: 4.1.3
С уважением, Владимир.
Flaming
Сообщения: 2579
Сообщение
Flaming » 16.11.2008 19:19
velaar , я перепутал, тут не kdm нужен, kdebase-startkde, по-моему. Точно не уверен, так как у самого много пакетов стоит...
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 17.11.2008 12:17
Стоит 4.1.3. Вообще ставился через kde-meta
С уважением, Владимир.
Davinel
Сообщения: 481
ОС: Ubuntu
Сообщение
Davinel » 17.11.2008 12:57
Код: Выделить всё
Section "Extensions"
Option "Damage" "true"
Option "Composite" "true"
EndSection
по идее нужно:
Код: Выделить всё
Section "Extensions"
Option "Damage" "Enable"
Option "Composite" "Enable"
EndSection
возможно правда, что оно и то и то понимает.
первый раз вижу такую опцию - "Damage"... К слову у меня Kwinовские эффекты работали ВООБЩЕ без правки xorg на предмет композитинга. Подозреваю, что новому хсерверу оно не очень нужно. На что оно хоть ругается и в какой момент?
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 17.11.2008 18:22
В "Параметрах системы" -> Рабочий стол -> Эффекты рабочего стола - невозможно поставить галочку "включить графические эффекты", внизу надпись - Required X extensions (XComposite and XDamage) are not avaliable
С уважением, Владимир.
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 18.11.2008 22:19
Davinel
можно взглянуть на xorg.conf ? NVIDIA?
Оба вопроса актуальны. Можжно ли проверить "подцепленность" этих extensions?
С уважением, Владимир.
Davinel
Сообщения: 481
ОС: Ubuntu
Сообщение
Davinel » 19.11.2008 00:07
Код:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath "/usr/share/X11/rgb"
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/"
EndSection
Section "Module"
Load "extmod"
Load "record"
Load "dbe"
Load "GLcore"
Load "xtrap"
Load "glx"
Load "wfb"
Load "freetype"
# Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "evdev"
Option "XkbModel" "evdev"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "evdev"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#DisplaySize 430 270 # mm
Identifier "Monitor0"
VendorName "ACI"
ModelName "MW201"
### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync 47.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "GeForce 7600 GS"
BusID "PCI:1:0:0"
Option "NoLogo" "true"
Option "DPI" "120 x 120"
Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"
Option "AddARGBGLXVisuals" "True"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Modes "1680x1050"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "Render" "Enable"
EndSection
Во первых - видео ускорение точно работает? Такие генту-специфичные вещи, как добавление в make.conf строчки VIDEO_CARDS="nvidia"(нужно делать до сборки иксов), а после установки драйверов - eselect opengl set nvidia.. ну и вообще включено ли ускорение - glxinfo | grep direct...
Во вторых - какая версия хсервера? Просто последняя, которая идёт в тестинг пакетах - 1.5.2, она от xorg.conf уже не так сильно и зависит.. очень много всего конфигурируется "само".
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 19.11.2008 09:34
VIDEO_CARDS="nvidia" , eselect opengl set nvidia - само собой сделано..
velaar@xxx ~ $ glxinfo | grep direct
direct rendering: Yes
x11-base/xorg-server
Latest version available: 1.3.0.0-r6
Latest version installed: 1.3.0.0-r6
С уважением, Владимир.
velaar
Сообщения: 37
ОС: Linux-2.6.30-gentoo-r4-x86_64
Сообщение
velaar » 19.11.2008 20:30
Проблему эффектов удалось решить переустановкой xorg-server и его зависимостей.
emerge -CD xorg-server && emerge --depclean && revdep-rebuild && emerge xorg-server
С уважением, Владимир.