* vdpau problems and logging
@ 2013-03-12 19:18 Steven Ward
[not found] ` <CADXEQv8Ta0dUCeUxP4P5uJyNrfJ8qMfCvoXCF_7H0FAQpqtbEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Steven Ward @ 2013-03-12 19:18 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1.1: Type: text/plain, Size: 1194 bytes --]
Dear all,
I'm writing about setup vdpau firmware with the nouveau
driver according to this page:
http://nouveau.freedesktop.org/wiki/NVC0_Firmware I have installed the
nvidia-313 binary drver to attempt to extract the firmware. I have
obtained another mmiotrace using my default kernel I have installed on
my Chakra Distrobution. I have used the instructions on the wiki
page.
I had some mixed results using the instructions. I didn't get anywhere
with using the demmio from rnn in envytools, but I have got some
output using the demmio command.
I will be uploading the output in different files. I did only once get
lucky with the last instructions, valgrind , but I can't seem to get any
more "vuc" files. I hae saved the ones I have and put them into
"/lib/firmware/nouveau" and I have copied them into my external hardrive.
I have tried playing a .mkv video which I know it works with the 313
binary driver.
I know it doesn't work with the nouveau driver and the "vuc" files I
extracted.
I will upload all the output I have created In tar.xz format attached
to a series of e-mails.
Regards,
Steve555
[-- Attachment #1.2: Type: text/html, Size: 2081 bytes --]
[-- Attachment #2: mplayer-vdpau-settings --]
[-- Type: application/octet-stream, Size: 2069 bytes --]
mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, file:///home/steve/Videos/Devil-May-Cry-The-Anime-complete-OST-MKV-Dual-Audio/DeMaCr02-Highway-Star.mkv
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
Cannot open file '/root/.mplayer/input.conf': No such file or directory
Failed to open /root/.mplayer/input.conf.
Playing file:///home/steve/Videos/Devil-May-Cry-The-Anime-complete-OST-MKV-Dual-Audio/DeMaCr02-Highway-Star.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang eng
[mkv] Track ID 3: audio (A_AAC), -aid 1, -alang jpn
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Detected file format: Matroska
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
AO: [pulse] Init failed: Connection refused
[AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[AO_ALSA] Playback open error: No such file or directory
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
[JACK] cannot open server
[AO SDL] Samplerate: 48000Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: pcm_hw.c:1293:(snd_pcm_hw_open) open '/dev/snd/pcmC0D0p' failed (-2): No such file or directory
[AO_ALSA] alsa-lib: pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[AO SDL] Unable to open audio: No available audio device
AO: [null] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VIDEO: 720x400 23.976 fps 0.0 kbps ( 0.0 kB/s)
VO: [vdpau] 720x400 => 720x400 H.264 VDPAU acceleration
[vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
A:1471.2 V:1470.8 A-V: -0.000 ct: 0.000 0/ 0 0% 0% 0.4% 2 0
[-- Attachment #3: nouveau-vdpau-output --]
[-- Type: application/octet-stream, Size: 1978 bytes --]
[steve@mernivia Devil-May-Cry-The-Anime-complete-OST-MKV-Dual-Audio]$ mplayer -vc ffmpeg12vdpau,ffh264vdpau,ffwmv3vdpau,ffvc1vdpau,ffodivxvdpau, file:///home/steve/Videos/Devil-May-Cry-The-Anime-complete-OST-MKV-Dual-Audio/DeMaCr02-Highway-Star.mkv
MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team
Cannot open file '/home/steve/.mplayer/input.conf': No such file or directory
Failed to open /home/steve/.mplayer/input.conf.
Playing file:///home/steve/Videos/Devil-May-Cry-The-Anime-complete-OST-MKV-Dual-Audio/DeMaCr02-Highway-Star.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AAC), -aid 0, -alang eng
[mkv] Track ID 3: audio (A_AAC), -aid 1, -alang jpn
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Detected file format: Matroska
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[ass] auto-open
Forced video codec: ffmpeg12vdpau
Forced video codec: ffh264vdpau
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration) [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VIDEO: 720x400 23.976 fps 0.0 kbps ( 0.0 kB/s)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
[h264_vdpau @ 0x7f1ce1900bc0]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x7f1ce1900bc0]ff_MPV_common_init() failed.
[h264_vdpau @ 0x7f1ce1900bc0]decode_slice_header error
[h264_vdpau @ 0x7f1ce1900bc0]no frame!
Error while decoding frame!
FATAL: Could not initialize video filters (-vf) or video output (-vo
[-- Attachment #4: demmio-results --]
[-- Type: application/octet-stream, Size: 157 bytes --]
[0] 6411.592003 MMIO32 W 0x084110 0x003c7600 PBSP.XFER_EXT_BASE <= 0x3c760000
[0] 6412.151558 MMIO32 W 0x086110 0x003c6e00 PPPP.XFER_EXT_BASE <= 0x3c6e0000
[-- Attachment #5: Type: text/plain, Size: 181 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
http://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vdpau problems and logging
[not found] ` <CADXEQv8Ta0dUCeUxP4P5uJyNrfJ8qMfCvoXCF_7H0FAQpqtbEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-03-12 21:22 ` Maarten Lankhorst
0 siblings, 0 replies; 3+ messages in thread
From: Maarten Lankhorst @ 2013-03-12 21:22 UTC (permalink / raw)
To: Steven Ward; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Hey,
\
Op 12-03-13 20:18, Steven Ward schreef:
> Dear all,
> I'm writing about setup vdpau firmware with the nouveau
> driver according to this page:
>
> http://nouveau.freedesktop.org/wiki/NVC0_Firmware I have installed the
> nvidia-313 binary drver to attempt to extract the firmware. I have
> obtained another mmiotrace using my default kernel I have installed on
> my Chakra Distrobution. I have used the instructions on the wiki
> page.
>
>
> I had some mixed results using the instructions. I didn't get anywhere
> with using the demmio from rnn in envytools, but I have got some
> output using the demmio command.
>
> I will be uploading the output in different files. I did only once get
> lucky with the last instructions, valgrind , but I can't seem to get any
> more "vuc" files. I hae saved the ones I have and put them into
> "/lib/firmware/nouveau" and I have copied them into my external hardrive.
>
> I have tried playing a .mkv video which I know it works with the 313
> binary driver.
> I know it doesn't work with the nouveau driver and the "vuc" files I
> extracted.
>
> I will upload all the output I have created In tar.xz format attached
> to a series of e-mails.
>
Are you on an ancient xserver-xorg-video-nouveau by any chance? Anything from
2012 or later should be good enough, it's commit d575a28a502 that tells it to
load libvdpau_nouveau.so instead of nvidia. You might need to update libvdpau too.
The vuc files are probably ok, but it's not going to work without the kernel firmware files.
The ones I'm getting are:
vuc-h264-0 vuc-mpeg12-0 vuc-mpeg4-0 vuc-mpeg4-1 vuc-vc1-0 vuc-vc1-1 vuc-vc1-2
This is enough for all codecs, but it will just fail later on without userspace codecs. It should
attempt to create the kernel stuff first, which it doesn't from what I can tell from your logs.
~Maarten
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: vdpau problems and logging
[not found] ` <CADXEQv9sMiwwzdbdi13TvX_S6sWyfSjejrBd2w7y-5pEp3CkDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2013-03-14 9:56 ` Maarten Lankhorst
0 siblings, 0 replies; 3+ messages in thread
From: Maarten Lankhorst @ 2013-03-14 9:56 UTC (permalink / raw)
To: Steven Ward; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
Op 14-03-13 10:47, Steven Ward schreef:
> Hi Maarten,
> I'm sure I have downloaded and installed the latest
> libvdpau firmware from git.. I will check the git repository for Mesa and
> re-compile it again. I will invoke the git version of Mesa with "nvgl" when
> I start the video players again.
Are you sure it's picking up the right vdpau_nouveau though? Maybe your distro has one in path, you could try strace to see where it gets libvdpau_nouveau.so from.
> The way I got the mmiotradce is this: I downloaded and installed the 313
> blob for my Chakra default kernel " sudo pacman -S nvidia"
>
> I rebooted back to the desktop. I then logged out and ended up at KDM. I
> then selected "console login" from the KDM settings there. When I got a
> prompt, I pressed "Alt+Ctrl+F3"
> to get myself to "tty 3" it was the only way to get there with my Chakra
> installation,as I've tried to invoke "init 3" from the advanced kernel
> options with no success.
>
> Anyway, I invoked " su" my password,then "sudo echo mmiotrace >
> /sys/kernel/debug/tracing/current_tracer *return*
>
> Then I ran " sudo cat /sys/kernel/debug/tracing/trace_pipe 2>&1 ¦ tee
> /home/steve/video-dump.txt & startx" Then X started up and I saw the
> nvidia logo flash as well.
>
> I then went onto konsole and ran the mplayer command string with the mkv
> file from beginning to end (the video was roughly 24 minutes) After the
> video had finished and had caught a trace. I logged back out again,and
> stopped the mmiotrace from the tty 3 console.
>
You don't need to play an actual video, just having mplayer initialize video is enough.
The nvidia module must be unloaded before you start your mmiotrace, easiest is to ssh into the machine.
The script I'm using for mmiotrace is:
http://people.freedesktop.org/~mlankhorst/mmiotrace-nvidia.sh
Connect to the machine with ssh, make sure your display manager is stopped, and nvidia module is unloaded,
then run the script and in the shell it spawns, type:
/usr/bin/X :0
sleep 5 # if you copy paste, give it some time to init, if not just skip this and wait 5 seconds
DISPLAY=:0 envytools/vdpow/mmt_ufw
# check if it returns any errors like unable to connect to display, if not you're good
exit 0
The mmiotrace should be in /tmp/current_trace.txt now, and have all the kernel firmwares you need.
~Maarten
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-03-14 9:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-12 19:18 vdpau problems and logging Steven Ward
[not found] ` <CADXEQv8Ta0dUCeUxP4P5uJyNrfJ8qMfCvoXCF_7H0FAQpqtbEw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-12 21:22 ` Maarten Lankhorst
[not found] <CADXEQv_oL6zh4mzpWsd-gH5fcm05vCothJe-CsT0O11kBwzfag@mail.gmail.com>
[not found] ` <514170D3.90102@canonical.com>
[not found] ` <CADXEQv9sMiwwzdbdi13TvX_S6sWyfSjejrBd2w7y-5pEp3CkDg@mail.gmail.com>
[not found] ` <CADXEQv9sMiwwzdbdi13TvX_S6sWyfSjejrBd2w7y-5pEp3CkDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-03-14 9:56 ` Maarten Lankhorst
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.