LinuxForum.Fans
Тема

NVIDIA по "сложному" способу - вопрос про glxinfo

Автор: rash 12 сообщений 2842 просмотров
#310803

Добрый день!
Установлен блоб 313.26. В связи с появлением п. 24 в полезных советах проверил, все ли правильно у меня в этой связи выполнено. Добавил группу видео, остальное на месте. Но при попытке выполнить

text
glxinfo | grep direct

указанного ответа не получаю, только приглашение командной строки. Эффекты рабочего стола включены.
Видеокарта GeForce 8500 GT.
Подскажите, пожалуйста, что надо поправить.
С уважением.

#310804

rash,
Покажите (для начала):

text
uname -a
rpm -qa | grep nvidia
rpm -qa | grep gcc
rpm -qa | grep make
rpm -qa | grep kernel
cat /etc/X11/xorg.conf
cat /etc/group | grep video
cat /etc/modprobe.d/50-blacklist.conf | grep nouveau
cat /etc/sysconfig/kernel | grep NO_KMS_IN_INITRD
nvidia-settings -v

От рута:

text
cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
car /boot/grub2/grub.cfg
#310805

По порядку:

Показать
Linux linux-u6zs.site 3.7.10-1.1-desktop #1 SMP PREEMPT Thu Feb 28 15:06:29 UTC 2013 (82d3f21) i686 i686 i386 GNU/Linux
Показать
rash@linux-u6zs:~> rpm -qa | grep nvidia
rash@linux-u6zs:~>
Показать
rash@linux-u6zs:~> rpm -qa | grep gcc
gcc-4.7-7.1.1.i586
gcc47-4.7.2_20130108-2.1.6.i586
libgcc_s1-4.7.2_20130108-2.1.6.i586
Показать
rash@linux-u6zs:~> rpm -qa | grep make
make-3.82-154.1.1.i586
Показать
rash@linux-u6zs:~> cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 313.26 (buildmeister@swio-display-x86-rhel47-13) Wed Feb 27 13:32:27 PST 2013

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

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

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

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Показать
rash@linux-u6zs:~> cat /etc/group | grep video
video:x:33:rash
Показать
rash@linux-u6zs:~> cat /etc/modprobe.d/50-blacklist.conf | grep nouveau
blacklist nouveau
Показать
rash@linux-u6zs:~> cat /etc/sysconfig/kernel | grep NO_KMS_IN_INITRD
NO_KMS_IN_INITRD="yes"
Показать
rash@linux-u6zs:~> nvidia-settings -v

nvidia-settings: version 313.26 (buildmeister@swio-display-x86-rhel47-13) Wed Feb 27
13:32:16 PST 2013
The NVIDIA X Server Settings tool.

This program is used to configure the NVIDIA Linux graphics driver.
For more detail, please see the nvidia-settings(1) man page.

Copyright (C) 2004 - 2010 NVIDIA Corporation.
Показать
linux-u6zs:~ # cat /etc/default/grub | grep GRUB_CMDLINE_LINUX_DEFAULT
GRUB_CMDLINE_LINUX_DEFAULT=" video=1440x900 resume=/dev/disk/by-id/ata-ST3320620A_9QFAXKJS-part5 splash=silent quiet showopts nomodeset"
Показать
linux-u6zs:~ # cat /boot/grub2/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi

function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}

function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}

if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_msdos
insmod ext2
set root='hd0,msdos6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos6 --hint-efi=hd0,msdos6 --hint-baremetal=ahci0,msdos6 --hint='hd0,msdos6' f0b870ed-cfa9-4dd7-8d2f-3a4347aca4f1
else
search --no-floppy --fs-uuid --set=root f0b870ed-cfa9-4dd7-8d2f-3a4347aca4f1
fi
font="/share/grub2/unicode.pf2"
fi

if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_UA
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' a59ab923-f660-4b53-a0be-4b80bf340438
else
search --no-floppy --fs-uuid --set=root a59ab923-f660-4b53-a0be-4b80bf340438
fi
insmod gfxmenu
loadfont ($root)/boot/grub2/themes/openSUSE/ascii.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans10.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans12.pf2
loadfont ($root)/boot/grub2/themes/openSUSE/DejaVuSans-Bold14.pf2
insmod png
set theme=($root)/boot/grub2/themes/openSUSE/theme.txt
export theme
if [ x${boot_once} = xtrue ]; then
set timeout=0
elif sleep --interruptible 0 ; then
set timeout=8
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-a59ab923-f660-4b53-a0be-4b80bf340438' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' a59ab923-f660-4b53-a0be-4b80bf340438
else
search --no-floppy --fs-uuid --set=root a59ab923-f660-4b53-a0be-4b80bf340438
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=a59ab923-f660-4b53-a0be-4b80bf340438 video=1440x900 resume=/dev/disk/by-id/ata-ST3320620A_9QFAXKJS-part5 splash=silent quiet showopts nomodeset
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
submenu 'Дополнительные параметры для openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-a59ab923-f660-4b53-a0be-4b80bf340438' {
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-advanced-a59ab923-f660-4b53-a0be-4b80bf340438' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' a59ab923-f660-4b53-a0be-4b80bf340438
else
search --no-floppy --fs-uuid --set=root a59ab923-f660-4b53-a0be-4b80bf340438
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=a59ab923-f660-4b53-a0be-4b80bf340438 video=1440x900 resume=/dev/disk/by-id/ata-ST3320620A_9QFAXKJS-part5 splash=silent quiet showopts nomodeset
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
menuentry 'openSUSE 12.3, с Linux 3.7.10-1.1-desktop (режим восстановления)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.1-desktop-recovery-a59ab923-f660-4b53-a0be-4b80bf340438' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' a59ab923-f660-4b53-a0be-4b80bf340438
else
search --no-floppy --fs-uuid --set=root a59ab923-f660-4b53-a0be-4b80bf340438
fi
echo 'Загружается Linux 3.7.10-1.1-desktop …'
linux /boot/vmlinuz-3.7.10-1.1-desktop root=UUID=a59ab923-f660-4b53-a0be-4b80bf340438 showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initrd-3.7.10-1.1-desktop
}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ###
### END /etc/grub.d/90_persistent ###
#310807

rash,
Покажите:

text
grep -i driver /var/log/Xorg.0.log
glxinfo | grep render

Эффекты работают?

Видеокарта только одна?

Покажите такой скрин nvidia-settings:

#310810
Показать
rash@linux-u6zs:~> grep -i driver /var/log/Xorg.0.log
[ 624.291] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 624.291] X.Org Video Driver: 13.1
[ 624.291] X.Org XInput driver : 18.0
[ 624.363] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 624.363] Module class: X.Org Video Driver
[ 624.364] (II) NVIDIA dlloader X Driver 313.26 Wed Feb 27 12:29:59 PST 2013
[ 624.364] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 624.850] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
[ 624.916] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 624.996] Module class: X.Org XInput Driver
[ 624.996] ABI class: X.Org XInput driver, version 18.0
[ 624.996] (II) Using input driver 'evdev' for 'Power Button'
[ 625.026] (II) Using input driver 'evdev' for 'Power Button'
[ 625.027] (II) No input driver specified, ignoring this device.
[ 625.027] (II) No input driver specified, ignoring this device.
[ 625.027] (II) No input driver specified, ignoring this device.
[ 625.028] (II) No input driver specified, ignoring this device.
[ 625.028] (II) No input driver specified, ignoring this device.
[ 625.028] (II) No input driver specified, ignoring this device.
[ 625.029] (II) No input driver specified, ignoring this device.
[ 625.029] (II) No input driver specified, ignoring this device.
[ 625.029] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 625.030] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[ 625.031] (II) No input driver specified, ignoring this device.
[ 625.032] (II) No input driver specified, ignoring this device.
Показать
rash@linux-u6zs:~> glxinfo | grep render
rash@linux-u6zs:~>

#310811

rash,
=)

text
# zypper in Mesa-demo-x

И проверяйте.

#310815

Работает

Показать
linux-u6zs:~ # glxinfo | grep direct
direct rendering: Yes
GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access,

verg, спасибо за помощь!

#310816

Добавил запись в совет №24 упоминание о необходимости установки пакета Mesa-demo-x.

В общем тема оказалась не лишней, хотя и ушли далеко в лес.
Зато теперь есть из какой темы копипастить команды для проверки правильности установки драйвера =)

#310852

Далеко в лес - это хорошо :-)
Хуже, когда лень или некому...
Вот такой еще вопрос: какой вариант движка (закладка "дополнительно" настройки эффектов рабочего стола выбрать?
При переключении оных вроде бы ничего не меняется.

#310853
"rash" написал:
Вот такой еще вопрос: какой вариант движка (закладка "дополнительно" настройки эффектов рабочего стола выбрать?

OpenGL.

#310857
"verg" написал:
OpenGL.

А там еще и альтернативные варианты есть? ;)

#310858
"yars" написал:
А там еще и альтернативные варианты есть? ad

ИксРендер =)

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