Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 04-09-06, 08:57 PM   #1
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default driver 8578, geforce 6150, XvMC works but with errors

The 8578 driver is the first one with working XvMC on geforce 6150 chip. However there are some errors. See the xine 1.1.1 output:

video_out_xvmc: checking adaptor 0
video_out_xvmc: IDCTaccel 03
video_out_xvmc: using Xv port 354 from adaptor NV17 Video Texture
for hardware colorspace conversion and scaling
idct and motion compensation acceleration
With Overlay = 0; UnsignedIntra = 0.
video_out: thread created
libmpeg2: output port has XvMC capability
load_plugins: plugin mpeg2 will be used for video streamtype 00.
xine_play
NV-XVMC (WARN): failed to allocate AGP DMA bufferNV-XVMC (WARN): allocated framebuffer DMA buffer instead

libmpeg2: output port has XvMC capability
NV-XVMC (WARN): failed to allocate AGP DMA bufferNV-XVMC (WARN): allocated framebuffer DMA buffer insteadNV-XVMC (ERROR): Failed to unmap MPEG engine registersNV-XVMC (WARN): failed to allocate AGP DMA bufferNV-XVMC (WARN): allocated framebuffer DMA buffer instead
libmpeg2: output port has XvMC capability
load_plugins: plugin mpeg2 will be used for video streamtype 00.

NV-XVMC (ERROR): Failed to unmap MPEG engine registersNV-XVMC (WARN): failed to allocate AGP DMA bufferNV-XVMC (WARN): allocated framebuffer DMA buffer insteadplay_internal ...done
shutdown video
NV-XVMC (ERROR): Failed to unmap MPEG engine registers

I also see colorful garbage in video out window after loading xine which disappears when playback begins. Sometimes I also see garbage or black screen after pressing start/pause/stop button.

There is still no any deinterlacing in linux driver. Fast moving objects have combing/feathering on edges. Example of this ugly effect is here:
http://www.pcmag.com/encyclopedia_te...i=43070,00.asp
Nvidia could do deinterlacing internally in XvMCNVidia library just after HW decoding before picture reaches overlay window. Deinterlace settings could be available using Xv get/set attributes.

Inverted blue<->red yellow<->cyan colours on dvd menu highlight are still not fixed. Known Nvidia bug 182361 . I had this problem with geforce FX5200 and 6150 has it too. Probably all geforces have this bug but people usually do not know that the colours they see are inverted according to original one.

The acceleration for: MPEG1,H263,MPEG4 and chroma 4:2:2 4:4:4 is still missing.
Purevideo is still not available in Linux.

My config:
xine 1.1.1
kernel 2.6.16.2
AMD Athlon(tm) 64 Processor 3000+
xorg 6.9.0
XvMC 2.2
zbiggy is offline   Reply With Quote
Old 04-09-06, 09:05 PM   #2
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Please generate and post an nvidia-bug-report.log.

Also, does this only reproduce with xine, or can you reproduce it with mplayer as well? What kind of content are you playing to trigger this behavior?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 04-10-06, 05:15 PM   #3
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Quote:
Originally Posted by netllama
Please generate and post an nvidia-bug-report.log.

Also, does this only reproduce with xine, or can you reproduce it with mplayer as well? What kind of content are you playing to trigger this behavior?

Thanks,
Lonni
The nvidia-bug-report.log I posted here (it is used also for investigation of another bug) http://www.nvnews.net/vbulletin/show...5&postcount=42

I play many DVDs.
mplayer -vo xvmc -vc ffmpeg12mc dvd://
gmplayer -vo xvmc -vc ffmpeg12mc dvd://
xine -V xvmc -A alsa -f dvd://
xine -V xxmc -A alsa -f dvd://

common warnings for xine and mplayer:
NV-XVMC (WARN): failed to allocate AGP DMA buffer
NV-XVMC (WARN): allocated frame buffer DMA buffer instead

Geforce 6150 as an integrated graphics does not have AGP memory because it uses part of system main memory as video memory. So it looks from logical point of view that such messages can tell the truth.

mplayer specific:
NV-XVMC (WARN): failed to allocate subpicture in AGP memory
vo_xvmc::uninit surface_render[2].status=4

Comments here the same as above for common warnings.
I do not know how to understand uninit status so do not know if it is an error.

xine specific:
(ERROR): Failed to unmap MPEG engine registers

This one looks serious. It is repeatable all the time in xine.

MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team
CPU: Advanced Micro Devices (Family: 8, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
VIDEO: MPEG2 720x576 (aspect 3) 25,000 fps 9800,0 kbps (1225,0 kbyte/s)
vo_xvmc: X-Video extension 2.2
vo_xvmc: X-Video MotionCompensation Extension version 1.1
[ffmpeg] FFmpeg's libavcodec codec family
vd_ffmpeg: XVMC accelerated codec
Selected video codec: [ffmpeg12mc] vfm:ffmpeg (FFmpeg MPEG-1/2 (XvMC))
Checking audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
AF_pre: 48000Hz/2ch/s16le
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/s16le -> 48000Hz/2ch/s16le...
vd_ffmpeg: XVMC accelerated MPEG2
trying pixfmt=0
VDec: using MPEG1/2 Motion Compensation and IDCT as output csp (no 0)
VO: [xvmc] 720x576 => 1024x576 MPEG1/2 Motion Compensation and IDCT
vo_xvmc: Port 354 grabed
vo_xvmc: Found matching surface with id=54434449 on 354 port at 0 adapter
NV-XVMC (WARN): failed to allocate AGP DMA bufferNV-XVMC (WARN): allocated frame buffer DMA buffer instead
vo_xvmc: Allocated Direct Context
vo_xvmc: data_blocks allocated
vo_xvmc: mv_blocks allocated
vo_xvmc: Motion Compensation context allocated - 8 surfaces
vo_xvmc: idct=1 unsigned_intra=0
vo_xvmc: looking for OSD support
Subpicture id 0x34344149
vo_xvmc: OSD support by additional frontend rendering
NV-XVMC (WARN): failed to allocate subpicture in AGP memory
vo_xvmc::uninit surface_render[2].status=4

For mplayer and xine there is still no any deinterlacing in linux driver. Fast moving objects have combing/feathering on edges. Xine has some deinterlacing launched by [i] key but I think this effect is 100% software and creates jagged edges.

Inverted blue<->red yellow<->cyan colours can only be seen in xine with xxmc output. mplayer and xine's xvmc output does not display dvd menu so can not check.

The acceleration for: MPEG1,H263,MPEG4 and chroma 4:2:2 4:4:4 is still missing.
Purevideo is still not available in Linux. Via integrated graphics can do hw decoding of MPEG1/2/4 at more advanced VLD level in linux. Framebuffer driver is also provided for Via users. I would like to see these features in Nvidia linux driver too.
zbiggy is offline   Reply With Quote
Old 04-10-06, 05:45 PM   #4
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Quote:
Originally Posted by zbiggy
I also see colorful garbage in video out window after loading xine which disappears when playback begins. Sometimes I also see garbage or black screen after pressing start/pause/stop button.
I checked this. This happens when decoder is data starving when DVD-ROM is not spun up enough on beginning. When it is spinning at nominal speed everything is OK.
zbiggy is offline   Reply With Quote
Old 04-10-06, 06:38 PM   #5
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: driver 8578, geforce 6150, XvMC works but with errors

I'm not able to replicate the xvmc output that you're posting (with respect to the warnings).

Interlacing is currently known not to be available.

Are you experiencing functional problems with xvmc, or is your primary concern just the content of the output you posted?

The inverted colors is already a known bug.

I'm just trying to understand whether most (or all) of your items are enhancement requests, or if you're reporting a (new) bug?

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 04-11-06, 02:27 PM   #6
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Quote:
Originally Posted by netllama
I'm not able to replicate the xvmc output that you're posting (with respect to the warnings).
Do you have geforce 6150? This error can be specific to IGPs only as they do not have own RAM and use system one. The output I sent is striped one - removed audio, dvd disc and other log parts. Can post full log if it will help you.

Quote:
Originally Posted by netllama
Interlacing is currently known not to be available.

Are you experiencing functional problems with xvmc, or is your primary concern just the content of the output you posted?

The inverted colors is already a known bug.

I'm just trying to understand whether most (or all) of your items are enhancement requests, or if you're reporting a (new) bug?

Thanks,
Lonni
There is no functional problems with xvmc but warnings are telling me that there is something wrong (but not so critical) between driver and GPU.

The only one looking dangerous is in xine:

NV-XVMC (ERROR): Failed to unmap MPEG engine registers

This can lead to situation when after playing something unmapped MPEG engine will not be ready to play something else. This error appears at both output plugins: xxmc and xvmc. This happens after freeing XvMC context:

video_out_xxmc: Freeing up XvMC Context.
NV-XVMC (ERROR): Failed to unmap MPEG engine registers

Update:
NV-XVMC (WARN): failed to allocate subpicture in AGP memory
This error is not only limited to mplayer as I previously thought, with xine's xxmc plugin I also see it.

These errors/warnings are only informative - nothing wrong happens - XvMC works. But it looks the XvMC driver code needs some small fine tuning to avoid such messages.

At the end of first message I indeed recalled some popular video feature requests to make sure Nvidia remembers about them.
zbiggy is offline   Reply With Quote
Old 04-11-06, 02:56 PM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Yes, my testing was with a C51 GPU.

Thanks,
Lonni
netllama is offline   Reply With Quote
Old 04-11-06, 06:36 PM   #8
zbiggy
Registered User
 
Join Date: Sep 2002
Posts: 623
Default Re: driver 8578, geforce 6150, XvMC works but with errors

Do you have XVMC_DEBUG=2 enabled during tests of XvMC?
If not could you export XVMC_DEBUG=2 and repeat tests?

I've just turned it off and all errors/warnings disappeared.
zbiggy is offline   Reply With Quote

Old 04-12-06, 04:57 PM   #9
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: driver 8578, geforce 6150, XvMC works but with errors

I had been exporting the variable to 1, however with 2, I am seeing the warnings as well. I've opened bug 222895 for this issue.

Thanks,
Lonni
netllama is offline   Reply With Quote
Reply


Thread Tools

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nvidia GeForce 301.42 WHQL drivers DSC NVIDIA Windows Graphics Drivers 5 05-29-12 10:12 PM
Gnome3 with composite is very slow on Geforce FX 5200 with 173.14.31 driver Artox NVIDIA Linux 0 05-26-12 10:33 AM
Enhance Max Payne 3, Diablo III with GeForce R300 Drivers News Archived News Items 0 05-22-12 06:30 PM
Gainward Unleashes the Sexy GeForce GTX 670 Phantom Graphics Card, Also launches the News Archived News Items 0 05-10-12 09:28 AM
Download GeForce GTX 690 Beta Driver 301.34 Here - http://www.nvnews.net#driver MikeC Archived News Items 0 05-03-12 10:39 PM

All times are GMT -5. The time now is 02:40 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.