Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]OpenGL Nvidia failures
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Sun Jan 31, 2016 7:42 pm    Post subject: [SOLVED]OpenGL Nvidia failures Reply with quote

tldnr sollution

https://wiki.gentoo.org/wiki/NVidia/nvidia-drivers/en#Permissions

Code:
#gpasswd -add <name> video




When using nvidia as openGL [ eselect opengl set <nvidia's nimber> ] GL apps fail with

Code:
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  28
  Current serial number in output stream:  29


in java apps it claims there is no openGL context. (attempting to launch Minecraft:Tekkit with nvidia GL)

I think this is the most important point but full output is here http://pastebin.com/rR9vbv4p
Code:
-- System Details --
Details:
   Minecraft Version: 1.6.4
   Operating System: Linux (amd64) version 4.1.15-gentoo-r1
   Java Version: 1.8.0_72, Oracle Corporation
   Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
   Memory: 4213180928 bytes (4018 MB) / 4294967296 bytes (4096 MB) up to 4294967296 bytes (4096 MB)
   JVM Flags: 4 total; -Xms4096m -Xmx4096m -XX:+UseG1GC -XX:MaxGCPauseMillis=4
   AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
   Suspicious classes: FML and Forge are installed
   IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
   FML:
   Launched Version: 1.6.4-Forge9.11.1.965
   LWJGL: 2.9.0
   OpenGL: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.
   Is Modded: Definitely; Client brand changed to 'fml,forge'
   Type: Client (map_client.txt)
   Resource Pack: Default
   Current Language: ~~ERROR~~ NullPointerException: null
   Profiler Position: N/A (disabled)
   Vec3 Pool Size: ~~ERROR~~ NullPointerException: null


Im guessing somthing did not merge correctly but im stumped as for the next move.

Thanks for reading[/quote]
_________________
:)


Last edited by mayhew on Thu Feb 04, 2016 4:52 am; edited 1 time in total
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Sun Jan 31, 2016 11:48 pm    Post subject: Reply with quote

glxgears and glxinfo outputs
Code:

fen@mayhew2 ~ $ glxgears
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  28
  Current serial number in output stream:  29


Code:
fen@mayhew2 ~ $ glxinfo
name of display: :0.0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  78
  Current serial number in output stream:  79

_________________
:)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Feb 01, 2016 7:03 am    Post subject: Reply with quote

xorg.log please

emerge -pv xorg-server

qlist -Iv nvidia

nvidia only box or nvidia+intel gpu box?
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Mon Feb 01, 2016 3:35 pm    Post subject: Reply with quote

Xorg log from 2-1-16 w/xorg-x11 as openGL imp.

Code:
[   332.127]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[   332.127] X Protocol Version 11, Revision 0
[   332.128] Build Operating System: Linux 4.1.15-gentoo-r1 x86_64 Gentoo
[   332.128] Current Operating System: Linux mayhew2 4.1.15-gentoo-r1 #2 SMP Sat Jan 30 14:19:59 MST 2016 x86_64
[   332.128] Kernel command line: BOOT_IMAGE=/boot/kernel-M2-4.1.15-gentoo-r1 root=/dev/sdb1 ro
[   332.129] Build Date: 30 January 2016  05:09:38PM
[   332.129] 
[   332.129] Current version of pixman: 0.32.8
[   332.130]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[   332.130] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   332.131] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb  1 11:06:53 2016
[   332.132] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   332.132] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   332.132] (==) ServerLayout "Layout0"
[   332.132] (**) |-->Screen "Screen0" (0)
[   332.132] (**) |   |-->Monitor "Monitor0"
[   332.132] (**) |   |-->Device "Device0"
[   332.132] (**) |-->Screen "Screen1" (1)
[   332.132] (**) |   |-->Monitor "Monitor1"
[   332.132] (**) |   |-->Device "Device1"
[   332.132] (**) |-->Input Device "Keyboard0"
[   332.132] (**) |-->Input Device "Mouse0"
[   332.132] (**) Option "Xinerama" "0"
[   332.132] (==) Automatically adding devices
[   332.132] (==) Automatically enabling devices
[   332.132] (==) Automatically adding GPU devices
[   332.132] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   332.132]    Entry deleted from font path.
[   332.132] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   332.132]    Entry deleted from font path.
[   332.132] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   332.132]    Entry deleted from font path.
[   332.132] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[   332.132]    Entry deleted from font path.
[   332.132]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[   332.132] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   332.132]    Entry deleted from font path.
[   332.132]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   332.133] (==) FontPath set to:
   /usr/share/fonts/misc/
[   332.133] (**) ModulePath set to "/usr/lib64/xorg/modules"
[   332.133] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[   332.133] (WW) Disabling Keyboard0
[   332.133] (WW) Disabling Mouse0
[   332.133] (II) Loader magic: 0x808c80
[   332.133] (II) Module ABI versions:
[   332.133]    X.Org ANSI C Emulation: 0.4
[   332.133]    X.Org Video Driver: 19.0
[   332.133]    X.Org XInput driver : 21.0
[   332.133]    X.Org Server Extension : 9.0
[   332.133] (II) xfree86: Adding drm device (/dev/dri/card0)
[   332.134] (--) PCI:*(0:1:0:0) 10de:1201:19da:1227 rev 161, Mem @ 0xf8000000/33554432, 0xd0000000/134217728, 0xdc000000/67108864, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
[   332.134] (II) LoadModule: "glx"
[   332.134] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   332.135] (II) Module glx: vendor="X.Org Foundation"
[   332.135]    compiled for 1.17.4, module version = 1.0.0
[   332.135]    ABI class: X.Org Server Extension, version 9.0
[   332.135] (==) AIGLX enabled
[   332.135] (II) LoadModule: "nvidia"
[   332.135] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   332.135] (II) Module nvidia: vendor="NVIDIA Corporation"
[   332.135]    compiled for 4.0.2, module version = 1.0.0
[   332.135]    Module class: X.Org Video Driver
[   332.135] (II) NVIDIA dlloader X Driver  352.63  Sat Nov  7 20:29:25 PST 2015
[   332.135] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   332.135] (--) using VT number 7

[   332.144] (II) Loading sub module "fb"
[   332.144] (II) LoadModule: "fb"
[   332.144] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   332.144] (II) Module fb: vendor="X.Org Foundation"
[   332.144]    compiled for 1.17.4, module version = 1.0.0
[   332.144]    ABI class: X.Org ANSI C Emulation, version 0.4
[   332.144] (II) Loading sub module "wfb"
[   332.144] (II) LoadModule: "wfb"
[   332.144] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   332.144] (II) Module wfb: vendor="X.Org Foundation"
[   332.144]    compiled for 1.17.4, module version = 1.0.0
[   332.144]    ABI class: X.Org ANSI C Emulation, version 0.4
[   332.144] (II) Loading sub module "ramdac"
[   332.144] (II) LoadModule: "ramdac"
[   332.144] (II) Module "ramdac" already built-in
[   332.145] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[   332.145] (==) NVIDIA(0): RGB weight 888
[   332.145] (==) NVIDIA(0): Default visual is TrueColor
[   332.145] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   332.145] (**) NVIDIA(0): Option "Stereo" "0"
[   332.145] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-1"
[   332.145] (**) NVIDIA(0): Option "SLI" "Off"
[   332.145] (**) NVIDIA(0): Option "MultiGPU" "Off"
[   332.145] (**) NVIDIA(0): Option "BaseMosaic" "off"
[   332.145] (**) NVIDIA(0): Stereo disabled by request
[   332.145] (**) NVIDIA(0): NVIDIA SLI disabled.
[   332.145] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[   332.145] (**) NVIDIA(0): Option "MetaModes" "HDMI-0: nvidia-auto-select +0+0"
[   332.145] (**) NVIDIA(1): Option "MetaModes" "DVI-I-3: nvidia-auto-select +0+0"
[   332.145] (**) NVIDIA(0): Enabling 2D acceleration
[   332.145] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
[   332.145] (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
[   332.145] (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
[   332.145] (EE) NVIDIA(0):     you continue to encounter problems, Please try
[   332.145] (EE) NVIDIA(0):     reinstalling the NVIDIA driver.
[   332.396] (II) NVIDIA: Allocated GPU:0 (GPU-e26f6e4d-59eb-75bd-7026-60a887297a4f) @
[   332.396] (II) NVIDIA:     PCI:0000:01:00.0
[   332.406] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   332.406] (--) NVIDIA(0):     CRT-0
[   332.406] (--) NVIDIA(0):     CRT-1
[   332.406] (--) NVIDIA(0):     DFP-0
[   332.406] (--) NVIDIA(0):     DFP-1
[   332.406] (--) NVIDIA(0):     DFP-2
[   332.406] (--) NVIDIA(0):     DFP-3 (boot)
[   332.406] (--) NVIDIA(0):     DFP-4
[   332.409] (--) NVIDIA(0): CRT-0: disconnected
[   332.409] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[   332.409] (--) NVIDIA(0):
[   332.415] (--) NVIDIA(0): CRT-1: disconnected
[   332.415] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
[   332.415] (--) NVIDIA(0):
[   332.417] (--) NVIDIA(0): DFP-0: disconnected
[   332.417] (--) NVIDIA(0): DFP-0: Internal TMDS
[   332.417] (--) NVIDIA(0): DFP-0: 330.0 MHz maximum pixel clock
[   332.417] (--) NVIDIA(0):
[   332.429] (--) NVIDIA(0): BBY NS-24D510NA15 (DFP-1): connected
[   332.429] (--) NVIDIA(0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   332.429] (--) NVIDIA(0): BBY NS-24D510NA15 (DFP-1): 165.0 MHz maximum pixel clock
[   332.429] (--) NVIDIA(0):
[   332.429] (--) NVIDIA(0): DFP-2: disconnected
[   332.429] (--) NVIDIA(0): DFP-2: Internal TMDS
[   332.430] (--) NVIDIA(0): DFP-2: 165.0 MHz maximum pixel clock
[   332.430] (--) NVIDIA(0):
[   332.442] (--) NVIDIA(0): Acer X203H (DFP-3): connected
[   332.442] (--) NVIDIA(0): Acer X203H (DFP-3): Internal TMDS
[   332.442] (--) NVIDIA(0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   332.442] (--) NVIDIA(0):
[   332.442] (--) NVIDIA(0): DFP-4: disconnected
[   332.442] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[   332.442] (--) NVIDIA(0): DFP-4: 480.0 MHz maximum pixel clock
[   332.442] (--) NVIDIA(0):
[   332.442] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[   332.442] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 560 (GF114) at PCI:1:0:0 (GPU-0)
[   332.442] (--) NVIDIA(0): Memory: 1048576 kBytes
[   332.442] (--) NVIDIA(0): VideoBIOS: 70.24.2d.00.01
[   332.442] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   332.462] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[   332.462] (**) NVIDIA(0):     device BBY NS-24D510NA15 (DFP-1) (Using EDID frequencies
[   332.462] (**) NVIDIA(0):     has been enabled on all display devices.)
[   332.465] (II) NVIDIA(0): Validated MetaModes:
[   332.465] (II) NVIDIA(0):     "HDMI-0:nvidia-auto-select+0+0"
[   332.465] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[   332.472] (--) NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config
[   332.472] (--) NVIDIA(0):     option
[   332.472] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
[   332.472] (==) NVIDIA(1): RGB weight 888
[   332.472] (==) NVIDIA(1): Default visual is TrueColor
[   332.472] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
[   332.472] (**) NVIDIA(1): Option "Stereo" "0"
[   332.472] (**) NVIDIA(1): Option "SLI" "Off"
[   332.472] (**) NVIDIA(1): Option "MultiGPU" "Off"
[   332.472] (**) NVIDIA(1): Option "BaseMosaic" "off"
[   332.472] (**) NVIDIA(1): Stereo disabled by request
[   332.472] (**) NVIDIA(1): NVIDIA SLI disabled.
[   332.472] (**) NVIDIA(1): NVIDIA Multi-GPU disabled.
[   332.472] (II) NVIDIA(1): NVIDIA GPU GeForce GTX 560 (GF114) at PCI:1:0:0 (GPU-0)
[   332.472] (--) NVIDIA(1): Memory: 1048576 kBytes
[   332.472] (--) NVIDIA(1): VideoBIOS: 70.24.2d.00.01
[   332.472] (II) NVIDIA(1): Detected PCI Express Link width: 16X
[   332.472] (**) NVIDIA(1): Using HorizSync/VertRefresh ranges from the EDID for display
[   332.472] (**) NVIDIA(1):     device Acer X203H (DFP-3) (Using EDID frequencies has been
[   332.472] (**) NVIDIA(1):     enabled on all display devices.)
[   332.474] (II) NVIDIA(1): Validated MetaModes:
[   332.474] (II) NVIDIA(1):     "DVI-I-3:nvidia-auto-select+0+0"
[   332.474] (II) NVIDIA(1): Virtual screen size determined to be 1600 x 900
[   332.479] (--) NVIDIA(1): DPI set to (92, 91); computed from "UseEdidDpi" X config
[   332.479] (--) NVIDIA(1):     option
[   332.479] (--) Depth 24 pixmap format is 32 bpp
[   332.479] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[   332.479] (II) NVIDIA:     access.
[   332.485] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   332.485] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   332.485] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   332.485] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   332.485] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   332.485] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   332.485] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   332.485] (II) NVIDIA(0):     Config Options in the README.
[   332.517] (II) NVIDIA(0): Setting mode "HDMI-0:nvidia-auto-select+0+0"
[   332.569] (==) NVIDIA(0): Disabling shared memory pixmaps
[   332.569] (==) NVIDIA(0): Backing store enabled
[   332.569] (==) NVIDIA(0): Silken mouse enabled
[   332.569] (**) NVIDIA(0): DPMS enabled
[   332.569] (II) Loading sub module "dri2"
[   332.569] (II) LoadModule: "dri2"
[   332.569] (II) Module "dri2" already built-in
[   332.569] (II) NVIDIA(0): [DRI2] Setup complete
[   332.569] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   332.569] (--) RandR disabled
[   332.573] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
[   332.573] (II) NVIDIA(1):     may not be running or the "AcpidSocketPath" X
[   332.573] (II) NVIDIA(1):     configuration option may not be set correctly.  When the
[   332.573] (II) NVIDIA(1):     ACPI event daemon is available, the NVIDIA X driver will
[   332.573] (II) NVIDIA(1):     try to use it to receive ACPI event notifications.  For
[   332.573] (II) NVIDIA(1):     details, please see the "ConnectToAcpid" and
[   332.573] (II) NVIDIA(1):     "AcpidSocketPath" X configuration options in Appendix B: X
[   332.573] (II) NVIDIA(1):     Config Options in the README.
[   332.606] (II) NVIDIA(1): Setting mode "DVI-I-3:nvidia-auto-select+0+0"
[   332.653] (==) NVIDIA(1): Disabling shared memory pixmaps
[   332.653] (==) NVIDIA(1): Backing store enabled
[   332.653] (==) NVIDIA(1): Silken mouse enabled
[   332.653] (**) NVIDIA(1): DPMS enabled
[   332.653] (II) Loading sub module "dri2"
[   332.653] (II) LoadModule: "dri2"
[   332.653] (II) Module "dri2" already built-in
[   332.653] (II) NVIDIA(1): [DRI2] Setup complete
[   332.653] (II) NVIDIA(1): [DRI2]   VDPAU driver: nvidia
[   332.653] (--) RandR disabled
[   332.654] (II) AIGLX: Screen 0 is not DRI2 capable
[   332.654] (EE) AIGLX: reverting to software rendering
[   332.662] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   332.663] (II) AIGLX: Loaded and initialized swrast
[   332.663] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   332.663] (II) AIGLX: Screen 1 is not DRI2 capable
[   332.663] (EE) AIGLX: reverting to software rendering
[   332.664] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   332.665] (II) AIGLX: Loaded and initialized swrast
[   332.665] (II) GLX: Initialized DRISWRAST GL provider for screen 1
[   332.692] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   332.692] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   332.692] (II) LoadModule: "evdev"
[   332.692] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   332.692] (II) Module evdev: vendor="X.Org Foundation"
[   332.692]    compiled for 1.17.4, module version = 2.9.2
[   332.692]    Module class: X.Org XInput Driver
[   332.692]    ABI class: X.Org XInput driver, version 21.0
[   332.692] (II) Using input driver 'evdev' for 'Power Button'
[   332.692] (**) Power Button: always reports core events
[   332.692] (**) evdev: Power Button: Device: "/dev/input/event1"
[   332.693] (--) evdev: Power Button: Vendor 0 Product 0x1
[   332.693] (--) evdev: Power Button: Found keys
[   332.693] (II) evdev: Power Button: Configuring as keyboard
[   332.693] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[   332.693] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   332.693] (**) Option "xkb_rules" "evdev"
[   332.693] (**) Option "xkb_model" "pc104"
[   332.693] (**) Option "xkb_layout" "us"
[   332.710] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   332.710] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   332.710] (II) Using input driver 'evdev' for 'Power Button'
[   332.710] (**) Power Button: always reports core events
[   332.710] (**) evdev: Power Button: Device: "/dev/input/event0"
[   332.710] (--) evdev: Power Button: Vendor 0 Product 0x1
[   332.710] (--) evdev: Power Button: Found keys
[   332.710] (II) evdev: Power Button: Configuring as keyboard
[   332.710] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   332.710] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   332.710] (**) Option "xkb_rules" "evdev"
[   332.710] (**) Option "xkb_model" "pc104"
[   332.710] (**) Option "xkb_layout" "us"
[   332.711] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event2)
[   332.711] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   332.711] (II) Using input driver 'evdev' for 'Dell Dell USB Keyboard'
[   332.711] (**) Dell Dell USB Keyboard: always reports core events
[   332.711] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event2"
[   332.711] (--) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2010
[   332.711] (--) evdev: Dell Dell USB Keyboard: Found keys
[   332.711] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[   332.711] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb6/6-1/6-1.1/6-1.1:1.0/0003:413C:2010.0001/input/input3/event2"
[   332.711] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD, id 8)
[   332.711] (**) Option "xkb_rules" "evdev"
[   332.711] (**) Option "xkb_model" "pc104"
[   332.711] (**) Option "xkb_layout" "us"
[   332.712] (II) config/udev: Adding input device Dell Dell USB Keyboard (/dev/input/event3)
[   332.712] (**) Dell Dell USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   332.712] (II) Using input driver 'evdev' for 'Dell Dell USB Keyboard'
[   332.712] (**) Dell Dell USB Keyboard: always reports core events
[   332.712] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event3"
[   332.712] (--) evdev: Dell Dell USB Keyboard: Vendor 0x413c Product 0x2010
[   332.712] (--) evdev: Dell Dell USB Keyboard: Found absolute axes
[   332.712] (II) evdev: Dell Dell USB Keyboard: Forcing absolute x/y axes to exist.
[   332.712] (--) evdev: Dell Dell USB Keyboard: Found keys
[   332.712] (II) evdev: Dell Dell USB Keyboard: Forcing relative x/y axes to exist.
[   332.712] (II) evdev: Dell Dell USB Keyboard: Configuring as mouse
[   332.712] (II) evdev: Dell Dell USB Keyboard: Configuring as keyboard
[   332.712] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb6/6-1/6-1.1/6-1.1:1.1/0003:413C:2010.0002/input/input4/event3"
[   332.712] (II) XINPUT: Adding extended input device "Dell Dell USB Keyboard" (type: KEYBOARD, id 9)
[   332.712] (**) Option "xkb_rules" "evdev"
[   332.712] (**) Option "xkb_model" "pc104"
[   332.712] (**) Option "xkb_layout" "us"
[   332.712] (II) evdev: Dell Dell USB Keyboard: initialized for absolute axes.
[   332.712] (**) Dell Dell USB Keyboard: (accel) keeping acceleration scheme 1
[   332.712] (**) Dell Dell USB Keyboard: (accel) acceleration profile 0
[   332.712] (**) Dell Dell USB Keyboard: (accel) acceleration factor: 2.000
[   332.712] (**) Dell Dell USB Keyboard: (accel) acceleration threshold: 4
[   332.713] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event4)
[   332.713] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[   332.713] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[   332.713] (**) Logitech USB Receiver: always reports core events
[   332.713] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event4"
[   332.764] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc526
[   332.764] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
[   332.764] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[   332.764] (--) evdev: Logitech USB Receiver: Found relative axes
[   332.764] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[   332.764] (II) evdev: Logitech USB Receiver: Configuring as mouse
[   332.764] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[   332.764] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[   332.764] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   332.764] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb6/6-1/6-1.2/6-1.2:1.0/0003:046D:C526.0003/input/input5/event4"
[   332.764] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 10)
[   332.764] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[   332.764] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[   332.764] (**) Logitech USB Receiver: (accel) acceleration profile 0
[   332.764] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[   332.764] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[   332.764] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[   332.764] (II) No input driver specified, ignoring this device.
[   332.764] (II) This device may have been added with another device file.
[   332.765] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event5)
[   332.765] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[   332.765] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[   332.765] (**) Logitech USB Receiver: always reports core events
[   332.765] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event5"
[   332.765] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc526
[   332.765] (--) evdev: Logitech USB Receiver: Found 1 mouse buttons
[   332.765] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[   332.765] (--) evdev: Logitech USB Receiver: Found relative axes
[   332.765] (II) evdev: Logitech USB Receiver: Forcing relative x/y axes to exist.
[   332.765] (--) evdev: Logitech USB Receiver: Found absolute axes
[   332.765] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
[   332.765] (--) evdev: Logitech USB Receiver: Found keys
[   332.765] (II) evdev: Logitech USB Receiver: Configuring as mouse
[   332.765] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[   332.765] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[   332.765] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[   332.765] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   332.765] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb6/6-1/6-1.2/6-1.2:1.1/0003:046D:C526.0004/input/input6/event5"
[   332.765] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 11)
[   332.765] (**) Option "xkb_rules" "evdev"
[   332.765] (**) Option "xkb_model" "pc104"
[   332.765] (**) Option "xkb_layout" "us"
[   332.765] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[   332.765] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
[   332.765] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[   332.765] (**) Logitech USB Receiver: (accel) acceleration profile 0
[   332.765] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[   332.765] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[   332.905] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   332.905] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   332.905] (--) NVIDIA(GPU-0):
[   332.911] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   332.911] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   332.911] (--) NVIDIA(GPU-0):
[   332.914] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   332.914] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   332.914] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   332.914] (--) NVIDIA(GPU-0):
[   332.926] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   332.926] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   332.926] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   332.926] (--) NVIDIA(GPU-0):
[   332.926] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   332.926] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   332.926] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   332.926] (--) NVIDIA(GPU-0):
[   332.938] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   332.938] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   332.938] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   332.938] (--) NVIDIA(GPU-0):
[   332.938] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   332.938] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   332.938] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   332.938] (--) NVIDIA(GPU-0):
[   332.942] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   332.942] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   332.942] (--) NVIDIA(GPU-0):
[   332.948] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   332.948] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   332.948] (--) NVIDIA(GPU-0):
[   332.950] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   332.950] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   332.950] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   332.950] (--) NVIDIA(GPU-0):
[   332.963] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   332.963] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   332.963] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   332.963] (--) NVIDIA(GPU-0):
[   332.963] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   332.963] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   332.963] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   332.963] (--) NVIDIA(GPU-0):
[   332.975] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   332.975] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   332.975] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   332.975] (--) NVIDIA(GPU-0):
[   332.975] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   332.975] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   332.975] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   332.975] (--) NVIDIA(GPU-0):
[   332.979] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   332.979] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   332.979] (--) NVIDIA(GPU-0):
[   332.985] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   332.985] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   332.985] (--) NVIDIA(GPU-0):
[   332.987] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   332.987] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   332.987] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   332.987] (--) NVIDIA(GPU-0):
[   333.000] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   333.000] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   333.000] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   333.000] (--) NVIDIA(GPU-0):
[   333.000] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   333.000] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   333.000] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   333.000] (--) NVIDIA(GPU-0):
[   333.012] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   333.012] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   333.012] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   333.012] (--) NVIDIA(GPU-0):
[   333.012] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   333.012] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   333.012] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   333.012] (--) NVIDIA(GPU-0):
[   333.015] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   333.015] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   333.015] (--) NVIDIA(GPU-0):
[   333.021] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   333.021] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   333.021] (--) NVIDIA(GPU-0):
[   333.024] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   333.024] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   333.024] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   333.024] (--) NVIDIA(GPU-0):
[   333.036] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   333.036] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   333.036] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   333.036] (--) NVIDIA(GPU-0):
[   333.036] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   333.036] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   333.036] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   333.036] (--) NVIDIA(GPU-0):
[   333.048] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   333.048] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   333.048] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   333.048] (--) NVIDIA(GPU-0):
[   333.048] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   333.048] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   333.048] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   333.048] (--) NVIDIA(GPU-0):
[   333.171] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   333.171] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   333.171] (--) NVIDIA(GPU-0):
[   333.177] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   333.177] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   333.177] (--) NVIDIA(GPU-0):
[   333.179] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   333.179] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   333.179] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   333.179] (--) NVIDIA(GPU-0):
[   333.192] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   333.192] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   333.192] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   333.192] (--) NVIDIA(GPU-0):
[   333.192] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   333.192] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   333.192] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   333.192] (--) NVIDIA(GPU-0):
[   333.204] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   333.204] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   333.204] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   333.204] (--) NVIDIA(GPU-0):
[   333.204] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   333.204] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   333.204] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   333.204] (--) NVIDIA(GPU-0):
[   333.218] (--) NVIDIA(GPU-0): CRT-0: disconnected
[   333.218] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   333.218] (--) NVIDIA(GPU-0):
[   333.224] (--) NVIDIA(GPU-0): CRT-1: disconnected
[   333.224] (--) NVIDIA(GPU-0): CRT-1: 400.0 MHz maximum pixel clock
[   333.224] (--) NVIDIA(GPU-0):
[   333.226] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   333.226] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   333.226] (--) NVIDIA(GPU-0): DFP-0: 330.0 MHz maximum pixel clock
[   333.226] (--) NVIDIA(GPU-0):
[   333.239] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): connected
[   333.239] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): Internal TMDS
[   333.239] (--) NVIDIA(GPU-0): BBY NS-24D510NA15 (DFP-1): 225.0 MHz maximum pixel clock
[   333.239] (--) NVIDIA(GPU-0):
[   333.239] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   333.239] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   333.239] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   333.239] (--) NVIDIA(GPU-0):
[   333.251] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): connected
[   333.251] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): Internal TMDS
[   333.251] (--) NVIDIA(GPU-0): Acer X203H (DFP-3): 330.0 MHz maximum pixel clock
[   333.251] (--) NVIDIA(GPU-0):
[   333.251] (--) NVIDIA(GPU-0): DFP-4: disconnected
[   333.251] (--) NVIDIA(GPU-0): DFP-4: Internal DisplayPort
[   333.251] (--) NVIDIA(GPU-0): DFP-4: 480.0 MHz maximum pixel clock
[   333.251] (--) NVIDIA(GPU-0):


emerge -pv xorg-server

Code:
These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] x11-base/xorg-server-1.17.4:0/1.17.4::gentoo  USE="glamor ipv6 nptl suid udev xorg -dmx -doc -kdrive (-libressl) -minimal (-selinux) -static-libs -systemd -tslib -unwind -wayland -xephyr -xnest -xvfb" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

 * IMPORTANT: 12 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.



qlist -Iv nvidia

Quote:
fen@mayhew2 ~ $ qlist -Iv nvidia
x11-drivers/nvidia-drivers-352.63


as far as i can tell i have only a nvidia card
there is the amd motherboard integrated graphics but i dont use them

01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1)
_________________
:)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Mon Feb 01, 2016 4:11 pm    Post subject: Reply with quote

When using glx and nvidia driver you should had their version output in your xorg.log
like this:
Quote:
[ 13.144] (II) LoadModule: "glx"
[ 13.180] (II) Loading /usr/lib/opengl/nvidia/extensions/libglx.so
[ 13.628] (II) Module glx: vendor="NVIDIA Corporation"
[ 13.628] compiled for 4.0.2, module version = 1.0.0
[ 13.628] Module class: X.Org Server Extension
[ 13.628] (II) NVIDIA GLX Module 355.11 Wed Aug 26 16:06:58 PDT 2015
[ 13.628] (II) LoadModule: "nvidia"
[ 13.690] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 13.748] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 13.748] compiled for 4.0.2, module version = 1.0.0
[ 13.748] Module class: X.Org Video Driver
[ 13.761] (II) NVIDIA dlloader X Driver 355.11 Wed Aug 26 15:39:55 PDT 2015
[ 13.761] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs


i quote it to emphasis where you should look and what you should look: vendor must be nvidia on both, and version must match.
and xorg should look at it from
Code:
 [    13.143] (**) ModulePath set to "/usr/lib/opengl/nvidia,/usr/lib/xorg/modules"


and xorg is been told to look there from:
Code:
cat /etc/X11/xorg.conf.d/20opengl.conf
Section "Files"
   ModulePath "/usr/lib/opengl/nvidia"
   ModulePath "/usr/lib/xorg/modules"
EndSection


So in your case, the question is: do you have the 20opengl.conf file?
because your xorg is not looking where it should to find nvidia glx module.
Code:
[   332.133] (**) ModulePath set to "/usr/lib64/xorg/modules"


ps: that's for a 32bits arch, don't copy paste it, just wait a 64bits users to gave you the 20opengl.conf file for 64bits, i suppose all /usr/lib are swap with /usr/lib64, but it's safer to wait the real answer.
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Tue Feb 02, 2016 1:25 am    Post subject: Reply with quote

I do have a 20opengl.conf but with or without it i cant run GL intensive programs in nvidia mode. only in xorg-x11 with serious reductions in graphical performance.

which files should i be looking for "nvidia/libglx.so" or something like that? if i find them i should be able to put their file path in 20opengl.conf

this was a previous installs 20opengl

because the last one was with "xorg-x11" implementation from startx
fresh X OpenGL is nvidia from startx

Code:
$ eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


Xorg Log

http://pastebin.com/yEba10Gf

Code:
[ 34543.111]
X.Org X Server 1.17.4
Release Date: 2015-10-28
[ 34543.112] X Protocol Version 11, Revision 0
[ 34543.112] Build Operating System: Linux 4.1.15-gentoo-r1 x86_64 Gentoo
[ 34543.113] Current Operating System: Linux mayhew2 4.1.15-gentoo-r1 #2 SMP Sat Jan 30 14:19:59 MST 2016 x86_64
[ 34543.113] Kernel command line: BOOT_IMAGE=/boot/kernel-M2-4.1.15-gentoo-r1 root=/dev/sdb1 ro
[ 34543.114] Build Date: 30 January 2016  05:09:38PM
  <truncated>
[ 34543.119] (--) PCI:*(0:1:0:0) 10de:1201:19da:1227 rev 161, Mem @ 0xf8000000/33554432, 0xd0000000/134217728, 0xdc000000/67108864, I/O @ 0x0000ef00/128, BIOS @ 0x????????/524288
[ 34543.119] (II) LoadModule: "glx"
[ 34543.119] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 34543.129] (II) Module glx: vendor="NVIDIA Corporation"
[ 34543.129]    compiled for 4.0.2, module version = 1.0.0
[ 34543.129]    Module class: X.Org Server Extension
[ 34543.129] (II) NVIDIA GLX Module  352.63  Sat Nov  7 20:52:00 PST 2015
[ 34543.129] (II) LoadModule: "nvidia"
[ 34543.130] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 34543.130] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 34543.130]    compiled for 4.0.2, module version = 1.0.0
[ 34543.130]    Module class: X.Org Video Driver
[ 34543.130] (II) NVIDIA dlloader X Driver  352.63  Sat Nov  7 20:29:25 PST 2015
[ 34543.130] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 34543.130] (--) using VT number 7

<snipped>

_________________
:)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Tue Feb 02, 2016 2:35 am    Post subject: Reply with quote

Sorry but that log looks good for me (or i miss something).
Is your desktop using composite? Is your xorg build with minimal useflag?
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Tue Feb 02, 2016 4:56 am    Post subject: Reply with quote

neither, sadly. this is confusing the card was working for gl graphics on a different setup but had to re-install.
_________________
:)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Feb 02, 2016 11:26 am    Post subject: Reply with quote

you shouldhave something similar as i did myself

Code:
ASUS-G75VW roman # cat /etc/X11/xorg.conf.d/20opengl.conf
Section "Files"
   ModulePath "/usr/lib32/xorg/modules"
   ModulePath "/usr/lib64/opengl/nvidia"
   ModulePath "/usr/lib64/xorg/modules"
EndSection
ASUS-G75VW roman # cat /etc/X11/xorg.conf.d/nvidia.conf
Section "Device"
         Identifier  "nvidia"
         Driver      "nvidia"
         Option "Coolbits" "28"
         Option "NoLogo" "True"
EndSection

# This is a trailing line, it is needed so that End Section is not the last line


These were created by myself !! if you do not have those, than create those

whats up with those AIGLX errors?

as the other guy already stated, are you using compiz or such composite stuff?

Quote:
[ 332.654] (II) AIGLX: Screen 0 is not DRI2 capable
[ 332.654] (EE) AIGLX: reverting to software rendering
[ 332.662] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 332.663] (II) AIGLX: Loaded and initialized swrast
[ 332.663] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 332.663] (II) AIGLX: Screen 1 is not DRI2 capable
[ 332.663] (EE) AIGLX: reverting to software rendering
[ 332.664] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 332.665] (II) AIGLX: Loaded and initialized swrast


Clean up any configured xorg.config or what you named it. create those 2 files fresh which i gave you.
unmerge xorg.server and nvidia-driver.
verify that it is not a hybrid intel gpu / nviida box. => else check gentoo wiki how to set up

follow gentoo wiki on how to setup. (most likely you solve it when you go from scratch) maybe you have some lint files in your /etc directory or home which influence the behaviour.

last time i dealed with aiglx was years ago with gnome 2 and compiz

my xorg.log, asusg75vw, pure nvidia gpu box, intel gpu is not connected, do not ever give a line of aiglx.
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Tue Feb 02, 2016 3:14 pm    Post subject: Reply with quote

as fas as i know i don't have composting. im using Mate for the first time though so im not 100% but im not seeing composting. my windows hide things behind them when transparent.

20opengl. exists but might have missed some directories.
nvidia.conf has a "driver" and "identifier" which is all one needs for this.

I'll test this setup and remerge if not successful
_________________
:)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Feb 02, 2016 4:31 pm    Post subject: Reply with quote

in the old days we had a xorg.conf file

these days we got it back in an user choosen file names and different files in this folder /etc/X11/xorg.conf.d/

AFAIK it does not matter how you name the config files in that directory. just stick to the old section behaviour of xorg files (my opinion on this regard), as a desctop user.

I gave you my working example, one of many ways to do things.
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Tue Feb 02, 2016 9:06 pm    Post subject: Reply with quote

I just noticed somthing
Code:
(II) LoadModule: "glx"
[  2838.502] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[  2838.506] (II) Module glx: vendor="NVIDIA Corporation"
[  2838.506]    compiled for 4.0.2, module version = 1.0.0
[  2838.507]    Module class: X.Org Server Extension
[  2838.507] (II) NVIDIA GLX Module  355.11  Wed Aug 26 16:02:11 PDT 2015
[  2838.507] (II) LoadModule: "nvidia"
[  2838.507] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  2838.507] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2838.507]    compiled for 4.0.2, module version = 1.0.0
[  2838.507]    Module class: X.Org Video Driver


does "compiled for 4.0.2," mean Kernel 4.0.2 cause i have 4.1.15

also no more AIGLX errors :) still no GL
_________________
:)
Back to top
View user's profile Send private message
Xywa
Veteran
Veteran


Joined: 23 Jul 2005
Posts: 1631
Location: /mnt/Gentoo/Europe

PostPosted: Wed Feb 03, 2016 6:09 am    Post subject: Reply with quote

tw04l124 wrote:
in the old days we had a xorg.conf file

We still use it in modern days and it works perfect with eg Nvidia Optimus:
https://forums.gentoo.org/viewtopic-t-1038292.html


mayhew
Code:
[   332.145] (EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X

Do you use Nvidia Optimus? If so, do you use this sollution? https://wiki.gentoo.org/wiki/NVIDIA/Optimus

Have you rebuild this?
Code:
*  x11-drivers/xf86-input-evdev
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Wed Feb 03, 2016 4:01 pm    Post subject: Reply with quote

I did rebuild evdev and it helped with an input failure.

I had kernel Direct Rendering Management active and disabling it didn't help.

and im certen i dont have an optimus. its a ...

Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GF114 [GeForce GTX 560] (rev a1)


which is on the pci-e on PC tower not laptop.
_________________
:)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Wed Feb 03, 2016 11:21 pm    Post subject: Reply with quote

did you check gentoo wiki regarding nvidia-drivers. it is a good starting point
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Thu Feb 04, 2016 4:42 am    Post subject: Reply with quote

I Started at the wiki page. good idea though.

a symptom im experiencing is glxinfo fails with
Code:

name of display: :0.0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  153 (GLX)
  Minor opcode of failed request:  24 (X_GLXCreateNewContext)
  Value in failed request:  0x0
  Serial number of failed request:  78
  Current serial number in output stream:  79


I dont want to have to scrap my os again. ;v.v;
_________________
:)
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Thu Feb 04, 2016 4:50 am    Post subject: Reply with quote

PERMISSIONS LOL ;^.^;

I wasnt in group video #^.^#

remember kids read the manual
_________________
:)
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Feb 04, 2016 1:48 pm    Post subject: Reply with quote

usually guys bash me because i have sent most of the users to the gentoo wiki. that amuses me.
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Thu Feb 04, 2016 7:37 pm    Post subject: Reply with quote

It really is the best advice ya can give tw04l124, i think the bashing comes from embarasment. ^.^ im just glad to have GL
_________________
:)
Back to top
View user's profile Send private message
doubledr
n00b
n00b


Joined: 23 Feb 2008
Posts: 23

PostPosted: Wed Jun 22, 2016 8:43 am    Post subject: Reply with quote

mayhew wrote:
PERMISSIONS LOL ;^.^;

I wasnt in group video #^.^#

remember kids read the manual


You save my ass.

Jesus, I was able to login and I didn't have to put my username under video group. After upgrading, everything changes.
Back to top
View user's profile Send private message
mayhew
Tux's lil' helper
Tux's lil' helper


Joined: 25 Feb 2013
Posts: 77

PostPosted: Thu Jun 23, 2016 11:51 am    Post subject: Reply with quote

doubledr wrote:
mayhew wrote:
PERMISSIONS LOL ;^.^;

I wasnt in group video #^.^#

remember kids read the manual


You save my ass.

Jesus, I was able to login and I didn't have to put my username under video group. After upgrading, everything changes.


hehe, yep them groups. sucha pain lol
_________________
:)
Back to top
View user's profile Send private message
rico666
n00b
n00b


Joined: 03 May 2016
Posts: 5

PostPosted: Sun Oct 30, 2016 9:24 am    Post subject: Well ... no. Reply with quote

as root

Code:
# oclinfo
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  153 (DRI2)
  Minor opcode of failed request:  1 (DRI2Connect)
  Serial number of failed request:  11
  Current serial number in output stream:  11


Code:
# gpasswd -add root video
gpasswd: user 'dd' does not exist


Yeah ... well -a

Code:
# gpasswd -a root video
Adding user root to group video


Code:
# oclinfo
X Error of failed request:  BadRequest (invalid request code or no such operation)
  Major opcode of failed request:  153 (DRI2)
  Minor opcode of failed request:  1 (DRI2Connect)
  Serial number of failed request:  11
  Current serial number in output stream:  11


xhost+ yadda yadda... nothing.

user can:

Code:
$ oclinfo
Platform - 1
  1.1 CL_PLATFORM_NAME: Intel(R) OpenCL
  1.2 CL_PLATFORM_VENDOR: Intel(R) Corporation
  1.3 CL_PLATFORM_VERSION: OpenCL 1.2 LINUX
  1.4 CL_PLATFORM_PROFILE: FULL_PROFILE
  1.5 CL_PLATFORM_EXTENSIONS: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64
Platform - 2
  2.1 CL_PLATFORM_NAME: NVIDIA CUDA
  2.2 CL_PLATFORM_VENDOR: NVIDIA Corporation
  2.3 CL_PLATFORM_VERSION: OpenCL 1.2 CUDA 8.0.0
  2.4 CL_PLATFORM_PROFILE: FULL_PROFILE
  2.5 CL_PLATFORM_EXTENSIONS: cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_khr_gl_event
  Device - 1:
    CL_DEVICE_NAME: Quadro M2000M
    CL_DEVICE_VENDOR: NVIDIA Corporation
    CL_DRIVER_VERSION: 370.28
    CL_DEVICE_VERSION: OpenCL 1.2 CUDA
    CL_DEVICE_MAX_COMPUTE_UNITS: 5



so it must be something else. root can start X applications and gets display without probs.
Back to top
View user's profile Send private message
k9dog
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2009
Posts: 103
Location: Denmark

PostPosted: Sat Jun 09, 2018 4:40 pm    Post subject: Reply with quote

What was the solution again? I have my users as member of video group and after managing to load the libglx, I started getting BadWindow (invalid Window parameter) , more exactly
Code:
jk@lamborghini ~ $ glxgears
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  155 (NV-GLX)
  Minor opcode of failed request:  4 ()
  Resource id in failed request:  0x2400002
  Serial number of failed request:  38
  Current serial number in output stream:  38
jk@lamborghini ~ $ glxinfo
name of display: :0.0
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  155 (NV-GLX)
  Minor opcode of failed request:  4 ()
  Resource id in failed request:  0x240000c
  Serial number of failed request:  66
  Current serial number in output stream:  66
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum