Slashdot Mirror


VIA Releases 800 Pages of Documentation For Linux

billybob2 writes "VIA has published three programming guides that total 800 pages in length and cover their PadLock, CX700, and VX800/820 technologies. The VIA PadLock provides a random number generator, an advanced cryptography engine, and RSA algorithm computations. The VX800 chipset was VIA's first Integrated Graphics Processor, while the CX700 is a System Media Processor designed for the mobile market. This is another step in VIA's strategy to support the development of Free and Open Source drivers under Linux, which comes pre-installed on VIA products such as the Sylvania NetBook, HP Mini-Note, 15.4" gBook, gPC, CloudBook, Zonbu, and VIA OpenBook. Earlier this week, VIA hired Linux kernel developer and GPL-Violations.org founder Harald Welte to be VIA's liason to the Open Source community."

38 of 131 comments (clear)

  1. Via what method? by Anonymous Coward · · Score: 2, Funny

    Guh?

  2. Re:linux? by bloodninja · · Score: 5, Informative

    Now Linux drivers can be written for the hardware. Just like TFS says.

    --
    Lock the wife and the dog in the boot of the car.
    Return one hour later.
    Who's happy to see you?
  3. 800 pages in length by Anonymous Coward · · Score: 4, Funny

    VIA has published three programming guides that total 800 pages in length

    How many pages in width?

    1. Re:800 pages in length by Drinking+Bleach · · Score: 4, Funny

      700, with a depth of 300.

    2. Re:800 pages in length by Anonymous Coward · · Score: 2, Funny

      How many pages in width?

      Only one, certainly.

    3. Re:800 pages in length by eddy · · Score: 3, Interesting

      The only thing disappointing is that we still don't have PadLock[esque] instructions in AMD's and Intel's mainstream CPUs. You need to max out a modern 2-core highly clocked CPU to match a fanless C7 1.2GHz CPU in SHA and AES performance. What the hell is the problem? NIHS?

      XSHA for teh wins already!

      --
      Belief is the currency of delusion.
    4. Re:800 pages in length by eddy · · Score: 4, Insightful

      >A single core on a 3Ghz Core2 can match the performance of Padlock.

      Which of course, is pathetic, all things considered. It's like hammering in a screw. Yeah sure, with a big enough hammer it'll go in...

      >There is nothing magical about this

      Who mentioned magic? I sure as hell didn't.

      >The fact that the Core2 can keep up says volumes about the poor implementation of the C7.

      Yes, an Intel 3.0GHz Core2 CPU at 100% load keeping up with a ~12W fanless CPU. I can see how you'd consider that a loss for the VIA implementation, if you're on drugs.

      I don't know what the hell the point of your comment was, I seems to be argumentative just for the sake of it. The facts are simple: If Intel and AMD worked together on a cryptographic instruction set, we'd get FANTASTICALLY BETTER performance in these scenarios. We're talking 10-20x the performance of just bruteforcing it, spending CPU time that could be used for something better.

      If you want to argue against that, I suggest you visit the local bar. I believe its name is /dev/null

      --
      Belief is the currency of delusion.
    5. Re:800 pages in length by Makoss · · Score: 2, Informative

      A single core on a 3Ghz Core2 can match the performance of Padlock. I can't provide a link as the figures are unpublished but it's not particularly hard to work out how.

      I don't suppose you could provide any numbers along with that claim? Because a non-padlock CPU matching the performance for AES-256 would be really useful sometimes.

      For reference here are padlock numbers on a moderate Padlock equipped CPU:
      cpu family : 6
      model : 10
      model name : VIA Esther processor 1200MHz
      stepping : 9
      cpu MHz : 1197.115
      cache size : 128 KB

      Using "openssl speed":
      type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes
      aes-256-cbc 47592.92k 155506.46k 359193.00k 531778.27k 621832.68k
      aes-256-ecb 58605.48k 213317.70k 578567.91k 1008950.60k 1287371.44k

      And of course, as has already been mentioned, watts matter.

      --
      Building a better backup.
      Zettabyte Storage
  4. Re:my family have a confectionery business... by bloodninja · · Score: 4, Funny

    I'm sure Linux developers love having their cake and eating it too!

    The cake is a... yeah, you saw that one coming didn't you?

    --
    Lock the wife and the dog in the boot of the car.
    Return one hour later.
    Who's happy to see you?
  5. Re:font? by bloodninja · · Score: 4, Insightful

    I hope they used a very tiny font!

    I want to love Via, but they keep disappointing me.

    ATI started off with 800 pages as well. They kept adding to it, to the point where ATI graphic chipsets are almost as well supported Intels, and even have budding 3D support in the free drivers. I have faith in VIA.

    --
    Lock the wife and the dog in the boot of the car.
    Return one hour later.
    Who's happy to see you?
  6. state of integrated graphics by walshy007 · · Score: 4, Insightful

    makes you wonder, what with intel and via and amd/ati opening their documentation etc, if it will get to the point in the near future where nvidia will be the only binary blob in regards to video drivers.

    come to think of it, this trend is something similar to what happened with wifi a few years back. Everyone was using binary blobs, then atheros, ralink etc release specs and oss drivers. let us hope this pressures the remaining vendors to do the same.

    1. Re:state of integrated graphics by DrSkwid · · Score: 2, Informative

      and also the only one with fully accelerated 3d

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    2. Re:state of integrated graphics by Ilgaz · · Score: 4, Interesting

      They need serious competition from ATI and Linux fans choosing ATI because of document availability.

      Same goes for Via too.

      The pressure can only be done via free market and people's reason for choosing a product. Lets say, a huge customer like a country Army chooses ATI for their computers over NVidia just because ATI is documented. I tell you to count days (not weeks!) before Nvidia does similar move. Just watch the governments after the documentation of VIA, the salesman will have a real hard to beat argument: "It is open!"

      Does the security agencies, armies still buy Nvidia while choosing Linux/BSD because the source is open? It really makes no sense to have binary thing running in supposed to be open and secure OS.

    3. Re:state of integrated graphics by Ilgaz · · Score: 2, Interesting

      Now it is open, some very advanced developer may pick it and make that cheap hardware integrated graphics become the fastest performing integrated graphics in that class. They are very much tied to software/driver you know.

      You know, such things happened, some people fixed Creative's advanced sound drivers to work fine in Vista I heard.
      I got an impression that even big name guys like NVidia and ATI aren't performing the way they should because of drivers. Especially on OS X/Leopard I notice it. 70% of bad feedback about Leopard came because of Nvidia/ATI drivers.

    4. Re:state of integrated graphics by Yfrwlf · · Score: 2, Insightful

      Well mobile and affordable/portable chips is a really big thing right now. Sure, users wanting powerful systems may not choose VIA but the market for small and portable computers is quite large. ^^

      --
      Promote true freedom - support standards and interoperability.
    5. Re:state of integrated graphics by UncleTogie · · Score: 4, Informative

      It is cheaper and easier to not use ancient crap.

      That all depends on who's buying the parts...

      Your mindset considered, you'd better not look too closely into industrial control systems.... your head might explode.

      --
      Don't tell me to get a life. I'm a gamer; I have LOTS of lives!
    6. Re:state of integrated graphics by Jorophose · · Score: 2, Informative

      Not only that VIA made a smart move with its Nano design.

      Realising that its C7 design, and by extension the Atom design, are not what people want, they moved towards an ultra-low voltage Core Solo design for their ITX motherboards. The Nano is strong enough to run Crysis with an 8600GT, all on miniITX hardware.

      Not to mention the VX800 can output at 1900x1200, and can do hardware-playback of MPEG2, MPEG4 h.264 & ASF, along with a few other formats. This is all going to be documented for linux. So, HTPC builders, get ready! If VIA or a VIA partner is going to release a miniITX box based on the Nano, you bet your ass that would be the best MythTV platform ever, especially since nVidia is promoting MiniITX with PCIE x16, so you could even have a monster video card to boot.

  7. Re:linux? by JSBiff · · Score: 4, Informative

    Well, as one of the other respondants pointed out, once the docs are out there, it can benefit any operating system, but the point is that VIA wants Linux, in particular (and the technologies like X that operate with the Linux kernel) to better support their products. I think of the three, the one that is most likely to be directly used by the Linux kernel dev is the crypto engine documentation. I think there are kernel-space crypto block device drivers (LUKS - at least, I think it's kernel space; I suppose it might be implemented in user-space) which could be accellerated by the padlock engine. In fact, I think the kernel already has some support for the padlock - whenever I boot my laptop, on which I have used LUKS to encrypt my /home partition, I get a warning that the padlock engine was not found (of course, because I have an Intel Core2 Duo, so don't have padlock).

  8. First Atheros and now this? by slimjim8094 · · Score: 5, Interesting

    It's just a coincidence they came one after another, but I think companies are going to quickly realize that there's no benefit to keeping things locked up.

    Suddenly they won't need to pay to write drivers, just release the documentation to write them (of course, it would be nice if they gave us a base). The OSS community will make the drivers more stable, cleaner, and faster. We will use the drivers for things they didn't imagine. All of this will save them money and sell their hardware (features added for free? added incentive to buy my stuff? sign me up!)

    I think we may have reached critical mass, at least on the driver side.

    --
    I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
    1. Re:First Atheros and now this? by Paradigm_Complex · · Score: 4, Insightful

      No, sadly we're no where near critical mass. Not yet. There's three main problems:

      (1) Companies lose control if they open source their drivers. Examples: Dell recently killed certain features from their sound drivers, and a ways back Creative was upset at someone who hacked up features into their Vista drivers which were purposefully absent (but present on their XP drivers). Both Dell and Creative "lost" here even with closed source drivers - they'd have never stood a chance to screw over their customers if the drivers were open.

      (2) Many companies, which should focus on hardware, still worry others stealing their technology from open sourcing their drivers. nVidia is the biggest example here.

      (3) Managment people are stupid and can't seem to comprehend how giving away this information can benefit them.

      Slowly things are going the right direction, but it'll be quite a while yet. For the time being the F/OSS community will just have to remain in the weird flux of having some things work better than their closed source counterparts (rt2570 works sooo much better on Linux), while some things are worse (x264 acceleration).

      --
      "A witty saying proves nothing." - Voltaire
    2. Re:First Atheros and now this? by Kjella · · Score: 2, Informative

      a ways back Creative was upset at someone who hacked up features into their Vista drivers which were purposefully absent (but present on their XP drivers). (...) Creative "lost" here even with closed source drivers - they'd have never stood a chance to screw over their customers if the drivers were open.

      Creative licensed certain features for XP, that they didn't want to pay for in Vista. It wasn't that Creative was trying to force customers to buy more expensive cards, it was that Creative itself would have to pay an obscene sum to a third party for Vista support. Not getting permanent rights sounds like short-term cost saving on Creative's part but whoever cashed his bonus back in 2001 probably doesn't care. Whoever owned the rights probably knew they had Creative by the balls and got too greedy, so they did the only other thing they could which was to remove those features. Contractually Creative probably had to complain about the license violation. While it shows open drivers is good, but I don't think Creative was being evil here.

      --
      Live today, because you never know what tomorrow brings
    3. Re:First Atheros and now this? by MostAwesomeDude · · Score: 2, Informative
      --
      ~ C.
  9. Unichrome Pro support by Anonymous Coward · · Score: 5, Interesting

    Next step: Release the documentation for the display adapters please.

    The open source drivers mostly can't handle the mpeg2/mpeg4 acceleration, and without that the Epias collapse when you try to watch some higher resolution video. That makes them quite unsuitable for living room usage, which is a shame because they could make excellent HTPCs. With better drivers the better Epia boards could handle HD video just fine..

    1. Re:Unichrome Pro support by billybob2 · · Score: 2, Interesting

      Even with the released documentation, we also need a good leader like Harald Welte to bring together the OpenChrome and UniChrome developers to work on the same codebase. Right now the split effort is really wasteful.

    2. Re:Unichrome Pro support by Yfrwlf · · Score: 2, Insightful

      I'd most like to see acceleration for the open source codecs like Vorbis, Snow, Dirac, and others, but mpeg is better than nothing.

      --
      Promote true freedom - support standards and interoperability.
  10. Just about time - now for the other solutions by owlstead · · Score: 4, Insightful

    I'm trying to run Ubunu on a VIA epia for some time now, but their graphics solution is as unstable as hell. There is either the binary driver from VIA itself, or the OS one, but both are not quite what you would expect. Now the question for me is: will it also affect the CN400 chipset (and especially the graphics driver)? Because 5 minutes of average uptime before the machine freezes is not workable. I do think the UniChrome Pro support packages are most important for VIA, the rest already seems to work pretty well.

    It seems that each time that a company is on the ropes, they pledge OS support. It would be a good idea for companies to do something when they are not on the brink of extinction. VIA is in a tight spot. They're moving out of the chipset business, and since the eye of Intel is currently on the mobile CPU/chipset business, they can expect the Nazgul to come riding in pretty soon (I don't know too many old testament stories, which seem more appropriate for VIA).

    1. Re:Just about time - now for the other solutions by guzzloid · · Score: 2, Informative

      p.s. also worth checking your X-Config too: here's my VIA video settings (tailored for TV-out...)

      Section "Device"
              Identifier "VIA Unichrome Pro II"

              Driver "via"
              Option "ActiveDevice" "TV"
              Option "TVType" "PAL"
              Option "TVOutput" "S-Video"
              Option "TVDeflicker" "0"
              #Option "TVDotCrawl" "true"
              Option "EnableAGPDMA" "true"
              Option "AccelMethod" "XAA" # XAA - safe, EXA - CRASH
              #Option "EXANoComposite" "false" # disable exp. compositing
              Option "DisplaySize" "400 300"

      EndSection

  11. Re:font? by Ilgaz · · Score: 2

    Disappointed for what? Do you expect a "10 PRINT HELLO WORLD" like thing in age of 2008?

    Chipsets are way too complex stuff, they will indeed have 800 page documentation. People developing that kind of deep stuff actually uses all those 800 pages of documents.

  12. Re:font? by Asztal_ · · Score: 4, Funny

    They should have asked the OOXML people to help out.

  13. That's just a mistake in TFS by BhaKi · · Score: 5, Informative

    There is no such thing as OS-specific hardware documentation. The released documentation enables all interested OS-writers/driver-writers to write compatible software.

    --
    The largest prime factor of my UID is 263267.
  14. Re:linux? by Anonymous Coward · · Score: 3, Insightful
    It's a really short list.

    FreeBSD, NetBSD, OpenBSD, DragonFly BSD, ReactOS, OpenSolaris, Haiku, Syllable, Plan9

    Off the top of my head.

    What other "non-X" developers are salivating over these docs?

    DirectFB, ReactOS, Haiku, Syllable, Plan9

    Again, just off the top of my head.

    It's O.K, we all know they're just wasting their time. Linux and X are perfect and there will never be anything better, so who else ever needs access to hardware documentation?

  15. Via con Dios, hackers by istartedi · · Score: 3, Funny

    Via con Dios, hackers.

    --
    For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
  16. How reliable is their random number generator? by KWTm · · Score: 2, Insightful

    I see that one of the chips in question is for a random number generator. Despite providing documentation/specs on how this chip runs, to make it possible to write free drivers, it's not the same as having the actual source code for the chip. With any other type of chip this would be well and good, but with random number generators, you can't really test them, and will need to rely on examination of the source code to prove that it works. Even then, it would not be that easy --see the Underhanded C Contest of 2007 in which people write encryption programs, and they work, and the source is open to inspection --and they STILL provide a back door to allow the encryption to be broken. (Man, that Underhanded C Contest is pretty scary.)

    I hope the kernel developers and other programmers give us a choice whether to use random numbers from the Padlock chip or from some other source. Me, I'll just plug in my blinded webcam into my USB port and multiply it into any random stream for good measure.

    --
    404555974007725459910684486621289147856453481154 in hex is "You sank my Battleship?"
    [GPG key in journal]
    1. Re:How reliable is their random number generator? by Kz · · Score: 2, Informative

      According to them, it's quantum-effect based:

      http://www.via.com.tw/en/initiatives/padlock/hardware.jsp

      in short, it's a set of free running oscillators, where the exact frequency of each is affected by thermal noise. the instabilities generate an easy to detect "beating", turned into bits and accumulated in hardware registers.

      there's very little 'source code for the chip' to read and validate; but there are several tools to statistically verify random distributions.

      (this one looks nice: http://csrc.nist.gov/groups/ST/toolkit/rng/index.html. i'll try to get some time to test it on my via mainboards...)

      --
      -Kz-
  17. Re:Yay, more documentation for shit hardware! by neumayr · · Score: 2, Interesting

    True that. I had negative experiences with VIA Socket 7, SIS Socket A and nVidia AM2 chipsets.
    Seems I only have two choices left when it's time for a new mainboard..

    --
    Truth arises more readily from error than from confusion. -Francis Bacon
  18. Re:linux? by c · · Score: 2, Interesting

    > but the point is that VIA wants Linux, in particular (and the technologies
    > like X that operate with the Linux kernel) to better support their products.

    It might be a lot more pressing than just "wants". It wouldn't surprise me if decent Linux support is now a requirement for VIA to get some of that "netbook" action.

    c.

    --
    Log in or piss off.
  19. Re:font? by Jason+Earl · · Score: 4, Insightful

    Personally, I would say that hiring Harald Welte is a better indication of VIA's intentions than the release of documentation. Nobody in their right mind is going to hire the owner of GPL-Violations.org unless they are absolutely serious about Free Software.

    Welte eats vendors for breakfast. Hiring him grants VIA instant credibility. If VIA drops the ball it is very likely to get crucified. Unless the executives at VIA have the intellect of fence posts this indicates a sea change for Free Software support from VIA.

  20. Re:linux? by doti · · Score: 2, Insightful

    don't feed the trolls

    --
    factor 966971: 966971