Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Multimedia & Video
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Multimedia & Video
Have multimedia question? ATI, Nvidia, Sound cards. Just ask here.

 
Thread Tools Display Modes
Old March 5th, 2008   #81
krazyj
5 Cups of Ubuntu
 
Join Date: Jul 2007
Beans: 25
Re: HOWTO: Get X Running on pvr-350 Tv-Out

Hi all,
Can anyone post a WORKING xorg.conf for:

Fiesty w/ Mythbuntu
Dual Monitors (LCD + TV)
PVR-350

?

I cant get it to work and I think a working example would be all I need.

THANKS!
krazyj is offline   Reply With Quote
Old March 6th, 2008   #82
Crakie
Gee! These Aren't Roasted!
 
Crakie's Avatar
 
Join Date: Aug 2006
Location: 'Nam
Beans: 152
Kubuntu 7.04 Feisty Fawn
Re: HOWTO: Get X Running on pvr-350 Tv-Out

Here you go. It's actually a triple monitor setup, with 2 monitors connected to the graphics card and the tv connected to the Hauppauge 350. Details like the BusID will vary of course. Also note that this gives me three separate X-screens.

Code:
Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" LeftOf "Screen0"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
    RgbPath         "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load           "dbe"
    Load           "v41"
    Load           "extmod"
    Load           "type1"
    Load           "freetype"
    Load           "glx"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" "alt-intl"
    Option         "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ FP91G+"
    HorizSync       31.0 - 83.0
    VertRefresh     56.0 - 76.0
    Option         "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier     "Monitor1"
    VendorName     "Unknown"
    ModelName      "PHILIPS 109P4"
    HorizSync       30.0 - 111.0
    VertRefresh     50.0 - 160.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Videocard0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Videocard1"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce 7600 GT"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Videocard0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "metamodes" "CRT-0: 1280x1024 +0+0; CRT-0: 800x600 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Videocard1"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "metamodes" "CRT-1: 1280x1024 +0+0"
    SubSection     "Display"
        Depth       24
        Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Monitor"
        Identifier  "PALTV"
        HorizSync  30-68
        VertRefresh 50-120
        Mode "720x576"
          DotClock 42.6
          HTimings 720 760 832 944
          VTimings 576 577 580 602
          Flags    "-HSync" "-VSync"
        EndMode
 EndSection

Section "Device"
        Identifier "HauppaugePVR"
        Driver "ivtvdev"
        Option "fbdev" "/dev/fb0"
        Option "VideoOverlay" "on"
        Option "XVideo" "1"
        BusID  "7:5:0"
EndSection

Section "Screen"
  Identifier "Screen2"
  Device "HauppaugePVR"
  Monitor "PALTV"
  DefaultDepth 24
  DefaultFbbpp 32
  Subsection "Display"
    Depth 24
    FbBpp 32
  EndSubsection
EndSection
__________________
You appear to have moved your mouse. Vista needs to be restarted for the changes to take effect.
Crakie is offline   Reply With Quote
Old May 4th, 2008   #83
boca raton
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Arizona, USA
Beans: 17
Ubuntu 6.06
Smile Re: HOWTO: Get X Running on pvr-350 Tv-Out

I am using a PVR 350 on Mythbuntu 8.04.

I am using the 350 tv output for TV and a monitor to set up the pc. I have tv output showing on the TV but I can not get x to the TV. It's a PIII 1.2 Ghz box with about 350 Meg of memory.

I've tried most of the recommendations in this thread, religiously I might add, with no success. (not to say I havn't missed something in my observance!)

There appear to be differences in the solutions to this as myth and Ubuntu have progressed thru their versions. Does 8.04 need to be 'massaged' as with previous examples in this thread or am I just not using the configuration and setup menus in 8.04 correctly?

Help is appreciated!
boca raton is offline   Reply With Quote
Old May 5th, 2008   #84
trubblemaker
Dipped in Ubuntu
 
Join Date: Oct 2005
Beans: 593
Re: HOWTO: Get X Running on pvr-350 Tv-Out

I'm not sure but X might be launched differently on 8.04.

I haven't played with it yet.

Where are you getting to with launching X? Where is it failing?


Some steps that helped me to see where I was going wrong,

boot into a shell (recovery/safe) mode
start x manually from the terminal.
Code:
X
post the error messages here.
trubblemaker is offline   Reply With Quote
Old May 5th, 2008   #85
boca raton
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Arizona, USA
Beans: 17
Ubuntu 6.06
Re: HOWTO: Get X Running on pvr-350 Tv-Out

trubblemaker
Has an Ubuntu Drip

Join Date: Oct 2005
Posts: 776
Thanks: 0
Thanked 0 Times in 0 Posts

Re: HOWTO: Get X Running on pvr-350 Tv-Out
I'm not sure but X might be launched differently on 8.04.

I haven't played with it yet.

Where are you getting to with launching X? Where is it failing?


Some steps that helped me to see where I was going wrong,

boot into a shell (recovery/safe) mode
start x manually from the terminal.
Code:

X

post the error messages here.
__________________

I'm not sure what you mean by 'boot into a shell (recovery/safe) mode.'

But I did open a terminal and type x, result was;
bash: x: command not found

So I did Alt/Cntrl/F4. Surprise (to me), it displayed on the tv. I logged in, result was;

a rather lengthy bit of verbage..... and;

Encoders:
myth-desktop (1) - Idle

Schedule Conflicts:
Unable to access MythTV Perl API. Try with -- verbose to find out why.

and back to prompt, at which I enter 'x', result is'
-bash: x: command not found
return to prompt

My current xorg.conf is;

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection
Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
EndSection


I had tried an xorg.conf
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbOptions" "lv3:ralt_switch" #added this line"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

#Section "Device"
# Identifier "Configured Video Device"
#EndSection

#Section "Monitor"
# Identifier "Configured Monitor"
#EndSection
#
#Section "Screen"
# Identifier "Default Screen"
# Monitor "Configured Monitor"
# Device "Configured Video Device"
#EndSection
#
#Section "ServerLayout"
# Identifier "Default Layout"
# Screen "Default Screen"
#EndSection
#
#following added to end of file
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"

# the driver we installed - in Gutsy, this is NOT "ivtvdev".
Driver "ivtv"

# frame buffer we found above
Option "fbdev" "/dev/fb0"

# below settings are optional I've seen lots of people with them commented out.
# I believe that pal users should just comment below line out.
Option "TVStandard" "NTSC-M"
Option "VideoOverlay" "on"
Option "XVideo" "1"

# Not optional setting
# BusID we found with lspci converted as shown above
BusID "PCI:1:09:0"

Screen 0


EndSection

# these settings are generic (for TVs) but are specifically for TV

Section "Monitor"
Identifier "TV"
HorizSync 30-68
VertRefresh 50-120
DisplaySize 183 122
Mode "720x480"
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode


# for pal users:
#Section "Monitor"
# Identifier "TV"
# HorizSync 30-68

# VertRefresh 50-120
# Mode "720x576"
# D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
# DotClock 41.476
# HTimings 720 752 840 928
# VTimings 576 580 584 600
# Flags "-HSync" "-VSync"
# EndMode
#EndSection
#for pal users more settings: http://www.mythtv.org/wiki/index.php/XV_on_PVR-350#PAL

# Sorry SECAM users I don't have the codes for that but I did see them on the web
# So seek and you will find. There are some resources at the bottom of this
# webpage to help out.

EndSection

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

Section "ServerLayout"
Identifier "Default Layout"
Screen "TV Screen"

# There is other ways to get rid of keyboard and mouse, but you can these settings as is.
# This setup is designed to run without keyboard and mouse plugged in.
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

.....which did not work, on the TV it displayed;
stopping remote control deomon LIRC
and everything froze

Sorry if I'm not giving good info. But I can take instruction (if it's simple enough) if you care to pursue this further.

thanks for your time!
boca raton is offline   Reply With Quote
Old May 6th, 2008   #86
Crakie
Gee! These Aren't Roasted!
 
Crakie's Avatar
 
Join Date: Aug 2006
Location: 'Nam
Beans: 152
Kubuntu 7.04 Feisty Fawn
Re: HOWTO: Get X Running on pvr-350 Tv-Out

I am not surprised the xorg.conf you tried, ended up displaying on the TV only. You are not telling X that there is also a monitor attached (and should be used!). I suggest you model your xorg.conf after the one I posted a few posts up. I am not sure if you understand the structure of it, but I will guide you through it if necessary. Since I am a *bit* lazy I will just give a few pointers now.

* In the "Serverlayout" section (at the top in mine), you define the screens you need, which would be "screen0" and "screen1" (or whatever names you prefer). You also define their relative orientation using LeftOf or RightOf.

* For each screen, there should be a screen, monitor and device section. In the "screen0" section you identify a monitor and a device name, as in for example:

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"

which gives a device section with Identifier "Videocard0" and a monitor section "Monitor0". Again, you are free to choose the names within the "" as long as they match eachother in the different sections.

* For the normal monitor use the sections of the xorg.conf you use now and for the tv, use the one the that failed. Combined, they should work, if you crossreference correctly.

I hope this helps.
__________________
You appear to have moved your mouse. Vista needs to be restarted for the changes to take effect.
Crakie is offline   Reply With Quote
Old May 6th, 2008   #87
tommie74
A Carafe of Ubuntu
 
Join Date: Apr 2007
Beans: 89
Re: HOWTO: Get X Running on pvr-350 Tv-Out

I am trying to get X running on pvr-350, but so far have no success. I can, with my normal xorg.conf, watch tv-shows on te tv-out of the pvr-350. When I select to watch tv in Mythbuntu the the monitor goes black, and the tv goes from black to showing the tv program. When I hit escape, the tv goes black, and I am back on the monitor watching the mythbuntu gui interface.

But I want this as a standalone tv-box. So I tried to configure xorg.conf according to the wiki so that X also displays on the tv.

I have some abnormalities.

Code:
pvr@tvpc:~$ cat /var/log/messages |grep "TV out"
pvr@tvpc:~$
No output there..

Code:
pvr@tvpc:~$ lspci | grep "Internext Compression"
00:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
pvr@tvpc:~$
Double output there.. I think this might be because my VIA PC2500 motherboard has an mpeg decoder onboard?

Further, when I shutdown my computer first my monitor turns black, and then the ubuntu splash screen with the bar showing progress actually shows on the tv screen before the computer finally shuts down completely.

I tried both bus adresses in the xorg.conf:
0:8:0
0:9:0

But no success so far.

I have PAL coming in from cable.

The xorg.conf I tried was:
Code:
Section "Files"
        FontPath        "/usr/share/X11/fonts/misc"
        FontPath        "/usr/share/X11/fonts/cyrillic"
        FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/share/X11/fonts/Type1"
        FontPath        "/usr/share/X11/fonts/100dpi"
        FontPath        "/usr/share/X11/fonts/75dpi"
        FontPath        "/usr/share/fonts/X11/misc"
        # path to defoma fonts
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

# Specific modules needed *this is important.*
Section "Module"
        Load "dbe"
        Load "v4l"
        Load "extmod"
        Load "type1"
        Load "freetype"
EndSection

# Almost standard keyboard 
# Note: This setup doesn't require the keyboard to be present

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "us"
        Option          "XkbOptions"    "lv3:ralt_switch"
EndSection

# Almost standard mouse pointer
# Note: This setup doesn't require the mouse to be present

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ExplorerPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Emulate3Buttons"       "true"
EndSection

Section "Device"
        Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"

        # the driver we installed - in Gutsy, this is NOT "ivtvdev".
        Driver "ivtv" 

        # frame buffer we found above
        Option "fbdev" "/dev/fb0"    
     
        # below settings are optional I've seen lots of people with them commented out.
        # I believe that pal users should just comment below line out.
        #Option "TVStandard" "NTSC-M"
        Option "VideoOverlay" "on"
        Option "XVideo" "1"

        # Not optional setting
        # BusID we found with lspci converted as shown above
        BusID "PCI:0:9:0"           

        Screen 0

EndSection

# these settings are generic (for TVs) but are specifically for TV

#Section "Monitor"
#        Identifier "TV"
#        HorizSync 30-68
#        VertRefresh 50-120
#        DisplaySize 183 122
#        Mode "720x480"
#        DotClock 34.564
#        HTimings 720 752 840 928
#        VTimings 480 484 488 504
#        Flags "-HSync" "-VSync"
#        EndMode


        # for pal users:
        Section "Monitor"
               Identifier  "TV"
               HorizSync  30-68
               VertRefresh 50-120
               Mode "720x576"
               D: 41.475 MHz, H: 44.693 kHz, V: 74.488 Hz
               DotClock 41.476
               HTimings 720 752 840 928
               VTimings 576 580 584 600
               Flags    "-HSync" "-VSync"
               EndMode
        EndSection
        #for pal users more settings: http://www.mythtv.org/wiki/index.php/XV_on_PVR-350#PAL 

        # Sorry SECAM users I don't have the codes for that but I did see them on the web
        # So seek and you will find.  There are some resources at the bottom of this 
        # webpage to help out.

#EndSection


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

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "TV Screen"

        # There is other ways to get rid of keyboard and mouse, but you can these settings as is.
        # This setup is designed to run without keyboard and mouse plugged in.
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

#Section "DRI"
#        Mode    0666 # Not specifically needed as far as I know. 
#                     # I think it's specific to my computer's hardware
#                     # That said all my ubuntu boxes have this line.

EndSection
Anybody an idea what to do?

PS, when I shutdown the computer, first my monitor turns black, and then I can actually see the ubuntu splash on the tv before the computer shuts down totally.

Last edited by tommie74; May 6th, 2008 at 02:19 PM..
tommie74 is offline   Reply With Quote
Old May 6th, 2008   #88
boca raton
5 Cups of Ubuntu
 
Join Date: Mar 2006
Location: Arizona, USA
Beans: 17
Ubuntu 6.06
Smile Re: HOWTO: Get X Running on pvr-350 Tv-Out

I followed crakie's suggestions for xorg.conf, modified for ntsc and my installation.

But I still get results exactly like tommie74. (Except I get a single "Internext Compression" response as opposed to his 2 responses)

My goal is like tommie74, to see ALL of the desktop, menus and tv out on the tv set thru the PVR-350 tv output. That is, no PC monitor connected.

So, common symptoms, perhaps a common solution?

Any ideas?

Below is my xorg.conf file;

#test xorg.conf file
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
#pc monitor
Screen 1 "Screen1" RightOf "Screen0"
#tv
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
EndSection

Section "Device"
Identifier "Videocard0"
Screen 0
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30-68
VertRefresh 50-120
Mode "720x480"
DotClock 34.564
HTimings 720 752 840 928
VTimings 480 484 488 504
Flags "-HSync" "-VSync"
EndMode
EndSection

Section "Device"
Identifier "HauppaugePVR"
Driver "ivtvdev"
Option "fbdev" "/dev/fb0"
Option "VideoOverlay" "on"
Option "TVStandard" "NTSC-M"
Option "XVideo" "1"
BusID "1:9:0"
EndSection

Section "Screen"
Identifier "Screen1"
Device "HauppaugePVR"
Monitor "TV"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
EndSubsection
EndSection

Last edited by boca raton; May 7th, 2008 at 12:07 AM..
boca raton is offline   Reply With Quote
Old May 7th, 2008   #89
tommie74
A Carafe of Ubuntu
 
Join Date: Apr 2007
Beans: 89
Re: HOWTO: Get X Running on pvr-350 Tv-Out

Well Boca,
I think I found a sollution that is rather rigorous, but in the end might be easier. I have decided to go for Mythdora5 which comes with a gui for pvr 350 tvout. In the mythdora forum I read minor problems getting this to run, so I will give it a try. Will let you know the results.
tommie74 is offline   Reply With Quote
Old May 7th, 2008   #90
Crakie
Gee! These Aren't Roasted!
 
Crakie's Avatar
 
Join Date: Aug 2006
Location: 'Nam
Beans: 152
Kubuntu 7.04 Feisty Fawn
Re: HOWTO: Get X Running on pvr-350 Tv-Out

Hmmm. I reviewed your xorg.conf, Boca, and it seems to be ok. Perhaps you can post the output of /var/log/xorg.0.log when you boot with this xorg.conf

Yours, Tommie74, lacks a second entry for a screen in the ServerLayout section (and maybe more, but I stopped right there ).

Incidentally, I also have that odd phenomenon of changing screens. When I boot, the kernel messages fly by on the tv with the monitor black. When the splash pops up, it shows on the monitor with the tv black. Then I login and I get two X screens as desired. When I shutdown, the reverse happens - so to speak.
__________________
You appear to have moved your mouse. Vista needs to be restarted for the changes to take effect.
Crakie is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:36 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry