LinHES Forums http://forums.linhes.org/ |
|
PVR-350 XFree86 Error http://forums.linhes.org/viewtopic.php?f=2&t=3166 |
Page 1 of 1 |
Author: | zengod [ Tue Jan 04, 2005 1:11 am ] |
Post subject: | PVR-350 XFree86 Error |
Having problems getting my PVR-350 to work with TV out using it's onboard MPEG-2 decoder. Started with the default Knoppmyth R4V5 automatic install. Had the usual? issues with occasional hangs on installation. After the install was able to watch clear TV on my monitor, albeit at an unimpressive frame rate (jerky picture) which surprised me given the fairly fast processor. Proceeded to configure ivtv for PVR-350 TV out as per alarson's recommendations at... http://mysettopbox.tv/phpBB2/viewtopic.php?t=2524&highlight=r4v5+working+pvr350 After rebooting the TV out worked well, no problems with the picture quality but still the frame rate was slow. Went into mythTV and turned on the use PVR-350 TV out onboard decoder. Selected watch TV and the box hung. Black TV, no TTY's, could not SSH in. Performed a hard reset and ended up with a corrupted file system that chkdsk could not repair. Reinstalled Knoppmyth and repeated the experiment several times trying various tweeks to no avail. Dug through the ivtv wiki and discovered that since my PVR-350 is a model 990 I need to use a 0.2.0 or newer driver rather than the 0.1.9 in Knoppmyth. Followed xm301's instructions at ... http://mysettopbox.tv/phpBB2/viewtopic.php?t=2995 As far as I know compiling and installing the 0.3.1x drivers and 1.18.21.22168 firmware went well, didn't see any obvious errors reported during the compile. Followed the instructions of rod821 for modifying XF86Config-4 (using the XF86Config-4.pvr350-tvout.sample as a template) and /etc/mythtv/modules/ivtv. On reboot XF86 failed. Again repeated the experiment several times with consistent results. Tried following xm301's and rod821's instructions using the o.2.0-rc3c driver recommended for model 990 cards by the ivtv developers. Same result, X gets into a snit. Any help would be appreciated, I'm getting short of hair to pull out. System Information... Mb - ASUS A7V8X-LA CPU - AMD Athlon XP 2800+ Chipset - VIA KM400A VIA VT8237 Graphics - onboard VIA UniChrome graphics Audio - Realtek AL658 six-channel AUDIO CODEC Digital audio via an S/PDIF out interface RAM - 1 GB HDD - UltraDMA 100 - 1 x 250GB + 1 x 120GB /etc/myth/modules/ivtv.... alias char-major-61 lirc_i2c alias char-major-81 videodev options ivtv debug=1 options tuner type=2 # output_select 0==> composite, 1==> svideo options saa7127 enable_output=1 output_select=0 options msp3400 modprobe add below ivtv msp3400 saa7115 saa7127 tuner add above ivtv lirc_dev lirc_i2c ivtv-fb /etc/X11/XF86Config-4 Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "TV Screen" InputDevice "PS/2 Mouse" "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" 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 "Serial Mouse" 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 "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 "ivtvdev" ### change fb1 to whatever number you got in the previous section Option "fbdev" "/dev/fb1" ### 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 "0:0x08: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 "DRI" Mode 0666 EndSection root@mythtv:/var/log # tail -50 messages Jan 3 22:24:56 mythtv kernel: saa7115: decoder set picture bright=128 contrast=63 saturation=64 hue=0 Jan 3 22:24:56 mythtv kernel: saa7115: decoder set picture bright=128 contrast=63 saturation=63 hue=0 Jan 3 22:24:56 mythtv kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Jan 3 22:24:56 mythtv kernel: saa7115: decoder set picture bright=127 contrast=63 saturation=63 hue=0 Jan 3 22:24:56 mythtv kernel: saa7115: decoder disable output Jan 3 22:24:57 mythtv kernel: saa7115: decoder enable output Jan 3 22:44:48 mythtv -- MARK -- Jan 3 23:04:48 mythtv -- MARK -- Jan 3 23:24:48 mythtv -- MARK -- Jan 3 23:44:48 mythtv -- MARK -- tail -15 /var/log/XFree86.0.log root@mythtv:/var/log # tail -15 XFree86.0.log (--) Depth 24 pixmap format is 32 bpp bitsPerPixel=32, depth=24, defaultVisual=TrueColor mask: ff0000,ff00,ff, offset: 16,8,0 (EE) IVTVDEV(0): FBIOPUT_VSCREENINFO: Invalid argument (EE) IVTVDEV(0): Mode init failed Fatal server error: AddScreen/ScreenInit failed for driver 0 When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to . |
Author: | TDWagner [ Mon Jan 17, 2005 2:00 pm ] |
Post subject: | XF86Config-4 |
I don't know if you've solved this issue yet, but I was getting the same error until I changed the "Option" line from "fbdev" to "ivtv": Quote: Section "Device" Identifier "Hauppauge PVR 350 iTVC15 Framebuffer" Driver "ivtvdev" ### change fb1 to whatever number you got in the previous section Option "ivtv" "/dev/fb1" ### 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 "0:0x0c:0" EndSection I was almost ready to give up till I found this fix.....it really is beautiful once you get it working. It's worth the effort. Also, I had to use: Quote: options saa7127 enable_output=1 output_select=1
...in my /etc/myth/modules/ivtv to get anything at all to show up on the TV. Seems to depend on which 350 card you have though, so I'm not sure. Don't forget to run: update-modules ...if you do change it. |
Author: | brendan [ Tue Jan 18, 2005 1:17 pm ] |
Post subject: | Re: XF86Config-4 |
TDWagner wrote: Don't forget to run:
update-modules ...if you do change it. I've seen references to doing that after editing ivtv, as well as instructions for running `depmod -ae` instead. What's the difference? -brendan |
Author: | Xsecrets [ Tue Jan 18, 2005 4:53 pm ] |
Post subject: | |
update-modules is the "debian way" it is a debian specific utility. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |