Support for nVidia cards in R1 (and maybe before)?


#1

I noticed in one of the Prop questions, that support for at least higher resolutions on all video cards was a “must have” for R1. At least I think it was a must have. My question is, will it be ready in time? Not that I am trying to rush or be impatient, but I noticed nothing in the activities of the source code to show anything about it. Even though it’s a mild annoyance to switch video cards in the BIOS, and inputs on the monitor when I boot into Haiku, it’s still an annoyance. I would love for the process to be really simple to switch to another OS. I can’t stay on the onboard Intel card if I want to play games, so I only use it for Haiku (which I am using at least 70% of the time).

I did want to repeat, I’m really not trying to rush, nag, or be impatient, I am just curious if work is being done, or plan on being done. I realize the official R1 is still a ways off.

Thanks.


#2

As far as I know there is not a single soul working on native nVidia drivers for Haiku right now. I know the pain, I own a few modern GeForce cards myself. To get correct resolution and aspect ratio on widescreen displays I’d boot Haiku from Clover bootloader, enabling “Patch VBIOS” option. Perverted way to do it, I agree.

From what I could understand, Haiku can’t directly benefit from open source Noveau display drivers of Linux. It’s not like in case of Haiku’s compatibility layer with FreeBSD WiFi drivers. I think one must write the nVidia driver from scratch specifically for Haiku, even though source code and hardware specs provided by Noveau project could probably help the developer if there will be one. Long story short, with Noveau in mind this is not so much of an uncharted territory anymore, but still a mountain of work.

For 3D acceleration there was some progress on Mesa / Gallium 3D, but I haven’t heard any news from it at least since 5/13/2014. Will be real sweet and dandy to get a Noveau-derived Haiku nVidia driver. Looks like Noveau Project made a helluva lot of progress this year and year prior. I don’t have much money, but I will donate if there is dedicated bounty just for nVidia drivers.


#3

If / when this does go ahead, it is likely to be Gallium3D-based, I would imagine. Not a small amount of work, but equally not gigantic.


#4

Wasn’t Gallium for 3D acceleration only? I was under the impression that mode setting, 2D acceleration and video overlay must be supported by a separate enitity, not included in Gallium 3D drivers.


#5

I believe you are correct. There exists some documentation for writing an “accelerant” for BeOS and Rudolf Cornelissen has also documented the process of creating a driver - it is available here: https://www.haiku-os.org/legacy-docs/writing-video-card-drivers


#6

The documentation is nice but I think it’s not completed.
https://www.haiku-os.org/legacy-docs/writing-video-card-drivers/06-writing-the-driver


#7

Hi, I know this is an old thread but I thought I’d let know somehow that I am finally translating this document myself. About one third is done, which means I am now at the point where there will be more info in the new translation than exists in the old one.

Also while I am at it, some extra info and a few updates are coming (are there already) because since then my knowledge expanded a bit more and of course Haiku is much more complete than it was back then.

That being said it remains being a translation of the original work so it’s still about the BeOS. Though most stuff also (should) apply directly to Haiku.

I’ll keep working on the document and publish it again. Hopefully in a month or so it will be done.

It would be perfect if when it’s done someone could convert it to a handy online format and replace the old translation on the Haiku site with the new one…

That’s it for now. I’ll keep you posted.