This shows you the differences between two versions of the page.
— |
glx [2022/04/16 12:23] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | @related : [[OpenGL]] [[DRI]] [[XWindow]] [[XGL]] | ||
+ | |||
+ | * http://en.wikipedia.org/wiki/GLX_visual | ||
+ | |||
+ | |||
+ | ==== glaxium : [[SDL]] [[OpenGL]] [[Game]] ==== | ||
+ | |||
+ | Where did glaxium package go ? | ||
+ | http://bugs.debian.org/126518 | ||
+ | |||
+ | Anyway I intend to package it if needed. | ||
+ | |||
+ | I built a package from latest version (2002), there are some thing that need to be fixed, I wanted to make sure if I need to find a sponsor for it ? | ||
+ | |||
+ | * [[Source]] : http://mentors.debian.net/debian/pool/main/g/glaxium/ | ||
+ | * ITP : http://bugs.debian.org/92827 , | ||
+ | * [[Licence]] : GPL | ||
+ | * notes : http://rzr.online.fr/q/GLX | ||
+ | * [[apt]] : for [[x86]] | ||
+ | deb http://philippe.coval.ifrance.com/www.rzr.online.fr/debian/ ./ | ||
+ | sudo apt-get install glaxium | ||
+ | |||
+ | Check my [[Debian]] package, then I am looking for a sponsor .. | ||
+ | |||
+ | # http://xhosxe.free.fr/glaxium/ | ||
+ | wget http://xhosxe.free.fr/glaxium/glaxium_0.5.tar.gz | ||
+ | |||
+ | sudo apt-get install libsdl-dev libsdl-mixer1.2-dev g++ make autoconf automake | ||
+ | |||
+ | rm configure Makefile; aclocal ; automake | ||
+ | |||
+ | #2 0x08066c42 in GlaxiumVariables::initOptionsFile (this=0x81c7e90, bShad=false) at variables.cpp:103 | ||
+ | |||
+ | 2002/10/23 - Bug work around | ||
+ | |||
+ | After launching Galxium if the only thing you see is : | ||
+ | > Couldn't set 800x600 GL video mode: Couldn't find matching GLX visual | ||
+ | You have 2 solutions: | ||
+ | 1 - remove line 148 in main.cpp: "SDL_GL_SetAttribute(SDL_GL_STENCIL_SIZE,8);" and stay in 16 bpp - you won't have any shadows :-( | ||
+ | 2 - set 32 bpp in your X config and you'll enjoy all Glaxium special effects ====== | ||
+ | |||
+ | |||
+ | http://snapshot.debian.net/ | ||
+ | |||
+ | * [[ubuntu.fr]] : http://forum.ubuntu-fr.org/viewtopic.php?pid=2404595#p2404595 | ||
+ | |||
+ | ====[[Linux]] [[Demo]]==== | ||
+ | |||
+ | |||
+ | # http://www.pouet.net/prod.php?which=18366 | ||
+ | |||
+ | cd /tmp/ | ||
+ | wget http://www.outbreak.nu/files/demo/2005/pc/otb\===mdmb.zip=== | ||
+ | |||
+ | |||
+ | # ed2k://|file|otb_mdmb-demo.zip|9493350|3d85eae85ac3e08a2feea6191e8e42dc| | ||
+ | |||
+ | /local/linux-gnu/opt/otb===mdmb/linux/run-linux=== | ||
+ | Opening window [['mydiamondmindbroken']][[800x600]][[Fullscreen]][[OpenGL]] | ||
+ | Error: Could not set video mode 'Couldn't find matching GLX visual' | ||
+ | |||
+ | |||
+ | === [[FrameBuffer]] Conflict ?=== | ||
+ | |||
+ | $ glxinfo | ||
+ | name of display: :0.0 | ||
+ | libGL warning: 3D driver returned no fbconfigs. | ||
+ | libGL error: InitDriver failed | ||
+ | libGL error: reverting to (slow) indirect rendering | ||
+ | display: :0 screen: 0 | ||
+ | direct rendering: No | ||
+ | server glx vendor string: SGI | ||
+ | |||
+ | |||
+ | $ LIBGL_DEBUG=verbose glxinfo | ||
+ | libGL: XF86DRIGetClientDriverName: 5.0.1 radeon (screen 0) | ||
+ | libGL: OpenDriver: trying /usr/X11R6/lib/modules/dri/radeon_dri.so | ||
+ | drmOpenByBusid: Searching for BusID pci:0000:01:05.0 | ||
+ | drmOpenDevice: node name is /dev/dri/card0 | ||
+ | drmOpenDevice: open result is 4, (OK) | ||
+ | drmOpenByBusid: drmOpenMinor returns 4 | ||
+ | drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0 | ||
+ | libGL error: | ||
+ | Radeon DRI driver expected DDX version 4.0.x but got version 5.0.1 | ||
+ | libGL warning: 3D driver returned no fbconfigs. | ||
+ | libGL error: InitDriver failed | ||
+ | libGL error: reverting to (slow) indirect rendering | ||
+ | |||
+ | |||
+ | $ sudo apt-get install -t experimental xlibmesa-dri | ||
+ | |||
+ | libGL error: dlopen /usr/X11R6/lib/modules/dri/radeon_dri.so failed (/usr/X11R6/lib/modules/dri/radeon_dri.so: undefined symbol: _glapi_add_dispatch) | ||
+ | |||
+ | $ sudo apt-get install -t experimental xlibmesa-gl | ||
+ | |||
+ | Works now | ||
+ | |||
+ | ==== Mistakes : Xlib: extension "GLX" missing on display ":0.0". ==== | ||
+ | |||
+ | glxinfo | ||
+ | name of display: :0.0 | ||
+ | Xlib: extension "GLX" missing on display ":0.0". | ||
+ | Xlib: extension "GLX" missing on display ":0.0". | ||
+ | Xlib: extension "GLX" missing on display ":0.0". | ||
+ | Error: couldn't find RGB GLX visual | ||
+ | |||
+ | X -version | ||
+ | XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-10 20041215174925 fabbione@fabbione.net) | ||
+ | Release Date: 15 August 2003 | ||
+ | X Protocol Version 11, Revision 0, Release 6.6 | ||
+ | |||
+ | http://www.linuxforums.org/forum/ptopic31122.html | ||
+ | |||
+ | |||
+ | |||
+ | ==== MISC ==== | ||