[SOLVED] NVIDIA GT640 3D ускорение не работает
Друзья! Здравствуйте! Помогите пожалуйста разобраться. Поставил NVIDIA GT640 в комп, не могу добиться работающего OpenGL:
~ # eselect opengl set 1
Switching to nvidia OpenGL interface... done
~ # glxinfo | grep direct
Error: couldn't find RGB GLX visual or fbconfig
~ # glxgears
Error: couldn't get an RGB, Double-buffered visual
~ # cat /etc/X11/xorg.conf
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 370.28 (portage@itadmin) Чт сен 15 17:16:58 MSK 2016
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 370.28 (buildmeister@swio-display-x64-rhel04-17) Thu Sep 1 20:22:52 PDT 2016
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
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"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "LG Electronics 24EB23"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce GT 640"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "Stereo" "0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "DVI-D-0: nvidia-auto-select +0+0, DVI-D-1: nvidia-auto-select +1920+0"
Option "SLI" "Off"
Option "MultiGPU" "Off"
Option "BaseMosaic" "off"
SubSection "Display"
Depth 24
EndSubSection
EndSection
Kernel config:
< > /dev/agpgart (AGP Support)
< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support) ----
<*> Support for frame buffer devices --->
< > nVidia Framebuffer Support
<*> Framebuffer Console support
# uname -a
Linux localhost 4.4.6-gentoo #11 SMP Thu Sep 15 20:28:13 MSK 2016 x86_64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz GenuineIntel GNU/Linux
# cat /var/log/Xorg.0.log | grep EE
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 183.974] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[ 183.974] (EE) NVIDIA(0): log file that the GLX module has been loaded in your X
[ 183.974] (EE) NVIDIA(0): server, and that the module is the NVIDIA GLX module. If
[ 183.974] (EE) NVIDIA(0): you continue to encounter problems, Please try
[ 183.974] (EE) NVIDIA(0): reinstalling the NVIDIA driver.
[ 184.407] (EE) AIGLX: reverting to software rendering
# eix -I nvidia
[I] x11-drivers/nvidia-drivers
Установленные версии: 364.19^md(18:22:36 15.09.2016)(X acpi driver kms multilib tools -compat -gtk3 -pax_kernel -static-libs -uvm -wayland KERNEL="linux -FreeBSD")
Домашняя страница: http://www.nvidia.com/ http://www.nvidia.com/Download/Find.aspx
Описание: NVIDIA Accelerated Graphics Driver
До этого была intel.
Драйвера пересобирал, ядро+модули пересобирал. У меня GPT+EFI... Фреймбуфер тоже не работает.
Пожалуйста, подскажите что проверить можно? Куда копать?
- Для комментирования войдите или зарегистрируйтесь

похоже, nouveau заюзан, только пока не видно
Какой драйвер для видюхи подгружен? Отключен ли nouveau в ядре?
grep LoadModule /var/log/Xorg.0.log
lsmod | grep nv
lspci -v
Спасибо за помощь. ~ $ grep
Спасибо за помощь.
~ # lspci -v | grep vga -i -A 13 01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 640] (rev a1) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. GK107 [GeForce GT 640] Flags: bus master, fast devsel, latency 0, IRQ 28 Memory at f6000000 (32-bit, non-prefetchable) [=16M] Memory at e0000000 (64-bit, prefetchable) [=256M] Memory at f0000000 (64-bit, prefetchable) [=32M] I/O ports at e000 [=128] [virtual] Expansion ROM at f7000000 [disabled] [=512K] Capabilities: [60] Power Management version 3 Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+ Capabilities: [78] Express Endpoint, MSI 00 Capabilities: [b4] Vendor Specific Information: Len=14 > Kernel driver in use: nvidia Kernel modules: nvidiafb, nvidia_drm, nvidianvidiafb включил в ядро только что, без него тоже не работает. drm тоже выключал.
Для NVidia GT210
https://bpaste.net/show/e83094ee7ca0
Так работает с проприетарными драйверами.
Пересобрал ядро с таким
Пересобрал ядро с таким конфигом, не работает.
Это может быть связано с архитектурой?
То есть, пересобрали ядро,
То есть, пересобрали ядро, @x11-module-rebuild, иксы стартовали, но нет ускорения? nvidia-drivers при сборке не ругается? Ну, и полный Xorg.0.log бы посмотреть. Еще, в xorg.conf:
Section "Device"
...
Option "Accel" "true"
Option "RenderAccel" "true"
...
EndSection
Ну, и пользователь в группе video.
Пересобрал ядро, иксы
Пересобрал ядро, иксы стартовали, но нет ускорения и не работает фреймбуфер. nvidia-drivers при сборке не ругается. Пользователь в группе video.
~ # emerge @x11-module-rebuild These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/xf86-input-evdev-2.9.2::gentoo 0 KiB [ebuild R ] x11-drivers/xf86-video-vesa-2.3.4::gentoo 0 KiB [ebuild R ~] x11-drivers/nvidia-drivers-370.28:0/370::gentoo USE="X acpi driver kms multilib tools -compat -gtk3 -pax_kernel -static-libs -uvm -wayland" 0 KiB Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Running pre-merge checks for x11-drivers/xf86-input-evdev-2.9.2 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.4.6-gentoo/build * Found sources for kernel version: * 4.4.6-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Running pre-merge checks for x11-drivers/nvidia-drivers-370.28 * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.4.6-gentoo/build * Found sources for kernel version: * 4.4.6-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Emerging (1 of 3) x11-drivers/xf86-input-evdev-2.9.2::gentoo >>> Emerging (2 of 3) x11-drivers/xf86-video-vesa-2.3.4::gentoo >>> Emerging (3 of 3) x11-drivers/nvidia-drivers-370.28::gentoo >>> Installing (2 of 3) x11-drivers/xf86-video-vesa-2.3.4::gentoo >>> Installing (1 of 3) x11-drivers/xf86-input-evdev-2.9.2::gentoo >>> Installing (3 of 3) x11-drivers/nvidia-drivers-370.28::gentoo >>> Jobs: 3 of 3 complete Load avg: 2.41, 1.88, 1.61 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.cat /etc/X11/xorg.conf # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 364.19 (buildmeister@swio-display-x64-rhel04-11) Tue Apr 19 15:22:17 PDT 2016 Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" 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" 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 EndSectionXorg.0.log: https://bpaste.net/show/23802f9b7efb
А eselect opengl list точно
А eselect opengl list точно на nvidia указывает?
~ # eselect opengl
~ # eselect opengl listAvailable OpenGL implementations:
[1] nvidia *
[2] xorg-x11
~ # glxinfo | grep direct
Error: couldn't find RGB GLX visual or fbconfig
Попробуйте использовать 367
Попробуйте использовать благословленную на http://www.geforce.com/drivers 367-ю версию.
Framebufer починил, не указан
Framebufer починил, не указан был путь к Initramfs source file в ядре:
General setup ---> [*] Initial RAM filesystem and RAM disk (initramfs/initrd) support (/usr/share/v86d/initramfs) Initramfs source file(s)Вот инструкция для потомков https://wiki.gentoo.org/wiki/Uvesafb
Взирая на lsmod:
nvidiafb
drm
drm_kms_helper - их нужно убрать из загрузки либо пересобрать ядро.
Дальше - по обстоятельствам.
И уберите, пожалуйста, драйвера kbd, mouse из конфиг.файла иксов - у Вас evdev.
Вообще-то, конфиг иксов лучше перекроить "заного", с чистого листа.
Спасибо! Удалил xorg.conf,
Спасибо!
Удалил xorg.conf, добавил в /etc/X11/xorg.conf.d/10-nvidia.con:
Section "ServerLayout" Identifier "layout" Screen 0 "nvidia" EndSection Section "Device" Identifier "nvidia" Driver "nvidia" Option "RegistryDwords" "EnableBrightnessControl=1" EndSection Section "Screen" Identifier "nvidia" Device "nvidia" Option "AllowEmptyInitialConfiguration" EndSectionX стартуют только когда eselect opengl set xorg-x11. Если eselect opengl set nvidia, то черный экран и в логах Xorg (WW) Warning, couldn't open module x11glvnd.
лучше перекроить
лучше перекроить "заного"Всегда слово "заново" в таком написании веселило...
.
Намекаете на Слепно
ву? ;-)Мы тоже не всего читали Шнитке!.. © В. Вишневский
Добавил sddm в группу video,
Добавил sddm в группу video, всё работает.
Спасибо. Всем удачи!