Serebriakov / pink-pony

Automatically exported from code.google.com/p/pink-pony
0 stars 0 forks source link

Pony: brw_curbe.c:87: calculate_curbe_offsets: Assertion `total_regs <= 32' failed #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Compiled from source on Ubuntu Jaunty 9.04

james@rhinoctopus:~/src/misc/pink-pony$ ./Pony
Loading file "levels/ring.png" - Done: 512x512 pixels.
Loading file "textures/sand.png" - Done: 1024x1024 pixels.
Loading file "textures/grass.png" - Done: 1024x1024 pixels.
Loading file "textures/noise.png" - Done: 512x512 pixels.
Loading file "textures/sky.png" - Done: 2048x1024 pixels.
Loading file "textures/one.png" - Done: 256x256 pixels.
Loading file "textures/two.png" - Done: 256x256 pixels.
Loading file "textures/three.png" - Done: 256x256 pixels.
Loading file "textures/four.png" - Done: 256x256 pixels.
No hardware accelerated particles. :( Using fallback.
2 Animations loaded: Gallop Trot.
Loading file "textures/pony.png" - Done: 512x512 pixels.
Loading mesh file "models/Pony-animated.pmesh". Success 2485 vertices.
2 Animations loaded: Gallop Trot.
Loading file "textures/pony.png" - Done: 512x512 pixels.
Loading mesh file "models/Pony-animated.pmesh". Success 2485 vertices.
Loading mesh file "models/Heart.pmesh". Success 1410 vertices.
2 ponies.
Unsupported opcode 5 (ARL) in fragment shader
Pony: brw_curbe.c:87: calculate_curbe_offsets: Assertion `total_regs <= 32'
failed.
Aborted

I am guessing this may be because you are relying on some shader effect
that is not suppoorted by my video card. This is a Thinkpad X200 with an
integrated Intel card. I know it is kindof a crappy card, but it is a
pretty common one.

Original issue reported on code.google.com by bob.the....@gmail.com on 7 Jul 2009 at 8:34

GoogleCodeExporter commented 9 years ago
You're right. The problem is probably the Intel GMA card.

According to thinkwiki you have the Intel GMA 4500 MHD, right?

My Thinkpad has the same gpu as fallback. That means that I should be able to
reproduce your problems. 

I will try to create a patch for Intel cards..

Original comment by gin...@gmail.com on 8 Jul 2009 at 5:51

GoogleCodeExporter commented 9 years ago

Original comment by gin...@gmail.com on 8 Jul 2009 at 8:11

GoogleCodeExporter commented 9 years ago
Ookay.

I could reproduce the problem.

I created a stripped down version that should work with your laptop. You can 
get the
tarball on the downloads page.

These are the differences to the normal version:
No particles - Needs geometry shaders.
No animated ponies - I do animation in the vertex shader. This doesn't seem to 
work
with Intel GPUs. I deactivated it for now. Maybe I will add a CPU fallback 
later.
No sand - The island is now completely grass, both over water and below. Seems 
like
multitexturing+shaders do not work.
The terrain has a lower resolution - For better performance.

Original comment by gin...@gmail.com on 8 Jul 2009 at 8:25

GoogleCodeExporter commented 9 years ago
I tried again with the current git version and I still get the same fail. Is 
there
something special I need to do in order to compile the stripped down version 
that
works on Intel cards?

...or maybe I am not getting the current version correctly. I did "git pull" 
but I
don't know if that is correct. I am pretty new to git.

Original comment by bob.the....@gmail.com on 20 Jul 2009 at 5:20

GoogleCodeExporter commented 9 years ago
You need the pink-pony_intel-1.0.tar.bz2 tarball from the downloads section.

Original comment by gin...@gmail.com on 21 Jul 2009 at 1:19

GoogleCodeExporter commented 9 years ago
What about the source code? Is there a git branch for the intel version?

Original comment by bob.the....@gmail.com on 31 Jul 2009 at 2:55

GoogleCodeExporter commented 9 years ago
It's a source tarball.

Original comment by gin...@gmail.com on 31 Jul 2009 at 6:04