View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 13 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Apr 03, 2006 4:58 am 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
(Edited, - please see the 3rd post for direct info on the problem. The first post describes the setup. Thankyou)

Hello all!

(Yes, i know, its a "no-no" to use these via-chipsets but since i've seen posts from gr8nash claiming succes i thought maybe the time has come for me to give it a try. Please dont flame ;))

Ive recently installed R5B7 and got it working to some degree. The trouble is that watching Live-TV is very very choppy and comparable to a slideshow.

The mainboard is a Via SP8000E with a CN400 chipset and my tuner is a PVR-350.

I tried following a post here on this forum (made by gr8nash) that gives a brief guide on setting up XFree86 4.5 but i could not make it compile (it immediately halts on an error stating something about some header-files it cannot find although they appear to be in the source). I'll be happy to post some output here if any of you may find it interesting.

Maybe gr8nash could be persuaded to do a more detailed howto starting from a fresh installation of R5B7 ? It would be awesome and i know for sure that im not the only one dreaming of such a howto ;)

Im quite new to this scene but i managed to get a R5A22 running on a pentium 3 with success so configuring should not be a problem.
I've tampered with unichrome and openchrome drivers on EpiOS but still not completely succesful and after 1 month of trial-and-error I decided to switch back to KnoppMyth which had reached R5B7 since my last visit.
The point of this post is to hopefully be able to get some feedback from you on how to get the R5B7 going on SP8000E.
During my experiment with EpiOS ive seen Live-TV running perfectly but a (serious) showstopper with Mythweb made me abort this experiment.

So if any of you could give me some pointers regarding how to eliminate the "slideshow" it would be greatly appreciated.

I also tried installing xorg 7.0 but i failed on compilation/setup being new to the scene as I am and had to reinstall everything. (the whole Xserver/XFree86/Xorg can be -very- confusing to us newbies ;)).

Downloading the source from the openchrome-project and trying to compile it myself was also a bad idea (but im very willing to give it try again if i can have some guidelines).

Theres been talk about KnoppMyth switching to xorg. I would be glad to see this as i get the impression that xorg 7 supports CN400 but i guess this switch is nowhere near a release.

Maybe some of you know of a way to 'apt-get' the correct drivers and how to edit the XFree86Config-file ?

Thank you all in advance for your attention ! :)

Unkle

PS: Thankyou to the KnoppMyth team for making such a competent and ready-to-use distro !!! Its beautiful ! :)[/b]


Last edited by unkle on Mon Apr 03, 2006 1:32 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 7:51 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
Quote:
Theres been talk about KnoppMyth switching to xorg. I would be glad to see this as i get the impression that xorg 7 supports CN400 but i guess this switch is nowhere near a release.

you are correct. won't be till R6 and R5 hasn't even had it's final release yet, so yeah a ways out.
Quote:
Maybe some of you know of a way to 'apt-get' the correct drivers and how to edit the XFree86Config-file ?

afraid not. The only way to do it is to get your hands dirty and compile. And the walkthrough you mentioned is the best I know of.

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

Xsecrets


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 1:26 pm 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Quote:
The only way to do it is to get your hands dirty and compile. And the walkthrough you mentioned is the best I know of.


Ok, thankyou for your reply. I will change the subject of this thread slightly and see if I can get some input on the "not so quick but with dirty hands"-method ;)

Here's the output after download, unpacking and doing a "make World" on the XFree86 4.5:
Code:
config/util/printver.c:12:25: xf86Version.h: No such file or directory
config/util/printver.c:13:22: xf86Date.h: No such file or directory
make: *** [World] Error 1

It puzzles me because the the xf86*-files are there in the xc-tree. I see no way of doing a ./configure to tell the make-system where to find the files so i am lost already at the beginning of the guide.

I hope I can draw gr8nash' attention to this thread as he seems to be vey skilful on this matter.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 2:22 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
http://mysettopbox.tv/phpBB2/viewtopic. ... ight=cn400

this is the howto we are refering to. I have now updated it.. i have a guess you grabed 1 of the 5 XF86 source files.. (you dont need all five but for simplicity please get them all.) anyway even if that isnt your problem.. reload start fresh and follow the howto word for word.. i have done this a dozen times now and dont think i missed anything in the howto.. (though i havnt done it with r5b7, a very late alpha was the latest i have tried it with)

i will check this thread for results.. =) and if it works.. i will take you up on the adding to the wikki offer. :D


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 3:23 pm 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Thankyou so much !

Is it necessary to log out of X ? and if so, - how ? It keeps restarting X when i try to log out.

Im in the process of freeing up another harddisk (the one ive been experimenting with is an IBM deskstar (aka deathstar) and it died on me when trying to repartition it). I doubt that i'll be able to post any results tonight before i have to sleep but i will keep you updated tomorrow evening.
As i recall it I had trouble already at the first line of the guide where im told to:
apt-get install libpam0g-dev
I think it said something about not being able to find this or that it would be necessary to downgrade. But i will come back to this with some facts ASAP
Thanks again for your very fast reply :)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 3:53 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
i would definatly not do this while in X..
<CRTL> + <ALT> + F1

log in as root then:

Code:
/etc/init.d/gdm stop


ps i would do this through putty (if you have a windows based machine) or ssh on another linux machine.. that way you can just cut and paste into the command line windows and work with all the benifts of a gui.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 1:44 am 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Ok ill exit X before doing anything and i was planning to do the installation by ssh anyway so that is good.
This evening I never came to the end of the install 'cause it seems that the HD has to be formatted pretty hard in order for it to clear all the old settings. However it seems it trashes my partitiontable somehow because when i try to format the disk with partition magic it replys "#4 bad argument" and when i try to start fdisk up on linux and cfdisk complaints about not being able to find the disksize. KnoppMyth refuses to install when i reach the "install" step and reports a long cryptic error involving "msck" or something like that.
I found out that i could just do a "load configuration" within the KnoppMyth installer and then it would go all the way through copying files from CD to HD but only to produce an error afterwards (probably it is at the time when writing the MBR).

This is highly reproducable and i've seen this exact scenario with two different harddisks.

Anyhow, - the above is highly off-topic but it might take a day or two because im out of disks and need to find a tool that can do some sort of low-level formatting i will also clear the CMOS and try to get it "back to normal" before doing anything with X.

(Maybe my system gives me all the trouble because it simply is unstable in general due to a HW-flaw somewhere...)

i'll be back ! ;)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 4:12 pm 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Okay, so now i got a HD going but at the reboot after installation it stated that the filesystem was mounted read-only (!!!) i formatted the HD for the X'th time and restarted installation from CD.
At the end of the copy-files-process of the installation from the CD there were some "could not read from ..." and "could not stat" messages just as the progression bar met 99 and 100%.
But i rebooted (and crossed my fingers...) and it came up with X.

So now i walked through the setup of Myth and the database, which worked as expected except for when i entered the program guide to check that data had been entered from my tv_grab-script. The guide was empty and as soon as i ESC'ed it, it threw a Segmentation Fault and the frontend exited. I started it up again and just tried watching live-tv and it worked (only static but it needs some FreqID's so i think that it'll be okay).
I'll try to fix the guide later as theres no point in trying if I cant get the CN400 going anyway.

This brings me to the core ("finally!!!" i hear you say ;)):

I followed your guide after exiting X and stopping GDM.

For future reference (and possibly a future wiki-entry if i get it working ;)) ill post exactly what i did:
Code:
apt-get update
apt-get install libpam0g-dev (pressed "Y" to allow installation)


Then I did as your guide advices:
Code:
cd /usr/src/
wget ftp://ftp.xfree86.org/pub/XFree86/4.5.0/source/XFree86-4.5.0-src-1.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.5.0/source/XFree86-4.5.0-src-2.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.5.0/source/XFree86-4.5.0-src-3.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.5.0/source/XFree86-4.5.0-src-4.tgz
wget ftp://ftp.xfree86.org/pub/XFree86/4.5.0/source/XFree86-4.5.0-src-5.tgz


But the next step gave me an error stating that the file is not a bzip2 file so I tried this instead:
(left out the "j" from your guide):
Code:
tar -xvf XFree86-4.5.0-src-1.tgz
tar -xvf XFree86-4.5.0-src-2.tgz
tar -xvf XFree86-4.5.0-src-3.tgz
tar -xvf XFree86-4.5.0-src-4.tgz
tar -xvf XFree86-4.5.0-src-5.tgz

This extracted the XFree86-source and placed it in "xc". And now the fun stuff ;)
Code:
cd /usr/src/xc
make World


I saw a lot of "Nothing to be done for ... " but eventually it began compiling a whole lot, - it took two hours on my 800MHz.

then:
Code:
cd ..
svn co http://svn.openchrome.org/svn/trunk openchrome
cp openchrome/unichrome/ xc/programs/Xserver/hw/xfree86/drivers/ -r
cd xc/programs/Xserver/hw/xfree86/drivers
mv via via.old
ln -s unichrome/ via
make Makefiles
(I dont think it make'd anything ? just a lot of):
make[1]: Nothing to be done for `Makefiles'


and then:
Code:
cd via
make

No more fun... It stops with exactly the same errors as FastPlymouth posted in reply to your thread http://mysettopbox.tv/phpBB2/viewtopic.php?t=8791
(Another little "issue" is the fact that i lost the display on my CRT (it indicates that there's a signal, but i see no picture) so the only way to talk to knoppmyth is via SSH now. Im not keen on rebooting to see if that fixes it as I worry about loosing contact totally if the sshd doesnt start up.)

I did this with a fresh install of R5A30.1

Where do we go from here ?

I've given FastPlymouth a hint about this thread and asked him if he ever got it solved.

Thanks again for your support ! It is -greatly- appreciated !!! :D


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 7:46 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
ok.. well obviously im going to have to blow the dust off my little cn400 board and redo it to make sure im not missing a step ill try and do it thursday.. no promises but i will get back to you with a fresh R5b7 install. So keep watching the thread, we should get this working soon.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 06, 2006 11:00 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
ok i updated the howto for r5b7 libpam0g-dev got locked in dependancy hell sometime in teh last few releases.. and i hadnt tried it for a few knoppmyth releases.. i have found a debian deb package that does complain but installs getting you past the compile error.

http://mysettopbox.tv/phpBB2/viewtopic. ... ight=cn400

could you try again and report back?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 6:08 am 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Hi gr8nash !

I got to this point:
Code:
cd /usr/src/xc/lib/XvMC/
make Makefile
make Makefiles
cd hw/via
ln -s ../../../../programs/Xserver/hw/xfree86/drivers/unichrome/via_xvmc.h
ln -s ../../../../programs/Xserver/hw/xfree86/drivers/unichrome/via_drm.h
ln -s ../../../../programs/Xserver/hw/xfree86/drivers/unichrome/via_drmclient.h
ln -s ../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel_source/drm.h
ln -s ../../../../programs/Xserver/hw/xfree86/os-support/linux/drm/kernel_source/drm_sarea.h
make depend


and then it stops on "make depend" with this error:
Code:
/usr/src/xc/lib/XvMC/hw/via# make depend
make: *** No rule to make target `/usr/local/src/drm-devel/drm/libdrm/xf86drm.c', needed by `xf86drm.c'.  Stop.


The following make and make install (of course) also stops. Could it be that I should be inside another dir than 'via' when doing the "make depend" ?
All the previous steps went well and without trouble as i see it (but I shall not rule out the possibility of some sort of malfunction in a make-process, - would be nice if make at the end would say "success!" or something like that instead of just ending very anonymously ;)).


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 11:36 am 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
you sure you followed the NEW NEW howto like i mentioned in 2 posts above? that is the error that went away with getting the deb that was not working in b7


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 07, 2006 1:17 pm 
Offline
Joined: Fri Mar 31, 2006 2:06 am
Posts: 25
Yes i am very sure i followed he guide step by step. However I did not do it on a fresh install. I will do this within the next 18 hours. I will try it on R5B7.
Thanks again !


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu