pytanie o OpenGL,` i gluta
Radoslaw Kintzi
radzio w student.ii.uni.wroc.pl
Czw, 24 Maj 2001, 13:28:06 CEST
Napisalem sobie maly programik korzystajacy z OpenGL i gluta.
Skompilowalem go tak:
# gcc -c *cpp
# gcc *o -L/usr/X11R6/lib/ -lGLU -lOSMesa -lGL -lglut -lX11 -lXi -lXext
-lm -lXmu -lXt -lICE -lSM
i wszystko wygladalo dobrze do czasu gdy:
# ./a.out
GLUT: Fatal Error in a.out: OpenGL GLX extension not supported by display:
:0.0
????? Co mozna na to poradzic? Co przeoczylem, przy konfiguracji X-ów?
Pozdrawiam
Radoslaw Kintzi
radzio w student.ii.uni.wroc.pl
PS. Ponizej zamieszczam kilka dodatkowych informacji, które moga sie
przydac, jezeli problem nie jest banalny.
# glxinfo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 16 tc 0 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
# xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The XFree86 Project, Inc
vendor release number: 4002
maximum request size: 4194300 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0xc0000e, revert to PointerRoot
number of extensions: 27
BIG-REQUESTS
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
FontCache
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RECORD
RENDER
SECURITY
SHAPE
SYNC
TOG-CUP
X3D-PEX
XC-APPGROUP
XC-MISC
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XIE
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
dimensions: 1024x768 pixels (347x260 millimeters)
resolution: 75x75 dots per inch
depths (7): 16, 1, 4, 8, 15, 24, 32
root window id: 0x2d
depth of root window: 16 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 64
preallocated pixels: black 0, white 65535
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0x18000c
ButtonPressMask ButtonReleaseMask
SubstructureRedirectMask
number of visuals: 1
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 6 bits
# rpm -qa | grep XFree
XFree86-modules-4.0.2-6
XFree86-Xserver-4.0.2-6
XFree86-setup-4.0.2-6
XFree86-75dpi-fonts-4.0.2-2
XFree86-latin2-75dpi-fonts-4.0.2-2
XFree86-latin2-Type1-fonts-4.0.2-2
XFree86-OpenGL-core-4.0.2-6
XFree86-OpenGL-devel-4.0.2-6
XFree86-static-4.0.2-6
XFree86-libs-4.0.2-6
XFree86-4.0.2-6
XFree86-fonts-4.0.2-2
XFree86-driver-s3virge-4.0.2-6
XFree86-100dpi-fonts-4.0.2-2
XFree86-latin2-100dpi-fonts-4.0.2-2
XFree86-OpenGL-libs-4.0.2-6
XFree86-devel-4.0.2-6
XFree86-DPS-4.0.2-6
Więcej informacji o liście dyskusyjnej pld-users-pl