[GRASS-dev] GL + PPM + nviz

We had tracked this down and fixed it once already. It's back:

Creating PBuffer Using GLX 1.3
X Error of failed request: GLXUnsupportedPrivateRequest
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 16 (X_GLXVendorPrivate)
  Serial number of failed request: 21
  Current serial number in output stream: 22

This happens specifically when trying to export high resolution PPM from
nviz.
http://grass.itc.it/pipermail/grass5/2006-June/023868.html

--
Brad Douglas <rez touchofmadness com> KB8UYR
Address: 37.493,-121.924 / WGS84 National Map Corps #TNMC-3785

Brad Douglas wrote:

We had tracked this down and fixed it once already. It's back:

Creating PBuffer Using GLX 1.3
X Error of failed request: GLXUnsupportedPrivateRequest
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 16 (X_GLXVendorPrivate)
  Serial number of failed request: 21
  Current serial number in output stream: 22

This happens specifically when trying to export high resolution PPM from
nviz.
http://grass.itc.it/pipermail/grass5/2006-June/023868.html

If they don't work, you can turn them off:

  export GRASS_NO_GLX_PBUFFERS=1
  export GRASS_NO_GLX_PIXMAPS=1

I'm starting to get really curious as to whether either pBuffers or
GLX Pixmaps actually work for *anyone*.

--
Glynn Clements <glynn@gclements.plus.com>

Glynn Clements wrote on 09/08/2006 04:48 AM:

Brad Douglas wrote:

We had tracked this down and fixed it once already. It's back:

Creating PBuffer Using GLX 1.3
X Error of failed request: GLXUnsupportedPrivateRequest
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 16 (X_GLXVendorPrivate)
  Serial number of failed request: 21
  Current serial number in output stream: 22

This happens specifically when trying to export high resolution PPM from
nviz.
http://grass.itc.it/pipermail/grass5/2006-June/023868.html
    
If they don't work, you can turn them off:

  export GRASS_NO_GLX_PBUFFERS=1
  export GRASS_NO_GLX_PIXMAPS=1

I'm starting to get really curious as to whether either pBuffers or
GLX Pixmaps actually work for *anyone*.

It does no longer work for me (it did in the past):
[64bit RHEL4]

recalculating normals...
% Creating PBuffer Using GLX 1.3
Final Assembled Image will be 4096 x 3781
Writing Tile 1 of 1
Cannot open file for output.
Assembling Tiles
sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/dddtmp1.ppm:
No such file or directory
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/ddd.ppm: No
such file or directory
pnmcat failed to create assembled images
Check that pnmcat is installed and path is set
GLX -- destroy pbuffer
Segmentation fault

A pity! Also the volume was broken apparently in May 2006.
The quality of NVIZ seems to be continuously decreasing
which isn't nice.

Markus

> Brad Douglas wrote:
>> We had tracked this down and fixed it once already. It's back:
>>
>> Creating PBuffer Using GLX 1.3
>> X Error of failed request: GLXUnsupportedPrivateRequest
>> Major opcode of failed request: 143 (GLX)
>> Minor opcode of failed request: 16 (X_GLXVendorPrivate)
>> Serial number of failed request: 21
>> Current serial number in output stream: 22
>>
>> This happens specifically when trying to export high resolution PPM
>from > nviz.

Markus, Brad, does this work for you in 6.1.0?

In 6.3 if you do:

If they don't work, you can turn them off:
export GRASS_NO_GLX_PBUFFERS=1
export GRASS_NO_GLX_PIXMAPS=1

?

As the problem appears to be widespread, I propose to disable off-
screen rendering for the 6.2 release branch and work on fixing the
problem in 6.3-cvs.

Hamish

Hamish wrote on 09/08/2006 11:36 AM:

Brad Douglas wrote:
      

We had tracked this down and fixed it once already. It's back:

Creating PBuffer Using GLX 1.3
X Error of failed request: GLXUnsupportedPrivateRequest
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 16 (X_GLXVendorPrivate)
  Serial number of failed request: 21
  Current serial number in output stream: 22

This happens specifically when trying to export high resolution PPM
        

>from > nviz.
    
Markus, Brad, does this work for you in 6.1.0?
  
NVIZ volume + NVIZ highres output fail in 6.1.0.
I would need a version before May 2006 to see if it was broken
by the togl update and related changes.

Does anyone have a CVS snapshot from April?

Markus

I have a February 2006 CVS on my Mac, but I need to finish my talk first, then I can test,
hopefully later today or tomorrow, unless somebody else responds too.

Helena

Helena Mitasova
Dept. of Marine, Earth and Atm. Sciences
1125 Jordan Hall, NCSU Box 8208,
Raleigh NC 27695
http://skagit.meas.ncsu.edu/~helena/

On Sep 8, 2006, at 9:25 AM, Markus Neteler wrote:

Hamish wrote on 09/08/2006 11:36 AM:

Brad Douglas wrote:

We had tracked this down and fixed it once already. It's back:

Creating PBuffer Using GLX 1.3
X Error of failed request: GLXUnsupportedPrivateRequest
  Major opcode of failed request: 143 (GLX)
  Minor opcode of failed request: 16 (X_GLXVendorPrivate)
  Serial number of failed request: 21
  Current serial number in output stream: 22

This happens specifically when trying to export high resolution PPM

from > nviz.

Markus, Brad, does this work for you in 6.1.0?

NVIZ volume + NVIZ highres output fail in 6.1.0.
I would need a version before May 2006 to see if it was broken
by the togl update and related changes.

Does anyone have a CVS snapshot from April?

Markus

_______________________________________________
grass-dev mailing list
grass-dev@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass-dev

Markus Neteler wrote:

>> We had tracked this down and fixed it once already. It's back:
>>
>> Creating PBuffer Using GLX 1.3
>> X Error of failed request: GLXUnsupportedPrivateRequest
>> Major opcode of failed request: 143 (GLX)
>> Minor opcode of failed request: 16 (X_GLXVendorPrivate)
>> Serial number of failed request: 21
>> Current serial number in output stream: 22
>>
>> This happens specifically when trying to export high resolution PPM from
>> nviz.
>> http://grass.itc.it/pipermail/grass5/2006-June/023868.html
>>
>
> If they don't work, you can turn them off:
>
> export GRASS_NO_GLX_PBUFFERS=1
> export GRASS_NO_GLX_PIXMAPS=1
>
> I'm starting to get really curious as to whether either pBuffers or
> GLX Pixmaps actually work for *anyone*.
>
>
It does no longer work for me (it did in the past):
[64bit RHEL4]

recalculating normals...
% Creating PBuffer Using GLX 1.3
Final Assembled Image will be 4096 x 3781
Writing Tile 1 of 1
Cannot open file for output.
Assembling Tiles
sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/dddtmp1.ppm:

This is a different issue.

I note that Nstart_zoom_cmd() only uses a 64-byte buffer for the
prefix; you may be overflowing that.

No such file or directory
pnmcat failed to create assembled image
Check that pnmcat is installed and path is set
sh: /hardmnt/bartok0/ssi/neteler/software/cvsgrass61//tmp/ddd.ppm: No
such file or directory
pnmcat failed to create assembled images
Check that pnmcat is installed and path is set
GLX -- destroy pbuffer
Segmentation fault

A pity! Also the volume was broken apparently in May 2006.
The quality of NVIZ seems to be continuously decreasing
which isn't nice.

That's probably inevitable. The complexity of NVIZ/OGSF is such that I
doubt that any GRASS developer really understands it.

--
Glynn Clements <glynn@gclements.plus.com>