Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (degenerate_762), 1,098 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
I'll just leave this here... #443934
07/28/14 07:55
07/28/14 07:55
Joined: Nov 2008
Posts: 946
T
the_clown Offline OP
User
the_clown  Offline OP
User
T

Joined: Nov 2008
Posts: 946

Re: I'll just leave this here... [Re: the_clown] #444012
07/28/14 20:38
07/28/14 20:38
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
I encountered a similar scenario with Barony recently. We were feeding too many elements to drawArrays(), and while nvidia cards handled this mistake fine (apparently they don't render uninitialized vertex data...), AMD cards would not (free polygons ahoy!). So it seems likely to me you're making a similar mistake here.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: I'll just leave this here... [Re: Redeemer] #444030
07/29/14 11:09
07/29/14 11:09
Joined: Nov 2008
Posts: 946
T
the_clown Offline OP
User
the_clown  Offline OP
User
T

Joined: Nov 2008
Posts: 946
Well turns out it's most likely a bug in the AMD driver, explicitely setting the correct stride value in glVertexAttribPointer() has solved the issue. Seems like the NVidia driver correctly calculates the stride with the parameter set to 0, as it should according to specification, but the Radeon driver seems to have an issue with that.

Re: I'll just leave this here... [Re: the_clown] #444078
07/30/14 04:06
07/30/14 04:06
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
How about that! I wouldn't have guessed so, but my experience with openGL and therefore the big wide world of graphics vendors is quite limited as I honestly only sat down to build my first openGL application 5 or 6 months ago. As mentioned though it has become clear to me just how rough around the edges AMD drivers can be when it comes to anything like this. :\ The sad part is just how hard it is to debug since the OGL functions usually won't return anything useful in these cases and more often than not a crash will land you with a stack full of untraceable calls inside the kernel and graphics drivers.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: I'll just leave this here... [Re: Redeemer] #444094
07/30/14 09:48
07/30/14 09:48
Joined: Nov 2008
Posts: 946
T
the_clown Offline OP
User
the_clown  Offline OP
User
T

Joined: Nov 2008
Posts: 946
It's just a bad idea to develop OpenGL applications on NVidia only, their drivers will happily work with code that sets any AMD card on fire.
I always have 5 or 6 browser windows opened with different pages from the OpenGL specification, just to make sure I follow every single practice by word so my code won't implode as soon as I try it on Radeon. grin


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1