LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   glxinfo returns "unable to open display" on VirtualBox 6.0.10 after full clean install of slackware 14.2 (https://www.linuxquestions.org/questions/slackware-14/glxinfo-returns-unable-to-open-display-on-virtualbox-6-0-10-after-full-clean-install-of-slackware-14-2-a-4175660779/)

Fraks 09-12-2019 05:22 AM

glxinfo returns "unable to open display" on VirtualBox 6.0.10 after full clean install of slackware 14.2
 
So for a project I want to create a slackware image that can be used on VMs and actual hardware to run specific software. Due to legacy, I started on slackware 14.1, where I managed to create a single image that can be used on both VMs and actual hardware. So I thought: "lets do the exact same thing, but now for 14.2".

Unfortunately, this didn't work. After some debugging, I've narrowed the issue down to glxinfo (or basically any glx* program) not running with the following error:

Code:

# glxinfo
Error: unable to open display
# export DISPLAY=:0.0
# glxinfo
Error: unable to open display :0.0

I have executed a full install of slackware 14.2 and immediately afterwards executed the above commands. I've tried looking for logging, but no idea where to find it. I searched the forums as well as the internet, but nothing seems to work:

Can't run glxinfo as root
Code:

useradd -u 1000 -g users -m user
Logged in with user, same result. Note that from here onwards, I always executed the glxinfo test using the created user!

Something related to Xforwarding
As far as I understand, I don't use this at all. I start the VM, and run the commands in the VM itself (although I do connect via SSH for diagnostics, but I don't see how that is relevant).

Some networking issues
I think I understand that "DISPLAY=" defines where X11 can find "the display" and that network configuration issues might mess that up. I base this assumption on I this topic that hinted towards some networking issues. So for sake of completion here is my networking configuration:

# cat /etc/rc.d/rc.inet1.conf:
Code:

# Config information for eth0:
IPADDR[0]="192.168.10.250"
NETMASK[0]="255.255.255.0"
USE_DHCP[0]="no"
DHCP_HOSTNAME[0]=""

... removed rest because its all blank defaults...

# cat /etc/hosts:
Code:

127.0.0.1              localhost
192.168.10.250          generic.redacted.lan generic

# ifconfig:
Code:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.10.250  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::a00:27ff:fee9:622e  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:e9:62:2e  txqueuelen 1000  (Ethernet)
        RX packets 486  bytes 48682 (47.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 291  bytes 48260 (47.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 8  bytes 400 (400.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 8  bytes 400 (400.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

hostname:
Code:

generic
The topic talked about a file called /etc/NetworkManager/nm-system-settings.conf but since this topic originates from Arch Linux, I'm guessing that it is a different file:

# cat /etc/NetworkManager/NetworkManager.conf
Code:

# /etc/NetworkManager/NetworkManager.conf
#
# See additional config files (such as for DHCP settings) in ./conf.d

[main]
plugins=keyfile

I added the entry as suggested in the above post, resulting in

# cat /etc/NetworkManager/NetworkManager.conf
Code:

# /etc/NetworkManager/NetworkManager.conf
#
# See additional config files (such as for DHCP settings) in ./conf.d

[main]
plugins=keyfile

[keyfile]
hostname = generic

But that also didn't resolve the issue.

Something wrong with mesa
Some posts point out that there could be a wrong version of mesa installed, or that dependencies might be missing, but I find that hard to believe as I used only the slackware DVD iso, which I would expect to be working out of the box?

Additional stuff
There is no xorg log file generated when running glxinfo so I don't have that. But some other checks I've seen others do (no idea if these are valuable in this context, but there is no such thing as too much info ;)

# lspci | grep VGA
Code:

00:02.0 VGA compatible controller: VMware SVGA II Adapter
Note: as I noticed the formatting is seemingly the same, I did a quick check on running glxinfo using DISPLAY=00:02.0 and DISPLAY=:02.0 but no luck there either

The original scenario where I bumped into the issue was when starting the software that actually uses glx. In that scenario, I got the following logging (note that the context of this logfile is different from the one I mentioned here as I did change some things related to networking

Code:

[  153.446]
X.Org X Server 1.18.3
Release Date: 2016-04-04
[  153.446] X Protocol Version 11, Revision 0
[  153.446] Build Operating System: Slackware 14.2 Slackware Linux Project
[  153.447] Current Operating System: Linux generic 4.4.14-smp #2 SMP Fri Jun 24 14:44:24 CDT 2016 i686
[  153.447] Kernel command line: auto BOOT_IMAGE=Linux ro root=801 vt.default_utf8=0
[  153.447] Build Date: 15 April 2016  11:51:37AM
[  153.447] 
[  153.447] Current version of pixman: 0.34.0
[  153.447]        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[  153.447] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  153.447] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 11 19:03:58 2019
[  153.450] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  153.455] (==) No Layout section.  Using the first Screen section.
[  153.455] (==) No screen section available. Using defaults.
[  153.455] (**) |-->Screen "Default Screen Section" (0)
[  153.455] (**) |  |-->Monitor "<default monitor>"
[  153.457] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[  153.458] (==) Automatically adding devices
[  153.458] (==) Automatically enabling devices
[  153.458] (==) Automatically adding GPU devices
[  153.459] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  153.459] (WW) The directory "/usr/share/fonts/local" does not exist.
[  153.459]        Entry deleted from font path.
[  153.459] (WW) The directory "/usr/share/fonts/CID" does not exist.
[  153.459]        Entry deleted from font path.
[  153.467] (==) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/OTF,
        /usr/share/fonts/Type1,
        /usr/share/fonts/misc,
        /usr/share/fonts/75dpi/:unscaled,
        /usr/share/fonts/100dpi/:unscaled,
        /usr/share/fonts/75dpi,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/cyrillic
[  153.467] (==) ModulePath set to "/usr/lib/xorg/modules"
[  153.467] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[  153.468] (II) Loader magic: 0x827b600
[  153.468] (II) Module ABI versions:
[  153.468]        X.Org ANSI C Emulation: 0.4
[  153.468]        X.Org Video Driver: 20.0
[  153.468]        X.Org XInput driver : 22.1
[  153.468]        X.Org Server Extension : 9.0
[  153.468] (II) xfree86: Adding drm device (/dev/dri/card0)
[  153.480] (--) PCI:*(0:0:2:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xf0000000/134217728, 0xf8000000/2097152, I/O @ 0x0000d000/16
[  153.480] (II) Open ACPI successful (/var/run/acpid.socket)
[  153.481] (II) LoadModule: "glx"
[  153.488] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  153.496] (II) Module glx: vendor="X.Org Foundation"
[  153.496]        compiled for 1.18.3, module version = 1.0.0
[  153.496]        ABI class: X.Org Server Extension, version 9.0
[  153.496] (==) AIGLX enabled
[  153.496] (==) Matched vmware as autoconfigured driver 0
[  153.496] (==) Matched vmware as autoconfigured driver 1
[  153.496] (==) Matched modesetting as autoconfigured driver 2
[  153.496] (==) Matched fbdev as autoconfigured driver 3
[  153.496] (==) Matched vesa as autoconfigured driver 4
[  153.496] (==) Assigned the driver to the xf86ConfigLayout
[  153.496] (II) LoadModule: "vmware"
[  153.499] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[  153.505] (EE) Failed to load /usr/lib/xorg/modules/drivers/vmware_drv.so: libLLVM-3.8.so: cannot open shared object file: No such file or directory
[  153.505] (II) UnloadModule: "vmware"
[  153.505] (II) Unloading vmware
[  153.505] (EE) Failed to load module "vmware" (loader failed, 7)
[  153.505] (II) LoadModule: "modesetting"
[  153.507] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  153.510] (II) Module modesetting: vendor="X.Org Foundation"
[  153.510]        compiled for 1.18.3, module version = 1.18.3
[  153.510]        Module class: X.Org Video Driver
[  153.510]        ABI class: X.Org Video Driver, version 20.0
[  153.510] (II) LoadModule: "fbdev"
[  153.513] (WW) Warning, couldn't open module fbdev
[  153.513] (II) UnloadModule: "fbdev"
[  153.513] (II) Unloading fbdev
[  153.513] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  153.513] (II) LoadModule: "vesa"
[  153.513] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  153.515] (II) Module vesa: vendor="X.Org Foundation"
[  153.515]        compiled for 1.18.0, module version = 2.3.4
[  153.515]        Module class: X.Org Video Driver
[  153.515]        ABI class: X.Org Video Driver, version 20.0
[  153.515] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  153.515] (II) VESA: driver for VESA chipsets: vesa
[  153.515] (--) using VT number 7

[  153.531] (II) modeset(0): using drv /dev/dri/card0
[  153.531] (WW) Falling back to old probe method for vesa
[  153.532] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[  153.532] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  153.532] (==) modeset(0): RGB weight 888
[  153.532] (==) modeset(0): Default visual is TrueColor
[  153.532] (II) Loading sub module "glamoregl"
[  153.532] (II) LoadModule: "glamoregl"
[  153.532] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  153.575] (II) Module glamoregl: vendor="X.Org Foundation"
[  153.575]        compiled for 1.18.3, module version = 1.0.0
[  153.575]        ABI class: X.Org ANSI C Emulation, version 0.4
[  153.575] (II) glamor: OpenGL accelerated X.org driver based.
[  153.583] couldn't get display device
[  153.583] (EE) modeset(0): glamor initialization failed
[  153.583] (II) modeset(0): ShadowFB: preferred NO, enabled NO
[  153.583] (II) modeset(0): Output Virtual-1 has no monitor section
[  153.583] (II) modeset(0): Output Virtual-2 has no monitor section
[  153.583] (II) modeset(0): Output Virtual-3 has no monitor section
[  153.583] (II) modeset(0): Output Virtual-4 has no monitor section
[  153.584] (II) modeset(0): Output Virtual-5 has no monitor section
[  153.584] (II) modeset(0): Output Virtual-6 has no monitor section
[  153.584] (II) modeset(0): Output Virtual-7 has no monitor section
[  153.584] (II) modeset(0): Output Virtual-8 has no monitor section
[  153.585] (II) modeset(0): EDID for output Virtual-1
[  153.585] (II) modeset(0): Printing probed modes for output Virtual-1
[  153.585] (II) modeset(0): Modeline "preferred"x60.0  100.73  1280 1330 1380 1430  1024 1074 1124 1174 -hsync +vsync (70.4 kHz eP)
[  153.585] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2752 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[  153.585] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[  153.585] (II) modeset(0): Modeline "1856x1392"x60.0  218.25  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[  153.585] (II) modeset(0): Modeline "1792x1344"x60.0  204.75  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[  153.585] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[  153.585] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[  153.585] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[  153.585] (II) modeset(0): Modeline "1400x1050"x60.0  121.75  1400 1488 1632 1864  1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[  153.585] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[  153.585] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[  153.585] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  153.585] (II) modeset(0): Modeline "1360x768"x60.0  85.50  1360 1424 1536 1792  768 771 777 795 +hsync +vsync (47.7 kHz e)
[  153.585] (II) modeset(0): Modeline "1280x800"x59.8  83.50  1280 1352 1480 1680  800 803 809 831 +hsync -vsync (49.7 kHz e)
[  153.585] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[  153.585] (II) modeset(0): Modeline "1280x768"x59.9  79.50  1280 1344 1472 1664  768 771 778 798 -hsync +vsync (47.8 kHz e)
[  153.585] (II) modeset(0): Modeline "1024x768"x60.0  65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  153.585] (II) modeset(0): Modeline "800x600"x60.3  40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  153.585] (II) modeset(0): Modeline "640x480"x59.9  25.18  640 656 752 800  480 489 492 525 -hsync -vsync (31.5 kHz e)
[  153.585] (II) modeset(0): EDID for output Virtual-2
[  153.585] (II) modeset(0): EDID for output Virtual-3
[  153.585] (II) modeset(0): EDID for output Virtual-4
[  153.585] (II) modeset(0): EDID for output Virtual-5
[  153.585] (II) modeset(0): EDID for output Virtual-6
[  153.585] (II) modeset(0): EDID for output Virtual-7
[  153.585] (II) modeset(0): EDID for output Virtual-8
[  153.585] (II) modeset(0): Output Virtual-1 connected
[  153.585] (II) modeset(0): Output Virtual-2 disconnected
[  153.585] (II) modeset(0): Output Virtual-3 disconnected
[  153.585] (II) modeset(0): Output Virtual-4 disconnected
[  153.585] (II) modeset(0): Output Virtual-5 disconnected
[  153.585] (II) modeset(0): Output Virtual-6 disconnected
[  153.585] (II) modeset(0): Output Virtual-7 disconnected
[  153.585] (II) modeset(0): Output Virtual-8 disconnected
[  153.585] (II) modeset(0): Using exact sizes for initial modes
[  153.585] (II) modeset(0): Output Virtual-1 using initial mode preferred +0+0
[  153.585] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  153.585] (==) modeset(0): DPI set to (96, 96)
[  153.585] (II) Loading sub module "fb"
[  153.585] (II) LoadModule: "fb"
[  153.587] (II) Loading /usr/lib/xorg/modules/libfb.so
[  153.589] (II) Module fb: vendor="X.Org Foundation"
[  153.589]        compiled for 1.18.3, module version = 1.0.0
[  153.589]        ABI class: X.Org ANSI C Emulation, version 0.4
[  153.590] (II) UnloadModule: "vesa"
[  153.590] (II) Unloading vesa
[  153.591] (==) Depth 24 pixmap format is 32 bpp
[  153.594] (==) modeset(0): Backing store enabled
[  153.594] (==) modeset(0): Silken mouse enabled
[  153.595] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  153.597] (==) modeset(0): DPMS enabled
[  153.602] (--) RandR disabled
[  153.604] (II) AIGLX: Screen 0 is not DRI2 capable
[  153.604] (EE) AIGLX: reverting to software rendering
[  153.604] (EE) AIGLX error: dlopen of /usr/lib/xorg/modules/dri/swrast_dri.so failed (libLLVM-3.8.so: cannot open shared object file: No such file or directory)
[  153.604] (EE) GLX: could not load software renderer
[  153.604] (II) GLX: no usable GL providers found for screen 0
[  153.613] (II) modeset(0): Damage tracking initialized
[  153.613] (II) modeset(0): Setting screen physical size to 338 x 270
[  154.064] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  154.064] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  154.064] (**) Power Button: Applying InputClass "keyboard-all"
[  154.064] (II) LoadModule: "evdev"
[  154.064] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  154.068] (II) Module evdev: vendor="X.Org Foundation"
[  154.068]        compiled for 1.18.3, module version = 2.10.3
[  154.068]        Module class: X.Org XInput Driver
[  154.068]        ABI class: X.Org XInput driver, version 22.1
[  154.068] (II) Using input driver 'evdev' for 'Power Button'
[  154.068] (**) Power Button: always reports core events
[  154.068] (**) evdev: Power Button: Device: "/dev/input/event3"
[  154.068] (--) evdev: Power Button: Vendor 0 Product 0x1
[  154.068] (--) evdev: Power Button: Found keys
[  154.068] (II) evdev: Power Button: Configuring as keyboard
[  154.068] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event3"
[  154.068] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  154.068] (**) Option "xkb_rules" "evdev"
[  154.068] (**) Option "xkb_layout" "us"
[  154.068] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  154.151] (II) config/udev: Adding input device Sleep Button (/dev/input/event4)
[  154.151] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  154.151] (**) Sleep Button: Applying InputClass "keyboard-all"
[  154.151] (II) Using input driver 'evdev' for 'Sleep Button'
[  154.151] (**) Sleep Button: always reports core events
[  154.151] (**) evdev: Sleep Button: Device: "/dev/input/event4"
[  154.151] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  154.151] (--) evdev: Sleep Button: Found keys
[  154.151] (II) evdev: Sleep Button: Configuring as keyboard
[  154.151] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSLPBN:00/input/input5/event4"
[  154.151] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[  154.151] (**) Option "xkb_rules" "evdev"
[  154.151] (**) Option "xkb_layout" "us"
[  154.151] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  154.153] (II) config/udev: Adding input device Video Bus (/dev/input/event2)
[  154.153] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  154.153] (**) Video Bus: Applying InputClass "keyboard-all"
[  154.153] (II) Using input driver 'evdev' for 'Video Bus'
[  154.153] (**) Video Bus: always reports core events
[  154.153] (**) evdev: Video Bus: Device: "/dev/input/event2"
[  154.153] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  154.153] (--) evdev: Video Bus: Found keys
[  154.153] (II) evdev: Video Bus: Configuring as keyboard
[  154.153] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/LNXVIDEO:00/input/input3/event2"
[  154.154] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[  154.154] (**) Option "xkb_rules" "evdev"
[  154.154] (**) Option "xkb_layout" "us"
[  154.154] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  154.155] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/event6)
[  154.155] (**) VirtualBox USB Tablet: Applying InputClass "evdev pointer catchall"
[  154.155] (II) Using input driver 'evdev' for 'VirtualBox USB Tablet'
[  154.155] (**) VirtualBox USB Tablet: always reports core events
[  154.155] (**) evdev: VirtualBox USB Tablet: Device: "/dev/input/event6"
[  154.155] (--) evdev: VirtualBox USB Tablet: Vendor 0x80ee Product 0x21
[  154.155] (--) evdev: VirtualBox USB Tablet: Found 9 mouse buttons
[  154.155] (--) evdev: VirtualBox USB Tablet: Found scroll wheel(s)
[  154.156] (--) evdev: VirtualBox USB Tablet: Found relative axes
[  154.156] (--) evdev: VirtualBox USB Tablet: Found absolute axes
[  154.156] (--) evdev: VirtualBox USB Tablet: Found x and y absolute axes
[  154.156] (--) evdev: VirtualBox USB Tablet: Found absolute touchscreen
[  154.156] (II) evdev: VirtualBox USB Tablet: Configuring as touchscreen
[  154.156] (II) evdev: VirtualBox USB Tablet: Adding scrollwheel support
[  154.156] (**) evdev: VirtualBox USB Tablet: YAxisMapping: buttons 4 and 5
[  154.156] (**) evdev: VirtualBox USB Tablet: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  154.156] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.0/usb1/1-1/1-1:1.0/0003:80EE:0021.0001/input/input7/event6"
[  154.156] (II) XINPUT: Adding extended input device "VirtualBox USB Tablet" (type: TOUCHSCREEN, id 9)
[  154.156] (WW) evdev: VirtualBox USB Tablet: touchpads, tablets and touchscreens ignore relative axes.
[  154.156] (II) evdev: VirtualBox USB Tablet: initialized for absolute axes.
[  154.157] (**) VirtualBox USB Tablet: (accel) keeping acceleration scheme 1
[  154.157] (**) VirtualBox USB Tablet: (accel) acceleration profile 0
[  154.157] (**) VirtualBox USB Tablet: (accel) acceleration factor: 2.000
[  154.157] (**) VirtualBox USB Tablet: (accel) acceleration threshold: 4
[  154.158] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/js0)
[  154.158] (II) No input driver specified, ignoring this device.
[  154.158] (II) This device may have been added with another device file.
[  154.158] (II) config/udev: Adding input device VirtualBox USB Tablet (/dev/input/mouse1)
[  154.158] (II) No input driver specified, ignoring this device.
[  154.158] (II) This device may have been added with another device file.
[  154.159] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[  154.159] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  154.159] (**) AT Translated Set 2 keyboard: Applying InputClass "keyboard-all"
[  154.159] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  154.159] (**) AT Translated Set 2 keyboard: always reports core events
[  154.159] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[  154.159] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  154.159] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  154.159] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  154.159] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[  154.159] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  154.159] (**) Option "xkb_rules" "evdev"
[  154.159] (**) Option "xkb_layout" "us"
[  154.160] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  154.161] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/event5)
[  154.161] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[  154.161] (II) Using input driver 'evdev' for 'ImExPS/2 Generic Explorer Mouse'
[  154.161] (**) ImExPS/2 Generic Explorer Mouse: always reports core events
[  154.161] (**) evdev: ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event5"
[  154.161] (--) evdev: ImExPS/2 Generic Explorer Mouse: Vendor 0x2 Product 0x6
[  154.161] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found 9 mouse buttons
[  154.161] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found scroll wheel(s)
[  154.161] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found relative axes
[  154.161] (--) evdev: ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
[  154.161] (II) evdev: ImExPS/2 Generic Explorer Mouse: Configuring as mouse
[  154.161] (II) evdev: ImExPS/2 Generic Explorer Mouse: Adding scrollwheel support
[  154.161] (**) evdev: ImExPS/2 Generic Explorer Mouse: YAxisMapping: buttons 4 and 5
[  154.161] (**) evdev: ImExPS/2 Generic Explorer Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  154.161] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event5"
[  154.161] (II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE, id 11)
[  154.161] (II) evdev: ImExPS/2 Generic Explorer Mouse: initialized for relative axes.
[  154.162] (**) ImExPS/2 Generic Explorer Mouse: (accel) keeping acceleration scheme 1
[  154.162] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration profile 0
[  154.162] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration factor: 2.000
[  154.162] (**) ImExPS/2 Generic Explorer Mouse: (accel) acceleration threshold: 4
[  154.163] (II) config/udev: Adding input device ImExPS/2 Generic Explorer Mouse (/dev/input/mouse0)
[  154.163] (II) No input driver specified, ignoring this device.
[  154.163] (II) This device may have been added with another device file.
[  154.163] (II) config/udev: Adding input device Speakup (/dev/input/event1)
[  154.163] (**) Speakup: Applying InputClass "evdev keyboard catchall"
[  154.164] (**) Speakup: Applying InputClass "keyboard-all"
[  154.164] (II) Using input driver 'evdev' for 'Speakup'
[  154.164] (**) Speakup: always reports core events
[  154.164] (**) evdev: Speakup: Device: "/dev/input/event1"
[  154.164] (--) evdev: Speakup: Vendor 0 Product 0
[  154.164] (--) evdev: Speakup: Found keys
[  154.164] (II) evdev: Speakup: Configuring as keyboard
[  154.164] (**) Option "config_info" "udev:/sys/devices/virtual/input/input2/event1"
[  154.164] (II) XINPUT: Adding extended input device "Speakup" (type: KEYBOARD, id 12)
[  154.164] (**) Option "xkb_rules" "evdev"
[  154.164] (**) Option "xkb_layout" "us"
[  154.164] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"

Since I noticed the line that said "Failed to load /usr/lib/xorg/modules/drivers/vmware_drv.so: libLLVM-3.8.so: cannot open shared object file: No such file or directory" I thought I'd check out some info related to that driver, but the weird part is that it seems all OK:

# ldd /usr/lib/xorg/modules/drivers/vmware_drv.so
Code:

        linux-gate.so.1 (0xb772a000)
        libxatracker.so.2 => /usr/lib/libxatracker.so.2 (0xb7356000)
        libnettle.so.6 => /usr/lib/libnettle.so.6 (0xb7317000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb72fa000)
        libdl.so.2 => /lib/libdl.so.2 (0xb72f5000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb72cd000)
        libdrm_nouveau.so.2 => /usr/lib/libdrm_nouveau.so.2 (0xb72c3000)
        libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb72b3000)
        libLLVM-3.8.so => /usr/lib/libLLVM-3.8.so (0xb4e24000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb4cb3000)
        libm.so.6 => /lib/libm.so.6 (0xb4c5f000)
        libc.so.6 => /lib/libc.so.6 (0xb4ac6000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb4aa8000)
        /lib/ld-linux.so.2 (0x80098000)
        libffi.so.6 => /usr/lib/../lib/libffi.so.6 (0xb4aa1000)
        librt.so.1 => /lib/librt.so.1 (0xb4a98000)
        libncurses.so.5 => /usr/lib/../lib/libncurses.so.5 (0xb4a48000)
        libz.so.1 => /usr/lib/../lib/libz.so.1 (0xb4a31000)

So it seems everything is there, including the libLLVM-3.8.so. Since I don't really understand the error, I just checked libLLVM as well:

# ldd /usr/lib/libLLVM-3.8.so
Code:

        linux-gate.so.1 (0xb7726000)
        libffi.so.6 => /usr/lib/../lib/libffi.so.6 (0xb528d000)
        librt.so.1 => /lib/librt.so.1 (0xb524d000)
        libdl.so.2 => /lib/libdl.so.2 (0xb5248000)
        libncurses.so.5 => /usr/lib/../lib/libncurses.so.5 (0xb51f8000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb51da000)
        libz.so.1 => /usr/lib/../lib/libz.so.1 (0xb51c4000)
        libm.so.6 => /lib/libm.so.6 (0xb5170000)
        libstdc++.so.6 => /usr/lib/../lib/libstdc++.so.6 (0xb4fff000)
        libgcc_s.so.1 => /usr/lib/../lib/libgcc_s.so.1 (0xb4fe1000)
        libc.so.6 => /lib/libc.so.6 (0xb4e49000)
        /lib/ld-linux.so.2 (0x8006a000)

And after that, all my options have been exhausted and I no longer have any clue where to look next... If you need any specific logging let me know and I'll drop it in. But my guess would be that since this is an out-of-the-box clean installation of slackware 14.2, this shouldn't be the hassle it turned out to be... So probably it's something extremely simple that I am missing (or at least I'm hoping that).

Labinnah 09-13-2019 06:06 AM

I'm not quite sure what you did, and try to do. But maybe this hints help you.

1. :[NUMBER] is Xserver Display and is not related at all with PCI device numbers.
2. Networking is not required to run local xserver.
3. DISPLAY is set only inside active X session.
4. If you want run command using Xserver but outside active X session you must set DISPLAY variable to number of running server. This will be probably ":0" but you can find it i.e. in this way:
Code:

ps a | grep Xorg | grep -v grep | awk '{print $6}'
5. If xsession is running by other user you must inside X session execute:
Code:

xhost +local

Fraks 09-13-2019 12:30 PM

Quote:

Originally Posted by Labinnah (Post 6036359)
But maybe this hints help you.

1. :[NUMBER] is Xserver Display and is not related at all with PCI device numbers.
2. Networking is not required to run local xserver.
3. DISPLAY is set only inside active X session.
4. If you want run command using Xserver but outside active X session you must set DISPLAY variable to number of running server. This will be probably ":0" but you can find it i.e. in this way:
Code:

ps a | grep Xorg | grep -v grep | awk '{print $6}'
5. If xsession is running by other user you must inside X session execute:
Code:

xhost +local

This saved me. And now I feel extremely silly. Nobody told me that glxinfo required an active X session and I thought that glxinfo would basically be a sort of dxdiag (i.e. somthing that retrieves some basic data without requiring anything to be ran). The more you learn....

That does leave the original challenge I had (because glxinfo is working properly) , but I'll start a different topic on that seeing that the title of this one implies a different scope :) Thanks a lot for your help!!


All times are GMT -5. The time now is 09:09 AM.