Things to try:
- Run ‘/opt/VirtualGL/bin/glreadtest -pbo’ directly on Display :1. That will 
validate whether Pbuffers are working properly.
- Run ‘/opt/VirtualGL/bin/glxspheres64 -i’ directly on Display :1 and take a 
screenshot to verify that the application is displaying properly. That will 
validate whether OpenGL is working properly on the 3D X server.
- Try displaying glxgears with vglrun to :0 without fastX, rather than to :101, 
and see if that works.
- Try displaying glxspheres64 with vglrun rather than glxgears, and see if that 
works (NOTE: in VirtualGL land, glxspheres/glxspheres64 is *always* the 
baseline test, not glxgears.)

The error message would suggest a problem with the 2D X server, since that is 
where the X_CreatePixmap request is being sent. It may be that glxgears (NOTE: 
you said you were trying to run glxgears, but your command line showed glxinfo— 
please clarify) doesn’t work but other OpenGL applications that don’t use 
Pixmaps do, so that’s why I suggested running glxspheres instead.

In general, you’re not likely to get good performance with Red Hat-supplied 
drivers, and I echo your experience with the AMD proprietary drivers having 
either poor stability or compatibility. I wish AMD would prove me wrong about 
that, but right now, both of my AMD GPUs are stuck on RHEL 6 for compatibility 
reasons. Meanwhile the nVidia GPUs I have that are of similar or older vintage 
continue to be supported on the latest Linux distributions. I don’t want 
VirtualGL to be an nVidia-only solution, but the reality is that most serious 
VGL users are on nVidia hardware, because there seems to be a significantly 
higher probability that nVidia hardware and drivers will actually work properly 
with VGL.

> On Jan 22, 2019, at 4:01 PM, Jason Edgecombe <[email protected]> wrote:
> 
> Hi everyone,
> 
> I'm having trouble setting up virtualGL. I'm running a server with two 
> graphics card. I'm using the integrated graphics (Display :0) for normal X 
> and an AMD card (Display :1) for virtualGL.
> 
> I configured the 2nd X server using the command commands:
> 
> % /opt/VirtualGL/bin/vglserver_config -config +s +f -t
> % Xorg :1 -configure -isolateDevice 'PCI:3:0:0'
> # xorg written as /root/xorg.conf.new
> 
> I put the command "Xorg :1 -config /root/xorg.conf.new" in a systemd service.
> 
> Display :1 is headless. I can set "DISPLAY=:1" and run xterm without any 
> output. Taking a screenshot of display :1 confirms that the program displayed.
> 
> a simple test of glxgears with vglrun fails for me.
> 
> % vglrun +v -d :1 glxinfo
> [VGL] Shared memory segment ID for vglconfig: 6193165
> [VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
> name of display: :101.0
> [VGL] Opening connection to 3D X server :1
> [VGL] Using Pbuffers for rendering
> failed to create drawable
> X Error of failed request:  BadValue (integer parameter out of range for 
> operation)
>   Major opcode of failed request:  53 (X_CreatePixmap)
>   Value in failed request:  0x1e
>   Serial number of failed request:  33
>   Current serial number in output stream:  34
> 
> I'm connected to the server using fastX. The goal is to use vglrun to do 3D 
> rendering on display :1 and have the output display in my remote FastX 
> session (display :101). I'm not using vglconnect, because the X application 
> and graphics card are in the same machine.
> 
> I'm running on RHEL 7.6 with the RedHat-provided AMD drivers, because the 
> proprietary drivers caused the server to crash every 5 minutes.
> 
> Any help is appreciated.
> 
> Thanks,
> Jason
> -- 
> You received this message because you are subscribed to the Google Groups 
> "VirtualGL User Discussion/Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/virtualgl-users/c9c7263c-3d16-4d14-947c-63e9fae522fc%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/virtualgl-users/EEBD0622-7594-4830-8615-77FE77C8D4F4%40virtualgl.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to