Slashdot Mirror


Kernel Graphics Interface for BSDs

BSD Forums writes "KGI, or Kernel Graphics Interface, provides a framework that allows full 3D accellerated video card drivers to compile on different platforms without any modification to the drivers themselves. At the moment of writing, the Linux target is rather stable, and the core is being ported to FreeBSD and OpenBSD. In (Free)BSD implementation, the board entity is a full FreeBSD device driver, respecting the newbus interfaces, connected to the PCI core and responsible for dispatching the resources to the KGI underlying clock, ramdac and chipset drivers (as they exist in the Linux implementation). The board driver probe/attach routines detect the chipset, prepare the kgi display information and call the kgim functions to powerup the KGI drivers."

33 comments

  1. Old Hat by GiMP · · Score: 3, Interesting

    KGI is old hat.. I used it for Linux back in the days of Linux 2.2 when I was experimenting with dual-head X11 (Xinerama didn't exist yet).

    There was a nasty skirmish on the lkml about whether to include KGI into the kernel or not. Linus rejected it and the Linux framebuffer you know now was included.

    1. Re:Old Hat by Anonymous Coward · · Score: 0

      The old hat has been redesigned to avoid reinventing the wheel.

      It is now truly a hat! (BTW, the framebuffer sucks)

    2. Re:Old Hat by Anonymous Coward · · Score: 0

      Fact: *BSD is dying
  2. Re:It's fucking dying by beefdart · · Score: 5, Funny

    Holy CRAP! I have never seen this before!!

    I guess its time to go to work and quickly migrate our 350 production FreeBSD machines to something not dead...

    Thank you so much for telling me, all this time I thought I was using the fastest, most stable OS for x86, but it turns out a fat-gay penguin must have stomped on my OS.

    Choke on it and die you Linux-Halfwit.

  3. Re:It's fucking dying by pjwalen · · Score: 1

    why is this almost identicle to his previous post regarding.... NetWare is dying.

  4. Re:YHBT by cant_get_a_good_nick · · Score: 1

    and this is the first time you noticed the BSD is dying troll?

    Troll me once, shame on you. Troll me twice, shame on me?
    -- WWSS (What Would Scottie Say)

  5. Re:It's fucking dying by Anonymous Coward · · Score: 0

    Erm, how is it the "most stable"? You ever tried Solaris x86? Come to think of it, I've run Debian Stable for about 5 years, and have never EVER had a single crash.

    As for fastest, that's not sure either. I know that ZSNES is just slightly choppy under FreeBSD on identical hardware to Linux (and with HZ=1000 in the kernel and all optimized etc.)

    FreeBSD is cool and has some top plus-points, but playing the speed/stability card against mature Linux distros is pointless.

  6. wscons by vesamies · · Score: 1

    Ok, sounds nice, but why replace wscons with this?

  7. zerg by Lord+Omlette · · Score: 3, Funny

    When I saw the title, I clicked through to the story thinking it was about an API that Microsoft had published to let developers control the Blue Screen of Death!

    *sigh* back to work...

    --
    [o]_O
  8. Re:YHBT by beefdart · · Score: 1

    sometimes I just get bored.

  9. Is KGI some kind of DRI was doing? by Anonymous Coward · · Score: 0

    Is KGI some kind of DRI was doing?

  10. GGI/KGI only useful for 3D acceleration on BSD? by ThreeFarthingStone · · Score: 3, Interesting

    I knew of GGI before (though I've never used it), but not of KGI. Currently I rely on XFree86, unless I'm using Mac OS.

    I'm not sure if this is right, but GGI can draw to X11, toolkits like GDK/Qt/FOX can draw to X11, X11 "XGGI" can draw to GGI, GGI can draw to KGI, and GGI can draw to some "svgalib" which draws to Linux framebuffer. A bit confusing, but it seems that GGI can probably be avoided unless one doesn't like X11 or needs to have 3D acceleration on BSD.

    --
    ==========
    There are two types of people: those who are in the world, and those who aren't.
    1. Re:GGI/KGI only useful for 3D acceleration on BSD? by GiMP · · Score: 3, Informative

      Before XFree4.0, GGI+framebuffer (KGI or FBdev)+XGGI was the only solution free solution for multihead in Linux, and the ONLY solution for what is now Xinerama (continous display).

  11. Re:It's fucking dying by Anonymous Coward · · Score: 0

    HAHHAAHHAHAHAH YEW SEW FAWHNY.

    you're right, it is pointless: no matter how obvious it is that freebsd's more stable, trolls love to pretend linux has the same stability. no matter how many LINUX binaries run faster under freebsd, trolls can pretend that some special optimized corner of their ass shits faster under linux.

    loser

  12. Re:the real problem by beefdart · · Score: 2, Funny

    BSD is Dying??

    http://uptime.netcraft.com/perf/reports/Hosters

    I guess Linux-Kiddies can't read.

    Choke on it and die.

  13. Re:It's fucking dying by beefdart · · Score: 1

    > Solaris x86

    I am not even going to dignify this with a response, buy a sparc, then repost.

  14. Elegy for *BSD by Anonymous Coward · · Score: 0

    Elegy for *BSD


    I am a *BSD user
    and I try hard to be brave
    That is a tall order
    *BSD's foot is in the grave.

    I tap at my toy keyboard
    and whistle a happy tune
    but keeping happy's so hard,
    *BSD died so soon.

    Each day I wake and softly sob
    Nightfall finds me crying
    Not only am I a zit faced slob
    but *BSD is dying.

  15. Old hat and lack of supported HW by Anonymous Coward · · Score: 0

    I agree this is some pretty old stuff and looks to be missing out on all but a small handfull of cards. looking at OSnews today I see that Scitech SNAP Graphics for linux is shipping perhaps they have better news for us.

  16. Re:the real problem by Anonymous Coward · · Score: 0
    No matter what kind of frosting you put on it, the cake tastes the same:
    *BSD is dying
  17. BSD nigga by Anonymous Coward · · Score: 0
    BSD you grow in the ghetto, living second rate
    And your eyes will sing a song of deep hate.
    The places you play and where you stay
    Looks like one great big alley way.
    You'll admire all the numberbook takers,
    Thugs, BSD pimps and pushers, and the big money makers.