Article 6Q4CY Slackware(64) 15.0 & VirtualGL

Slackware(64) 15.0 & VirtualGL

by
inukaze
from LinuxQuestions.org on (#6Q4CY)
Hi there, i does not remember why, the past year i want configure VirtuaGL on Slackware(64) 14.2 well i try but the make step does not work then.

Today i try again, and compile install, but i miss something or i does not understand why is the better form to use VirtualGL on my host Machine.

#VirtualGL : https://github.com/VirtualGL/virtualgl/releases
#By Default install it things inside the /opt/VirtualGL Folder

# Additional Note my system lang is set to spanish.

# First read the reqs -> https://rawcdn.githack.com/VirtualGL....html#hd004001

# Start the process on a Terminal Emulator Window :
Code:mkdir -p /tmp/VirtualGL
cd /tmp/VirtualGL
wget -c 'https://github.com/VirtualGL/virtualgl/releases/download/3.1.1/VirtualGL-3.1.1.tar.gz'
wget -c 'https://github.com/VirtualGL/virtualgl/releases/download/3.1.1/VirtualGL-3.1.1.tar.gz.sig'#Set GPG Key Manually :
Code:curl -sSL 'https://raw.githubusercontent.com/VirtualGL/repo/main/VGL-GPG-KEY' | gpg --import -
gpg --edit 6E7FE9A1Quote:
gpg> trust

Decida su nivel de confianza en que este usuario pueda verificar
correctamente las claves de otros usuarios (mirando
pasaportes, comprobando huellas digitales de diferentes fuentes...)

1 = No lo si o prefiero no decirlo
2 = NO tengo confianza
3 = Confio un poco
4 = Confio totalmente
5 = confio absolutamente
m = volver al meni principal

iSu decisiin? 5
iDe verdad quiere asignar absoluta confianza a esta clave? (s/N) s
gpg> quit
Code:gpg --update-trustdb
gpg --verify VirtualGL-3.1.1.tar.gz.sig VirtualGL-3.1.1.tar.gz
#Extract the source from tarball file
Code:tar xfvz VirtualGL-3.1.1.tar.gz
cd VirtualGL-3.1.1

#Compile :
mkdir build ; cd build
cmake ..
make
ldconfig# Configuring
Code:init 3#Root Login Step

#On my case i am using nvidia privative drivers, i must ran this command first
Code:modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia#Now is time to use vglserver-config tool
Code:cd /opt/VirtualGL/bin
./vglserver_configQuote:
1) Configure server for use with VirtualGL (GLX + EGL back ends)
2) Unconfigure server for use with VirtualGL (GLX + EGL back ends)
3) Configure server for use with VirtualGL (EGL back end only)
4) Unconfigure server for use with VirtualGL (EGL back end only)
X) Exit

Choose:
1

Restrict 3D X server access to vglusers group (recommended)?
[Y/n] Y

Restrict framebuffer device access to vglusers group (recommended)?
[Y/n] Y

Disable XTEST extension (recommended)?
[Y/n] Y

... Creating vglusers group ...
Could not add vglusers group (probably because it already exists.)
... Granting read permission to /etc/opt/VirtualGL/ for vglusers group ...
... Modifying /etc/security/console.perms to disable automatic permissions
for DRI devices ...
... Creating /etc/modprobe.d/virtualgl.conf to set requested permissions for
/dev/nvidia* ...
... Granting write permission to /dev/nvidia0 /dev/nvidiactl /dev/nvidia-modeset /dev/nvidia-uvm /dev/nvidia-uvm-tools for vglusers group ...
... Modifying /etc/X11/xorg.conf.d/99-virtualgl-dri.conf to enable DRI
permissions for vglusers group ...
... Modifying /etc/X11/xorg.conf to enable DRI
permissions for vglusers group ...
... Adding vglgenkey to /etc/X11/xdm/Xsetup_0 script ...
... Adding vglgenkey to /usr/share/sddm/scripts/Xsetup script ...
... Disabling XTEST extension in /etc/X11/xdm/Xservers ...
... Setting default run level to 5 (enabling graphical login prompt) ...

Done. You must restart the display manager for the changes to take effect.

IMPORTANT NOTE: Your system uses modprobe.d to set device permissions. You
must execute 'modprobe -r nvidia_uvm nvidia_drm nvidia_modeset nvidia' with the
display manager stopped in order for the new device permission settings to
become effective.

1) Configure server for use with VirtualGL (GLX + EGL back ends)
2) Unconfigure server for use with VirtualGL (GLX + EGL back ends)
3) Configure server for use with VirtualGL (EGL back end only)
4) Unconfigure server for use with VirtualGL (EGL back end only)
X) Exit

Choose:
X
#NOTE : editor on my slackware is just symlink from /usr/bin/joe to /usr/bin/editor
Code:editor /etc/inittabQuote:
id:4:initdefault
#Must be set id:4:initdefault (If you see 5 change to 4), save and exit

Code:init 4#On my case nothing happened i decide use reboot command

Code:reboot
The thing is when the reboot should reach to Display Manager nothing happened, just start graphical session with mouse pointer,i switch to another tty login my user and use the follow command
Code:startxFor some reason start on Plasma instead Xfce, and when the desktop finish their load i notice a message saying something linke "Plasma is render by software" and this windows appears : https://i.postimg.cc/4NyRMKgc/Virtual-GL-001.png
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments