LinHES Forums http://forums.linhes.org/ |
|
X too big on PVR-350 tv out http://forums.linhes.org/viewtopic.php?f=1&t=1259 |
Page 1 of 1 |
Author: | rickpol1 [ Tue Apr 20, 2004 6:18 pm ] |
Post subject: | X too big on PVR-350 tv out |
Hi All. I've got knoppmyth working reasonably well on a SN41G2 with a PVR-350 with the exception of the X display size. It's too big. My config is listed below. Appreciate any help. Ta. ![]() Ric. /etc/X11/XF86Config-4 ========================= Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "TV Screen" InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "ServerFlags" Option "AllowMouseOpenFail" "true" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" 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" # Additional fonts: Locale, Gimp, TTF... FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" # FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi" # FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi" # True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig! 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 "Module" Load "ddc" # ddc probing of monitor # Load "GLcore" Load "dbe" Load "v4l" Load "extmod" # Load "glx" Does this do anything? -test. RP Load "glx" Load "bitmap" # bitmap-fonts Load "speedo" Load "type1" Load "freetype" Load "record" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Option "XkbLayout" "us" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "Microsoft" Option "Device" "/dev/ttyS0" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "PS/2 Mouse" Driver "mouse" Option "Protocol" "auto" Option "ZAxisMapping" "4 5" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "true" Option "Emulate3Timeout" "70" Option "SendCoreEvents" "true" EndSection Section "InputDevice" Identifier "USB Mouse" Driver "mouse" Option "Device" "/dev/input/mice" Option "SendCoreEvents" "true" Option "Protocol" "IMPS/2" Option "ZAxisMapping" "4 5" Option "Buttons" "5" EndSection Section "Monitor" Identifier "PAL TV" HorizSync 30-68 VertRefresh 50-120 Mode "720x576" # D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz DotClock 42.60 HTimings 720 760 832 944 VTimings 576 577 580 602 Flags "-HSync" "-VSync" EndMode EndSection Section "Device" Identifier "Hauppauge PVR 350 iTVC15 Framebuffer" Driver "fbdev" ### change fb1 to whatever number you got in the previous section Option "fbdev" "/dev/fb0" #Option "ConnectedMonitor" "TV" ### change the busid to whatever is reported by lspci. Note that ### output of lspci is hex, so add a preceding "0x" to the BusID BusID "1:0x06:0" EndSection Section "Screen" Identifier "TV Screen" Device "Hauppauge PVR 350 iTVC15 Framebuffer" Monitor "PAL TV" DefaultDepth 24 DefaultFbbpp 32 Subsection "Display" Depth 24 FbBpp 32 Modes "720x576" EndSubsection EndSection Section "DRI" Mode 0666 EndSection /etc/mythtv/modules/ivtv: =========================== alias char-major-81 videodev alias char-major-61 lirc_i2c options ivtv ivtv_debug=1 ivtv_pal=1 options tuner type=28 options msp3400 once=1 simple=1 options saa7127 enable_output=1 output_select=0 pal=1 add below ivtv msp3400 saa7115 saa7127 tuner add above ivtv lirc_dev lirc_i2c ivtv-fb /etc/sysconfig/ivtv/cfg-0 ======================= # IVTV_TUNER is the tuner input selection value, # if not set the Default of '0' will be used. IVTV_TUNER='0' # IVTV_TYPE is the type of the tuner. Possible values # are NTSC or PAL. A default value of 'NTSC' will be used if # this is not set. IVTV_TYPE='PAL' # End /etc/init.d/set_ivtv_params =========================== #!/bin/bash # Set the ivtv Parameters ######################################################################## IVTVCTL='test_ioctl' IVTVDIR='/etc/sysconfig/ivtv' #----------------------------------------------------------------------# # Default values, if not specified in $IVTVDIR/cfg-* IVTV_DT='0' # Tuner input, IVTV_DF='PAL' # tuner format [NTSC|PAL] ######################################################################## [ -d "$IVTVDIR" ] || exit 1 PATH="$PATH:/usr/local/bin" # See how we were called: case $1 in (start) cd $IVTVDIR || exit 2 for g in $(echo cfg-*) ; do f=${g#cfg-} unset IVTV_TUNER IVTV_RATE IVTV_PEAK IVTV_TYPE source cfg-$f case $IVTV_TYPE in ("") IVTV_TYPE=0x3000 IVTV_HEIGHT=480 IVTV_WIDTH=720 ;; (NTSC) IVTV_TYPE=0x3000 IVTV_HEIGHT=480 IVTV_WIDTH=720 ;; (PAL) TV_TYPE=0xff IVTV_HEIGHT=576 IVTV_WIDTH=720 ;; esac $IVTVCTL -d /dev/video$f -u $IVTV_TYPE $IVTVCTL -d /dev/video$f -p ${IVTV_TUNER:-${IVTV_DT}} $IVTVCTL -d /dev/video$f -f width=$IVTV_WIDTH,height=$IVTV_HEIGHT $IVTVCTL -d /dev/video$f -c dnr_mode=0,dnr_temporal=0 done ;; (stop) # don't do anything on stop. ;; *) echo "Usage: /etc/init.d/set_ivtv_params {start|stop}" exit 1 ;; esac ######################################################################## # End |
Author: | rickpol1 [ Thu Apr 22, 2004 7:07 pm ] |
Post subject: | Problem solved. |
Discovered that the issue was with the TV. I've played around with XF86Config and myth's display size and am happy with the result. Cheers Ric. |
Author: | UberDuper [ Mon May 31, 2004 12:56 pm ] |
Post subject: | |
What changes did you make? UD. |
Author: | rickpol1 [ Tue Jun 01, 2004 5:44 am ] |
Post subject: | |
You can change the mythtv display size in mythtv under: Setup=>Appearance changing the GUI height, width and X and Y offsets in the Screen Settings screen. I did make changes to the PAL settings in XF86config but the xdisplay is still overscanning (if that's the right word) but I don't use anything but the mythtv display so who cares. ![]() Cheers Rick. |
Author: | srahrens [ Tue Jun 01, 2004 11:16 am ] |
Post subject: | |
Do you watch DVD's with your mythbox? I'm curious because I have not yet found a combination of myth settings that allows the myth GUI to be tweaked correctly without distorting DVD playback. That is, DVD playback looks stretched or squashed unless I keep myth GUI scaled to 4:3. And if I keep myth GUI scaled to 4:3, it will invariably be heavily over or underscanned. I have experimented with tweaking myth GUI to a non-standard scale and then scaling DVD playback BACK to normal with mplayer command line calls, but find this will not work consistently for panscan AND letterbox settings. If I tweak letterbox to look right, for instance, the panscan will look really bad, or vice versa. I see new settings in 0.15 that allow tv and GUI to be scaled differently, but do not have much hope for these as DVD playback seems to follow myth GUI resolution settings, whereas TV playback seems to have a mind of its own (nothing I do to myth GUI effects tv playback at all, nor do the tv OSD overscan/underscan settings either though!). Any body have any advice on how to tweak myth settings to get all aspects of myth to appear correctly on a tv screen? thanks --sa |
Author: | rickpol1 [ Thu Jun 03, 2004 1:47 pm ] |
Post subject: | |
I don't watch DVDs with mythtv as my DVD drive throws errors below. I suspect it has something to do with DMA with the DVD drive but haven't been able to fix it yet. May 7 15:03:23 mythtv kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data May 7 15:03:23 mythtv kernel: ide-scsi: [[ 28 0 0 0 1 0 0 0 4 0 0 0 ] May 7 15:03:23 mythtv kernel: ] May 7 15:03:23 mythtv kernel: ide-scsi: expected 8192 got 16384 limit 8192 May 7 15:03:23 mythtv kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data May 7 15:03:23 mythtv kernel: ide-scsi: [[ 28 0 0 0 1 4 0 0 8 0 0 0 ] May 7 15:03:23 mythtv kernel: ] May 7 15:03:23 mythtv kernel: ide-scsi: expected 16384 got 32768 limit 16384 May 7 15:05:54 mythtv kernel: ide-scsi: The scsi wants to send us more data than expected - discarding data May 7 15:05:54 mythtv kernel: ide-scsi: [[ 28 0 0 0 1 0 0 0 4 0 0 0 ] May 7 15:05:54 mythtv kernel: ] May 7 15:05:54 mythtv kernel: ide-scsi: expected 8192 got 16384 limit 8192 |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |