Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Eric Gunther
On Mon, 2016-12-12 at 14:39 -0500, Long Vu wrote:
> On Mon, Dec 12, 2016 at 2:34 PM, Eric Gunther 
> wrote:
> > On Mon, 2016-12-12 at 13:51 -0500, Long Vu wrote:
> > 
> > I don't know if this will help, but previously adam had said:
> > 
> > > How are you launching Xvfb? I believe it defaults to 8bpp, but
> > > GLX
> > only
> > > works at 16 or 32bpp.
> > 
> > which I think you hadn't tried yet.
> > 
> 
> Well I did with
> 
> xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 
> 
> I though the adding x24 to the screen is what Adam meant.
> 
> If I miss understood, kindy point out to me because I am not familiar
> with X server options.
> 
> Thanks.
> 
> 
> -- 
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743
> 

Again, don't know, but it would seem as though the 24 is the depth.

As you have referred to bpp before, I assume that is what you mean.
https://en.wikipedia.org/wiki/Color_depth

According to the man page for xvfb 
https://www.x.org/archive/current/doc/man/man1/Xvfb.1.xhtml

"
−screen screennum WxHxD

This option creates screen screennum and sets its width, height, and
depth to W, H, and D respectively. By default, only screen 0 exists and
has the dimensions 1280x1024x8.
"


Where the last number is the depth.  Previously Adam mentioned that GLX
only works at 16 or 32.  I just noticed an inconsistency.  It would
seem feasible to try that command if xvfb-run takes the switches xvfb
does. I am thinking;
xvfb-run -s '-screen 0 1024x768x32'

  or 

xvfb-run -s 'screen 0 1024x768x16'  


If you follow what I am saying. 


-eg

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Antoine Martin
On 12/12/16 20:37, Roland Mainz wrote:
> On Mon, Dec 12, 2016 at 8:27 PM, Antoine Martin  wrote:
>> On 12/12/16 19:51, Long Vu wrote:
>>> On Mon, Dec 12, 2016 at 1:06 PM, Long Vu  wrote:
 On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson  wrote:
> On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:
>
>> Would it be this xvfb-run option ?
>>
>> -s ARGS   --server-args=ARGSarguments (other than server number 
>> and
>> "-nolisten tcp") to pass to the Xvfb 
>> server
>> (default: "-screen 0 640x480x8")
>>
>> I am not familiar with X server options, what server args I would need
>> to get rid of this "ES2 Prism: Error - GLX extension is not supported"
>> error?
>
> Yes, I think it would be:
>
> xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use

 I tried xvfb-run -s "-screen 0 640x480x24", still the same error.  Any
 other clues?

 ES2 Prism: Error - GLX extension is not supported
 GLX version 1.3 or higher is required
 Xlib:  extension "RANDR" missing on display ":99".


 Now that I run at 24 bpp, maybe I should force GLX to be enabled?  Or
 have to specify a GLX version, otherwise the default is less than 1.3?

>>>
>>> I bumped the resolution and manually try to enable GLX, still the same 
>>> error.
>>>
>>> xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 
>>>
>>> I don't know what else to try.
>> Your Xvfb on CentOS will not support the GL extension.
>> If you really must use OpenGL with your client applications:
>> 1) Use Xdummy
>> https://xpra.org/trac/wiki/Xdummy
>> 2) Use VirtualGL
>> http://www.virtualgl.org/
> 
> Correction:
> The version of Xvfb he is using has been compiled without GLX support
> and he "just" needs to recompile his own version with GLX support
> enabled...
For most people, using a different command line (Xdummy's or virtualgl
instead of Xvfb) will be a lot easier than recompiling the X11 server.
Especially for managing multiple deployments or handling system updates.

Cheers
Antoine

> 
> 
> Bye,
> Roland
> 

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
On Mon, Dec 12, 2016 at 2:34 PM, Eric Gunther  wrote:
> On Mon, 2016-12-12 at 13:51 -0500, Long Vu wrote:
>
> I don't know if this will help, but previously adam had said:
>
>> How are you launching Xvfb? I believe it defaults to 8bpp, but GLX
> only
>> works at 16 or 32bpp.
>
> which I think you hadn't tried yet.
>

Well I did with

xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 

I though the adding x24 to the screen is what Adam meant.

If I miss understood, kindy point out to me because I am not familiar
with X server options.

Thanks.


-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Roland Mainz
On Mon, Dec 12, 2016 at 8:27 PM, Antoine Martin  wrote:
> On 12/12/16 19:51, Long Vu wrote:
>> On Mon, Dec 12, 2016 at 1:06 PM, Long Vu  wrote:
>>> On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson  wrote:
 On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:

> Would it be this xvfb-run option ?
>
> -s ARGS   --server-args=ARGSarguments (other than server number 
> and
> "-nolisten tcp") to pass to the Xvfb 
> server
> (default: "-screen 0 640x480x8")
>
> I am not familiar with X server options, what server args I would need
> to get rid of this "ES2 Prism: Error - GLX extension is not supported"
> error?

 Yes, I think it would be:

 xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use
>>>
>>> I tried xvfb-run -s "-screen 0 640x480x24", still the same error.  Any
>>> other clues?
>>>
>>> ES2 Prism: Error - GLX extension is not supported
>>> GLX version 1.3 or higher is required
>>> Xlib:  extension "RANDR" missing on display ":99".
>>>
>>>
>>> Now that I run at 24 bpp, maybe I should force GLX to be enabled?  Or
>>> have to specify a GLX version, otherwise the default is less than 1.3?
>>>
>>
>> I bumped the resolution and manually try to enable GLX, still the same error.
>>
>> xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 
>>
>> I don't know what else to try.
> Your Xvfb on CentOS will not support the GL extension.
> If you really must use OpenGL with your client applications:
> 1) Use Xdummy
> https://xpra.org/trac/wiki/Xdummy
> 2) Use VirtualGL
> http://www.virtualgl.org/

Correction:
The version of Xvfb he is using has been compiled without GLX support
and he "just" needs to recompile his own version with GLX support
enabled...



Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&& programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Eric Gunther
On Mon, 2016-12-12 at 13:51 -0500, Long Vu wrote:
> On Mon, Dec 12, 2016 at 1:06 PM, Long Vu 
> wrote:
> > On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson 
> > wrote:
> > > On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:
> > > 
> > > > Would it be this xvfb-run option ?
> > > > 
> > > > -s ARGS   --server-args=ARGSarguments (other than
> > > > server number and
> > > > "-nolisten tcp") to pass to
> > > > the Xvfb server
> > > > (default: "-screen 0
> > > > 640x480x8")
> > > > 
> > > > I am not familiar with X server options, what server args I
> > > > would need
> > > > to get rid of this "ES2 Prism: Error - GLX extension is not
> > > > supported"
> > > > error?
> > > 
> > > Yes, I think it would be:
> > > 
> > > xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use
> > 
> > I tried xvfb-run -s "-screen 0 640x480x24", still the same error. 
> >  Any
> > other clues?
> > 
> > ES2 Prism: Error - GLX extension is not supported
> > GLX version 1.3 or higher is required
> > Xlib:  extension "RANDR" missing on display ":99".
> > 
> > 
> > Now that I run at 24 bpp, maybe I should force GLX to be enabled? 
> >  Or
> > have to specify a GLX version, otherwise the default is less than
> > 1.3?
> > 
> 
> I bumped the resolution and manually try to enable GLX, still the
> same error.
> 
> xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 
> 
> I don't know what else to try.
> 
> 
> -- 
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743



I don't know if this will help, but previously adam had said:

> How are you launching Xvfb? I believe it defaults to 8bpp, but GLX
only
> works at 16 or 32bpp.

which I think you hadn't tried yet.


-eg 
> 
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Antoine Martin
On 12/12/16 19:51, Long Vu wrote:
> On Mon, Dec 12, 2016 at 1:06 PM, Long Vu  wrote:
>> On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson  wrote:
>>> On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:
>>>
 Would it be this xvfb-run option ?

 -s ARGS   --server-args=ARGSarguments (other than server number and
 "-nolisten tcp") to pass to the Xvfb 
 server
 (default: "-screen 0 640x480x8")

 I am not familiar with X server options, what server args I would need
 to get rid of this "ES2 Prism: Error - GLX extension is not supported"
 error?
>>>
>>> Yes, I think it would be:
>>>
>>> xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use
>>
>> I tried xvfb-run -s "-screen 0 640x480x24", still the same error.  Any
>> other clues?
>>
>> ES2 Prism: Error - GLX extension is not supported
>> GLX version 1.3 or higher is required
>> Xlib:  extension "RANDR" missing on display ":99".
>>
>>
>> Now that I run at 24 bpp, maybe I should force GLX to be enabled?  Or
>> have to specify a GLX version, otherwise the default is less than 1.3?
>>
> 
> I bumped the resolution and manually try to enable GLX, still the same error.
> 
> xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 
> 
> I don't know what else to try.
Your Xvfb on CentOS will not support the GL extension.
If you really must use OpenGL with your client applications:
1) Use Xdummy
https://xpra.org/trac/wiki/Xdummy
2) Use VirtualGL
http://www.virtualgl.org/

Cheers
Antoine
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
On Mon, Dec 12, 2016 at 1:06 PM, Long Vu  wrote:
> On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson  wrote:
>> On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:
>>
>>> Would it be this xvfb-run option ?
>>>
>>> -s ARGS   --server-args=ARGSarguments (other than server number and
>>> "-nolisten tcp") to pass to the Xvfb 
>>> server
>>> (default: "-screen 0 640x480x8")
>>>
>>> I am not familiar with X server options, what server args I would need
>>> to get rid of this "ES2 Prism: Error - GLX extension is not supported"
>>> error?
>>
>> Yes, I think it would be:
>>
>> xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use
>
> I tried xvfb-run -s "-screen 0 640x480x24", still the same error.  Any
> other clues?
>
> ES2 Prism: Error - GLX extension is not supported
> GLX version 1.3 or higher is required
> Xlib:  extension "RANDR" missing on display ":99".
>
>
> Now that I run at 24 bpp, maybe I should force GLX to be enabled?  Or
> have to specify a GLX version, otherwise the default is less than 1.3?
>

I bumped the resolution and manually try to enable GLX, still the same error.

xvfb-run -s '-screen 0 1024x768x24 +extension GLX +iglx' 

I don't know what else to try.


-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
On Mon, Dec 12, 2016 at 12:20 PM, Adam Jackson  wrote:
> On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:
>
>> Would it be this xvfb-run option ?
>>
>> -s ARGS   --server-args=ARGSarguments (other than server number and
>> "-nolisten tcp") to pass to the Xvfb 
>> server
>> (default: "-screen 0 640x480x8")
>>
>> I am not familiar with X server options, what server args I would need
>> to get rid of this "ES2 Prism: Error - GLX extension is not supported"
>> error?
>
> Yes, I think it would be:
>
> xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use

I tried xvfb-run -s "-screen 0 640x480x24", still the same error.  Any
other clues?

ES2 Prism: Error - GLX extension is not supported
GLX version 1.3 or higher is required
Xlib:  extension "RANDR" missing on display ":99".


Now that I run at 24 bpp, maybe I should force GLX to be enabled?  Or
have to specify a GLX version, otherwise the default is less than 1.3?


-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Adam Jackson
On Mon, 2016-12-12 at 12:13 -0500, Long Vu wrote:

> Would it be this xvfb-run option ?
> 
> -s ARGS   --server-args=ARGSarguments (other than server number and
> "-nolisten tcp") to pass to the Xvfb 
> server
> (default: "-screen 0 640x480x8")
> 
> I am not familiar with X server options, what server args I would need
> to get rid of this "ES2 Prism: Error - GLX extension is not supported"
> error?

Yes, I think it would be:

xvfb-run -s "-screen 0 640x480x24" # ... whatever else you use

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
On Mon, Dec 12, 2016 at 12:08 PM, Long Vu  wrote:
> On Mon, Dec 12, 2016 at 11:15 AM, Adam Jackson  wrote:
>> On Fri, 2016-12-09 at 14:09 -0500, Long Vu wrote:
>>> Hi,
>>>
>>> We use Xvfb to avoid having to run an X server on our build machine.
>>>
>>> We got this error with Xvfb that we do not have when we were running a
>>> real VNC server just to provide X.
>>>
>>> ES2 Prism: Error - GLX extension is not supported
>>>GLX version 1.3 or higher is required
>>> Xlib:  extension "RANDR" missing on display ":99".
>>>
>>> Is there something we can do to avoid this error?
>>
>> How are you launching Xvfb? I believe it defaults to 8bpp, but GLX only
>> works at 16 or 32bpp.
>
> We just run it as plain `xvfb-run `.
>
> So you are suggesting maybe there are xvfb-run options that we can use
> to overcome this?  This would be awesome !!!  Will check the help of
> xvfb-run right now.
>

Would it be this xvfb-run option ?

-s ARGS   --server-args=ARGSarguments (other than server number and
"-nolisten tcp") to pass to the Xvfb server
(default: "-screen 0 640x480x8")

I am not familiar with X server options, what server args I would need
to get rid of this "ES2 Prism: Error - GLX extension is not supported"
error?


>>
>> - ajax
>
>
>
> --
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743



-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
On Mon, Dec 12, 2016 at 11:15 AM, Adam Jackson  wrote:
> On Fri, 2016-12-09 at 14:09 -0500, Long Vu wrote:
>> Hi,
>>
>> We use Xvfb to avoid having to run an X server on our build machine.
>>
>> We got this error with Xvfb that we do not have when we were running a
>> real VNC server just to provide X.
>>
>> ES2 Prism: Error - GLX extension is not supported
>>GLX version 1.3 or higher is required
>> Xlib:  extension "RANDR" missing on display ":99".
>>
>> Is there something we can do to avoid this error?
>
> How are you launching Xvfb? I believe it defaults to 8bpp, but GLX only
> works at 16 or 32bpp.

We just run it as plain `xvfb-run `.

So you are suggesting maybe there are xvfb-run options that we can use
to overcome this?  This would be awesome !!!  Will check the help of
xvfb-run right now.

>
> - ajax



-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

Re: How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Adam Jackson
On Fri, 2016-12-09 at 14:09 -0500, Long Vu wrote:
> Hi,
> 
> We use Xvfb to avoid having to run an X server on our build machine.
> 
> We got this error with Xvfb that we do not have when we were running a
> real VNC server just to provide X.
> 
> ES2 Prism: Error - GLX extension is not supported
>    GLX version 1.3 or higher is required
> Xlib:  extension "RANDR" missing on display ":99".
> 
> Is there something we can do to avoid this error?

How are you launching Xvfb? I believe it defaults to 8bpp, but GLX only
works at 16 or 32bpp.

- ajax
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-12 Thread Long Vu
Hi,

We use Xvfb to avoid having to run an X server on our build machine.

We got this error with Xvfb that we do not have when we were running a
real VNC server just to provide X.

ES2 Prism: Error - GLX extension is not supported
   GLX version 1.3 or higher is required
Xlib:  extension "RANDR" missing on display ":99".

Is there something we can do to avoid this error?

We are using this version of xvfb on Centos 7:
xorg-x11-server-Xvfb-1.17.2-10.el7.x86_64

Thanks,

--
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s

How to avoid this Xvfb error: ES2 Prism: Error - GLX extension is not supported

2016-12-11 Thread Long Vu
Hi,

We use Xvfb to avoid having to run an X server on our build machine.

We got this error with Xvfb that we do not have when we were running a
real VNC server just to provide X.

ES2 Prism: Error - GLX extension is not supported
   GLX version 1.3 or higher is required
Xlib:  extension "RANDR" missing on display ":99".

Is there something we can do to avoid this error?

We are using this version of xvfb on Centos 7:
xorg-x11-server-Xvfb-1.17.2-10.el7.x86_64

Thanks,

-- 
Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743

-- 

This email or any attachments may contain confidential or legally 
privileged information intended for the sole use of the addressees. Any 
use, redistribution, disclosure, or reproduction of this information, 
except as intended, is prohibited. If you received this email in error, 
please notify the sender and remove all copies of the message, including 
any attachments.

___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s