Author Topic: Adding the Via Unichrome Pro drivers  (Read 7541 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4383
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Adding the Via Unichrome Pro drivers
« on: September 17, 2007, 08:20:06 am »
The instructions for building the Unichrome Pro Via drivers are available from the url below... its what we used to build them;

http://www.viaarena.com/default.aspx?PageID=420&OSID=25&CatID=2580&SubCatID=184

You need the v0.83 version of the install guide and the Kernel sources XORG40072_20061226c version.

Once you have built the Unichrome Pro drivers you can use the install script to add them to any MD (you can build them on the Core or any other Kbuntu machine running the correct kernel - it does not have to be a Via machine). We usually add them during the first real boot of a new MD at the point where the AVwizard tries to run but can't start X (the display will continually loop in the console - going blank for a few secs each time). Just ssh into the MD and run the installer from the console choosing the appropriate options for your Via hardare etc. After about 60 secs the AVwizard will spring to lif and display its first screen... this is an indication that the drivers have installed cleanly.

Thats all there is too it.

Enjoy!
« Last Edit: September 17, 2007, 11:45:21 am by totallymaxed »
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #1 on: September 30, 2007, 12:35:20 pm »
Hi Andrew

just a couple of questions to make myself a clear picture.

I've a VIA based MD with CLE266, and according to its xorg.conf it is already using via driver shipped with Kubuntu/LMCE.

Are you saying that those drivers are NOT Unichrome Pro?

I've given a look at the pdf with the compiling procedure and it's a bit scaring to me. This is because I've tried last week to compile an external module but I messed up all my kernel modules and I had to get them out from a backup.
It looks like the .config file shipped with linux sources / headers differs from what have been used to compile
my actual system modules, so after reboot no module was loaded anymore.

So before going again through the same story I prefer to make 100% sure that this is the only option I have.

TIA
Marco

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4383
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Adding the Via Unichrome Pro drivers
« Reply #2 on: September 30, 2007, 03:12:57 pm »
Hi Andrew

just a couple of questions to make myself a clear picture.

I've a VIA based MD with CLE266, and according to its xorg.conf it is already using via driver shipped with Kubuntu/LMCE.

Are you saying that those drivers are NOT Unichrome Pro?

I've given a look at the pdf with the compiling procedure and it's a bit scaring to me. This is because I've tried last week to compile an external module but I messed up all my kernel modules and I had to get them out from a backup.
It looks like the .config file shipped with linux sources / headers differs from what have been used to compile
my actual system modules, so after reboot no module was loaded anymore.

So before going again through the same story I prefer to make 100% sure that this is the only option I have.

TIA
Marco

Well we had a lot of problems with the Via drivers in Kubuntu 7.04 - and from memory I think they are Openchrome. So we built our own Unichrome Pro drivers using the sources and the pdf from Via Arena.

If you get good performance from the drivers your using then stick with them.
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

auyongtc

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #3 on: September 30, 2007, 03:42:57 pm »
But even with this Unichrome Pro drivers, there is no support for UI2 right?

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4383
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Adding the Via Unichrome Pro drivers
« Reply #4 on: September 30, 2007, 04:43:32 pm »
But even with this Unichrome Pro drivers, there is no support for UI2 right?

Right... you need the Unichrome Pro II drivers to get UI2 support and they have to be licensed from Via by systems integrators.
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

MediaMonkey

  • Veteran
  • ***
  • Posts: 61
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #5 on: September 30, 2007, 05:46:31 pm »
Right... you need the Unichrome Pro II drivers to get UI2 support and they have to be licensed from Via by systems integrators.

On a side note: doesn't it really sucks? I actually liked EX15000G motherboard. It really surprised me when I leaned that you don't get access to their driver even if you buy the hardware from them -- it is worse than Microsoft's business practices.  I am sure I can live without Via.
Core/Hybrid: Foxconn N570SM2AA-8EKRS2H (has 2 network ports), ASUS EN6200LE, AMD-X2 4000+, 1GB DDR2-800, 500 GB SATA/300, DVD drive/writer, Sony XL1B3, BTC 9019URF, Gyro Mouse, Gyro Remote, USB-UIRT, MS Win XP Remote, ATI HDTV Wonder, HDHomeRun

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4383
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Adding the Via Unichrome Pro drivers
« Reply #6 on: September 30, 2007, 08:53:23 pm »
Right... you need the Unichrome Pro II drivers to get UI2 support and they have to be licensed from Via by systems integrators.

On a side note: doesn't it really sucks? I actually liked EX15000G motherboard. It really surprised me when I leaned that you don't get access to their driver even if you buy the hardware from them -- it is worse than Microsoft's business practices.  I am sure I can live without Via.


Well I do agree its not idea... but in terms of video playback quality, performance, energy consumption, fanless quiet operation etc etc... the Via based motherboards really are very hard to beat. From a technical perspective UI2 is great but video playback performance is more important than transparent menus in my opinion and the Via's deliver that by the truck load. I know this is not necessarily a commonly held view but its one we hold strongly here.
Andy Herron,
Convergent Home Technologies Ltd
United Kingdom

Read My Blog; http://ellipticalcurve.com

Contact me for Smart Home consulting advice here;
@herron on Twitter, totallymaxed+consulting@gmail.com via email or PM me here.

Get a Dianemo S License: http://forum.linuxmce.org/index.php?topic=8880.0
iOS Orbiter: http://wiki.linuxmce.org/index.php/Dianemo_iOS_Orbiter
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

Sales & Info:
http://www.dianemo.co.uk

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #7 on: September 30, 2007, 09:22:25 pm »
Thanks all for your reply

actually performances with standard drivers are not that bad with DVD playback, but I'm experiencing serious problems with DivX.
Basically when playing DivX my VIA MD crashes on a regular basis, sometimes after few seconds, sometimes after 40 minutes playback.
I couldn't find any relevant trace into logs, apart of this error occurring at boot time:

[drm:via_mem_alloc] *ERROR* Attempt to allocate from uninitialized memory manager.

Googling around I've found (very few) indications that this may be a bug in the via driver, so I guess I've no other options that going for Via Unichrome Pro drivers.

Here comes the crucial question: is the .config file shipped with kernel sources/header of Kubuntu 7.04 the correct one to use for compiling additional drivers/modules?
Or does this file need some changes?

TIA
Marco

trisc

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #8 on: October 17, 2007, 04:39:57 pm »
Totallymaxed, thanks for your original post but for me these are general guidelines not the actual procedure...

I'm sure lots of us would appreciate a step-by-step guide to installing these drivers. I've struggled with the so called "instructions" off the Via site for days and got nowhere  :(

Can somebody please post a howto for getting these working on an actual LinuxMCE/Kubuntu MD?
« Last Edit: October 17, 2007, 04:41:42 pm by trisc »
Asus P5PL2-E ATX
Gigabit Ethernet port
Pentium Dual Core2 1.8GHz
1GB Kingston DDR RAM
Asus EN6200 PCI-E Graphics card
Philips DVD-RW
10/100 NIC WinTV Nova-T500

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #9 on: October 17, 2007, 09:42:01 pm »
Hi Trisc

maybe I was simply lucky, but I followed the instruction contained in the pdf from the Via site and now I have new drivers running on my VIA MD.

I agree that they may appear a bit confusing because they contain indication for several distro, but in the end I did not need to make anything special.

If you isolate the steps related to Kubunto 7.0.4 you get the step-by-step guide that you are looking for.

Try to post here at which stage did you get stuck, and if possible I will try to give some help.

Regards
Marco




trisc

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #10 on: October 18, 2007, 01:01:53 am »
Thanks

I got the CLE266CN400CN-CX700CN800XORG40072-kernel-src_20061226c directory on my core so I guess I have the drivers I need.

Do I need to compile the 3D Mesa drivers also? I imagine we only need 2D drivers...

Finally what is the command to actually install these drivers? I understand to SSH into the MD but what syntax is needed to install them?

Trisc

Asus P5PL2-E ATX
Gigabit Ethernet port
Pentium Dual Core2 1.8GHz
1GB Kingston DDR RAM
Asus EN6200 PCI-E Graphics card
Philips DVD-RW
10/100 NIC WinTV Nova-T500

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #11 on: October 18, 2007, 08:46:37 am »
If you have a look to this file
(http://www.viaarena.com/Driver/via%20linux%20unichrome%20kernel%20driver%20source%20code%20installation%20guide%20v0%5B1%5D.83.gz)

you'll find all the steps that I followed to have drivers compiled and installed.

This is just a brief resume of the steps required to setup your environment:
All these steps are listed in the pdf guide I pointed you to at the beginning of this post, maybe not in very deep details, but they are there.

Then you have to follow the compiling instruction related to ubuntu 7.0.4 contained in the pdf guide .

Once all the compiling process is completed you'll find in the root of your box a directory called

CLE266CN400CN-CX700CN800XORG40072

In this directory you'll find the newly compiled drivers, utility and install script (vinstall)
Launch this file,  select your CPU, then select option "2", and you're done.

It is definitely not a one-click "forward-forward-forward-finish" process and some linux skill is required to get successfully to the end.

Have a try with this and if you still find yourself in troubles let me know.

HTH
Marco



trisc

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #12 on: October 18, 2007, 10:44:05 am »
I know all about the pdf - but I'm finding commands in it that don't work for me.




I downloaded and unzipped these files but the command cd Mesa returns "No such file or directory" and now I'm stuck!

Asus P5PL2-E ATX
Gigabit Ethernet port
Pentium Dual Core2 1.8GHz
1GB Kingston DDR RAM
Asus EN6200 PCI-E Graphics card
Philips DVD-RW
10/100 NIC WinTV Nova-T500

MarcoZan

  • Veteran
  • ***
  • Posts: 148
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #13 on: October 18, 2007, 12:18:29 pm »
If you give a look at what you unzipped you'll see that the actual name of directory is Mesa-6.5.2. That is the directory you have to jump in.

Then  the following command should also be modified to include the exact path of the mesa diff file. In my case:

Code: [Select]
cat ../mesa_6.5.2-3ubuntu7.diff | patch -p1   

since I stored diff file at the same level of Mesa directory.

As I told you this is not a detailed guide, and some linux knowledge is required to apply small refinements like the ones above.

I assume that all the previous points were ok, so proceed with this and see what happen next.

HTH
Marco

trisc

  • Regular Poster
  • **
  • Posts: 22
    • View Profile
Re: Adding the Via Unichrome Pro drivers
« Reply #14 on: October 18, 2007, 07:31:32 pm »
Driver-Package-Name? What should that be?

This seems crazy! Is there nowhere that I can download  pre-compiled drivers?
Asus P5PL2-E ATX
Gigabit Ethernet port
Pentium Dual Core2 1.8GHz
1GB Kingston DDR RAM
Asus EN6200 PCI-E Graphics card
Philips DVD-RW
10/100 NIC WinTV Nova-T500