LinHES Forums
http://forums.linhes.org/

Laptop frontend - Solved - Thanks For the help
http://forums.linhes.org/viewtopic.php?f=6&t=18124
Page 1 of 1

Author:  Digriz77 [ Wed Apr 02, 2008 6:48 am ]
Post subject:  Laptop frontend - Solved - Thanks For the help

Gday,

Im having two problems.

I have a desktop backend on a wired network.

I have recently got my laptop going as a frontend only. Both are on r5f27

1st problem:
I can watch live tv on the laptop but when i try and go into recordings i get the following "The file for this recording can not be found".

I can vaguely remember reading something about changing permissions but I have searched and cant find the answer.

One thing i have done is I have accidentally called both boxes the same ie mythtv... will that be a problem.

2nd Problem:
I had this working on the laptop with r5d1 but decided on a fresh install stupid me. I now have the problem of the laptop screen initially coming on till it gets to the penguin screen then it goes black and I need to plug a monitor in. Does anyone know what xorg setting I need for the laptops lcd screen?

I must be a complete drongo, I have been searching for an answer since 5 and im going nuts.

If anyone could help id appreciate it.

Dig

Author:  slowtolearn [ Wed Apr 02, 2008 10:11 am ]
Post subject:  Re: Laptop frontend

Digriz77 wrote:
Gday,

Im having two problems.

I have a desktop backend on a wired network.

I have recently got my laptop going as a frontend only. Both are on r5f27

1st problem:
I can watch live tv on the laptop but when i try and go into recordings i get the following "The file for this recording can not be found".

I can vaguely remember reading something about changing permissions but I have searched and cant find the answer.

One thing i have done is I have accidentally called both boxes the same ie mythtv... will that be a problem.
Absolutely. The hostname is used extensively within the DB to define settings for each machine. You'll need to change that and use a unique identifier - See http://www.knoppmythwiki.org/index.php? ... nlyInstall

Digriz77 wrote:
2nd Problem:
I had this working on the laptop with r5d1 but decided on a fresh install stupid me. I now have the problem of the laptop screen initially coming on till it gets to the penguin screen then it goes black and I need to plug a monitor in. Does anyone know what xorg setting I need for the laptops lcd screen?
Couldn't even venture a guess without some specifics - What type of display adapter? Which driver? You may find this is not an issue once you fix #1...

Author:  cliffsjunk [ Wed Apr 02, 2008 10:42 am ]
Post subject:  Re: Laptop frontend

Digriz77 wrote:
Gday,
1st problem:
I can watch live tv on the laptop but when i try and go into recordings i get the following "The file for this recording can not be found".

Sounds like it might be related to the name problem (below).

Digriz77 wrote:
One thing i have done is I have accidentally called both boxes the same ie mythtv... will that be a problem.

My guess is yes. I renamed a backend and had to go into mysql to change the names in the tables. Be aware that the backend is where the different settings for all the frontends are stored. The fact that you have two machines named the same means they are using the same configuration. My advice is to immediately stop using that front end or you may bork your backend. Reinstall the laptop using one of the following install options. (You can see these options by pressing F2 or F3 etc when you first boot the KM install disk.) The options were something like "fb1024x768" and xsize=1024. Do not use the "tv" option as it limits the res to 800x600 and 60hz refresh rate.

Digriz77 wrote:
2nd Problem:
I had this working on the laptop with r5d1 but decided on a fresh install stupid me. I now have the problem of the laptop screen initially coming on till it gets to the penguin screen then it goes black and I need to plug a monitor in. Does anyone know what xorg setting I need for the laptops lcd screen?

Hmmm... if the penguin shows then it sounds like X is configured properly. Does X show for several seconds (X is probably configured properly) or just a fraction of a second (maybe not).

FYI, I run Ubuntu 7.10 with mythtv-frontend installed on both of my laptops and so I can use them for other things too. Be aware that R5F27 uses MythTV 0.20 and the latest updates for Ubuntu 7.10 are for MythTV 0.21 which is incompatible. If you download the Ubuntu 7.10 CD or DVD and just install mythtv-frontend you will get 0.21.

There is a way of getting 0.20, probably using this command line install which gets from the internet. This is my guess as to what to use. The % and # are the prompt... You don't type it. 'sudo su' will ask for your administrative (root) password. You can just download the 7.10 CD (which does not have instead of the DVD if you want to try this.
Code:
% sudo su
# apt-get update
# apt-get install mythtv-frontend=0.20.2-0ubuntu10.1
# exit


To test it out after installing it click Applications -> Accessories -> Terminal" to get a command prompt and just type:
Code:
% mythfrontend


For a more permanent solution create a desktop icon by right clicking the desktop and selecting "Create Launcher". Type mythfrontend for both the name and the command.

Remember to uncheck all myth updates whenever you do O.S. updates you will probably be OK. FYI the next release of KM will be for 0.21. Once you install that on your backend you just do a normal OS update on Ubuntu to get up to 0.21...

Good luck.
Cliff

Author:  cliffsjunk [ Wed Apr 02, 2008 10:44 am ]
Post subject: 

I see Slow To Learn posted while I was typing...

Author:  Digriz77 [ Thu Apr 03, 2008 3:25 am ]
Post subject: 

Thanks mate, I reisntalled making sure I didnt call the machine mythtv again and it fixed the recorded programs problem.

Now I only have the problem of the laptop display not working.

I guess its my xorg.conf.

However im not sure what to do. Im not sure what the display adapter is for the screen on a laptop. Its a dell Latitude 2ghz with 512 meg of ram.

Ive just edited this as im locked at the xorg log file and get the following display adapter NVIDIA GPU GeForce4 440 Go at PCI:1:0:0 (GPU-0)

And i was wrong what happens is the bootsplash screen comes on then everything goes black and and switches to the vga port/monitor where the nvidia logo appears and then goes into myth. As soon as I shut down the bootsplash window comes back on and shows it shutting down.

here is a couple of exerts from my xorg.conf

Section "Monitor"
Identifier "Monitor0"
Option "DPMS" "true"
Option "UseEdidDpi" "FALSE"
Option "DPI" "100 x 100"
VendorName "CPQ"
ModelName "CPQ1446"
HorizSync 30 - 86 # DDC-probed
VertRefresh 50 - 140 # DDC-probed
# These are the DDC-probed settings reported by your monitor.
# 1600x1200, 65.0Hz; hfreq=81.25, vfreq=65.00
ModeLine "1600x1200" 175.50 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync
# 1024x768, 85.0Hz; hfreq=68.68, vfreq=85.00
ModeLine "1024x768" 94.50 1024 1072 1168 1376 768 769 772 808 +hsync +vsync
# 1024x768, 75.0Hz; hfreq=60.02, vfreq=75.03
ModeLine "1024x768" 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
# 800x600, 85.0Hz; hfreq=53.67, vfreq=85.06
ModeLine "800x600" 56.25 800 832 896 1048 600 601 604 631 +hsync +vsync
# 800x600, 75.0Hz; hfreq=46.88, vfreq=75.00
ModeLine "800x600" 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync


Not sure if i should list them all but then it goes into

Section "Device"
### Available Driver options are:-
# sw_cursor is needed for some ati and radeon cards
#Option "sw_cursor"
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "nvidia"
VendorName "All"
BoardName "All"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 1
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"

I must admit that these always confuse me.

Author:  Digriz77 [ Thu Apr 03, 2008 6:17 am ]
Post subject: 

Something odd.

I just loaded r5e50 because i knew the laptop worked back then. Got it up and the laptop screen doesnt go blank.

So i saved the xorg.conf file.

Then i reloaded R5r27 and once it was fully installed I copied the Xorg.conf that i had saved from r5e50 and saved it over the knew one in r5f27.

Rebooted and bugger me I still get a blank screen on the laptop.

I really thought it was going to work. What other config file specifies what output to use? It just keeps going to the crt.

Author:  slowtolearn [ Thu Apr 03, 2008 7:20 am ]
Post subject: 

Digriz77 wrote:
Ive just edited this as im locked at the xorg log file and get the following display adapter NVIDIA GPU GeForce4 440 Go at PCI:1:0:0 (GPU-0)
Possibly the wrong driver. See 2.4) under 2) X Server and Desktop changes here, maybe the legacy (7xxx series) drivers will resolve the issue.

Digriz77 wrote:
And i was wrong what happens is the bootsplash screen comes on then everything goes black and and switches to the vga port/monitor where the nvidia logo appears and then goes into myth. As soon as I shut down the bootsplash window comes back on and shows it shutting down.
Make sure there are no entries like Option "ConnectedMonitor" or Option "TVOutFormat" in your xorg.conf.

Just to clarify: Are you trying to use the laptop's screen or an external screen (monitor, TV) as your display device?

Author:  cliffsjunk [ Thu Apr 03, 2008 1:14 pm ]
Post subject: 

R5F27 has a new Nvidia driver in it that did not work with my MX-440.

I had to downgrade the NVidia driver to R5F1 to get it to work.

You might try this - http://www.knoppmythwiki.org/index.php? ... iversR5F27

Ubuntu was easy to install on my laptop and then mythtv-frontend was just a few clicks away. (Other readers beware that KM R5F27 uses MythTV 0.20.2 but Ubuntu has 0.21 which is incompatible so you must tell it to install an older version as described a few posts ago.)

Cliff

Author:  Digriz77 [ Thu Apr 03, 2008 2:56 pm ]
Post subject: 

Thanks for that,

running the below code got it working after reboot. Its funny I searched for ages but must not have entered the right search term to pick that up.

!/bin/bash
cd /usr/src/debs/nvidia/1.0.8776
dpkg -P nvidia-glx-legacy-96xx
dpkg -P nvidia-kernel-legacy-96xx-2.6.18-chw-13
dpkg -i nvidia-kernel-2.6.18-chw-13_1.0.8776-1+2.6.18-chw-13-10.00.Custom_i386.deb
dpkg -i nvidia-glx_1.0.8776-1_i386.deb


Thanks again guys. Its working well now.

David.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/