flat assembler
Message board for the users of flat assembler.

Index > OS Construction > Intel HD Graphics?

Author
Thread Post new topic Reply to topic
FuzailHussain



Joined: 05 Jun 2015
Posts: 2
FuzailHussain 18 Dec 2015, 05:27
Hello everyone.
I have a couple of questions.
Most of you might have read this
http://renderingpipeline.com/graphics-literature/low-level-gpu-documentation and this https://01.org/linuxgraphics/downloads
Intel has released low level documentation for most of their GPUs like HD4000/HD4400 etc and the other website has Linux implementation with source code. Has anyone done graphics driver/program using these?(In FASM, of-course;For a new OS)
I have Acer-i5-Intel HD 4400. Is it enough to write driver using this information (provided in those documents) or do we need to write any manufacturer specific implementation (Acer, in this case)?
Suppose i have written a graphics driver for my Acer Laptop, will the same driver work equally well for Dell/Lenovo/other laptops with similar configuration?
Any help will be appreciated. Thanks.
Post 18 Dec 2015, 05:27
View user's profile Send private message Reply with quote
typedef



Joined: 25 Jul 2010
Posts: 2909
Location: 0x77760000
typedef 18 Dec 2015, 05:57
I guess it will also depend on the OS.
Post 18 Dec 2015, 05:57
View user's profile Send private message Reply with quote
FuzailHussain



Joined: 05 Jun 2015
Posts: 2
FuzailHussain 18 Dec 2015, 07:03
typedef wrote:
I guess it will also depend on the OS.

I mean when programming new OS.
Post 18 Dec 2015, 07:03
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20339
Location: In your JS exploiting you and your system
revolution 18 Dec 2015, 07:15
FuzailHussain wrote:
I mean when programming new OS.
In that case I have moved this topic to "OS Construction".
Post 18 Dec 2015, 07:15
View user's profile Send private message Visit poster's website Reply with quote
BAiC



Joined: 22 Mar 2011
Posts: 272
Location: California
BAiC 18 Dec 2015, 10:50
what you are worried about is something that you usually shouldn't be concerned with. as long as you use PCI Vendor ID and Device ID pair to determine the device you won't (usually) have a problem.

I'm writing a USB2.0 driver and the two devices I'm testing it on have identical VID/PID (in the PCI Config Space) values yet one of them doesn't fire any Port Change interrupts (every other interrupt from the device work). the device can always be defective, though.

my advice is simple: just build a driver according to the specs (given the correct VID/PID pair) first and then deal with other vendors.

- Stefan
Post 18 Dec 2015, 10:50
View user's profile Send private message Visit poster's website Reply with quote
Hayden



Joined: 06 Oct 2005
Posts: 132
Hayden 18 Dec 2015, 19:42
Id probably start my OS with VBE3.0. using the protected mode entry point you can get some pretty quick graphics. You can also map the linear frame buffer so you can avoid VBE bank switching. If detect intel HD then load your driver else load VBE interface.

I recommend you create your intel HD driver useing the same routines as the VBE3.0 specs. This will make calling the driver transperant. ie; OS can call a routine that its expected to see.

I have a VBEAF.DRV wich is like having a basic version of directX. the VBE_AF specs can be found on the net

_________________
New User.. Hayden McKay.
Post 18 Dec 2015, 19:42
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.