View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: need PVR350 TV-out help
PostPosted: Mon Mar 08, 2004 5:11 pm 
Offline
Joined: Mon Mar 08, 2004 4:14 pm
Posts: 3
Location: Denver
I have tried following the (now messy) instructions here:

http://mysettopbox.tv/phpBB2/viewtopic. ... sc&start=0

and cannot get X to show up on my mythtv box. Perhaps someone out there can clarify the setup for me. I seem to be almost there, but X complains that there are no screens.

All of the tests worked with the tv-out on the commandline. I was able to get the test pattern as well as dd'ing the /dev/video to /dev/video16.

When the system came up after I followed the instuctions mentioned above, X refused to come up and nothing appeared on the tv. I then edited my /etc/lilo.conf and switched vga to normal. This got rid of the console on /dev/fb0 and made the PVR-350 card /dev/fb0 instead of /deb/fb1. Once I made that change, I get a flashing cursor on the TV and an error telling me that X cannot find any screens.

Hardware:

Intel pIII 1Ghz on an Intel 815 board
512 MB ram
30G IDE HD
Matrox G450 dual head AGP video
Hauppauge PVR-350 card
SBLive 5.1
3com pci 100bt network

Here is my procedure:

-Install KnoppMyth R4V2
-go through initial configuration (timezone, zipcode)

Everything works fine. MythTV works perfectly on the flat-panel I have hooked up.

Now, time for the TV-Out nightmare:

-downloaded and installed the ivtv-0.1.9 drivers:

cd drivers && make && make install
cd ../utils && make && cp -f ivtvfbctl ivtvplay mpegindex test_ioctl /usr/local/bin

-edit /etc/mythtv/modules/ivtv:

-----
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=2
options saa7127 enable_output=1 output_select=0
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
-----


-edit /etc/X11/XF86Config-4:

-----
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "TV Screen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Monitor"
Identifier "NTSC Monitor"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection

Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "fbdev"
Option "fbdev" "/dev/fb1"
BusID "1:9.0:0"
EndSection

Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "NTSC Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x480"
EndSubsection
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection


Section "Keyboard"
Protocol "Standard"
AutoRepeat 500 5
LeftAlt Meta
RightAlt Meta
ScrollLock Compose
RightCtl Control
XkbModel "pc105"
XkbLayout "us"
EndSection

Section "Pointer"
Protocol "PS/2"
Device "/dev/mouse"
Emulate3Buttons
Emulate3Timeout 70
EndSection
-----

After making the changes,

How exactly am I supposed to go about getting X to show up on my TV? Some questions I have are:

-what should I use for a BusID in the X config file? my lspci output show my card as:

01:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)

so what should i use in the X config? Nothing I have tried seems to work.

-I am getting this error in /var/log/messages:

ivtv-fb: warning: cannot reserve video memory at 0xf1510000
ivtv-fb: framebuffer at 0xf1510000, mapped to 0xe2a70000, size 2818k

is this bad?

It looks like X is mad at the config, but that is way above me.

Thanks.


Top
 Profile  
 
 Post subject: FIXED
PostPosted: Mon Mar 08, 2004 6:29 pm 
Offline
Joined: Mon Mar 08, 2004 4:14 pm
Posts: 3
Location: Denver
I fixed the problem...

I copied the example X config from

/etc/X11/XF86Config-4.pvr350-tvout.sample

to

/etc/X11/XFree86Config-4

and edited the BusID. (I switched everything back to default where I have an fb0 and the PVR-350 is fb1).

The only thing I had to do was add the Keyboard and Mouse sections to the XF86Config file.

Everything appears to work properly now.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 12:41 pm 
Offline
Joined: Mon Feb 23, 2004 1:08 am
Posts: 91
Location: Switzerland
Did you switch to use the alternative X driver from Matthias Baddaire? (See the thread you quoted)

In my case, this is required to solve the "screen freeze when bringing up on screen EPG" problem. Works fine with a stock ivtv 0.1.9.

Laurent


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 1:18 pm 
Offline
Joined: Mon Mar 08, 2004 4:14 pm
Posts: 3
Location: Denver
No, I am using the 0.1.9 ivtv driver that I downloaded and compiled myself. It seems to work fine so far.

What is the EPG and how can I see if my drivers will freeze too?

Also, do I need Chris Kennedy's driver patches if I am going to use Matthias' X driver? And will using the different X driver allow my to use mplayer on the TV (video/dvd plugins)?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 09, 2004 3:33 pm 
Offline
Joined: Wed Feb 11, 2004 7:36 am
Posts: 15
Location: Germany, Pforzheim
Quote:
What is the EPG and how can I see if my drivers will freeze too?

it's the Electronic Program Guide

Press [menu] while watching tv.

Quote:
Also, do I need Chris Kennedy's driver patches if I am going to use Matthias' X driver? And will using the different X driver allow my to use mplayer on the TV (video/dvd plugins)?


you don't need Chris driver patches. And mplayer works here on the 350 TV-Out without additional patches.

_________________
cu,
dev


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 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