Changes

Video Driver and OpenGL Troubleshooting in Linux

869 bytes added, 02:52, 20 March 2021
/* OpenGL */
The following lines were added (+) and removed (-):
Determine OpenGL version== Identification ==this command lspci | grep VGAmore detailed w/o root lspci -vnn | grep VGA -A 12more detailed (requires sudo root) - this actually shows the driver being used. sudo lshw -C video == OpenGL ==Determine OpenGL version (from CLI on local machine... not remote ssh) glxinfo | grep "OpenGL version" To exercise use of glxinfo via ssh session to a remote machine, two things will have to be applied.  Firstly, if you see the error ( Error: unable to open display ) then you did not allow x-forwarding on your ssh session.  Initiate SSH like this: ssh -X remotehostThe -X allows x-forwarding.  Secondly, AND VERY IMPORTANT, executing the command now will falsely report glxinfo because it will still reference your local host even though you are at the remote CLI.  Now to specify which display (the correct remote display) execute the command: DISPLAY=:0glxgears is a simple utility to test 3D Accelerationglxgears is a simple utility to test 3D Acceleration (local host)
Bureaucrat, administrator
16,192
edits