LinHES Forums http://forum.linhes.org/ |
|
Problem with r5a16 and cn400 unichrome chipset http://forum.linhes.org/viewtopic.php?f=2&t=5112 |
Page 1 of 3 |
Author: | quozl [ Wed Jun 29, 2005 4:07 am ] |
Post subject: | Problem with r5a16 and cn400 unichrome chipset |
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. |
Author: | Xsecrets [ Wed Jun 29, 2005 7:49 am ] |
Post subject: | |
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. |
Author: | cesman [ Wed Jun 29, 2005 10:26 am ] |
Post subject: | |
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. |
Author: | Ribs [ Mon Aug 15, 2005 3:07 am ] |
Post subject: | |
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. |
Author: | Xsecrets [ Mon Aug 15, 2005 8:03 am ] |
Post subject: | |
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. |
Author: | Ribs [ Mon Aug 15, 2005 2:26 pm ] |
Post subject: | |
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? |
Author: | Xsecrets [ Mon Aug 15, 2005 3:11 pm ] |
Post subject: | |
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 |
Author: | cesman [ Mon Aug 15, 2005 3:32 pm ] |
Post subject: | |
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.
|
Author: | Ribs [ Mon Aug 15, 2005 3:49 pm ] |
Post subject: | |
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. |
Author: | cesman [ Mon Aug 15, 2005 3:55 pm ] |
Post subject: | |
http://www.debian-administration.org/articles/185 You still need the source to compile against. |
Author: | Ribs [ Thu Aug 18, 2005 5:11 am ] |
Post subject: | |
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? |
Author: | Ribs [ Thu Aug 18, 2005 5:18 am ] |
Post subject: | |
I'm an idiot. Please ignore me ![]() 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. |
Author: | Xsecrets [ Thu Aug 18, 2005 8:56 am ] |
Post subject: | |
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 |
Author: | Ribs [ Thu Aug 18, 2005 3:40 pm ] |
Post subject: | |
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. |
Author: | rainecc [ Wed Nov 02, 2005 6:14 am ] |
Post subject: | |
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 |
Page 1 of 3 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |