How To Install VirtualGL on Fedora 34

VirtualGL is A toolkit for displaying OpenGL applications to thin clients A toolkit for displaying OpenGL applications to thin clients

Introduction

In this tutorial we learn how to install VirtualGL on Fedora 34.

What is VirtualGL

VirtualGL is a toolkit that allows most Unix/Linux OpenGL applications to be remotely displayed with hardware 3D acceleration to thin clients, regardless of whether the clients have 3D capabilities, and regardless of the size of the 3D data being rendered or the speed of the network. Using the vglrun script, the VirtualGL “faker” is loaded into an OpenGL application at run time. The faker then intercepts a handful of GLX calls, which it reroutes to the server’s X display (the “3D X Server”, which presumably has a 3D accelerator attached.) The GLX commands are also dynamically modified such that all rendering is redirected into a Pbuffer instead of a window. As each frame is rendered by the application, the faker reads back the pixels from the 3D accelerator and sends them to the “2D X Server” for compositing into the appropriate X Window. VirtualGL can be used to give hardware-accelerated 3D capabilities to VNC or other X proxies that either lack OpenGL support or provide it through software rendering. In a LAN environment, VGL can also be used with its built-in high-performance image transport, which sends the rendered 3D images to a remote client (vglclient) for compositing on a remote X server. VirtualGL also supports image transport plugins, allowing the rendered 3D images to be sent or captured using other mechanisms. VirtualGL is based upon ideas presented in various academic papers on this topic, including “A Generic Solution for Hardware-Accelerated Remote Visualization” (Stegmaier, Magallon, Ertl 2002) and “A Framework for Interactive Hardware Accelerated Remote 3D-Visualization” (Engel, Sommer, Ertl 2000.) VirtualGL 2.6.5 1.fc34 x86_64 830 k VirtualGL-2.6.5-1.fc34.src.rpm fedora A toolkit for displaying OpenGL applications to thin clients http wxWindows VirtualGL is a toolkit that allows most Unix/Linux OpenGL applications to be remotely displayed with hardware 3D acceleration to thin clients, regardless of whether the clients have 3D capabilities, and regardless of the size of the 3D data being rendered or the speed of the network. Using the vglrun script, the VirtualGL “faker” is loaded into an OpenGL application at run time. The faker then intercepts a handful of GLX calls, which it reroutes to the server’s X display (the “3D X Server”, which presumably has a 3D accelerator attached.) The GLX commands are also dynamically modified such that all rendering is redirected into a Pbuffer instead of a window. As each frame is rendered by the application, the faker reads back the pixels from the 3D accelerator and sends them to the “2D X Server” for compositing into the appropriate X Window. VirtualGL can be used to give hardware-accelerated 3D capabilities to VNC or other X proxies that either lack OpenGL support or provide it through software rendering. In a LAN environment, VGL can also be used with its built-in high-performance image transport, which sends the rendered 3D images to a remote client (vglclient) for compositing on a remote X server. VirtualGL also supports image transport plugins, allowing the rendered 3D images to be sent or captured using other mechanisms. VirtualGL is based upon ideas presented in various academic papers on this topic, including “A Generic Solution for Hardware-Accelerated Remote Visualization” (Stegmaier, Magallon, Ertl 2002) and “A Framework for Interactive Hardware Accelerated Remote 3D-Visualization” (Engel, Sommer, Ertl 2000.)

We can use yum or dnf to install VirtualGL on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install VirtualGL.

Install VirtualGL on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install VirtualGL using dnf by running the following command:

sudo dnf -y install VirtualGL

Install VirtualGL on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install VirtualGL using yum by running the following command:

sudo yum -y install VirtualGL

How To Uninstall VirtualGL on Fedora 34

To uninstall only the VirtualGL package we can use the following command:

sudo dnf remove VirtualGL

VirtualGL Package Contents on Fedora 34

/usr/bin/cpustat
/usr/bin/glreadtest
/usr/bin/glxspheres
/usr/bin/nettest
/usr/bin/tcbench
/usr/bin/vglclient
/usr/bin/vglconfig
/usr/bin/vglconnect
/usr/bin/vglgenkey
/usr/bin/vgllogin
/usr/bin/vglrun
/usr/bin/vglserver_config
/usr/bin/vglxinfo
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/958630b2ad41d069fee1b22d738d1c973b929a
/usr/lib/.build-id/34
/usr/lib/.build-id/34/b1da7ee06520d33820483ffe6c98fd83d80915
/usr/lib/.build-id/3a
/usr/lib/.build-id/3a/3366887bab2c1b86f791d2fde3444c114beead
/usr/lib/.build-id/81
/usr/lib/.build-id/81/a0a1ddad4467fae88b2a8a649effc7328b21d4
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/e021f317b6009ae54ac191c3b3006f389b822e
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/570499077e7fbb33d2ae4dd1a449965f3662fc
/usr/lib/.build-id/ac/a3995a54f52073aeaa5d18c86aba3ec0b07383
/usr/lib/.build-id/b2
/usr/lib/.build-id/b2/196ce49f2fe6d4f92a0ee5ecf9119a62dcdc1a
/usr/lib/.build-id/bb
/usr/lib/.build-id/bb/b55739586b36d14b09b95f7417e226a59959a5
/usr/lib/.build-id/db
/usr/lib/.build-id/db/7ffe857bbd316d243d1a8e9ca46e04647c58df
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/7e457a4bb366c3820e9c144aa47c02e1e08413
/usr/lib/.build-id/e7/8cb53d5d6d0aabe4f21dd2fa875f6728e8a8da
/usr/lib/.build-id/fd
/usr/lib/.build-id/fd/51de994b84e57cd76b29180087168944af5828
/usr/lib/VirtualGL
/usr/lib/VirtualGL/libdlfaker.so
/usr/lib/VirtualGL/libgefaker.so
/usr/lib/VirtualGL/libvglfaker-nodl.so
/usr/lib/VirtualGL/libvglfaker-opencl.so
/usr/lib/VirtualGL/libvglfaker.so
/usr/lib/fakelib
/usr/lib/fakelib/libGL.so
/usr/libexec/vglrun.vars32
/usr/share/doc/VirtualGL
/usr/share/doc/VirtualGL/ChangeLog.md
/usr/share/doc/VirtualGL/LGPL.txt
/usr/share/doc/VirtualGL/LICENSE.txt
/usr/share/doc/VirtualGL/configdialog.gif
/usr/share/doc/VirtualGL/index.html
/usr/share/doc/VirtualGL/somerights20.png
/usr/share/doc/VirtualGL/sshtunnel.png
/usr/share/doc/VirtualGL/subsampling.gif
/usr/share/doc/VirtualGL/vgltransport.png
/usr/share/doc/VirtualGL/vgltransportservernetwork.png
/usr/share/doc/VirtualGL/virtualgl.css
/usr/share/doc/VirtualGL/x11transport.png
/usr/bin/cpustat
/usr/bin/glreadtest
/usr/bin/glxspheres64
/usr/bin/nettest
/usr/bin/tcbench
/usr/bin/vglclient
/usr/bin/vglconfig
/usr/bin/vglconnect
/usr/bin/vglgenkey
/usr/bin/vgllogin
/usr/bin/vglrun
/usr/bin/vglserver_config
/usr/bin/vglxinfo
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/6c4cac820ec7c89c672f62b56857cc3aea395b
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/c346d23d26b7620526223a5001fea734462915
/usr/lib/.build-id/14
/usr/lib/.build-id/14/bc6ff18643372593794da717713445bb7eb4bd
/usr/lib/.build-id/30
/usr/lib/.build-id/30/1059841c82d7da24c50c5fd70c84629cb21f06
/usr/lib/.build-id/41
/usr/lib/.build-id/41/94e48998953facd2c225e56b3b9562b4b50ff7
/usr/lib/.build-id/43
/usr/lib/.build-id/43/f7582c37bc1c1caf797a4e7a8c541714c8fbe1
/usr/lib/.build-id/57
/usr/lib/.build-id/57/a17976c18a15a1fb227823d89a85b975e36309
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/13e8634fc286b561be4c1f9b3fcff5e5de4a86
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/265d85043c2ffedb1b3ffd8c39a6e5d73f7a3f
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/66a07a04f2e85a2439785319b875c966999ed6
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/4fcc45f223ed41706704cc80265b2f953031bc
/usr/lib/.build-id/d8
/usr/lib/.build-id/d8/13b973ec4e34f49a94ff7be8ea6ba8d1ba3855
/usr/lib/.build-id/d9
/usr/lib/.build-id/d9/a16bddbcbcc4f47704f1f11c1cfe2091b2cd66
/usr/lib64/VirtualGL
/usr/lib64/VirtualGL/libdlfaker.so
/usr/lib64/VirtualGL/libgefaker.so
/usr/lib64/VirtualGL/libvglfaker-nodl.so
/usr/lib64/VirtualGL/libvglfaker-opencl.so
/usr/lib64/VirtualGL/libvglfaker.so
/usr/lib64/fakelib
/usr/lib64/fakelib/libGL.so
/usr/libexec/vglrun.vars64
/usr/share/doc/VirtualGL
/usr/share/doc/VirtualGL/ChangeLog.md
/usr/share/doc/VirtualGL/LGPL.txt
/usr/share/doc/VirtualGL/LICENSE.txt
/usr/share/doc/VirtualGL/configdialog.gif
/usr/share/doc/VirtualGL/index.html
/usr/share/doc/VirtualGL/somerights20.png
/usr/share/doc/VirtualGL/sshtunnel.png
/usr/share/doc/VirtualGL/subsampling.gif
/usr/share/doc/VirtualGL/vgltransport.png
/usr/share/doc/VirtualGL/vgltransportservernetwork.png
/usr/share/doc/VirtualGL/virtualgl.css
/usr/share/doc/VirtualGL/x11transport.png

References

Summary

In this tutorial we learn how to install VirtualGL on Fedora 34 using yum and dnf.