Try setting VGL_FORCEALPHA=1 in the environment. That seems to be a
standard remedy for the broken amdgpu drivers.
On 3/14/19 1:14 PM, Jason wrote:
> Good Afternoon all,
>
> I am trying to debug an issue with using VirtualGL with an AMD card.
> Running the command "vglrun +v -c 0 -d :1 /opt/VirtualGL/bin/glxinfo"
> (and other subsequent commands) produces the following error:
>
> [VGL] Shared memory segment ID for vglconfig: 28704793
> [VGL] VirtualGL v2.6.1 64-bit (Build 20190101)
> name of display: localhost:10.0
> [VGL] Opening connection to 3D X server :1
> [VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("libvglfaker.so")
> [VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("libvglfaker.so")
> [VGL] WARNING: Could not load function "glXSwapIntervalEXT"
> [VGL] WARNING: Could not load function "glXBindSwapBarrierNV"
> [VGL] WARNING: Could not load function "glXJoinSwapGroupNV"
> [VGL] WARNING: Could not load function "glXQueryFrameCountNV"
> [VGL] WARNING: Could not load function "glXQueryMaxSwapGroupsNV"
> [VGL] WARNING: Could not load function "glXQuerySwapGroupNV"
> [VGL] WARNING: Could not load function "glXResetFrameCountNV"
> [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: 30
> Current serial number in output stream: 31
>
>
> Some details:
>
> * OS: 4.15.0-46-generic #49~16.04.1-Ubuntu SMP x86_64 GNU/Linux
> * GPU:
> o 65:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> [AMD/ATI] Vega 10 XT [Radeon PRO WX 9100] (prog-if 00 [VGA
> controller])
> Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Device
> 0c1e
> Flags: bus master, fast devsel, latency 0, IRQ 155
> Memory at 3a000000000 (64-bit, prefetchable) [size=16G]
> Memory at 3a400000000 (64-bit, prefetchable) [size=2M]
> I/O ports at 4000 [size=256]
> Memory at c4400000 (32-bit, non-prefetchable) [size=512K]
> [virtual] Expansion ROM at c44a0000 [disabled] [size=128K]
> Capabilities: <access denied>
> Kernel driver in use: amdgpu
> Kernel modules: amdgpu
> * The connection is over SSH with X forwarding
> * The AMD proprietary driver is installed (although, I'm skeptical
> whether it is in use or not)
> * We are using a custom xorg file to keep our headless configuration
> separate:
> o Section "Device"
> ### Available Driver options are:-
> ### Values: <i>: integer, <f>: float, <bool>:
> "True"/"False",
> ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
> ### <percent>: "<f>%"
> ### [arg]: arg optional
> #Option "ShadowFB" # [<bool>]
> #Option "DefaultRefresh" # [<bool>]
> #Option "ModeSetClearScreen" # [<bool>]
> Identifier "Card1"
> Driver "amdgpu"
> BusID "PCI:101:0:0"
> EndSection
> * There is a separate graphics card installed for ensuing that we can
> attach a display to the machine if all else fails.
> * The VirtualGL config was setup with proper access
>
> Please let me know if there are any further details that you need. We
> appreciate the help with this issue.
>
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/virtualgl-users/d7121db9-ee84-46c0-87d6-eebadbc23028%40googlegroups.com
> <https://groups.google.com/d/msgid/virtualgl-users/d7121db9-ee84-46c0-87d6-eebadbc23028%40googlegroups.com?utm_medium=email&utm_source=footer>.
> 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/d3bab68b-76cf-5a0f-44a1-0941466d09ab%40virtualgl.org.
For more options, visit https://groups.google.com/d/optout.