From Fedora Project Wiki
Description
A basic 3D rendering check using the PyMol molecular viewer. You must be using a card supported by the nouveau video driver.
Setup
- Ensure the nomodeset and nouveau.modeset=0 kernel parameters are not set in your bootloader configuration
- You can see your current kernel options by running
cat /proc/cmdline
- You can see your current kernel options by running
- Ensure the file
/etc/X11/xorg.conf
does not exist, or is a valid file that uses the nouveau driver - Shut your system down entirely, then start it up again
- If using a live image to test, ignore the above steps and simply boot the system from the live image with default options
- Ensure that
glxinfo | grep 'OpenGL renderer'
does not return OpenGL renderer string: Software Rasterizer or llvmpipe - Install the
pymol
package with the commandsu -c 'yum install pymol'
How to test
- Launch pymol from a terminal
- Go to Wizard => Demo => Representations. There should be a list of demos on the right side of the Pymol viewer window
- Click on each demo in turn. For each demo:
- Use the mouse wheel to increase or decrease complexity
- left-click+mouse to rotate
- middle-click+mouse to move around
- and right-click+mouse to zoom in/out
- Quit pymol
Expected Results
- All demos should run without crashing and tearing.
- There should not be any obvious mis-renderings (flickering, surfaces that come and go...). Compare with reference screenshots below: