OpenGL/GLX on screen-less server

OpenGL/GLX on screen-less server

Post by Per Krauli » Sat, 27 Sep 1997 04:00:00

I have an application that creates an image file (JPEG, RGB, EPS or PNG
format) by rendering in OpenGL to a GLX Pixmap, and then reading off the
Pixmap. The application uses GLUT.

This works fine on an SGI with a screen (any workstation like the O2,
Indigo2, etc). However, it fails on an SGI Power Challenge. The reason,
as far as I understand is that there is no X display on the Power
Challenge. How can I circumvent or fix this? Do I need to get a 'Xsgi'
server process running on the Power Challenge, or what? I haven't found
anything in the SGI FAQs.

My application is supposed to generate JPEG or PNG images dynamically as
a part of a CGI script, and the web server this is supposed to run on is
the Power Challenge. I cannot believe that it is impossible to use
OpenGL on this machine simply because there is no screen attached to it.
After all, OpenGL rendering on this machine works fine if one sets the
DISPLAY environment variable to a workstation with a screen.

Grateful for hints.
Per Kraulis, Ph.D.             phone: +46 (8) 695 78 34
Pharmacia & Upjohn Inc         fax:   +46 (8) 695 40 82

SE-112 87 Stockholm, SWEDEN
"Nothing is more difficult than simplicity." Unattributed.


1. Full-screen OpenGL with X/GLX (IRIX)?

Can anyone guide me to find or place a piece of code
here and in my mailbox on

- How to open an OpenGL window without borders (full-screen mode)
  using X-windows (glut or whatever).
  I'm running on an Onyx2 InfiniteReality IRIX 6.5, but it should
  be standard X-winows stuff I guess.

/ Patric

2. ARTISTS (JOB) : FLASH - 3D - Computer Graphics ARTISTS contracts

3. DGL/GLX capable X server for Linux

4. clip art needed

5. X server: Fatal IO error 0 with MesaGL/glx

6. **** Matrox Millennium / 3DS r4 ****

7. Linux accellerated GLX server

8. X servers with GLX for linux

9. GLX for XFree86 3.3 (was Re: XFree86 3.3 - free X server)

10. GLX & X server resources problem on SGI

11. NT based X11 servers with GLX?

12. GLX Server Extensions