[Plib-users] Re: [Flightgear-users] ..ran '/usr/local/bin/gl-info'...
Brought to you by:
sjbaker
From: Arnt K. <ar...@c2...> - 2001-08-02 22:01:34
|
On Thu, 02 Aug 2001 12:39:03 +0200, Jacek Marczewski <mar...@to...> wrote in <3B6...@to...>: > Arnt Karlsen wrote: > > >> > >>As a good test of hardware acceleration you can use test programs from Mesa. > >>Install Mesa-demos packet which you already have and run for example > >>'gears' and 'fire' (there are a lot of other tests). > >> > > > >..how? In '/usr/share/Mesa-demos/src' I have 'books/', > >'demos/', and 'xdemos/'. In all 3 I have 'Makefile*'s > >README's and a lot of '*.c' files. > > > I asume you installed Mesa-demos from rpm. In that case just type in as > a user /gears /and run it. ..ROTFLMAO!!! [arnt@Lena demos]$ gears 118 frames in 5.012 seconds = 23.543 FPS 143 frames in 5.026 seconds = 28.452 FPS 143 frames in 5.020 seconds = 28.486 FPS 142 frames in 5.011 seconds = 28.338 FPS 118 frames in 5.013 seconds = 23.539 FPS [arnt@Lena demos]$ glinfo GL_VERSION: 1.2 Mesa 3.4.2 GL_EXTENSIONS: GL_ARB_multitexture GL_EXT_abgr GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_RENDERER: Mesa GLX Indirect GL_VENDOR: VA Linux Systems, Inc. GLU_VERSION: 1.1 Mesa 3.4.2 GLU_EXTENSIONS: GL_EXT_abgr GLUT_API_VERSION: 3 GLUT_XLIB_IMPLEMENTATION: 15 [arnt@Lena xdemos]$ glxinfo display: :0.0 screen:0 direct rendering: No server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: SGI client glx version string: 1.2 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: VA Linux Systems, Inc. OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 Mesa 3.4.2 OpenGL extensions: GL_ARB_multitexture, GL_EXT_abgr, GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract glu version: 1.1 Mesa 3.4.2 glu extensions: GL_EXT_abgr 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 ---------------------------------------------------------------------- 0x23 24 tc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None 0x24 24 tc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None 0x25 24 dc 0 24 0 r y . 8 8 8 0 0 16 0 0 0 0 0 0 0 None 0x26 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 0 0 0 None ..firm diagnosis, I guess. How should I fix it? ..I have "FATAL: puInit called without a valid OpenGL context" on all plib_examples-1.4.1 tests except: /usr/local/source/plib_examples-1.4.1/src/sg/sg_quat_test /usr/local/source/plib_examples-1.4.1/src/sl/example /usr/local/source/plib_examples-1.4.1/src/sl/mod_demo /usr/local/source/plib_examples-1.4.1/src/util/test_dir ...which works ok, /usr/local/source/plib_examples-1.4.1/src/ssg/load_save/save which segfaulted and dumped core, and: /usr/local/source/plib_examples-1.4.1/src/ssg/majik/majik_demo which :"Majik_Demo: Joystick with at least two axes required.". ..on Red Hat 7.1,the standard plib setup accepts this without warnings. SimGear and FlightGear does not catch this error on install, FG simply dies "without a valid OpenGL context". As the "mail-stream" linux distro (count them!), this distro should be tested out, before release of sw. ..here, I would like some more verbosity. Also installing non-native software in '/usr' as plib do, should happen in the distro-native software package format. For Red Hat 7.1, I would like a '.spec' file in the tarball, so I first can 'rpm --tarbuild' it into a src.rpm, then I'd 'rpm --rebuild' to build the binary rpm, and then 'rpm -ivh'. Debian and Slackware people might want to do the same. ..I have a Chinese 3 axis usb joystick with a "throttle" slider, 4 buttons, one throw switch, and a 4-way hat trim switch, and 2 rc radio type stick trim potmeters on the bottom. ..never used. ;-) Spoon-feed me, the joystick newbie: How do I get this one working? ..to fill in the good people of the plib user mailing list and news:no.it.os.unix.linux.diverse: Red Hat 7.1 with all known erratas to date, I run XFree86-4.1.0-0.9.1 from rawhide at 1600x1200x24bpp@60Hz on a 8MB ATI Rage IIC agp card, screen is an half burned Sony GDM-2038 that needs a custom modeline to "yaw" it back in, from 1/3 out. AMD k6-2 450MHz w 128 MB ram, can also set up clusters made from any combination of AMD k6-2 200MHz w 128MB, Intel PII 233 MHz w 96MB, Intel P90 w 96MB and 5 IBM thinkpad 760ED P120? w 32 MB each, and an Intergraph 6040 as a two screen display node. WireGL? -- ..med vennlig hilsen = with Kind Regards from Arnt... ;-) Scenarios always come in sets of three: best case, worst case, and just in case. |