Closed ghost closed 8 years ago
This bug triggered by trying to run FreeCAD from optirun.
Coin warning in glglue_init(): glVertexArrayRangeNV found, but one or more of the other vertex array functions were not found
Looking at the coin3d code showed that various GLX features were broken.
As a quick test I installed and ran 'unity_support_test' from the Ubuntu 'nux-tools' package.
candlish@w530:/tmp$ optirun /usr/lib/nux/unity_support_test -p OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: Quadro K2000M/PCIe/SSE2 OpenGL version string: 4.4.0 NVIDIA 340.65 Not software rendered: yes Not blacklisted: yes GLX fbconfig: no GLX texture from pixmap: no GL npot or rect textures: yes GL vertex program: yes GL fragment program: yes GL vertex buffer object: yes GL framebuffer object: yes GL version is 1.4+: yes Unity 3D supported: no candlish@w530:/tmp$
optirun will execute, but the results are goofy.
[ 3970.059] X.Org X Server 1.16.4 Release Date: 2014-12-20 [ 3970.059] X Protocol Version 11, Revision 0 [ 3970.059] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian [ 3970.059] Current Operating System: Linux w530 3.16.7-jbc001 #1 SMP Wed Apr 15 17:14:59 CEST 2015 x86_64 [ 3970.059] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.16.7-jbc001 root=UUID=21336a10-a207-4e2f-87fc-342f440760d6 ro quiet nox2apic i915.i915_enable_rc6=1 i915.i915_enable_fbc=1 i915.lvds_downclock=1 acpi_backlight=vendor rcutree.rcu_idle_gp_delay=1 [ 3970.059] Build Date: 11 February 2015 12:32:02AM [ 3970.059] xorg-server 2:1.16.4-1 (http://www.debian.org/support) [ 3970.059] Current version of pixman: 0.32.6 [ 3970.059] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 3970.059] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 3970.060] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Apr 15 21:24:08 2015 [ 3970.060] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia" [ 3970.060] (++) Using config directory: "/etc/bumblebee/xorg.conf.d" [ 3970.060] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 3970.060] (==) ServerLayout "Layout0" [ 3970.060] (==) No screen section available. Using defaults. [ 3970.060] (**) |-->Screen "Default Screen Section" (0) [ 3970.060] (**) | |-->Monitor "<default monitor>" [ 3970.060] (==) No device specified for screen "Default Screen Section". Using the first device section listed. [ 3970.060] (**) | |-->Device "DiscreteNvidia" [ 3970.061] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 3970.061] (**) Option "AutoAddDevices" "false" [ 3970.061] (**) Option "AutoAddGPU" "false" [ 3970.061] (**) Not automatically adding devices [ 3970.061] (==) Automatically enabling devices [ 3970.061] (**) Not automatically adding GPU devices [ 3970.061] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 3970.061] Entry deleted from font path. [ 3970.061] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 3970.061] (++) ModulePath set to "/usr/lib/nvidia,/usr/lib/xorg/modules" [ 3970.061] (==) |-->Input Device "<default pointer>" [ 3970.061] (==) |-->Input Device "<default keyboard>" [ 3970.061] (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. [ 3970.061] (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration. [ 3970.061] (II) Loader magic: 0x7f100cc0ad80 [ 3970.061] (II) Module ABI versions: [ 3970.061] X.Org ANSI C Emulation: 0.4 [ 3970.061] X.Org Video Driver: 18.0 [ 3970.061] X.Org XInput driver : 21.0 [ 3970.061] X.Org Server Extension : 8.0 [ 3970.061] (II) xfree86: Adding drm device (/dev/dri/card1) [ 3970.061] (II) xfree86: Adding drm device (/dev/dri/card0) [ 3970.061] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied [ 3970.064] (--) PCI:*(0:1:0:0) 10de:0ffb:17aa:21f5 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288 [ 3970.064] (II) LoadModule: "glx" [ 3970.064] (II) Loading /usr/lib/nvidia/nvidia/libglx.so [ 3970.075] (II) Module glx: vendor="NVIDIA Corporation" [ 3970.075] compiled for 4.0.2, module version = 1.0.0 [ 3970.075] Module class: X.Org Server Extension [ 3970.075] (II) NVIDIA GLX Module 340.76 Thu Jan 22 11:24:42 PST 2015 [ 3970.075] (II) LoadModule: "nvidia" [ 3970.076] (II) Loading /usr/lib/nvidia/nvidia_drv.so [ 3970.076] (II) Module nvidia: vendor="NVIDIA Corporation" [ 3970.076] compiled for 4.0.2, module version = 1.0.0 [ 3970.076] Module class: X.Org Video Driver [ 3970.076] (II) LoadModule: "mouse" [ 3970.076] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so [ 3970.076] (II) Module mouse: vendor="X.Org Foundation" [ 3970.076] compiled for 1.16.1, module version = 1.9.1 [ 3970.076] Module class: X.Org XInput Driver [ 3970.076] ABI class: X.Org XInput driver, version 21.0 [ 3970.076] (II) LoadModule: "kbd" [ 3970.077] (WW) Warning, couldn't open module kbd [ 3970.077] (II) UnloadModule: "kbd" [ 3970.077] (II) Unloading kbd [ 3970.077] (EE) Failed to load module "kbd" (module does not exist, 0) [ 3970.077] (II) NVIDIA dlloader X Driver 340.76 Thu Jan 22 11:03:05 PST 2015 [ 3970.077] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs [ 3970.077] (--) using VT number 7 [ 3970.077] (II) Loading sub module "fb" [ 3970.077] (II) LoadModule: "fb" [ 3970.077] (II) Loading /usr/lib/xorg/modules/libfb.so [ 3970.077] (II) Module fb: vendor="X.Org Foundation" [ 3970.077] compiled for 1.16.4, module version = 1.0.0 [ 3970.077] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3970.077] (WW) Unresolved symbol: fbGetGCPrivateKey [ 3970.078] (II) Loading sub module "wfb" [ 3970.078] (II) LoadModule: "wfb" [ 3970.078] (II) Loading /usr/lib/xorg/modules/libwfb.so [ 3970.078] (II) Module wfb: vendor="X.Org Foundation" [ 3970.078] compiled for 1.16.4, module version = 1.0.0 [ 3970.078] ABI class: X.Org ANSI C Emulation, version 0.4 [ 3970.078] (II) Loading sub module "ramdac" [ 3970.078] (II) LoadModule: "ramdac" [ 3970.078] (II) Module "ramdac" already built-in [ 3970.078] (II) NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 3970.079] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32 [ 3970.079] (==) NVIDIA(0): RGB weight 888 [ 3970.079] (==) NVIDIA(0): Default visual is TrueColor [ 3970.079] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 3970.079] (**) NVIDIA(0): Option "NoLogo" "true" [ 3970.079] (**) NVIDIA(0): Option "ProbeAllGpus" "false" [ 3970.079] (**) NVIDIA(0): Option "UseEDID" "false" [ 3970.079] (**) NVIDIA(0): Option "UseDisplayDevice" "none" [ 3970.079] (**) NVIDIA(0): Enabling 2D acceleration [ 3970.079] (**) NVIDIA(0): Ignoring EDIDs [ 3970.079] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout [ 3970.079] (**) NVIDIA(0): mode [ 3970.620] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116) [ 3970.621] (II) NVIDIA(0): NVIDIA GPU Quadro K2000M (GK107GL) at PCI:1:0:0 (GPU-0) [ 3970.621] (--) NVIDIA(0): Memory: 2097152 kBytes [ 3970.621] (--) NVIDIA(0): VideoBIOS: 80.07.31.00.18 [ 3970.621] (II) NVIDIA(0): Detected PCI Express Link width: 16X [ 3970.621] (--) NVIDIA(0): Valid display device(s) on Quadro K2000M at PCI:1:0:0 [ 3970.621] (--) NVIDIA(0): none [ 3970.621] (II) NVIDIA(0): Validated MetaModes: [ 3970.621] (II) NVIDIA(0): "NULL" [ 3970.621] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480 [ 3970.621] (WW) NVIDIA(0): Unable to get display device for DPI computation. [ 3970.621] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default [ 3970.621] (--) Depth 24 pixmap format is 32 bpp [ 3970.621] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory [ 3970.621] (II) NVIDIA: access. [ 3970.626] (II) NVIDIA(0): Setting mode "NULL" [ 3970.652] (==) NVIDIA(0): Disabling shared memory pixmaps [ 3970.652] (==) NVIDIA(0): Backing store enabled [ 3970.652] (==) NVIDIA(0): Silken mouse enabled [ 3970.652] (==) NVIDIA(0): DPMS enabled [ 3970.652] (II) Loading sub module "dri2" [ 3970.652] (II) LoadModule: "dri2" [ 3970.652] (II) Module "dri2" already built-in [ 3970.652] (II) NVIDIA(0): [DRI2] Setup complete [ 3970.652] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia [ 3970.653] (--) RandR disabled [ 3970.658] (II) SELinux: Disabled on system [ 3970.659] (II) Initializing extension GLX [ 3970.659] (II) Indirect GLX disabled.
Is that last bit about GLX disabled important?
This is on Debian Jessie, otherwise the package versions are as in the above data.
Thanks jCandlish .
It might. Could you try https://github.com/amonakov/glsanity?
No answer, closing.
This bug triggered by trying to run FreeCAD from optirun.
Looking at the coin3d code showed that various GLX features were broken.
As a quick test I installed and ran 'unity_support_test' from the Ubuntu 'nux-tools' package.
optirun will execute, but the results are goofy.
Is that last bit about GLX disabled important?
This is on Debian Jessie, otherwise the package versions are as in the above data.
Thanks jCandlish .