View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 35 posts ] 
Go to page 1, 2, 3  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jun 29, 2005 4:07 am 
Offline
Joined: Wed Jun 29, 2005 3:16 am
Posts: 1
Hi,

I'm trying to install knopmyth r5a16 on a via sp-13000. This is a pretty new board and uses the cn-400 chip. If I try to use the via unichrome drivers included with r5a16 I get an error telling me that it recognises the chipset (cn400) but that it doesn't yet support it. Fair enough.

After some googling I found
http://myth.ivor.org/unichrome/
Which is a snapshot of the unichrome drivers with support for the 'pro' version. From a look at the code it seems to supports cn-400 Smile However I am unable to compile it on the box. It fails as I'm missing /usr/src/xc

I think this is the x.org source code? Do I really have to download that to compile this graphics driver? Is there some sort of skeletal include file system I can use? Am I going about this the right way at all?

The version of the drivers that come with knopMyth will give me vga out, but I can't get s-video to work. I've copied the XF86-Config-4.epia.sample across (and added the "S-Video" option from the wiki) so I really think I need the latest drivers.

Greg

PS Is the lirc ati module binary somewhere on the install disk or do i really have to get it to re-compile? (I'm having trouble making it). My remote is a ati-remote wonder II clone and the kernel module does not support vII hence I believe I need to use lirc. I'm leaning towards downloading the tar.gz from lirc.org and using that as I can't get the debian package to recompile. I guess I'm messing the instructions up, although they look very simple.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 7:49 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
not really sure about that driver, but one would hope it doesn't require x.org, because then you'll have to download and compile all of x.org or attempt to use the ubutnu repositories or something. cause knoppmyth still has XFree86 I would email the developer directly and ask.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 29, 2005 10:26 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
There is currently no support for the Unichrome Pro with KnoppMyth. Yes, you do have to compile from source if you want to use the Pro.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 3:07 am 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
Hi,

Did you ever make any progress here? I too have a SP13000, and am currently struggleing to make *any* progress on this. Mainly due to there being no concise information about how to get anything working with it's chipset.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 8:03 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
If you are referring to information about using it with knoppmyth this is it. You are looking at the most informative thread in existence about using this chipset with knoppmyth. There is quite a bit more information if you are talking about linux in general and even mythtv in general. There have even been reports of people getting hdtv playback on these motherboards.

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 2:26 pm 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
Xsecrets wrote:
If you are referring to information about using it with knoppmyth this is it. You are looking at the most informative thread in existence about using this chipset with knoppmyth.

Ouch. If I ever get this working, I may be adding to the knoppmyth wiki :)
Xsecrets wrote:
There is quite a bit more information if you are talking about linux in general and even mythtv in general. There have even been reports of people getting hdtv playback on these motherboards.

Good stuff, I shall do some googleing. Do you have any good pointers?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 3:11 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
I would try searching the mythtv mailing list. I'm pretty sure that it has some pointers to the right information at the very least.

My guess is the problem you will run into is that the newest drivers I believe require xorg and knoppmyth is running Xfree

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 3:32 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Xsecrets wrote:
My guess is the problem you will run into is that the newest drivers I believe require xorg and knoppmyth is running Xfree
Yes, indeed.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 3:49 pm 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
replacing xfree with xorg would be fairly easy tho, wouldn't it? I know xorg is mearly a fork of xfree before all the licenceing bullshit that occured. I thought the config etc. was pretty much indentical, except for the newer stuff which has been added, of course.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 15, 2005 3:55 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
http://www.debian-administration.org/articles/185 You still need the source to compile against.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 18, 2005 5:11 am 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
Hi,

Managed to get the DRM module compiled and working. Very pleased with myself :)

However, I cannot get libxvmc to compile. I'm using the snapshot from http://myth.ivor.org/unichrome/ and I'm getting no-where. when I issue xmkmf, I get the following error. Regardless of me using stable x.org source, or using the CVS, the following error appears:
Code:
mv -f Makefile Makefile.bak
imake -I/root/xc/config/cf -DTOPDIR=/root/xc -DCURDIR=.
In file included from /root/xc/config/cf/Imake.tmpl:46,
                 from Imakefile.c:40:
/root/xc/config/cf/site.def:44: host.def: No such file or directory
In file included from /root/xc/config/cf/linux.cf:1056,
                 from /root/xc/config/cf/Imake.tmpl:109,
                 from Imakefile.c:40:
/root/xc/config/cf/xorg.cf:13: date.def: No such file or directory
In file included from /root/xc/config/cf/Imake.tmpl:115,
                 from Imakefile.c:40:
/root/xc/config/cf/site.def:146: host.def: No such file or directory
imake: Exit code 1.
  Stop.


Any ideas?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 18, 2005 5:18 am 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
I'm an idiot. Please ignore me :oops:

I've just seen that libxvmc is in the x.org server CVS anyway, and appears to be the version I want.

Sorry about that. I'll go sit in the corner now.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 18, 2005 8:56 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
just for future reference debian unstable which is the branch that is in knoppmyth's sources list does have xorg in it now, and I did upgrade successfully on my debian based laptop, though that is no gurantee that knoppmyth would upgrade successfully.

more details can be found here if anyone is adventurous.
http://www.debian-administration.org/articles/185

_________________
Have a question search the forum and have a look at the KnoppMythWiki.

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 18, 2005 3:40 pm 
Offline
Joined: Mon Aug 15, 2005 3:05 am
Posts: 6
Thanks for the tip. However, the version of x.org in those repos does not support the CN400 chipset yet. Only the CVS version supports this so far.

I'm having problems getting the CVS version to compile. Going to keep trying every say, so they hopefully fix it to the stage where it compiles.

Regards,
-Ribs.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 02, 2005 6:14 am 
Offline
Joined: Sun Oct 30, 2005 5:00 am
Posts: 6
Moderate success so far getting Ivor's excellent driver (2nd November snapshot) to work on knoppmyth on an EPIA SP1300 with the CN400 video chipset. This is what I did, ymmv.

Downloaded the x source tree (ver 4.3.0), changed to the xc directory and did "make World". Left this for a while making makefiles and includes and all that stuff. It stopped with an error building fonts at one point, but by that time the source tree was complete enough for the driver build. Note: running "make World" a second time always failed and caused all sorts of problems, so I had to re-untar the downloaded source each time.

Followed Ivor's instructions to build and install drm, worked ok, then followed instructions to build libxvmc which failed with odd syntax errors. The first issue was due to the definition of drm_hw_lock_t that is used by the drivers being hidden by a __KERNEL__ definition in one of the xfree86 source files. I copied the definition out of the drmP.h source file and dropped it after the includes in the source file viaXvMC.c . The definition is below:

Code:
typedef struct drm_hw_lock {
        __volatile__ unsigned int lock;
        char                      padding[60]; /* Pad to cache line */
} drm_hw_lock_t;


The other error was solved by adding the line below to the file xf86dri.h before the include of xf86drm.h.
Code:
#include <drm.h>

These changes got me a working driver, which installed fine. In the knoppmyth XF86Config-4 file I set the driver to be "via" in the "devices" section and set a mode of "720x576pal". Have a look in the /var/log/XFree86.0.log file for all of the available modes detected.

update: driver is compiled and in use but not yet fully working - the video output is solid green!

Update: Success at last!! The PRO driver XvMC layer was not being used (the non-pro one was being used instead)!! I added the line below to /etc/X11/XvMCConfig (replacing the one that was there) and everything sprung into place.. full speed video, minor stuttering (but I have yet to do any other optimisations), b/w OSD...

Code:
/usr/X11R6/lib/libviaXvMCPro.so.

Big thanks to Ivor Hewitt for all of his help and for making the accelerated XvMC available.

-D


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ] 
Go to page 1, 2, 3  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu