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
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!
good luck!
address printing
1024x768 screen opening
red pulses to black
latest Ubuntu
BRING PRIDE TO LINUX DEMOS KTHX
1024x768 screen opening
red pulses to black
latest Ubuntu
BRING PRIDE TO LINUX DEMOS KTHX
Code:
void main(){gl_FragColor=vec4(0.5+0.5*sin(gl_Color.x*10000000.0), 0.0, 0.0, 1.0);}
Hmm...
Code:
% ./importtest
zsh: exec format error: ./importtest
% bash importtest
Starting...
Works fine :-)
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.
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.
Ill check it on a GMA950+Mesa 7.1 later in the evening..
works fine on 64bit ubuntu with nvidia binary drivers
I just get a black screen. Latest ubuntu and nvidia geforce ti 4200. I blame the gfx-card.
I get a red background window. Ubuntu 8.04 32bit, GeForce 7600 GS.
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!
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
(I must point out I'm on amd64 in 64bit)
screenshot:
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:
Your code sucks, kill it with fire.
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.
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.
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:
nope :)did you try pressing a key to close the window?
i'm, uhh, using a matrox g450 with the mesa driver, so it might not be so surprising it doesn't work =D
parapete, I got no idea what's wrong actually and it's a bit late so I'll pass on that ;)
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!
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...
_-_-__: 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!
Quote:
Also, people getting no animation can you try this one:
http://parapete.untergrund.net/importtest2 (again remember to change permissions)
Works!
Wahey! That's a relief :) Thanks for testing.
GOOD LUCK AND BRING (gay) PRIDE TO THE LOONIX DEMO SCENE