Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
84 user(s) are online (76 user(s) are browsing Forums)

Members: 0
Guests: 84

more...

Support us!

Headlines

 
  Register To Post  

« 1 (2) 3 »
Re: OpenGL on OS4?
Just can't stay away
Just can't stay away


See User information
@Cool_amigaN

Quote:
sexy 3D Hardware Desktop Cube

What's wrong with my Switcher3D ?


Edited by TSK on 2007/11/29 16:04:51
Rock lobster bit me - so I'm here forever
X1000 + AmigaOS 4.1 FE
"Anyone can build a fast CPU. The trick is to build a fast system." - Seymour Cray
Go to top
Re: OpenGL on OS4?
Home away from home
Home away from home


See User information
@Rogue

That's probably the clearest explanation of what needs to be done. Hopefully AMD will release the Radeon 500+ GPU specifications as promised over the next 6 months or so. Their AtomBIOS looks like it will allow 2D support for pretty much every new graphics card they produce from now on. The 3D drivers, on the other hand, will probably be more work.

Out of curiosity, could part of the MESA GPU driver API be used? Obviously the underlying hardware APIs are different, but the MESA->driver API should be usable as-is. Or is there something that they do that's tailored to the Linux way of doing things?

Hans

Go to top
Re: OpenGL on OS4?
Quite a regular
Quite a regular


See User information
@Hans

Quote:
Out of curiosity, could part of the MESA GPU driver API be used? Obviously the underlying hardware APIs are different, but the MESA->driver API should be usable as-is. Or is there something that they do that's tailored to the Linux way of doing things?


Even the OSMesa uses the MESA->driver API. However, implementing a hardware driver means re-implementing a good part of the Mesa internals, since this overrides the default implementations of the MESA pipeline. For example, you can use the software T&L module (which is done in OSmesa) but you would need to re-implement it for your specific card when you want to make a driver that has hardware T&L support.

Just have a look at the sheer amount of code in the drivers subdirectory of the Mesa tree, and there you only see part of it, the rest is in DRM which is a Linux kernel module, both a generic one as well as a hardware-specific one.

Just for giggles I ran a "wc" on it, the common plus radeon part in the Mesa tree is about 30k lines of code. I think people tend to underestimate the complexity of this.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: OpenGL on OS4?
Amigans Defender
Amigans Defender


See User information
@Rogue

Quote:

That doesn't work either. See my post. It's not only the drivers. For the same reason you cannot use ATI's Windows driver on Linux, and vice versa.


Yes, but having drivers you can take a look at all chipset initialisations that are done at moment using reverse engineering
On linux platform, for example, now that there are official ATI/NVIDIA drivers the situation has changed, in the past all attemps to write an accelerated opengl drivers (like in Mesa) has created only SLOW implementations.
we need also the chipsed documentation and as you know very well we haven't.. maybe WHEN and IF ATI will release its open source driver (it is planned but when?)

Go to top
Re: OpenGL on OS4?
Home away from home
Home away from home


See User information
@Rogue

Yes I've looked at the driver code, both in MESA & in DRI, and it's sizeable. There's also the Gallium3D driver system which is supposed to be cross-platform. I have no idea how advanced that is, but it looks promising. In particular they claim that it will make drivers smaller and simpler; that sounds like a good thing.

Hans

EDIT: Actually, Gallium3D looks set to become the official HW driver subsystem of MESA. I've had a look at its architecture, and it looks like you'll only have to write the OS abstraction layer once, and a GPU-specific drm module; the core driver itself is platform independent. Having a common OS abstraction module should reduce the coding burden somewhat.


Edited by Hans on 2007/11/29 17:36:04
Go to top
Re: OpenGL on OS4?
Quite a regular
Quite a regular


See User information
@afxgroup

As I tried to point out, it's not about the hardware itself. I do have documentation on the R100 and R200 and could write a Mesa driver myself given enough time, including hardware T&L, but that is not the point.

@Hans

Yes Gallium3D looks quite good, but they are still quite a bit away from a working system AFAIK. It's something to keep a very close eye on, though.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: OpenGL on OS4?
Not too shy to talk
Not too shy to talk


See User information
so, to "summarize", no actual work has been done regarding the new graphics system with proper 3d implementation?
i mean except of specifications?
i hoped this enhancement to be somhow a little bit more advanced in the current os4 betas as it has first been mentiond a long time ago (last year?)
there surely have been other priorities additional to the classic version.

thanks and
byebye...

Go to top
Re: OpenGL on OS4?
Just popping in
Just popping in


See User information
@Hans
@Rogue
I'd keep an eye also in this project (Gallium3D related..):

http://nouveau.freedesktop.org/wiki/

It's still quite basic but it's very promising and it works on PPC (also on PS 3).

It should make driver porting a bit easier.

Cheers
Riccardo

Go to top
Re: OpenGL on OS4?
Quite a regular
Quite a regular


See User information
@MichaelMerkel

Quote:

so, to "summarize", no actual work has been done regarding the new graphics system with proper 3d implementation?
i mean except of specifications?


I didn't say that. As a matter of fact, I have done some work already. It's just not going as fast as I hoped because of other tasks.

Quote:
i hoped this enhancement to be somhow a little bit more advanced in the current os4 betas as it has first been mentiond a long time ago (last year?)
there surely have been other priorities additional to the classic version.


We are not talking about "enhancements" but about total replacement. What use is it to build a concrete skyscraper on top of a wooden shack? OpenGL rather belongs at the foundation of a graphics system, not on top of it, so that the graphics system can make use of OpenGL, not the other way around.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: OpenGL on OS4?
Quite a regular
Quite a regular


See User information
@Richi

It would require a 2D driver as well.

Seriously, if you do want to contact me write me a mail. You're more likely to get a reply then.
Go to top
Re: OpenGL on OS4?
Just popping in
Just popping in


See User information
@Rogue
The drivers are both 2D and 3D.
Actually 2D only are working properly (HW acceleraded).
3D drivers are still very basic.

Here is their status update sentence:
Currently, there is 2D-support, and a very limited 3D support for extremely lucky developers.

More important here is the feature matrix:
http://nouveau.freedesktop.org/wiki/FeatureMatrix

Cheers
Riccardo

Go to top
Re: OpenGL on OS4?
Not too shy to talk
Not too shy to talk


See User information
@Rogue

Quote:

Rogue wrote:
@MichaelMerkel

Quote:

so, to "summarize", no actual work has been done regarding the new graphics system with proper 3d implementation?
i mean except of specifications?


I didn't say that.

that's how i understood it. sorry if i was wrong. and nice to hear that something is done already!
Quote:
As a matter of fact, I have done some work already. It's just not going as fast as I hoped because of other tasks.

Quote:
i hoped this enhancement to be somhow a little bit more advanced in the current os4 betas as it has first been mentiond a long time ago (last year?)
there surely have been other priorities additional to the classic version.


We are not talking about "enhancements" but about total replacement.

that was a not so well wording from my side. with "enhancement" i meant an enhancement to the os in general (complete new graphic system) - not "only" the 3d part - sorry
Quote:
What use is it to build a concrete skyscraper on top of a wooden shack? OpenGL rather belongs at the foundation of a graphics system, not on top of it, so that the graphics system can make use of OpenGL, not the other way around.

sure! i second that.

hope to see it "soon" ;)
byebye...

Go to top
Re: OpenGL on OS4?
Just can't stay away
Just can't stay away


See User information
Hi @Hans

You're pretty-much right about OpenGL and MiniGL. MiniGL is simply a cut-down implementation of OpenGL. It supports some of the OpenGL API, but not all. If a program written using OpenGL only uses features that MiniGL has, it can run via MiniGL without problems. We're going to have to live with MiniGL for now.

We'll try! I ran this miniGL demo - Stars of Nukleus and looks real good in the gfx, but the sound is kind of crappy. Is the sound function a part of demo construction and nothing to do with miniGL?

Go to top
Re: OpenGL on OS4?
Amigans Defender
Amigans Defender


See User information
@MichaelMerkel
Quote:
...and nice to hear that something is done already!

He didn't say that either. You just can't seem to keep out of trouble with that whole jumping to conclusions problem. [just kidding]

ExecSG Team Lead
Go to top
Re: OpenGL on OS4?
Home away from home
Home away from home


See User information
@ssolie

Quote:

@MichaelMerkel
Quote:

Quote:
...and nice to hear that something is done already!

He didn't say that either. You just can't seem to keep out of trouble with that whole jumping to conclusions problem. [just kidding]

Actually he did, see post #29

Quote:

@MichaelMerkel
Quote:

Quote:
so, to "summarize", no actual work has been done regarding the new graphics system with proper 3d implementation?
i mean except of specifications?

I didn't say that. As a matter of fact, I have done some work already. It's just not going as fast as I hoped because of other tasks.

Go to top
Re: OpenGL on OS4?
Home away from home
Home away from home


See User information
@Snuffy

Quote:

Snuffy wrote:
Hi @Hans

You're pretty-much right about OpenGL and MiniGL. MiniGL is simply a cut-down implementation of OpenGL. It supports some of the OpenGL API, but not all. If a program written using OpenGL only uses features that MiniGL has, it can run via MiniGL without problems. We're going to have to live with MiniGL for now.

We'll try! I ran this miniGL demo - Stars of Nukleus and looks real good in the gfx, but the sound is kind of crappy. Is the sound function a part of demo construction and nothing to do with miniGL?


That particular demo sounds fine most of the time on my machine.

Sound has nothing to do with MiniGL. However, Warp3D's driver system has to pull some tricks including hardware locking. The hardware locking can cause trouble with other parts of the system, for example, causing the audio thread to not pass data to the sound-card fast enough, resulting in audio stuttering. I managed to reduce it somewhat, but I can't eliminate it. Actually, if a programmer uses the automatic locking setting in MiniGL rather than the smart-lock, no audio stuttering should occur, but the 3D graphics performance will drop like a rock (it's locking unlocking 3D hardware every primitive that it draws).

My one advice is for people to have Interrupt=yes set in their monitor's tooltypes as it reduces this issue. Unfortunately some people's graphics cards don't work in that mode.

Unless someone has some fancy little trick that I haven't thought of, this problem is not going to disappear until Rogue and the OS4 dev team have the new graphics system done.

Hans

Go to top
Re: OpenGL on OS4?
Home away from home
Home away from home


See User information
@Rogue

way 2D?

way not reander the kickstart in 3D?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: OpenGL on OS4?
Just popping in
Just popping in


See User information
@Thread

OK, now I'm getting confused (not difficult).

In the past the following systems have been discussed:

- Cairo
- AGG
- OpenGL

What direction is Hyperion leaning towards on the graphics API?

How would each of these systems be supported?

Which API would be the "bare metal layer" just before calling the graphic card drivers?

Which API would be exposed to Joe Q. Programmer?



Thanks

Go to top
Re: OpenGL on OS4?
Not too shy to talk
Not too shy to talk


See User information
@ssolie

Quote:

ssolie wrote:
@MichaelMerkel
Quote:
...and nice to hear that something is done already!

He didn't say that either. You just can't seem to keep out of trouble with that whole jumping to conclusions problem. [just kidding]



look Raziels post or read rogues answer again.
some basic pieces seem to be in place already.

byebye...

Go to top
Re: OpenGL on OS4?
Just popping in
Just popping in


See User information
@gregthecanuck

Quote:

gregthecanuck wrote:
@Thread

OK, now I'm getting confused (not difficult).

In the past the following systems have been discussed:

- Cairo
- AGG
- OpenGL

What direction is Hyperion leaning towards on the graphics API?

How would each of these systems be supported?

Which API would be the "bare metal layer" just before calling the graphic card drivers?

Which API would be exposed to Joe Q. Programmer?


OpenGL would be the hardware drivers for 3d acceleration.

Cairo already has an OpenGL-based renderer so that would rest on top of OpenGL.

AGG is CPU-based and doesn't take advantage of the graphics processor at all, AFAIK.

All 3 would be available to Joe Q. Programmer but OpenGL would be the most powerful and flexible of the 3.

Go to top

  Register To Post
« 1 (2) 3 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project