Ynnaf | Hey, I shall ask a very very basic question. Tho, nobody helps. Nor on ubuntu nor on mint. So I'm quite stuck and I don't know if it's because it's silly, or because nobody actually knows or spend 5sec explaining me :/ | 00:51 |
---|---|---|
Ynnaf | there it is : for adding this PPA https://launchpad.net/~oibaf/+archive/graphics-drivers is "sudo add-apt-repository ppa:oibaf/graphics-drivers" good or what ? I'm really not familiar with it :( | 00:51 |
DarkPlayer | Ynnaf: this command will add the repository to your sources.list | 00:54 |
DarkPlayer | Ynnaf: it will not directly install any packages | 00:54 |
Ynnaf | Coud you tell me where I am mistaking after it ? I'm doing a "apt-get update" | 00:55 |
Ynnaf | then | 00:55 |
DarkPlayer | Ynnaf: since this repository contains packages with the same name as the ones provided by ubuntu, they will replaced when you execute | 00:55 |
Ynnaf | I try to install th added package in the PPA, and fails to find it. | 00:55 |
DarkPlayer | sudo apt-get update | 00:55 |
DarkPlayer | sudo apt-get upgrade | 00:55 |
DarkPlayer | Ynnaf: which specific package do you want to install? | 00:56 |
Ynnaf | ho, necessarly upgrade for seeing the new packages ? | 00:56 |
DarkPlayer | Ynnaf: now, but it is necessary to upgrade from the original ubuntu packages to the ones in the ppa | 00:56 |
DarkPlayer | no* | 00:56 |
Ynnaf | I want to install libg3dvl-mesa | 00:57 |
DarkPlayer | Ynnaf: which ubuntu version are you using? | 00:57 |
Ynnaf | fa@i5 ~/Bureau $ uname -a | 00:58 |
Ynnaf | Linux i5 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux | 00:58 |
DarkPlayer | that is only the kernel version | 00:58 |
DarkPlayer | execute cat /etc/os-release | grep VERSION | 00:58 |
Ynnaf | Well I'm on mint15, dunno what the version of the ubuntu base :/ | 00:58 |
Ynnaf | VERSION="13.04, Raring Ringtail" | 00:58 |
Ynnaf | VERSION_ID="13.04" | 00:58 |
DarkPlayer | Ynnaf: the packages in this PPA are only for Saucy | 00:59 |
Ynnaf | Ho no ! :/ | 00:59 |
DarkPlayer | that is the reason why you can not use / install them | 00:59 |
Ynnaf | I so like you giving me this answer. Even if I hate me losing a hour on that. | 01:00 |
Ynnaf | The reason why I wanted this is actually this error "Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory" | 01:01 |
DarkPlayer | Ynnaf: you may be able to build the packages on your own, but i am not sure if this is a good idea since the grpahic stack (xorg, mesa, ...) changes a lot between ubuntu/mint versions | 01:01 |
Ynnaf | well I don't want to fo too far in this. I'm not very familiar with the graphics stacks :'( | 01:02 |
Ynnaf | *go | 01:02 |
DarkPlayer | Ynnaf: the regular VDPAU support for radeon cards btw is only available since kernel 3.10 | 01:06 |
DarkPlayer | Ynnaf: i am not sure if you would also need a more recent kernel or if this package tries to solve the problem differently | 01:08 |
Ynnaf | well | 01:08 |
Ynnaf | I don't know either | 01:08 |
Ynnaf | I'm so stuck é_è | 01:08 |
Ynnaf | aherm | 01:08 |
Ynnaf | well, maybe I'll just avoid this specific software. (I wish everyone was on archlinux rolling release, I'll not have to face 80 different error on each station :( ) | 01:10 |
DarkPlayer | Ynnaf: which program do you have problems with? | 01:11 |
Ynnaf | mplayer, I'm trying to import VHS videos ^^ | 01:12 |
Ynnaf | Well, I coud maybe do it from another linux in a virtualbox ? :o | 01:12 |
DarkPlayer | well, vdpau is only for accelerating video output/decoding so it is not really necessary | 01:12 |
Ynnaf | are you sure about this ? I Mean everything work but | 01:13 |
Ynnaf | I don't get any sound | 01:13 |
DarkPlayer | vdpau is for video and not sound ^^ | 01:13 |
Ynnaf | Andgetting this error about VDPAU may have turned my mind to say "this is the cause" | 01:13 |
Ynnaf | well | 01:13 |
Ynnaf | that is even more disturbing | 01:13 |
DarkPlayer | does your sound work in other applications ? | 01:14 |
Ynnaf | yeah perfectly | 01:14 |
Ynnaf | yeah perfectly | 01:14 |
DarkPlayer | you say you want to import VHS videos, mplayer can only play content, do you instead mean mencoder ? | 01:15 |
Ynnaf | mplayer and mencoder are using the same engine, tho | 01:16 |
Ynnaf | the problem is when I import the video, i can't get the sound | 01:16 |
DarkPlayer | yeah, but there is a difference if there is no sound during the recoding or during the playback of the recorded file | 01:17 |
Ynnaf | in the two case, no video | 01:17 |
Ynnaf | tried the two of them | 01:17 |
Ynnaf | tho, doing it on video is a way to find why there is no sound faster, right ? | 01:17 |
DarkPlayer | <Ynnaf> in the two case, no video <-- you mean sound? | 01:18 |
Ynnaf | yeah, sorry :/ | 01:18 |
DarkPlayer | what is your mplayer command line ? | 01:19 |
Ynnaf | there is the command & output if you know ho it work ; http://pastebin.com/btwqEjdB | 01:20 |
Ynnaf | *how | 01:20 |
Ynnaf | well | 01:20 |
Ynnaf | I could have removed all the "brightness=0:contrast=-7:hue=0:saturation=0:width=720:height=576:device=/dev/video0:norm=PAL-BG:input=2:fps=25.000:alsa:adevice=hw.0,2,0", I added a lot without doing what I wanted. Only giving the driver works... | 01:21 |
DarkPlayer | i think your problem is "Audio: no sound" | 01:22 |
Ynnaf | exacly | 01:22 |
Ynnaf | But how to trace that ? :( | 01:22 |
Ynnaf | maybe another driver ? | 01:23 |
Ynnaf | what about "Selected input hasn't got a tuner!" ? | 01:23 |
DarkPlayer | try: | 01:25 |
DarkPlayer | mplayer -tv driver=v4l2:brightness=0:contrast=-7:hue=0:saturation=0:width=720:height=576:device=/dev/video0:norm=PAL-BG:input=2:fps=25.000:alsa:adevice=hw.0:forceaudio:immediatemode=0 tv://MPlayer2 | 01:25 |
Ynnaf | strange | 01:27 |
Ynnaf | "Error opening audio: Device or resource busy | 01:27 |
Ynnaf | " | 01:27 |
Ynnaf | also, when I redo my first try it works without problem | 01:28 |
DarkPlayer | yeah because the audio device is not used at all | 01:28 |
DarkPlayer | you need to specify forceaudio if you want to record from a separate device | 01:28 |
Ynnaf | it is not a serparated device oO | 01:28 |
Ynnaf | evrything is on the same USB coming from a numeric/analogic converter | 01:29 |
DarkPlayer | though mplayer does not detect it as a single one | 01:29 |
Ynnaf | I even got (dunno why) sound at a time. Even if it was scratchy as hell. Now I just get "no sound" | 01:30 |
Ynnaf | "mplayer -tv driver=v4l2:forceaudio tv://" don't seem to do sound | 01:30 |
DarkPlayer | try this one: | 01:31 |
DarkPlayer | mplayer -tv driver=v4l2:brightness=0:contrast=-7:hue=0:saturation=0:width=720:height=576:device=/dev/video0:norm=PAL-BG:input=2:fps=25.000:alsa:adevice=hw.0,2,0:forceaudio:immediatemode=0 tv://MPlayer2 | 01:31 |
DarkPlayer | i accidentally stripped out the exact alsa subdevice in my previous cmdline | 01:32 |
Ynnaf | well | 01:32 |
Ynnaf | you can trash all, you know. | 01:32 |
Ynnaf | "mplayer -tv tv://" is enought to make it work x) | 01:32 |
Ynnaf | without sound | 01:32 |
Ynnaf | Herh | 01:33 |
Ynnaf | no sound either | 01:33 |
Ynnaf | well, maybe it's a lost cause. | 01:34 |
DarkPlayer | are you sure that adevice=hw.0,2,0 is the correct subdevice? | 01:34 |
Ynnaf | No i'm not | 01:34 |
Ynnaf | x) | 01:34 |
Ynnaf | How can I list the subdevices ? | 01:34 |
DarkPlayer | arecord -l | 01:35 |
Ynnaf | (I tried several way, tho I have not that much experience :/) | 01:35 |
DarkPlayer | this should list all recording devices | 01:35 |
Ynnaf | Ok, i want this one : carte 2: G1 [Terratec G1], périphérique 0: USB Audio [USB Audio] | 01:36 |
Ynnaf | Sous-périphériques: 0/1 | 01:36 |
Ynnaf | Sous-périphérique #0: subdevice #0 | 01:36 |
Ynnaf | is that hw.2,0,0 ? | 01:37 |
DarkPlayer | you should then try: | 01:37 |
DarkPlayer | mplayer -tv driver=v4l2:brightness=0:contrast=-7:hue=0:saturation=0:width=720:height=576:device=/dev/video0:norm=PAL-BG:input=2:fps=25.000:alsa:adevice=hw.2:forceaudio:immediatemode=0 tv://MPlayer2 | 01:37 |
Ynnaf | Error opening audio: Device or resource busy | 01:37 |
DarkPlayer | yeah it seems that another device is currently using this one | 01:38 |
DarkPlayer | another program* | 01:38 |
Ynnaf | ho | 01:38 |
Ynnaf | making "immediatemode=1" it works | 01:38 |
Ynnaf | tho | 01:38 |
Ynnaf | without sound | 01:38 |
Ynnaf | I'll try to see pulseaudio if the sound is set | 01:39 |
Ynnaf | no wait | 01:39 |
Ynnaf | "no sound" is written before | 01:39 |
DarkPlayer | Ynnaf: you may find the program which is using the sound device with: | 01:43 |
DarkPlayer | lsof /dev/snd/* | 01:43 |
Ynnaf | pulseaudi 1863 fa mem CHR 116,10 11341 /dev/snd/pcmC2D0c | 01:45 |
Ynnaf | pulseaudi 1863 fa mem CHR 116,4 532 /dev/snd/pcmC0D0c | 01:45 |
Ynnaf | pulseaudi 1863 fa mem CHR 116,3 531 /dev/snd/pcmC0D0p | 01:45 |
Ynnaf | pulseaudi 1863 fa 24u CHR 116,6 0t0 534 /dev/snd/controlC0 | 01:45 |
Ynnaf | pulseaudi 1863 fa 29u CHR 116,6 0t0 534 /dev/snd/controlC0 | 01:45 |
Ynnaf | pulseaudi 1863 fa 30u CHR 116,6 0t0 534 /dev/snd/controlC0 | 01:45 |
Ynnaf | pulseaudi 1863 fa 31u CHR 116,6 0t0 534 /dev/snd/controlC0 | 01:45 |
Ynnaf | pulseaudi 1863 fa 36u CHR 116,11 0t0 11342 /dev/snd/controlC2 | 01:45 |
Ynnaf | pulseaudi 1863 fa 37u CHR 116,3 0t0 531 /dev/snd/pcmC0D0p | 01:45 |
Ynnaf | pulseaudi 1863 fa 45u CHR 116,4 0t0 532 /dev/snd/pcmC0D0c | 01:45 |
Ynnaf | pulseaudi 1863 fa 46u CHR 116,10 0t0 11341 /dev/snd/pcmC2D0c | 01:45 |
Ynnaf | Oops | 01:45 |
Ynnaf | should have used pastbin | 01:45 |
Ynnaf | I don't get it | 01:46 |
Ynnaf | the device is /dev/video0 | 01:46 |
Ynnaf | No one is using it | 01:46 |
Ynnaf | seem it can't access the thing for video and sound at the same time | 01:46 |
Ynnaf | how odd. | 01:47 |
DarkPlayer | Ynnaf: the audio device is | 01:47 |
DarkPlayer | /dev/snd/controlC2 | 01:47 |
DarkPlayer | /dev/snd/pcmC2D0c | 01:47 |
Ynnaf | ho ! | 01:47 |
Ynnaf | So maybe | 01:47 |
Ynnaf | Should I just kill pulseaudio and use alsa for the importation process ? | 01:47 |
Ynnaf | when I don't specify alsa it says "Unable to open 'hw.2': No such file or directory | 01:49 |
Ynnaf | " when I do "Error opening audio: Device or resource busy | 01:49 |
Ynnaf | " :O Let kill pulseaudio, then. | 01:49 |
DarkPlayer | pulseaudio will automatically restart | 01:49 |
Ynnaf | you are right :/ | 01:50 |
Ynnaf | In /etc/pulse/client.conf, you can uncomment the line autospawn=yes and | 01:50 |
Ynnaf | to "no" | 01:50 |
DarkPlayer | echo autospawn=no > ~/.pulse/client.conf | 01:50 |
Ynnaf | well o/ | 01:50 |
Ynnaf | That is faster :D | 01:50 |
DarkPlayer | this will only disable it for your current user | 01:50 |
DarkPlayer | but you should remove the filter later | 01:50 |
DarkPlayer | file* | 01:51 |
DarkPlayer | otherwise you will only be able to play sound in one program | 01:51 |
Ynnaf | ok | 01:52 |
Ynnaf | (ho | 01:52 |
Ynnaf | (you sure about that ?) | 01:52 |
DarkPlayer | yes | 01:52 |
Ynnaf | (I tho pulseaudio was just a mixer for sound and input/output management) | 01:52 |
DarkPlayer | pulseaudio does software mixing for sound cards which do not support hardware mixing, which is the majority | 01:53 |
Ynnaf | ho | 01:53 |
Ynnaf | thanks for the story o/ | 01:53 |
Ynnaf | the command seem to run but | 01:54 |
Ynnaf | I'm not sure if there is actually sound | 01:54 |
Ynnaf | Maybe alsa isn't outputing in the right place | 01:54 |
DarkPlayer | that is possible | 01:54 |
Ynnaf | well | 01:54 |
DarkPlayer | take a look at | 01:54 |
DarkPlayer | aplay -l | 01:54 |
DarkPlayer | for the output devices | 01:54 |
Ynnaf | **** Liste des Périphériques Matériels PLAYBACK **** | 01:55 |
Ynnaf | carte 0: PCH [HDA Intel PCH], périphérique 0: ALC887-VD Analog [ALC887-VD Analog] | 01:55 |
Ynnaf | Sous-périphériques: 0/1 | 01:55 |
Ynnaf | Sous-périphérique #0: subdevice #0 | 01:55 |
Ynnaf | carte 1: Generic [HD-Audio Generic], périphérique 3: HDMI 0 [HDMI 0] | 01:55 |
Ynnaf | Sous-périphériques: 1/1 | 01:55 |
Ynnaf | Sous-périphérique #0: subdevice #0 | 01:55 |
Ynnaf | ho | 01:55 |
Ynnaf | well ho do I chose ? | 01:55 |
Ynnaf | *how | 01:55 |
DarkPlayer | are you using hdmi for playback? | 01:55 |
Ynnaf | I'm pretty sure not, but I'll check for knowing what is. | 01:57 |
DarkPlayer | try: | 01:57 |
DarkPlayer | mplayer -tv driver=v4l2:brightness=0:contrast=-7:hue=0:saturation=0:width=720:height=576:device=/dev/video0:norm=PAL-BG:input=2:fps=25.000:alsa:adevice=hw.2:forceaudio:immediatemode=0 -ao alsa:device=hw.0 tv://MPlayer2 | 01:57 |
DarkPlayer | Ynnaf: may also be possible that your input source is simply muted | 01:59 |
DarkPlayer | execute: | 02:00 |
DarkPlayer | alsamixer | 02:00 |
DarkPlayer | press F6 and select the correct audio device | 02:00 |
DarkPlayer | then press F4 to switch to recording | 02:00 |
DarkPlayer | and check the volume of the record devices | 02:00 |
Ynnaf | ho | 02:00 |
Ynnaf | I though it has no importance what card was selected, because it didn't changed anything to move alsamixer values when pulseaudio was there. | 02:01 |
Ynnaf | "this device has no lecture command" it only has in "capture" | 02:01 |
DarkPlayer | then change to record first with F4 | 02:02 |
Ynnaf | yup | 02:02 |
DarkPlayer | is the recording device volume not muted and on 100% ? | 02:03 |
Ynnaf | It's on 100 | 02:03 |
Ynnaf | muted ? | 02:03 |
Ynnaf | how do I know ? | 02:03 |
DarkPlayer | is there a big "M" ? | 02:04 |
Ynnaf | nope | 02:04 |
DarkPlayer | okay | 02:04 |
DarkPlayer | go to your playback device | 02:04 |
DarkPlayer | and switch back to playback | 02:04 |
DarkPlayer | check whether there is something muted or volume is set very low | 02:05 |
Ynnaf | shesh. It had to work :/ | 02:06 |
Ynnaf | I'll try to register it, tho, we never know >< | 02:07 |
Ynnaf | Mah | 02:13 |
Ynnaf | when I got the saved file | 02:13 |
Ynnaf | there is no audio channel in the video | 02:14 |
Ynnaf | (in fact there is on named "0", and empty | 02:14 |
Ynnaf | The problem is here | 02:16 |
Ynnaf | v4l2: get audio format: 9 | 02:16 |
Ynnaf | ==> Found audio stream: 0 | 02:16 |
Ynnaf | v4l2: get audio samplerate: 48000 | 02:16 |
Ynnaf | v4l2: get audio samplesize: 2 | 02:16 |
Ynnaf | v4l2: get audio channels: 2 | 02:16 |
DarkPlayer | doesn't look like an error to me | 02:17 |
DarkPlayer | the id of the stream is simply 0 | 02:17 |
Ynnaf | the fact it is empty is a problem, right ? x) | 02:17 |
Ynnaf | ho | 02:17 |
Ynnaf | wait | 02:17 |
Ynnaf | his description is empy | 02:17 |
Ynnaf | mmmmmh | 02:17 |
Ynnaf | well | 02:18 |
Ynnaf | Maybe i'll just launch pulse | 02:18 |
Ynnaf | gross. | 02:19 |
Ynnaf | Nothing | 02:19 |
Ynnaf | <Ynnaf> ==> Found audio stream: 0 | 02:19 |
Ynnaf | It doesn't mean "I found nothing" ? | 02:19 |
DarkPlayer | well since this is quite offtopic here, you may better ask the guys in #mplayer which have more experience with recording from alsa / v4l devices | 02:19 |
DarkPlayer | i think it is just stream 0 | 02:20 |
Ynnaf | I guess so | 02:20 |
DarkPlayer | otherwise it wouldn't have a samplerate | 02:20 |
Ynnaf | Well thanks a lot. I'm maybe not out of this, but still I'll understand a bit better how it work. Even if 3am is a bit hard for me. It takes sooooo much more time than expected é_è | 02:21 |
saiarcot895 | I'm getting a weird error when building flightgear in my PPA. I have flightgear set to depend on libsimgear-dev, which then depends on the most recent versions of libsimgearcore2.99.0 and libsimgearscene2.99.0. However, apt is refusing to install libsimgear-dev because libsimgearscene2.99.0 is not going to be installed. I don't think it's a dependency problem because I have the same three packages installed on my system. Any help? | 02:55 |
=== jalcine- is now known as jalcine | ||
=== jalcine- is now known as jalcine | ||
voldyman | hey guys, can i get all the bugs marked fix released for a specific project from launchpad api using curl ? (i plan to use go lang to write a bot) | 17:46 |
dobey | voldyman: searchBugs(status='Fix Released') on the project object; it's in the API docs | 17:52 |
voldyman | dobey: but i can't use launchpadlib since the bot will be in go-lang | 17:53 |
dobey | voldyman: yes, you will have to follow the API docs to create something in go. | 17:54 |
voldyman | dobey: ok, i'll try to cook something up | 17:55 |
=== chrysn_ is now known as chrysn | ||
mwhudson | voldyman: have you seen https://launchpad.net/lpad ? | 20:18 |
voldyman | mwhudson: nope, thats exactly what i needed. thanks a lot. | 20:19 |
dobey | oh yeah. there is that. i forgot gustavo wrote a thing for go already | 20:19 |
dch | hey, I’m trying to push my first bzr (branch? project?) to lp. And I’m completely lost, what does `No such product series` actually mean? | 20:42 |
dobey | where are you trying to push to? | 20:44 |
dch | I’m sure I need to set up some branch or sth remotely first. | 20:47 |
dobey | you can just push any bzr branch to lp:~username/+junk/branchname | 20:48 |
dch | dobey: some details first. end goal is a daily build off the master branch of couchdb, which is in git. | 20:48 |
dch | I’ve set up a mirror which pulls git -> bzr (yay) https://code.launchpad.net/~couchdb/couchdb/master | 20:49 |
dobey | couchdb git probably can't be imported to launchpad currently | 20:49 |
dch | dobey: it does work :-) | 20:49 |
dch | my next task is to push the package branch that contains only the /debian/ bits needed. | 20:49 |
dch | I’ve tried a bunch of variations on `bzr push lp: couchdb/couchdb/packaging` with that above error. | 20:50 |
dobey | then push it to lp:~couchdb/couchdb/packaging-dailies | 20:50 |
dobey | if you want ~couchdb to owne it | 20:50 |
dch | dobey: the idea I had was to separate out changes required for the packaging, from the original source. The last patches I had to review were thousands of lines of a single diff, if there’s a better way to achieve keeping upstream source & .deb packaging info separate please tell me. | 20:51 |
dch | dobey: hmm them I got myself confused. | 20:51 |
dch | https://code.launchpad.net/couchdb/ seems not to have any branches. | 20:51 |
dobey | persons and teams begin with tildes | 20:52 |
dobey | dch: i see 4 | 20:52 |
dobey | and you didn't need to set up a different master | 20:53 |
dobey | oh, the existing import was from svn.apache.org | 20:53 |
dch | dobey: I see 4 branches but they’re not under “couchdb” they are elsewhere. I wanted to make sure we have one that is owned/managed by the same group, if that makes sense. | 20:54 |
dch | dobey: yup, thats the reason for a new one. | 20:54 |
dobey | dch: yes they are under couchdb. you're confusing the project name with the team name | 20:54 |
dch | ok, so I’ll try pushing to ~couchdb, get this working as you suggested dobey - tyvm! | 20:54 |
dch | I have a bzr-builder working partially already so I’m feeling pretty chirpy atm :D | 20:55 |
dch | final question, is it possible to get lp to run a standard `bootstrap && ./configure —stuff && make … ` or is that not the right way to do things? | 20:56 |
dch | I’m a bit lost how I should go from git (or a release tarball) to a nice tidy package. | 20:57 |
dobey | how something is built in a debian package, is defined by debian/rules | 20:57 |
dobey | dch: look at the existing couchdb packaging data that's in ubuntu, and adapt that to work for git, where needed | 20:58 |
dch | dobey: ok, I’ve been tidying stuff up in there but it doesn’t all fit together mentally for me yet. Now I have the branch pushed I can try testing stuff and maybe enlightenment will strike. | 21:00 |
dch | thanks for your help, I have the branch pushed so life should be easier now! | 21:00 |
dobey | please don't do test builds of couchdb live on launchpad. it will eat up the resources pretty badly | 21:01 |
dch | dobey: I’m doing them on a personal server, with bzr-builder. What actually triggers the build then? | 21:06 |
dobey | get it bilding locally first with bzr dailydeb and pbuilder or sbuild. | 21:07 |
dch | in lp, I mean. | 21:07 |
dobey | oh, i thought you were setting up an lp recipe for daily bilds | 21:07 |
dobey | builds | 21:07 |
dch | dobey: that’s the end goal, yup. But first I want to have the git source (done), a separate /debian/ patches repo (under way) so that future changes are not a weekend reading nightmare. | 21:11 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!