Author Topic: Sl6000 Hardware Accelerated Display?  (Read 32576 times)

seed

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Sl6000 Hardware Accelerated Display?
« Reply #15 on: April 17, 2005, 05:51:24 pm »
[/quote]
not sure about c1k and c3k. but worse than c860 with w100 hard accl driver.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75654\"][{POST_SNAPBACK}][/a][/div]
[/quote]
the performance are worse cuz the lcd (wich is bigger) or it it simply a ploblem of dirver supporting video acceleration ?
does the c1000 use the same ship than the c860?
in  a purely hardware point of view wich one of those ship is the best
??
« Last Edit: April 17, 2005, 05:51:59 pm by seed »
contact me at souldadguy2@hotmail.com

seed

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
    • http://
Sl6000 Hardware Accelerated Display?
« Reply #16 on: June 12, 2005, 11:13:52 pm »
any new about this
contact me at souldadguy2@hotmail.com

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
Sl6000 Hardware Accelerated Display?
« Reply #17 on: July 30, 2005, 02:04:27 pm »
Any new developments in video hardware acceleration for sl6000?
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3694
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #18 on: November 16, 2005, 05:44:31 pm »
bump!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #19 on: November 17, 2005, 08:51:55 pm »
without the chip technical manual, no hope.

mahadri

  • Newbie
  • *
  • Posts: 5
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #20 on: November 28, 2005, 05:28:19 am »
Sharp's tc6393fb.h has enough information to experiment.  First, I'd try modifying the fill command to draw colored boxes on the screen.  This is very useful for accelerating window managers, as they tend to draw the backing color, then the objects on top.  The source copy would be great for moving windows, scrolling windows, scrolling the console, and drawing console characters.

The TC6393 has 1MB of video memory.  The default 640x480x16bit mode only uses 600kB, leaving 424kB for console fonts, bitmaps, etc, for source copy.  Also, 424kB is enough for one large 528x400 buffer.  With a custom mplayer plugin, mplayer can render to that off-screen buffer, then StretchBLT the buffer to the 640x480 screen.  It looks like StretchBLT has vertical reverse and horizontal reverse options, too, so you can flip horizontal, or flip vertical, or rotate the video 180 degrees in hardware.

I'm working on the 2.6 kernel at the moment, and I'll work on video acceleration at some point (it's a low priority, so it could be a while).  If someone wants to experiment and help out, that'd be even better. =)

The TC6393's LCD controller has five accelration commands:
PXAIO_COMDI_CMGO - Cursor Move?
PXAIO_COMDI_FLGO - Fill
PXAIO_COMDI_SCGO - Source Copy
PXAIO_COMDI_SBGO - StretchBLT
PXAIO_COMDI_LDGO - Line Draw

Out of the set commands, we can group by ones that take a pixel color as a paremeter:
PXAIO_COMDI_FILL - fill color
PXAIO_COMDI_TCLOR - transparent color for Source Copy

ones that take a memory address as a parameter:
PXAIO_COMDI_CSADR - cursor screen address?
PXAIO_COMDI_PSADR - physical screen address?
PXAIO_COMDI_POADR - physical offset address?
PXAIO_COMDI_DSADR - destination screen address?
PXAIO_COMDI_SSADR - source screen address?

and ones that take a x or y offset or pixel count as a parameter:
PXAIO_COMDI_CHPIX - cursor horizontal pixels?
PXAIO_COMDI_CVPIX - cursor vertical pixels?
PXAIO_COMDI_PHPIX - physical horizontal pixels?
PXAIO_COMDI_PVPIX - physical vertical pixels?
PXAIO_COMDI_PHOFS - physical horizontal offset?
PXAIO_COMDI_PVOFS - physical vertical offset?
PXAIO_COMDI_DHPIX - destination horizontal pixels
PXAIO_COMDI_DVPIX - destination vertical pixels
PXAIO_COMDI_SHPIX - source horizontal pixels?
PXAIO_COMDI_SVPIX - source vertical pixels?
« Last Edit: November 28, 2005, 05:45:13 am by mahadri »

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3694
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #21 on: November 28, 2005, 05:40:53 am »
Quote
Sharp's tc6393.h has enough information to experiment.  First, I'd try modifying the fill command [div align=\"right\"][a href=\"index.php?act=findpost&pid=105197\"][{POST_SNAPBACK}][/a][/div]

this sounds very promising. Perhaps with the re-release of the 6000 as a windows mobile device more information will come out too.

Whilst I'd love to help, I'm only running kernel 2.4 on the Guylhem ROM, sorry :-(

I've also no experience at actually writing kernel modules. But, I'd be willing to give back-porting the driver to 2.4.x a shot, or even being a guinea pig if I can.

If nothing else, be encouraged that there are lots of eager people waiting for faster video drivers for their 6000!

Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3694
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #22 on: November 28, 2005, 05:41:12 am »
p.s. and I'll gladly contribute to a beer fund!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

mahadri

  • Newbie
  • *
  • Posts: 5
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #23 on: November 28, 2005, 06:10:51 am »
Quote
this sounds very promising. Perhaps with the re-release of the 6000 as a windows mobile device more information will come out too.
I could reverse-engineer those drivers if they implement a feature we like.
Quote
Whilst I'd love to help, I'm only running kernel 2.4 on the Guylhem ROM, sorry :-(
The Sharp kernel exports an ioctl for video acceleration.  I doubt any Sharp-based ROM removed this ioctl, so you can test from userspace.  You just need a cross-compiler to compile tosaacc.c.  It's a simple program that uses the Fill command to clear the screen to a color specified on the command line.

Usage: tosaacc <color in hex>
Example: tosaacc 48c0

If there's enough demand from people without cross-compilers, I can modify this program to read accelerator commands from stdin so I can distribute a binary version.  It's not as nice, though, as you can't use Sharp's #defines and would have to write all commands in hex.
« Last Edit: November 28, 2005, 06:12:42 am by mahadri »

guylhem

  • Hero Member
  • *****
  • Posts: 577
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #24 on: December 02, 2005, 06:34:51 am »
Hello

By any chance, would you have the chip tech ref with details explaining the hardware acceleration? It would be great to have that working. Experimenting could take a while, but it would be great to have accel working...

Video Accel is IMHO the most important thing the 6000 miss (imagine playing divx from a microdrive at 640X480 24fps on that beautiful screen !) - it could be shared between 2.4 and 2.6 kernels

Email me guylhem at googlemail dot com if you want the information I have about the chip, the device, etc.

Guylhem

xenophobe

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://
Sl6000 Hardware Accelerated Display?
« Reply #25 on: December 08, 2005, 11:15:01 am »
Quote
Sharp's tc6393fb.h has enough information to experiment. First, I'd try modifying the fill command to draw colored boxes on the screen. This is very useful for accelerating window managers, as they tend to draw the backing color, then the objects on top. The source copy would be great for moving windows, scrolling windows, scrolling the console, and drawing console characters.

I found what a screen copy command (PXAIO_COMDI_SCGO) takes four arguments:
PXAIO_COMDI_DSADR - an addres of a destination region (left upper corner)
PXAIO_COMDI_DHPIX - a width of a region to copy
PXAIO_COMDI_DVPIX - a height of a region to copy
PXAIO_COMDI_SSADR - an address of a source region (upper left corner)

Formula to calculate address from coordinates is
Addr = 2*X+Y*960 - for VGA mode (2bytes per pixel)

Has somebody else any luck with Tosa video accelerator?
« Last Edit: December 14, 2005, 04:17:44 am by xenophobe »

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #26 on: January 04, 2006, 08:09:08 pm »
Quote
yeap, i send a email to this guy, he will send a partial document to me. lets see

someone can try, contact Toshiba ?

and some news, Wince .NET have a tc6393xb.dll, can use this for reverse engenier ?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=60499\"][{POST_SNAPBACK}][/a][/div]

I contacted Toshiba's TAEC U.S. headquarters today to request Datasheets for the TC6393XB.  I've had luck with Hitachi in the past doing this, so I'm keeping my fingers crossed.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #27 on: January 05, 2006, 12:49:23 pm »
My first response from Toshiba is displayed below.
Looks like a possible dead end.  I've sent the engineer another e-mail asking him to forward my request to someone who might be able to provide more information.  Hopefully I'll hear back from him soon.


Quote
Hi John,

This is a Secured Digital Host Controller (SDHC) device which we don't sell
anymore.  I also don't have any datasheet of that part to share with you.

Best Regards,
Noman
--------------------------------------------------------------------
Noman Waseq
System Engineering Manager
ASSP System LSI Group
Toshiba America Electronic Components, Inc
Office: (408) 526-2895   Cell: (408) 464-9660
http://www.toshiba.com/taec/







                                                                           
             Rakesh                                                       
             Sethi/TOSHIBA_TAE                                             
             C                                                          To
                                       Noman                               
             01/04/2006 05:07          Waseq/TOSHIBA_TAEC@TOSHIBA_TAEC     
             PM                                                         cc
                                                                           
                                                                   Subject
                                       Fw: Honda R&D Americas, Inc  -     
                                       TC6393xb - CA                       
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




www.socworld.toshiba.com
Rakesh Sethi
System Level IC's  Biz. Development


----- Forwarded by Rakesh Sethi/TOSHIBA_TAEC on 01/04/2006 05:09 PM -----
                                                                           
             Tech                                                         
             Questions/TOSHIBA                                             
             _TAEC                                                      To
                                       Rakesh                             
             01/04/2006 04:44          Sethi/TOSHIBA_TAEC@TOSHIBA_TAEC     
             PM                                                         cc
                                                                           
                                                                   Subject
                                       Honda R&D Americas, Inc  - TC6393xb
                                       - CA                               
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



Hello, Rakesh!
Can you please help us with this inquiry from Honda? Thanks
Regards,
Tech Questions


                                                                           
             jcabrer@hra.com                                               
                                                                           
             01/04/2006 04:17                                           To
             PM                        tech.questions@taec.toshiba.com     
                                                                        cc
                                                                           
             Please respond to                                     Subject
              jcabrer@hra.com          Technical Questions                 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




---------------------------------------------------------------------------
Name: John Cabrer
Email: jcabrer@hra.com
Telephone: 310-781-6073
Organization: Honda R&D Americas, Inc.
City: Torrance
State: CA
Country: USA
Title: Systems Integration Consultant
Product Interest: ASIC/Soc
Product Interest Other:
Application Interest: Automotive
Application Interest Other:
Product Information: Yes
Question: I'm having a great deal of difficulty locating a datasheet for
the TC6393xb SoC. From what I understand, this component is used in several
ARM-based embedded products. Can you provide documentation for this device?
Thank you.

---------------------------------------------------------------------------
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3694
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #28 on: January 05, 2006, 04:33:25 pm »
Just to note that the MSDN site has a comment about the SD/SDIO driver for this chip at
http://msdn.microsoft.com/embedded/usewine...rs/default.aspx
which would be a nice addition!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

jcabrer

  • Full Member
  • ***
  • Posts: 161
    • View Profile
Sl6000 Hardware Accelerated Display?
« Reply #29 on: January 05, 2006, 05:20:40 pm »
Quote
Just to note that the MSDN site has a comment about the SD/SDIO driver for this chip at
http://msdn.microsoft.com/embedded/usewine...rs/default.aspx
which would be a nice addition!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109699\"][{POST_SNAPBACK}][/a][/div]

I chased this down a couple of days ago with no luck in finding the mentioned DLL.  It would be usefull to have a look inside.
Sharp SL-C3100 - pdaXrom Beta 3
Sharp SL-6000L - pdaXrom Beta 1