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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130312/599f8572/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: mplayer-vdpau-settings Type: application/octet-stream Size: 2068 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130312/599f8572/attachment.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: nouveau-vdpau-output Type: application/octet-stream Size: 1977 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130312/599f8572/attachment-0001.obj> -------------- next part -------------- A non-text attachment was scrubbed... Name: demmio-results Type: application/octet-stream Size: 156 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20130312/599f8572/attachment-0002.obj>
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
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