OpenGL!

Is there any driver (and its respective GPU) that give full support for OpenGL? I would like to work with OpenGL in Haiku!

To my regret, I don’t think so: Intel’s driver is not a Gallium3D driver. It’s a DRM+DRI implementation (classic MESA), so it’s not OS agnostic, but very specific to Gnu/Linux.
(IIRC the recent i915 Gallium3D driver is not an intel contribution)

An Ati-Radeon or a Freedreno driver would be a better choice.

[edit]
http://haikuware.com/gallium
http://haikuware.com/blogs/entry/mesa-gallium-status-update-13-522013

Not to my knowledge. But I would be interested to hear about it if you find one. I suppose the best bet would be Intel integrated graphics since they have open source drivers.

hell i prefer to port mesa rather than using a GPU that its documentation isn’t available (ATI, nvidia and whatnot).

You will get more informed answers if you ask on the Haiku mail list. The Devs rarely visit the forums.

http://www.freelists.org/list/haiku

Good grief… what a load of misinformation.

Haiku has an upto date Mesa port… if you use GCC2 you have to use the old port because GCC2 can’t compile the newer version of mesa. It was discussed but getting it to work would have been a massive undertaking.

The fastest driver as of today is probably the LLVMpipe gallium3d driver… you’ll need a fast multicore CPU but it is good enough for developing some simple games and such. For instance it is fast enough on my laptop when running linux to render Minecraft without any dedicated hardware acceleration at very playable frame rates.

Also note that kallisti5 aka Alexander Von Gluck is working on the Mesa implementation and also maintains support for the 2D radeonhd driver haiku has. Someone just needs to get the pieces together on the driver and get it working… since the userspace work seems mostly done.

What the hell, even React OS has some OpenGL suport!

Linuxgamer94, despise that haiku has a very small dev team it gets its job done. Mesa just released a patch for opengl 3.3 just recently, that is nice for those who have intel gfx instead of a discrete gfx card. http://www.phoronix.com/scan.php?page=news_item&px=MTQ4OTQ

openGL support for haiku isn’t really a priority due to hardware support. a few years back, iirc, mesa dropped support for haiku, since then someone still ported haiku while maintaining support beos apps (gcc 2) and for haiku build with gcc4. since now we are kinda getting some new blood and apps for haiku porting the soon to be release mesa 10 will help us to get some nice opengl support. though i don’t know if we will have a good driver for intel integrated gpu.

1 Like

What is needed about this?

I can’t find any up to date information about 3D acceleration in ReactOS. What is their state exactly at the moment?

It seems that at some point they got some old NVidia cards to do accelerated rendering, using, of course, the Windows drivers, which makes things a bit easier for them.

The current state of Mesa in Haiku is that our changes are in upstream Mesa again, thanks to Kallisit5’s efforts. So you can get an up to date Mesa rather easily. There are still bugs to fix (as with anything else), and it is still software rendering, for lack of any 3D-enabled drivers.

We may see some progress on this during the summer, as one of our GSoC applicants has submitted a proposal on porting libDRM, which would allow us to port Linux drivers and use these. Stay tuned for more info! (after the selection process for GSoC students is complete)

2 Likes

I actually have a question about the OpenGL classes. I saw in the code there is a commented out “BGLScreen” class based on a BWindowScreen instead of a BView like “BGLView”. Is it in working order or does some of the implementation have to be fixed? It seems it would be very helpful as it would provide an easy way to make a full screen GL application without creating a BGLView and then attatching it to a BDirectWindow or BWindowScreen. Or am I missing something here? I don’t have too much experience in this sort of stuff.

Please see https://dev.haiku-os.org/ticket/1182

It was deprecated in BeOS R4.5: https://www.haiku-os.org/legacy-docs/bebook/TheOpenGLKit_Overview_Introduction.html

We will see when we get hardware acceleration, if re-introducing it is of any use (for performance or ease of use reasons). For now, BDirectWindow + BGLView is the way to go, and you can have a look at some of our OpenGL screensavers for example of that.

1 Like

Ah, I see! Thank you!