SGX driver installer (beta)

Discussion in 'Pandora OS (SuperZaxxon GNU/Linux)' started by notaz, Mar 3, 2013.

  1. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    Due to high demand I've packaged various SGX drivers that were released by TI into a (maybe) easy to use .pnd.
    I've listed all known drivers here: http://pandorawiki.org/SGX_drivers

    Warning: the 3D driver update may go wrong and you may need to reflash to recover.

    (nobody reported problems so far but still, it can happed)

    Requirements:
    - SuperZaxxon 1.54 or later
    - 20MB+ of free NAND space

    Instructions:
    1. Make sure you have SuperZaxxon 1.54 or later (version is shown while booting)
    2. Download and run this pnd: http://notaz.gp2x.de/misc/pnd/sgx_drivers_r2.pnd
    X. In case of problems, reflash instructions are here: http://pandorawiki.org/Firmware

    If you have a 1GHz unit, you should try the "4.03.00.02" driver, seems to fix AvP glitches for me, but it breaks mupen64plus.

    Note: TI/Imgtec dropped support for older OMAP3 chips after driver version 4.00.00.01 (driver upto 4.04.00.04 are still installable but broken), so all newer drivers are not installable on CC units.

    Note2: most of the newer drivers don't work in X mode, but they do seem to work in framebuffer mode if you have Rebirth or 1GHz. In code, you get framebuffer mode if you specify EGL_DEFAULT_DISPLAY to eglGetDisplay() and NULL to eglCreateWindowSurface(). Until better solution can be found, this can be used to make use of those drivers (you can make fullscreen SDL window to hide desktop and just use SGX in framebuffer mode without interfering with anything).
     
    Last edited by a moderator: Dec 30, 2013
    Tags:
    comradekingu likes this.
  2. ingoreis

    ingoreis Advanced Member

    Joined:
    Mar 7, 2012
    Messages:
    3,038
    Location:
    49.491276,8.423518
    We waited long for a new working Driver for our Pandora ^_^

    Many Versions in the Past did not work right on both Pandoras.

    and Many Thx for your Work,maybe we habe Speed improvements,no Grafical Glitches more on 1 GHZ ;)

    I follow this Thread to read the News about this Driver.

    Yehaah newer GFX Driver Version,thx :D (with Luck work this Driver very better/or faster) ;)
     
  3. dreamer

    dreamer Active Member

    Joined:
    Apr 26, 2009
    Messages:
    564
    Hmm, does this newer kernel include the latest twl4030 fixes? (the 'set hw params' issue) I might just install it just for that.
     
  4. Loonie

    Loonie Active Member

    Joined:
    Apr 1, 2003
    Messages:
    753
    Your efforts are massively appreciated, Notaz.
     
  5. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,102
    Especially as you don't like those kind of non-universal stuff ;^).

    Is it planned in any way to have a per unit dynamic driver loading in pndlibs pxml fields ?

    I just wonder if a loaded sgx driver consumes current.
     
  6. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    It would be nice if everyone who tested this stuff reported if it works so that I know this effort is good or bad, especially the updated kernel as it has quite a bit of changes.

    What twl4030 fixes, what 'set hw params' issue?
    You want to tie SGX drivers to pnds? Now that's some crazy stuff, imagine reinstalling ATI/NVidia drivers before launching every game on a desktop PC..
     
    Last edited by a moderator: Mar 4, 2013
  7. Wally

    Wally I am a banana! Staff Member

    Joined:
    Jan 31, 2006
    Messages:
    2,904
    Location:
    Melbourne, Australia

    I think what he means is have the correct driver for each pandora type load when we re-flash. (PND libs would be pure madness)
     
  8. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    There is no such thing as "correct driver", all of them are broken in their own ways.
     
    ShleeDragon likes this.
  9. PokeParadox

    PokeParadox Founder of Pirate Games - Penjin Coder Staff Member

    Joined:
    Dec 8, 2005
    Messages:
    6,510
    Location:
    UK
    I'll try and get to testing this - it does contain something worth testing for CC Pandoras, right?
     
  10. dreamer

    dreamer Active Member

    Joined:
    Apr 26, 2009
    Messages:
    564
    http://boards.openpandora.org/index.php/topic/9219-alsa-issue-twl4030-hifi-hw-params/


    And for twl4030 I saw that Peter Ujfalusi did some recent (december) commits. I don't know if these fix this issue, but it would be nice if this gets resolved (my main project on the Pandora is completely useless without audio).
     
    Last edited by a moderator: Feb 6, 2016
  11. Linux-SWAT

    Linux-SWAT Hardcore Member

    Joined:
    Feb 13, 2010
    Messages:
    8,102
    Was not reinstalling, but loading.

    Ok, get it, the libs also have to be changed.
     
  12. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    The parameters in that thread were indeed invalid, the hardware can't support mono streams. After that was fixed jack was crashing, which looks like unrelated issue to me.About Peter's commits, they are mostly about refactoring the code to use things like device tree and generic kernel APIs, which has little to do with functionality.
     
    Last edited by a moderator: Feb 6, 2016
  13. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    It uses CMA (contiguous memory allocator) instead of reserved VRAM, which should give you at least 4MB of extra RAM, so yeah it's worth testing.
     
  14. ShleeDragon

    ShleeDragon Pro-Catflip

    Joined:
    Aug 28, 2010
    Messages:
    1,749
    I'm going to start beta testing some drivers for my rebirth.

    Anybody currently running a stable newer release on their rebirth?
     
  15. Loonie

    Loonie Active Member

    Joined:
    Apr 1, 2003
    Messages:
    753
    Well, before I headed off to work, I did the kernel update and selected the newest driver from the list. Nothing bricked, and the few things I tried were as functional as ever.

    I then realized I had removed the problematic SGX stuff from my Pandora and didn't have anything to test out in that regard anyway. Derp. I shall endeavor to reinstall some tonight.

    (Edit: 1GHz)
     
    Last edited by a moderator: Mar 4, 2013
  16. ZXDunny

    ZXDunny Deep avatar

    Joined:
    Oct 12, 2010
    Messages:
    2,497
    Tried to install on my CC unit.

    First and second steps done, no problems. Come to run the SGX drivers PND, and it complains that my scripts are incompatible, and that I need to upgrade the firmware.

    Which has already been done, as I said.

    D.
     
  17. Silent-Hunter

    Silent-Hunter Advanced Member

    Joined:
    May 29, 2010
    Messages:
    2,896
    Well, I can't really afford to lose anything from my NAND, I have a lot of custom stuff in there. I'll have to wait until this new kernel has been tested a bit more.

    Good luck with this, I hope it works out. How come it breaks mupen64plus though? Just curious.
     
    Last edited by a moderator: Mar 4, 2013
  18. Silent-Hunter

    Silent-Hunter Advanced Member

    Joined:
    May 29, 2010
    Messages:
    2,896
    Oh, I was wondering, how do I find out my current driver version?
     
  19. notaz

    notaz Certified Guru

    Joined:
    Aug 23, 2005
    Messages:
    4,911
    Location:
    Lithuania
    You do the 1st step while connected to Internet I hope? And it shows no errors?Do you have a file named /etc/opkg/openpandora.org-feed.conf , and anything in it?
     
  20. ZXDunny

    ZXDunny Deep avatar

    Joined:
    Oct 12, 2010
    Messages:
    2,497
    Yep, fully connected. I get some messages that certain things aren't upgraded as they're already a newer version, but no actual errors.
    Why yes, I do:


    src/gz omap3-pandora http://www.angstrom-distribution.org/feeds/unstable/ipk/glibc/armv7a/machine/omap3-pandora
    Hope that helps.

    D.
     

Share This Page

Loading...