-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Debian Jessie build fails nvidia libGl libGLEW not found #2165
Comments
The binary failed in similar fashion first. So, I tried the src file. That build gave me these errors. Please ask for any input you need. |
According to the output of SuperTuxKart, your video card only supports OpenGL 2.1 but stk needs at least 3.1, lower versions are unsupported. |
According to the output of STK, your video card does not support anything :P OpenGL version 2.1 is used by default, when we don't get any information about it from drivers. You also don't get information about drivers version, etc... Try to run
you should get something like:
If you don't get something similar, then you don't have the drivers properly installed. |
On 05/02/2015 05:25 AM, Seebi wrote:
OpenGL vendor string: NVIDIA Corporation Thanks! RicMy father, Victor Moore (Vic) used to say: |
Do you have something specific in your system? For example non-typical window manager, resolution, multiple screens, modified xorg.conf ... It looks like we don't get information about screen resolution, and window can't be created at all:
Do you have this problem also with STK 0.8.1? Also make sure that you don't have negative values for window width and height remembered in config.xml for some reason. Ideally try to remove ~/.config/supertuxkart directory. |
On 05/03/2015 03:20 AM, Deve wrote:
No, not at all. I run quite a few openGL programs. ric@iam: [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateWindow [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_ConfigureWindow [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_MapWindow [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_ChangeProperty [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : unknown [warn ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : unknown [warn ] [IrrDriver Temp Logger]: Level 2: Could not make context current. [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_GetGeometry [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_GetProperty [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreatePixmap [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreatePixmap [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateGC [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_PolyFillRectangle [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_PolyFillRectangle [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateCursor [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadGC (invalid GC [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreeGC [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreePixmap [warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid [warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreePixmap [warn ] [IrrDriver Temp Logger]: Level 2: OpenGL driver version is not [warn ] [IrrDriver Temp Logger]: Level 2: Warning: OpenGL device only [info ] IrrDriver: OpenGL version: 2.1 [fatal ] GLEW: Glew initialisation failed with error Missing GL versBy the way. Mariam Ruiz does not speak for the Debian Project. Some of My father, Victor Moore (Vic) used to say: |
Okay, I understend that your graphics drivers work. But we must find a way to reproduce this bug. If this is caused by for example window manager, then I could instal it on my machine and try to debug it. Otherwise it's really hard to say what's wrong because it works for most people. At first please check:
|
Hmm, your log file states: Creating directory(ies) '/home/ric/.config/supertuxkart/0.8.2/' and other first-time running messages (so it was a clean start), but still the message that "The window size specified in user config is larger than your screen!", which means we could not create an opengl context with any settings (STK tries a couple of different settings). One other option to would be to try a vanilla irrlicht test program, just download the irrlicht package, and follow their instructions |
I didn't notice log in your last commit, sorry about it. Possible situation is that xrandr is not available in system for some reason (or has problems with some devices configuration (?)). Then we read display size and irrlicht returns values width: 0, height: 0. And we use these values for window size without checking if it's larger than 0 or not... I added some additional checks, maybe it will allow you to run it at least in windowed mode: |
On 05/04/2015 01:04 AM, Deve wrote:
The pure Debian maintained package works just fine. I love the barnyard
p/s strange the new .config/supertuxkart directory has a directory named My father, Victor Moore (Vic) used to say: |
On 05/04/2015 01:27 AM, hiker wrote:
In file included from COpenGLDriver.h:25:0, ric@iam:~/Downloads/irrlicht-1.8.1/source/Irrlicht$note: they depend on xrandr for full screen. No machine that uses nvidia My father, Victor Moore (Vic) used to say: |
On 05/04/2015 05:26 AM, Deve wrote:
WORKS! YES! You and the rest are DA MAN! Ric My father, Victor Moore (Vic) used to say: |
Funny that I can run version 8 in full screen, but not version 9. Even the option for full screen is greyed out. Meanwhile I think I'll re-install the official debian nvidia packages again. |
You won't be able to compile irrlicht 1.8.1 on current linux systems without patching it. Just don't care about it. You checked that STK 0.8.1 works for you and this information is enough.
It is possible that 0.8 version works for you and 0.9 doesn't work, because in current version we use xrandr for handling resolutions. Previous versions (and also irrlicht by default) use vidmode instead of xrandr.
I personally have nvidia optimus laptop and I don't have any issues with libxrandr using bumblebee or nvidia-prime. It's even necessary to use xrandr application to make nvidia-prime working. Some people use nvidia directly and noone reported anything similar. I will prepare simple application which should say if xrandr extension is available in your system at all or if the problem is in other place during creating resolutions list. You can also check if Vidmode implementation in irrlicht is rather poor (issues with multiple monitors, also with restoring resolution in some cases), but maybe we could use it as a fallback. |
Please, try this: It should be compiled using command: If there is something wrong with xrandr, then it should say something more. |
On 05/05/2015 03:43 AM, Deve wrote:
OK, got xrandr working. It's primitive as hell, right now, lacking a My father, Victor Moore (Vic) used to say: |
On 05/05/2015 08:26 AM, Deve wrote:
No need, I got xrandr working by disabling xinerama. Then it looks like My father, Victor Moore (Vic) used to say: |
Main issue has been fixed - now STK starts when it doesn't have information about original screen resolution, so ticket can be closed. We could use vidmode as a fallback for changing resolutions if xrandr was not found, but it's a separate task. I'm also not in favour of this idea because it would require additional work for good vidmode support. Btw. Is this really an issue to configure multiple monitors in your system? I was always using simple script which was detecting my monitors configuration and was doing something like: |
On 05/08/2015 05:57 AM, Deve wrote:
Oh heck, we're back to where it won't run, even just in windowed mode. The patched version worked a charm. Someone else is noting the same My father, Victor Moore (Vic) used to say: |
Used both Debian supplied nvidia driver and the nvidia run style install.
ric@iam:
/Downloads/supertuxkart-0.9/cmake_build/bin$ ./supertuxkartdeb8u1 (2015-04-24) x86_64[verbose ] main: Error messages and other text output will be logged to /home/ric/.config/supertuxkart/0.8.2/stdout.log.
[info ] [FileManager]: Data files will be fetched from: '../../data/'
[info ] [FileManager]: User directory is '/home/ric/.config/supertuxkart/0.8.2/'.
[info ] [FileManager]: Addons files will be stored in '/home/ric/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/ric/.cache/supertuxkart/screenshots/'.
[info ] [FileManager]: User-defined grand prix will be stored in '/home/ric/.local/share/supertuxkart/grandprix/'.
[info ] [FileManager]: Asset 0 will be loaded from '../../data/challenges/'.
[info ] [FileManager]: Asset 1 will be loaded from '../../data/fonts/'.
[info ] [FileManager]: Asset 2 will be loaded from '../../data/gfx/'.
[info ] [FileManager]: Asset 3 will be loaded from '../../data/grandprix/'.
[info ] [FileManager]: Asset 4 will be loaded from '../../data/gui/'.
[info ] [FileManager]: Asset 5 will be loaded from '../../data/library/'.
[info ] [FileManager]: Asset 6 will be loaded from '../../data/models/'.
[info ] [FileManager]: Asset 7 will be loaded from '../../data/music/'.
[info ] [FileManager]: Asset 8 will be loaded from '../../data/tracks/'.
[info ] [FileManager]: Asset 9 will be loaded from '../../data/sfx/'.
[info ] [FileManager]: Asset 10 will be loaded from '../../data/shaders/'.
[info ] [FileManager]: Asset 11 will be loaded from '../../data/skins/'.
[info ] [FileManager]: Asset 12 will be loaded from '../../data/textures/'.
[info ] [FileManager]: Asset 13 will be loaded from '../../data/po/'.
[verbose ] translation: Env var LANGUAGE = 'en_US.utf8'.
[verbose ] translation: Language 'English (United States)'.
Adding language fallback en
Irrlicht Engine version 1.8.0
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-3
[warn ] irr_driver: The window size specified in user config is larger than your screen!
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadValue (integer parameter out of range for operation)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateWindow
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_ConfigureWindow
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_MapWindow
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_ChangeProperty
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : unknown
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: GLXBadDrawable
[warn ] [IrrDriver Temp Logger]: Level 2: From call : unknown
[warn ] [IrrDriver Temp Logger]: Level 2: Could not make context current.
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_GetGeometry
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadWindow (invalid Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_GetProperty
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreatePixmap
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreatePixmap
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateGC
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_PolyFillRectangle
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadDrawable (invalid Pixmap or Window parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_PolyFillRectangle
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid Pixmap parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_CreateCursor
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadGC (invalid GC parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreeGC
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid Pixmap parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreePixmap
[warn ] [IrrDriver Temp Logger]: Level 2: X Error: BadPixmap (invalid Pixmap parameter)
[warn ] [IrrDriver Temp Logger]: Level 2: From call : X_FreePixmap
[warn ] [IrrDriver Temp Logger]: Level 2: OpenGL driver version is not 1.2 or better.
[warn ] [IrrDriver Temp Logger]: Level 2: Warning: OpenGL device only has one texture unit. Disabling multitexturing.
[info ] IrrDriver: OpenGL version: 2.1
[info ] IrrDriver: OpenGL vendor: (null)
[info ] IrrDriver: OpenGL renderer: (null)
[info ] IrrDriver: OpenGL version string: (null)
[fatal ] GLEW: Glew initialisation failed with error Missing GL version
ric@iam:~/Downloads/supertuxkart-0.9/cmake_build/bin$
The text was updated successfully, but these errors were encountered: