LINUX.ORG.RU

Nouveau OpenGL version

 , ,


0

1

Утверждается, что в mesa для nouveau на чипах семейства NV50 есть поддержка OpenGL 3.3 (можно посмотреть здесь). Но у меня почему-то glxinfo показывает версию 3.0.

$ glxinfo | grep version                                                                                                                
server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL version string: 3.0 Mesa 10.3.0
OpenGL shading language version string: 1.30

$ glxinfo | grep -i direct
direct rendering: Yes
Установлена mesa 10.3.0
$ eix -I media-libs/mesa
[I] media-libs/mesa
     Available versions:  [M]7.10.3 [M]7.11.2 [M]8.0.4-r1 [M]~9.0.3 9.1.6 ~9.2.5-r1 10.0.4 ~10.1.0 ~10.1.1 ~10.1.3 ~10.1.4 ~10.1.6 ~10.2.1 ~10.2.2 ~10.2.4 ~10.2.6 ~10.2.7 ~10.2.8 (~)10.3.0 {bindist +classic debug +dri3 +egl g3dvl +gallium (+)gbm gles gles1 gles2 hardened (+)llvm (+)llvm-shared-libs motif +nptl opencl openmax openvg osmesa pax_kernel pic r600-llvm-compiler selinux shared-dricore +shared-glapi vdpau wayland xa xorg xvmc ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" VIDEO_CARDS="freedreno i915 i965 ilo intel mach64 mga nouveau r100 r128 r200 r300 r600 radeon radeonsi savage sis tdfx via vmware"}
     Installed versions:  10.3.0(01:41:31 13.10.2014)(classic dri3 egl gallium gbm gles1 gles2 llvm nptl opencl openmax openvg vdpau xvmc -bindist -debug -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -wayland -xa ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" KERNEL="-FreeBSD" VIDEO_CARDS="nouveau -freedreno -i915 -i965 -ilo -intel -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware")
     Homepage:            http://mesa3d.sourceforge.net/
     Description:         OpenGL-like graphic library for Linux
nouveau версии 1.0.11:
$ eix -I nouveau
[I] x11-drivers/xf86-video-nouveau
     Available versions:  1.0.9 1.0.10 ~1.0.10-r1 (~)1.0.11[1] {udev}
     Installed versions:  1.0.11[1](21:06:52 13.10.2014)(udev)
     Homepage:            http://nouveau.freedesktop.org/
     Description:         Accelerated Open Source driver for nVidia cards

Установлена видеокарта на чипе G94 (семейство NV50) вот dmesg:

# dmesg | grep nouveau
[    8.446169] nouveau  [  DEVICE][0000:01:00.0] BOOT0  : 0x094100a1
[    8.446171] nouveau  [  DEVICE][0000:01:00.0] Chipset: G94 (NV94)
[    8.446172] nouveau  [  DEVICE][0000:01:00.0] Family : NV50
[    8.446185] nouveau  [   VBIOS][0000:01:00.0] checking PRAMIN for image...
[    8.547543] nouveau  [   VBIOS][0000:01:00.0] ... appears to be valid
[    8.547545] nouveau  [   VBIOS][0000:01:00.0] using image from PRAMIN
[    8.547636] nouveau  [   VBIOS][0000:01:00.0] BIT signature found
[    8.547638] nouveau  [   VBIOS][0000:01:00.0] version 62.94.0d.00.02
[    8.586835] nouveau 0000:01:00.0: irq 45 for MSI/MSI-X
[    8.586845] nouveau  [     PMC][0000:01:00.0] MSI interrupts enabled
[    8.586871] nouveau  [     PFB][0000:01:00.0] RAM type: GDDR3
[    8.586872] nouveau  [     PFB][0000:01:00.0] RAM size: 512 MiB
[    8.586874] nouveau  [     PFB][0000:01:00.0]    ZCOMP: 4096 tags
[    8.587691] nouveau  [    VOLT][0000:01:00.0] GPU voltage: 1000000uv
[    8.639721] nouveau  [  PTHERM][0000:01:00.0] FAN control: PWM
[    8.639732] nouveau  [  PTHERM][0000:01:00.0] fan management: automatic
[    8.639760] nouveau  [  PTHERM][0000:01:00.0] internal sensor: yes
[    8.639779] nouveau  [     CLK][0000:01:00.0] 0f: core 675 MHz shader 1625 MHz memory 1000 MHz
[    8.639811] nouveau  [     CLK][0000:01:00.0] --: core 500 MHz shader 1250 MHz memory 499 MHz
[    8.644045] nouveau  [     DRM] VRAM: 512 MiB
[    8.644046] nouveau  [     DRM] GART: 1048576 MiB
[    8.644050] nouveau  [     DRM] TMDS table version 2.0
[    8.644051] nouveau  [     DRM] DCB version 4.0
[    8.644053] nouveau  [     DRM] DCB outp 00: 02000300 00000028
[    8.644054] nouveau  [     DRM] DCB outp 01: 01000302 00020030
[    8.644055] nouveau  [     DRM] DCB outp 02: 04011310 00000028
[    8.644057] nouveau  [     DRM] DCB outp 03: 02011312 00020030
[    8.644058] nouveau  [     DRM] DCB outp 04: 010223f1 00c0c080
[    8.644059] nouveau  [     DRM] DCB conn 00: 00001030
[    8.644060] nouveau  [     DRM] DCB conn 01: 00002130
[    8.644062] nouveau  [     DRM] DCB conn 02: 00000210
[    8.644063] nouveau  [     DRM] DCB conn 03: 00000211
[    8.644064] nouveau  [     DRM] DCB conn 04: 00000213
[    8.665546] nouveau W[     DRM] failed to create encoder 0/1/0: -19
[    8.665549] nouveau W[     DRM] TV-1 has no encoders, removing
[    8.705014] nouveau  [     DRM] MM: using CRYPT for buffer copies
[    8.799039] nouveau  [     DRM] allocated 1280x1024 fb: 0x70000, bo ffff8800bba10000
[    8.799089] fbcon: nouveaufb (fb0) is primary device
[    9.003915] nouveau 0000:01:00.0: fb0: nouveaufb frame buffer device
[    9.003917] nouveau 0000:01:00.0: registered panic notifier
[    9.003923] [drm] Initialized nouveau 1.1.1 20120801 for 0000:01:00.0 on minor 0
NVRM: nouveau, rivafb, nvidiafb or rivatv 
Ядерный драйвер из состава ядра 3.14.14.

Есть идеи, почему так происходит?

Ответ на: комментарий от Novell-ch

Ага, уже нагуглил, только в решении было так: MESA_GL_VERSION_OVERRIDE=3.2FC MESA_GLSL_VERSION_OVERRIDE=150 - это для Oil Rush

Спасибо!

Black_Shadow ★★★★★ ()
Последнее исправление: Black_Shadow (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.