LinuxForum.Fans
Тема

Эффекты в KDE

Автор: zenon 13 сообщений 4861 просмотров
#192553

Сначала не работали эффекты, добавил в xorg.conf (по аналогии найденной в гугле):

text

    Option         "RenderAccel" "true"
    Option         "AllowGLXWithComposite" "true"
    Option         "AddARGBGLXVisuals" "true"
text
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GT 220"
    BusID          "PCI:1:0:0"
    Screen          0

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 220" BusID "PCI:1:0:0" Screen 1

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Ещё наверное надо:

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

Эффекты заработали.
Хотел узнать - этого достаточно, советы какие есть?

Полный xorg.conf

Показать
text
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1360 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files" EndSection

Section "InputDevice" # generated from data in "/etc/conf.d/gpm" Identifier "Mouse0" Driver "mouse" Option "Protocol" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection

Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection

Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "Acer P225HQ" HorizSync 31.0 - 83.0 VertRefresh 56.0 - 76.0 Option "DPMS" EndSection

Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor1" VendorName "Unknown" ModelName "LG Electronics 50PG6000" HorizSync 31.0 - 84.0 VertRefresh 57.0 - 75.0 Option "DPMS" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 220" BusID "PCI:1:0:0" Screen 0

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 220" BusID "PCI:1:0:0" Screen 1

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-0: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-1: 1360x768 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

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

Section "InputClass" Identifier "keyboard-all" Driver "evdev" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:lwin_toggle,grp:switch,grp_led:caps,compose:ralt,ter$ MatchIsKeyboard "on" EndSection

#192581

Команда emerge после установки nvidia-drivers даёт рекомендации по настройке xorg.conf. К сожалению, я их не помню. Посмотрите в файле /var/log/portage/elog/summary.log.

#192840
Lupo Alberto написал:
Команда emerge после установки nvidia-drivers даёт рекомендации по настройке xorg.conf. К сожалению, я их не помню. Посмотрите в файле /var/log/portage/elog/summary.log.

Ставил сейчас размаскированную x11-drivers/nvidia-drivers-285.03 - никаких рекомендаций не было.

#197662

nvidia-drivers-285.03 + xorg-server-1.11 - так и не смог по человечески завести, vdpau и opengl отваливаются, у кого получилоь?

#197681

обновил систему на днях:
[console]$ qlist -Iv xorg-server nvidia-drivers gentoo-sources
sys-kernel/gentoo-sources-2.6.39-r3
x11-base/xorg-server-1.10.4
x11-drivers/nvidia-drivers-275.09.07[/console]
vdpau наоборот заработало smile

в логах как ругается?

#197686
newzenon написал:
Option "Composite" "Enable"

По умолчанию композитинг и так используется.

#197699

Fat-Zer, да я уже не помню что там в логах было... чистил недавно, ругня новая будет гляну.
Вот так сейчас.
[console]# qlist -Iv xorg-server nvidia-drivers gentoo-sources
sys-kernel/gentoo-sources-3.0.4-r1
x11-base/xorg-server-1.10.4
x11-drivers/nvidia-drivers-275.09.07[/console]
Не пойму вроде ничего, но после попыток установки nvidia-drivers-285.03 + xorg-server-1.11 - слетело все на xrandr, и xv, сейчас вроде опять настрил... но что-то по ходу упустил.
....
ыммм. eselect opengl set nvidia какжется так..... кубобезоборазие заработало. :)
xorg.conf сейчас.

text
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 1360 0
    Screen      1  "Screen1" LeftOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files" EndSection

Section "InputDevice" # generated from data in "/etc/conf.d/gpm" Identifier "Mouse0" Driver "mouse" Option "Protocol" Option "Device" "/dev/input/mice" Option "Emulate3Buttons" "no" Option "ZAxisMapping" "4 5" EndSection

Section "InputDevice" # generated from default Identifier "Keyboard0" Driver "kbd" EndSection

Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor0" VendorName "Unknown" ModelName "Acer P225HQ" HorizSync 31.0 - 83.0 VertRefresh 56.0 - 76.0 Option "DPMS" EndSection

Section "Monitor" # HorizSync source: edid, VertRefresh source: edid Identifier "Monitor1" VendorName "Unknown" ModelName "LG Electronics 50PG6000" HorizSync 31.0 - 84.0 VertRefresh 57.0 - 75.0 Option "DPMS" EndSection

Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 220" BusID "PCI:1:0:0" Screen 0

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Section "Device" Identifier "Device1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce GT 220" BusID "PCI:1:0:0" Screen 1

Option "RenderAccel" "true" Option "AllowGLXWithComposite" "true" Option "AddARGBGLXVisuals" "true"

EndSection

Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-0: nvidia-auto-select +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

Section "Screen" Identifier "Screen1" Device "Device1" Monitor "Monitor1" DefaultDepth 24 Option "TwinView" "0" Option "metamodes" "DFP-1: 1360x768 +0+0" SubSection "Display" Depth 24 EndSubSection EndSection

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

Section "InputClass" Identifier "keyboard-all" Driver "evdev" Option "XkbLayout" "us,ru(winkeys)" Option "XkbOptions" "grp:lwin_toggle,grp:switch,grp_led:caps,compose:ralt,terminate:ctrl_alt_bksp" MatchIsKeyboard "on" EndSection

#197705

дрова пересобирал после сервера?
да и вообще с иксами лучше пересобирать всё:
emerge -1 $(qlist -IC 'x11-drivers/*')

#197718

Не пойму ...

text
>>> Emerging (5 of 5) x11-drivers/nvidia-drivers-275.09.07
 * NVIDIA-Linux-x86_64-275.09.07.run RMD160 SHA1 SHA256 size ;-) ...                                                                                                                              [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 * Unable to calculate Linux Kernel version for build, attempting to use running version

Ссылка (ln -s /usr/src/linux-3.0.4-gentoo /usr/src/linux) вроде есть...

#197984
newzenon написал:
Не пойму ...

>>> Emerging (5 of 5) x11-drivers/nvidia-drivers-275.09.07
* NVIDIA-Linux-x86_64-275.09.07.run RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a Makefile in the kernel source directory.
* Please ensure that /usr/src/linux points to a complete set of Linux sources
* Unable to calculate Linux Kernel version for build, attempting to use running version

Ссылка (ln -s /usr/src/linux-3.0.4-gentoo /usr/src/linux) вроде есть...

Но дрова при этом продолжают собираться?
В каких-то версиях у мну тоже такой текст выскакивал, но дрова собирались вполне успешно и даже работали.

#197988
bobr написал:

Но дрова при этом продолжают собираться?
В каких-то версиях у мну тоже такой текст выскакивал, но дрова собирались вполне успешно и даже работали.

Не застопорилось... не вникал, пока работают, просто пересобрать хотел, приспичит как буду разбираться. smile

#197990

newzenon, кстати, я так и не разобрался, как сделать так, чтоб они не ругались на отсутствие этого Makefile.
Решил, что не нужно чинить то, что и так работает (-:

#197991

bobr, посмотрел, так он у меня есть.

Войдите или зарегистрируйтесь, чтобы ответить.