(12-18-2020, 07:25 AM)fChk Wrote: Why I'm not surprised ? :-)
Okay!.. A couple of checks here:
1- Does glxinfo command exist on your system ?
> How do you know that? Well just run this:
If it's installed you'll have the path of its binary.
> + If answer is yes > go to 2.
+ If answer is NO! > then install the mesa-utils package (for debian-based systems):
sudo apt-get install mesa-utils
2- I hope you're not trying this on VPS-9!.. because it doesn't have a display unless you've explicitly created one with xvfb for example. In which point I don't see the point of looking for the GPU!.
> + If answer is yes : you have to give more details on what are you trying to do.
+ If answer is no and you're doing this on a GPU-backed system with its display and all that, then go to 3.
3- If you get to point 3 and still can't figure out your problem then you're on your own!..
Good luck!
- Yes i have VPS-9 ...
- mesa-utils are installed
- path of glxinfo is " /usr/bin/glxinfo "
- with all these two commands "glxinfo | grep "OpenGL version" & [font=Monaco, Consolas, Courier, monospace]glxinfo | grep "OpenGL" "" Got " Error: unable to open display" [/font]
# lshw -short
H/W path Device Class Description
==================================================
system KVM
/0 bus Motherboard
/0/0 memory 96KiB BIOS
/0/401 processor Intel Xeon E312xx (Sandy Bridge, IBRS upd
/0/402 processor Intel Xeon E312xx (Sandy Bridge, IBRS upd
/0/1000 memory 8GiB System Memory
/0/1000/0 memory 8GiB DIMM RAM
/0/100 bridge 440FX - 82441FX PMC [Natoma]
/0/100/1 bridge 82371SB PIIX3 ISA [Natoma/Triton II]
/0/100/1.1 storage 82371SB PIIX3 IDE [Natoma/Triton II]
/0/100/1.2 bus 82371SB PIIX3 USB [Natoma/Triton II]
/0/100/1.2/1 usb1 bus UHCI Host Controller
/0/100/1.2/1/1 input QEMU USB Tablet
/0/100/1.3 bridge 82371AB/EB/MB PIIX4 ACPI
/0/100/2 display GD 5446
/0/100/3 network Virtio network device
/0/100/3/0 eth0 network Ethernet interface
/0/100/4 storage Virtio block device
/0/100/4/0 /dev/vda disk 5368MB Virtual I/O device
/0/100/4/0/1 /dev/vda1 volume 5085MiB EXT3 volume
/0/100/4/0/2 /dev/vda2 volume 32MiB Linux swap volume
/0/100/5 memory RAM memory
/0/100/5/0 generic Virtual I/O device
/0/1 scsi1 storage
/0/1/0.0.0 /dev/cdrom disk QEMU DVD-ROM