From: Maarten Lankhorst <maarten.lankhorst-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
To: Steven Ward <nightcast2000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: vdpau problems and logging
Date: Thu, 14 Mar 2013 10:56:59 +0100 [thread overview]
Message-ID: <51419EEB.4010806@canonical.com> (raw)
In-Reply-To: <CADXEQv9sMiwwzdbdi13TvX_S6sWyfSjejrBd2w7y-5pEp3CkDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
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
next parent reply other threads:[~2013-03-14 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51419EEB.4010806@canonical.com \
--to=maarten.lankhorst-z7wlfzj8ewms+fvcfc7uqw@public.gmane.org \
--cc=nightcast2000-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.