Sorry, that yum command should have been:

$ yum install xorg-x11-server-Xvfb

​

On 17 September 2016 at 17:12, Marcus Ottosson <konstrukt...@gmail.com>
wrote:

> Got this somewhat further, with newfound knowledge of Xvfb.
>
> $ yum install xorg-x11-server-Xorg
> $ Xvfb :99 -screen 0 1024x768x16 2>/dev/null &
> $ mayapy -c "from maya import standalone, cmds; \
>    standalone.initialize(); \
>    cmds.playblast(format='image')"
>
> In a nutshell how it works is that as far as Maya is concerned, there is
> an X environment running, only it’s running entirely in-memory.
>
> The problem now is that it tries running a playblast with Viewport 2.0.
>
> # VP2 Error : Failed to initialize graphics device.
>
> Is there any way of playblasting without Viewport 2.0? Or any way of
> disabling it entirely? Alternatively, what kind of drivers can I install to
> emulate whatever it needs, e.g. mesa?
>
> I’m expecting Viewport 2.0 to have more advanced requirements than what
> Mesa is capable of, but could be wrong. It might not work with Legacy
> either.
>
> Thanks!
> ​
>



-- 
*Marcus Ottosson*
konstrukt...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmODCaMic%3Du2kx2bKCjRXigSyx9rm_NND-JqdUiBHuER3bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to