Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ivtv: devel

Error when running xmame via PVR=350 tv-out + xv

 

 

ivtv devel RSS feed   Index | Next | Previous | View Threaded


danda at users

Jul 21, 2005, 3:02 AM

Post #1 of 6 (999 views)
Permalink
Error when running xmame via PVR=350 tv-out + xv

Okay, so if I try to run xmame from within mythgame, a blue box briefly
flashes on the screen and nothing happens. I can't figure out where
mythgame is hiding its logfile, and I've no idea why this is happening.
So now I'm running xmame directly from the command line.

If I run xmame without vidmod=1 ( xv ), then it starts, but is very
small on the tv screen. I would like it to run full screen, but the
fullscreen argument seems to have no effect.

If I run it with vidmod=1, then I get this output:

xmame.x11 -vidmod 1
GLINFO: loaded OpenGL library libGL.so.1!
GLINFO: loaded GLU library libGLU.so.1!
info: trying to parse: /usr/share/games/xmame/xmamerc
info: trying to parse: /home/mythtv/.xmame/xmamerc
info: trying to parse: /usr/share/games/xmame/xmame-x11rc
info: trying to parse: /home/mythtv/.xmame/xmame-x11rc
info: trying to parse: /usr/share/games/xmame/rc/pacmanrc
info: trying to parse: /home/mythtv/.xmame/rc/pacmanrc
xmame: could not open config files /home/mythtv/.lircrc and /etc/lircrc
xmame: No such file or directory
loading rom 0: pacman.6e
loading rom 1: pacman.6f
loading rom 2: pacman.6h
loading rom 3: pacman.6j
loading rom 4: pacman.5e
loading rom 5: pacman.5f
loading rom 6: 82s123.7f
loading rom 7: 82s126.4a
loading rom 8: 82s126.1m
loading rom 9: 82s126.3m
done
MIT-SHM & XV Extensions Available. trying to use.
Can't find a suitable RGB format - trying YUY2 instead.
YUY2 not available - trying YV12.
Error: XVimage is smaller then the requested size. (requested: 448x576,
got 448x480)
Unable to start video emulation

Any ideas?




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel[at]lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel


john.p.harvey at btinternet

Jul 21, 2005, 3:09 AM

Post #2 of 6 (975 views)
Permalink
Re: Error when running xmame via PVR=350 tv-out + xv [In reply to]

No idea yet but i will look into it soon. I may mail
you directly when i do since i've never run xmame
(yet).

I'll download it and build it over the next few days.

John
--- Dan Libby <danda[at]users.sourceforge.net> wrote:

> Okay, so if I try to run xmame from within mythgame,
> a blue box briefly
> flashes on the screen and nothing happens. I can't
> figure out where
> mythgame is hiding its logfile, and I've no idea why
> this is happening.
> So now I'm running xmame directly from the command
> line.
>
> If I run xmame without vidmod=1 ( xv ), then it
> starts, but is very
> small on the tv screen. I would like it to run full
> screen, but the
> fullscreen argument seems to have no effect.
>
> If I run it with vidmod=1, then I get this output:
>
> xmame.x11 -vidmod 1
> GLINFO: loaded OpenGL library libGL.so.1!
> GLINFO: loaded GLU library libGLU.so.1!
> info: trying to parse:
> /usr/share/games/xmame/xmamerc
> info: trying to parse: /home/mythtv/.xmame/xmamerc
> info: trying to parse:
> /usr/share/games/xmame/xmame-x11rc
> info: trying to parse:
> /home/mythtv/.xmame/xmame-x11rc
> info: trying to parse:
> /usr/share/games/xmame/rc/pacmanrc
> info: trying to parse:
> /home/mythtv/.xmame/rc/pacmanrc
> xmame: could not open config files
> /home/mythtv/.lircrc and /etc/lircrc
> xmame: No such file or directory
> loading rom 0: pacman.6e
> loading rom 1: pacman.6f
> loading rom 2: pacman.6h
> loading rom 3: pacman.6j
> loading rom 4: pacman.5e
> loading rom 5: pacman.5f
> loading rom 6: 82s123.7f
> loading rom 7: 82s126.4a
> loading rom 8: 82s126.1m
> loading rom 9: 82s126.3m
> done
> MIT-SHM & XV Extensions Available. trying to use.
> Can't find a suitable RGB format - trying YUY2
> instead.
> YUY2 not available - trying YV12.
> Error: XVimage is smaller then the requested size.
> (requested: 448x576,
> got 448x480)
> Unable to start video emulation
>
> Any ideas?
>
>
>
>
>
-------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux
> Migration Strategies
> from IBM. Find simple to follow Roadmaps,
> straightforward articles,
> informative Webcasts and more! Get everything you
> need to get up to
> speed, fast.
>
http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> ivtv-devel mailing list
> ivtv-devel[at]lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/ivtv-devel
>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel[at]lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel


mail01 at iarmst

Jul 21, 2005, 7:26 AM

Post #3 of 6 (984 views)
Permalink
Re: Error when running xmame via PVR=350 tv-out + xv [In reply to]

On Thursday 21 Jul 2005 11:02, Dan Libby wrote:
> Okay, so if I try to run xmame from within mythgame, a blue box briefly
> flashes on the screen and nothing happens. I can't figure out where
> mythgame is hiding its logfile, and I've no idea why this is happening.
> So now I'm running xmame directly from the command line.

> If I run xmame without vidmod=1 ( xv ), then it starts, but is very
> small on the tv screen. I would like it to run full screen, but the
> fullscreen argument seems to have no effect.

> If I run it with vidmod=1, then I get this output:
<snip>
> Error: XVimage is smaller then the requested size. (requested: 448x576,
> got 448x480)
> Unable to start video emulation

Are you using NTSC ? I'm using PAL and pacman runs okay, but some other games
fail with a similar error to you, such as the following...

Error: XVimage is smaller then the requested size. (requested: 448x640, got
448x576)

Speed isn't actually too bad. I've had some reasonably graphic intensive games
average 22fps on the PVR350 (compared to 59fps on my NVidia card). It's not
fast, but it's generally playable.

I don't know if this applies to all versions of xmame, but for 0.95 I had to
upgrade to version 0.10.5 of the X driver otherwise there was no video.

--
Ian


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel[at]lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel


danda at users

Jul 21, 2005, 12:49 PM

Post #4 of 6 (976 views)
Permalink
Re: Error when running xmame via PVR=350 tv-out + xv [In reply to]

Ian Armstrong wrote:

>>Error: XVimage is smaller then the requested size. (requested: 448x576,
>>got 448x480)
>>Unable to start video emulation
>>
>>
>
>Are you using NTSC ? I'm using PAL and pacman runs okay, but some other games
>fail with a similar error to you, such as the following...
>
>
Yes, I'm running NTSC. I noticed that 576 seems to be the magic number
for PAL.

>Error: XVimage is smaller then the requested size. (requested: 448x640, got
>448x576)
>
>Speed isn't actually too bad. I've had some reasonably graphic intensive games
>average 22fps on the PVR350 (compared to 59fps on my NVidia card). It's not
>fast, but it's generally playable.
>
>
Good to know. How fast is your CPU? My system is pretty slow -- AMD
Duron 700Mhz. So I've a feeling it may not be up to the task very well.

>I don't know if this applies to all versions of xmame, but for 0.95 I had to
>upgrade to version 0.10.5 of the X driver otherwise there was no video.
>
>
Okay, I'm still using 0.10.2.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
ivtv-devel mailing list
ivtv-devel[at]lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel


mail01 at iarmst

Jul 28, 2005, 1:00 PM

Post #5 of 6 (952 views)
Permalink
Re: Error when running xmame via PVR=350 tv-out + xv [In reply to]

On Thursday 21 Jul 2005 20:49, Dan Libby wrote:
> Ian Armstrong wrote:
> >>Error: XVimage is smaller then the requested size. (requested: 448x576,
> >>got 448x480)
> >>Unable to start video emulation
> >
> >Are you using NTSC ? I'm using PAL and pacman runs okay, but some other
> > games fail with a similar error to you, such as the following...
>
> Yes, I'm running NTSC. I noticed that 576 seems to be the magic number
> for PAL.

To stop this XVimage error, you need to add the option -noperfect-yuv to the
xmame command line. When xmame detects that yuv is being used for the
display, it automatically doubles the video resolution internally, which
unfortunately can make the image too large. Pacman has a vertical resolution
of 288 which then get doubled to 576. Though within the limits for PAL, it's
too large for NTSC. With the option -noperfect-yuv, xmame handles the video
1:1 internally. This means the video size is within limits & it also reduces
the CPU load, as all scaling is done by the PVR350. Any game which has a
native resolution greater than the PVR350 display resolution will still fail
though.

Unfortunately, with the currently available drivers the image will not look
nice & flicker badly due to the source resolution being so low. Some progress
has been made in this area & future drivers may be able to improve the image
quality.

> >Speed isn't actually too bad. I've had some reasonably graphic intensive
> > games average 22fps on the PVR350 (compared to 59fps on my NVidia card).
> > It's not fast, but it's generally playable.
>
> Good to know. How fast is your CPU? My system is pretty slow -- AMD
> Duron 700Mhz. So I've a feeling it may not be up to the task very well.

I use an Athlon XP 2100+, so it's quite a bit faster. However, using the
-noperfect-yuv gives a speed boost & with that option the games which
previously reached 22fps now claim to run at 39fps. Quite an improvement, and
a lot better than the 14fps without xv.

> >I don't know if this applies to all versions of xmame, but for 0.95 I had
> > to upgrade to version 0.10.5 of the X driver otherwise there was no
> > video.
>
> Okay, I'm still using 0.10.2.

If possible, you'll probably need to update to the latest ivtv drivers as well
to get the best results. Using 0.3.7a with the yuv patch John posted the
other day provide some considerable improvements in image quality.

--
Ian


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September
19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
ivtv-devel mailing list
ivtv-devel[at]lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel


nuffersp at yahoo

Jul 29, 2005, 11:32 AM

Post #6 of 6 (944 views)
Permalink
Re: Error when running xmame via PVR=350 tv-out + xv [In reply to]

I didn't think you could run mame through the PVR350(S-Video).

Any information you could share on the setup / configuration would be mostly appreciated.

Steve

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

ivtv devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.