View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Dec 12, 2005 6:57 pm 
Offline
Joined: Mon Dec 05, 2005 9:13 am
Posts: 3
Dear All,

I have been trying to gain a better picture on my Epia M10000 TV out, I have modified my “XF86Config-4” as follows and as a result I get a very sharp picture, but only with the menus on my Pal TV. However, when I start “Watch TV” I either get “Unable to initialize video” (If I have HW Xvmc VLD Decoding enabled) or if I disable HW Xvmc VLD Decoding, I just see a black screen with jumpy sound.

I did read some bits about Xvmc but found it mostly confussing.
I have read the following documents, but none of them reference Xvmc.
http://www.knoppmythwiki.org/index.php? ... Transition
http://www.knoppmythwiki.org/index.php?page=PalHowTo

Things done so far:
1) made sure BIOS loads TV only
2) made sure XF86Config-4 refers to monitor0 to load xvmc to TV first.

Do I need to recompile mplayer with an –enable-xvmc option? I saw this in a post a while ago.

I can switch back to the backup of XF86Config-4 and I see a picture. Does this imply an error in my file or does this mean I should add the resolutions to the xvmc config file? If so how?

Any help would be much appreciated.

Here is the XF86Config-4 file:

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
# PS/2 Mouse using /dev/input/mice in Kernel 2.6
# Serial Mouse not detected
InputDevice "USB Mouse" "CorePointer"
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 "dri"
Load "drm"
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" "gb"

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

# Auto-generated by KNOPPIX mkxf86config

Section "Monitor"
Identifier "Monitor0"
VendorName "PHL"
ModelName "TV-PAL"
HorizSync 24.0 - 80.0
VertRefresh 50.0 - 75.0
DisplaySize 300 225
Option "noddc"
Option "nodpms"
#ModeLine "720x480" 26.7 720 736 808 896 480 481 484 497
#ModeLine "720x576" 32.7 720 744 816 912 576 577 580 597
ModeLine "720x576o" 14.0625 720 760 800 900 576 600 615 625 -hsync -vsync interlace
ModeLine "720x576" 14.0625 720 760 800 900 576 580 600 625 -hsync -vsync interlace
ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497
ModeLine "856x480" 31.7 856 872 960 1064 480 481 484 497
ModeLine "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531
ModeLine "1280x768" 80.1 1280 1344 1480 1680 768 769 772 795
ModeLine "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087

EndSection


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"
Option "TVType" "PAL"
Option "DPMS" "false"
Option "TVOutput" "S-Video"
Option "ActiveDevice" "TV"
Option "EnableAGPDMA" "true"
Identifier "Card0"
# The following line is auto-generated by KNOPPIX mkxf86config
Driver "via"
VendorName "PHL"
BoardName "cle266"
Option "TVType" "PAL"
# BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16
SubSection "Display"
Viewport 0 0
Depth 24
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
# Modes "800x600"
# Modes "720x576"
Modes "720x576Noscale"
EndSubSection
SubSection "Display"
Depth 16
# Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
Modes "720x576"
Modes "720x576Noscale"

EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection


Thanks for Reading My Post!

Nzcarrick.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 7:41 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Perhaps a search of the forum? This issue was raised and address a few days ago...

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Dec 14, 2005 11:19 am 
Offline
Joined: Mon Dec 05, 2005 9:13 am
Posts: 3
Hi Cesman,
Apologies, ...it was under my nose all the time. :oops:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=7225&highlight=xvmc

Dear All,

I removed the comment marks from Load "glx" and Load "dri" as suggested and can confirm that /etc/X11/XvMCConfig contains the line
Code:
libviaXvMC.so.1


However I still have a problem, the "unable to initialize video" message has gone which is a step forward, but I now get a black screen instead of a picture, I can hear the programme in the background. I have spent a few hours today reading the fourms, "Black/Blank Screens" this is a popular topic of conversation.

I think I'm really close, but this is all new to me ...suggestions to point me on the right track would be a much appreciated. Until then I am going to Proceed as follows:

The BIOS is set to 64meg for AGP memory, and the BIOS screen output is set to TV only. When I Get home in a couple of hours I am going to go back in the BIOS and increase the AGP memory from 64MB to 128MB. The reason for this is I found the following errors in my /home/mythtv/.xsession-errors and found the following:

Code:
XvMC found and using VLD surface
2005-12-14 01:31:23.881 Using XV port 64
2005-12-14 01:31:24.795 Realtime priority would require SUID as root.
2005-12-14 01:31:24.926 Changing from None to WatchingLiveTV
2005-12-14 01:31:24.965 Video timing method: DRM
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
2005-12-14 01:31:38.897 prebuffering pause
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
2005-12-14 01:31:39.833 prebuffering pause
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  18
  Resource id:  0x80000e
2005-12-14 01:31:40.178 prebuffering pause
2005-12-14 01:31:40.586 Changing from WatchingLiveTV to None
2005-12-14 01:31:40.594 Changing from None to None
2005-12-14 01:32:59.828 Using protocol version 15
2005-12-14 01:33:04.103 Opening audio device '/dev/dsp'.
2005-12-14 01:33:04.103 Opening OSS audio device '/dev/dsp'.
2005-12-14 01:33:04.140 Using XV port 64
2005-12-14 01:33:04.946 Realtime priority would require SUID as root.
2005-12-14 01:33:05.000 Changing from None to WatchingLiveTV
2005-12-14 01:33:05.212 Video timing method: DRM
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  19
  Resource id:  0x0
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  19
  Resource id:  0x0
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  19
  Resource id:  0x0

<<< I have edited this so it does not clog the forum>>>

X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  19
  Resource id:  0x0
X Error: BadAlloc (insufficient resources for operation) 11
  Major opcode:  142
  Minor opcode:  19
  Resource id:  0x0
2005-12-14 01:33:20.176 Changing from WatchingLiveTV to None
2005-12-14 01:33:20.192 Changing from None to None
2005-12-14 01:50:41.203 Event socket closed. No connection to the backend.
X connection to :0.0 broken (explicit kill or server shutdown).
mythfrontend: Fatal IO error: client killed


It kind of makes sense to me because I have increased the resolution in /etc/X11/XF86Config-4 and if i want to use live TV at that higher resolution then it will require more resources.

Does anyone know if there any files that I need to edit to make Knoppmyth aware of the increase in Video Memory?

As always, great forum, and great software (its quite addictive) so thank you in advance!

Cheers Nzcarrick

VIA EPIA M10000 Nehemiah
Hauppauge Nova T (new model with antenna out)
TV out to PAL TV


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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