pouët.net

Go to bottom

Anyone with Linux, pls halp

category: general [glöplog]
Right... I arrived at Sundown with a half finished Linux 1k all ready to get below the size limit and then found that it wouldn't start on the machine I borrowed (thanks anyway, df!). I think I know what the problem is and suspect I've fixed it now but I'd like to try it on as many configurations as possible. So, if anyone could be so helpful as to run this from their console:

http://parapete.untergrund.net/importtest (remember to change permissions after you've downloaded it)

it would be much appreciated. If the libraries I import (GL and SDL) aren't present it will fail gracefully. If all goes to plan you should see a screen that sOlo2 would describe as "window, red and black, flashing". If the import code fails you should get some debug text, which I'd appreciate if you could paste here. I apologise in advance if this crashes your machine but it should just segfault peacefully anyway. Also don't be surprised at the large size; a lot of the space is taken up by debugging code.

Thanks you,
Peter
Works in Slackware 12.0 :-)

good luck!
added on the 2008-09-20 02:16:19 by pera pera
address printing
1024x768 screen opening
red pulses to black
latest Ubuntu

BRING PRIDE TO LINUX DEMOS KTHX
added on the 2008-09-20 03:11:20 by LiraNuna LiraNuna
Code:void main(){gl_FragColor=vec4(0.5+0.5*sin(gl_Color.x*10000000.0), 0.0, 0.0, 1.0);}

Hmm...
added on the 2008-09-20 03:23:48 by LiraNuna LiraNuna
Code:% ./importtest zsh: exec format error: ./importtest % bash importtest Starting...

Works fine :-)
added on the 2008-09-20 11:41:06 by Deltafire Deltafire
Mesa 7.0.3-rc2 implementation error: User called no-op dispatch function (an unsupported extension function?)
Please report at bugzilla.freedesktop.org

Not working on a OpenGL 1.4's Intel GMA, sorry that's all I got for this week-end.
added on the 2008-09-20 12:06:10 by Wiz Wiz
Ill check it on a GMA950+Mesa 7.1 later in the evening..
added on the 2008-09-20 14:02:45 by Movi Movi
works fine on 64bit ubuntu with nvidia binary drivers
added on the 2008-09-20 14:37:47 by snoutmate snoutmate
I just get a black screen. Latest ubuntu and nvidia geforce ti 4200. I blame the gfx-card.
added on the 2008-09-20 15:28:48 by Frost Frost
I get a red background window. Ubuntu 8.04 32bit, GeForce 7600 GS.
added on the 2008-09-20 15:38:16 by mrdoob mrdoob
LiraNuna, I pass time to the shader using glColor3i. This has the benefit that you don't need to convert SDL_GetTicks to a float. The only downside is that glsl maps (0 ... max int) to (0.0 ... 1.0), hence the multiplication by a giant number.

Wiz, it uses shaders so it will not work on 1.4 unfortunately. It's reassuring that it doesn't crash spectacularly though...

Frost and trace, so you're getting no animation at all, just a solid colour? I guess that's a problem with my timer code, either due to low precision in the card or a driver bug. In any case, as long as a window actually opens I can consider it a success.

Thanks to all for testing!
Quote:

└──── ./importtest
Starting...
-----------------------------------------------------------------0x79DDC09E
l_addr: 0x00000000
l_name:
l_ld: 0x08048116

l_addr: 0x00000000
l_name:
l_ld: 0xFFFFE2FC

l_addr: 0xF7F57000
l_name: /usr/lib32/libSDL-1.2.so.0
l_ld: 0xF7FACE14

./importtest: line 1: 19266 Segmentation fault $a
added on the 2008-09-20 20:33:06 by _-_-__ _-_-__
(I must point out I'm on amd64 in 64bit)
added on the 2008-09-20 20:33:43 by _-_-__ _-_-__
screenshot: BB Image

yup it's a still image and the colors are similar to my desktop background so i guess it's just taking garbage from video memory, also the window can't be closed without a kill -9

here's the console output:
Code:Starting... -----------------------------------------------------------------0x79DDC09E l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C -----------------------------------------------------------------0x8FADCD14 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C -----------------------------------------------------------------0x2B84F03B l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x24CBD546 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x55E28B7F l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x00F222F3 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x710D3289 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x9F9D10BF l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x1AB543BC l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0x6541C894 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C -----------------------------------------------------------------0x1881722C l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0xBCB016E2 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C l_addr: 0xB7E62000 l_name: /usr/lib/libGL.so.1 l_ld: 0xB7EC0F6C -----------------------------------------------------------------0xE01BBA96 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C -----------------------------------------------------------------0x723A3B37 l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C -----------------------------------------------------------------0x79E1ED5D l_addr: 0x00000000 l_name: l_ld: 0x08048116 l_addr: 0xB7F64000 l_name: l_ld: 0xB7F625BC l_addr: 0xB7EC4000 l_name: /usr/lib/libSDL-1.2.so.0 l_ld: 0xB7F2960C


Your code sucks, kill it with fire.
added on the 2008-09-20 22:12:41 by Sverker Sverker
Minnie the Minx, did you try pressing a key to close the window? :) What card/driver do you have?
_-_-__ : dang. I don't know anything about 64 bit processors and the issues with them so I don't know that I'll be able to fix that. The source is here if you're feeling brave:

http://pastebin.com/f3d2790df

Also, people getting no animation can you try this one:

http://parapete.untergrund.net/importtest2 (again remember to change permissions)

This will fix the timer problem if it's due to low precision. If the problem is actually that OpenGL doesn't initialize varyings properly if there's no vertex shader then it will never work. This isn't much of a problem anyway as the intro will be too slow to work on anything less than a ~8600 and it doesn't seem to be an issue on newer cards.

Thanks again to everyone trying this.
Quote:
did you try pressing a key to close the window?
nope :)

i'm, uhh, using a matrox g450 with the mesa driver, so it might not be so surprising it doesn't work =D
added on the 2008-09-20 22:30:55 by Sverker Sverker
parapete, I got no idea what's wrong actually and it's a bit late so I'll pass on that ;)
added on the 2008-09-20 22:33:37 by _-_-__ _-_-__
pete: it's not that the intro is too slow, the video card is too slow and the intro is too powerful. Gotta keep your self esteem up, up you'll make another scary dinosaur!
added on the 2008-09-20 22:35:11 by psonice psonice
Minnie the Minx, okay I won't be too worried that it doesn't work in that case ;) Thanks for trying though.

_-_-__: Chicken! I have some C code that will be much easier to find the problem in and debug anyway. Needs cleaning up though...
psonice, I think the main problem is that I'M too powerful and the world isn't ready yet.
that's more like it!
added on the 2008-09-20 22:40:07 by psonice psonice
Quote:
Also, people getting no animation can you try this one:

http://parapete.untergrund.net/importtest2 (again remember to change permissions)

Works!
added on the 2008-09-20 23:16:57 by mrdoob mrdoob
Wahey! That's a relief :) Thanks for testing.
GOOD LUCK AND BRING (gay) PRIDE TO THE LOONIX DEMO SCENE
added on the 2008-09-20 23:30:33 by LiraNuna LiraNuna

login

Go to top