Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 100374
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Grant <davidgrant@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
trigger-0.5.1c-glx-check.patch This patch also sets opengl 1.5 capability when seeing a 2.0 version patch Bernard Cafarelli 2005-07-30 03:42 0000 590 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100374 depends on: Show dependency tree
Bug 100374 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-26 09:50 0000
When trying to run trigger after doing opengl-update nvidia, I get the
following
error message:

GLEW failed to initialise: GL 1.1 and up are not supported

If I do opengl-update xorg-x11, however, I get:

GLEW initialized
Graphics: NVIDIA Corporation GeForce FX 5900XT/AGP/SSE/3DNOW!
Using OpenGL 1.2

and the game loads. Is this a gentoo issue or an upstream one?

------- Comment #1 From Mr. Bones. 2005-07-26 11:32:47 0000 -------
works fine here.  You didn't provide any actual information though it's tough
to
say what the problem is.  It's probably something specific to your machine
though.

------- Comment #2 From David Grant 2005-07-26 13:28:46 0000 -------
What version of the nvidia packages are you using?

BTW, can you get your joystick to work in trigger? My joystick works fine in
supertux for example, and it is detected by trigger, but it doesn't work. I see
very little info about this from upstream. If there is a workaround that I don't
know about, please let me know, and maybe we can add an einfo line.


------- Comment #3 From David Grant 2005-07-26 13:40:18 0000 -------
apologies, I've found information about joystick configuration. It's in
~/.trigger/trigger.config.

Maybe add an einfo for this. There is also some video config in there as wel. As
there is no config within the game, knowing about this file is essential.

------- Comment #4 From Bernard Cafarelli 2005-07-27 13:05:22 0000 -------
The problem appears with latest nvidia drivers (1.0.7667 here), a possible
cause
is (found on another bugreport, but I can't remember the affected opengl
program):
Nvidia has changed its opengl version to 2.0 (instead of 1.x), but the game
only
checks for the last digit (and 0<1)...


My emerge info:
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.13
ccache version 2.4 [disabled]
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi aim alsa apache2 avi bash-completion berkdb
bitmap-fonts
bonobo bzip2 bzlib cddb cdr crypt cups curl curlwrappers dga dio dvb dvd dvdr
dvdread eds encode exif fam fastcgi ffmpeg fftw flac foomaticdb fortran ftp gb
gcj gd gdbm gif glut gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2
gtkhtml
guile iconv imagemagick imap imlib ipv6 jabber java jikes joystick jpeg junit
kde libcaca libwww lirc live lzw lzw-tiff mad matroska mbox mikmod mime mng
motif mozilla mp3 mpeg msn nas ncurses nls nptl nptlonly nvidia objc offensive
ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdflib perl php pic
png posix ppds python qt quicktime readline real recode samba scanner sdl
shared
sharedmem simplexml slang snmp sockets socks5 speex spell ssl svg tcltk tcpd
tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb
userlocales v4l vcd vorbis wifi wxwindows xface xine xinerama xml xml2 xmlrpc
xmms xosd xpm xv xvid yahoo zlib linguas_fr linguas_fr_FR userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS

------- Comment #5 From Mr. Bones. 2005-07-27 13:10:30 0000 -------
Good info.

------- Comment #6 From SpanKY 2005-07-29 22:48:24 0000 -------
fixed in cvs

nvidia is reported as '2.0.0' and the game compares the 2nd value to '1' without
checking the 1st value too

------- Comment #7 From Bernard Cafarelli 2005-07-30 03:42:55 0000 -------
Created an attachment (id=64723) [details]
This patch also sets opengl 1.5 capability when seeing a 2.0 version

I came up with the same fix, I added another check so that glew is informed of
opengl >1.1 capabilities (without the second test, the game only uses 1.1
extensions).

I don't know if they ared used in-game though (the glewInit... calls are
different but after that...)

------- Comment #8 From SpanKY 2005-07-31 00:07:30 0000 -------
thanks, updated patch

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug