libera/#devuan/ Tuesday, 2022-04-05

systemdlete8I have a vx800 webcam (I know, it is crummy, but it has worked fine in the past) which is no longer working for me.   The led comes on and the system seems to detect it alright.   But zoom does not show me an image (that is, me).  Also, speaking does not seem to activate the audio in (the detector does not move when I speak)01:47
systemdlete8lsusb shows the cam01:47
systemdlete8I have an old version02:04
systemdlete8upgrading02:04
systemdletedifferent problem now.   I'm trying to use my usb cam/mic in vbox.   Host is beowulf, guest is beowulf.  (I'm aware I need to upgrade to chimaera soon.)   Running lsusb in the guest shows the webcam which is a MS VX800.  arecord -l shows the mic device and I can access the mic in, say, audacity.   But if I try to record, the line moves,04:08
systemdletebut no sound is recorded.   I've tried using arecord from the command line but nothing is saved to my wav file.04:08
systemdleteThe cam is also not working, but I am pretty sure it will once the sound is working; this usb device has worked before in devuan.   And I think it was beowulf/beowulf before (but not 100% sure).   Do I need to do something with an .asoundrc file or the alsa defaults in /etc?  Seems like I needed to in the past, but I don't remember now.04:10
systemdleteI want to make sure I haven't overlooked some devuan config issue before I go to the bowels of vbox forums for assistance.04:11
systemdleteI am NOT using pulse on the host or guest04:11
systemdletethe led on the cam does come on when attempting to record sound or use zoom.  It's just that I can't get video or the mic to work.04:13
gnarfacethis rings a bell, but i think it is something to do with vbox04:20
gnarfacewill it work on the host outside of vbox?04:21
gnarfacei seem to recall it's usually just a permissions issue... vbox needs access to alsa inside and outside the guest or something04:21
gnarfacevbox isn't something i know much about04:21
gnarfaceor it might be playing to some vbox internal dummy alsa that doesn't reach the host by default04:22
systemdleteYes, I think that could be right.   I don't remember.  This was working about 2 months ago then stopped.    Maybe due to a recent vbox upgrade or something else.  Not sure.04:22
gnarfaceugh, something else that rings a bell is needing to downgrade vbox to get around a systemd requirement04:23
systemdleteuh-oh.04:23
systemdleteRecently?04:23
gnarfaceno, not recently04:23
gnarfaceif it's that, it's not a new issue04:24
gnarfaceit's something that had been plaguing us for a few releases04:24
systemdleteThat's very possible actually.   idk.  In the past, there have been upgrades that broke  a few things, though not very often.04:24
gnarfacei might be getting vbox confused with a different one though too04:24
systemdletea few releases of devuan?  or vbox on devuan?04:24
gnarfacea few releases of devuan i mean04:24
systemdleteor just sound problems04:24
systemdleteoh, ok04:24
systemdleteI am running beowulf on both host and guest.04:25
gnarfacethis vbox issue i'm recalling is years old04:25
systemdleteAnd I am pretty sure I was running beowulf on both when it was working.   But again, I'm not sure.04:25
gnarfacethere's a trick to it, i wish i could remember more04:26
systemdleteIs this something to do with .asoundrc or the like?04:26
gnarfacei don't think it's only ~/.asoundrc04:26
systemdleteIstr that sometimes asoundrc has to be configured, but I forget if that's on the guest or the host (or both)04:26
gnarfacethough edits there might be part of making it easier04:26
gnarfacecheck to see what driver it is using for the soundcard inside the guest04:27
gnarfacethat might be a clue if it's something like "dummy"04:27
adhochas anyony put devuan onto recent lenovo SR5xx or SR6xx rackmount servers recently ?04:27
systemdletewhat's an easy way to check that gnarface?04:27
systemdletethere is a snd_seq_dummy04:29
systemdletelsmod shows that, not sure if that's the one you meant04:29
systemdletegnarface:  Here is something interesting.  When I run lsusb -v in the guest while the cam is attached to it, it shows the usual output, but it also shows 1 error per device "Couldn't open device, some information will be missing"04:35
gnarfacehmmm04:37
gnarfacewell, i can tell you snd_seq_dummy isn't loaded automatically here04:37
gnarfaceso it might be evidence that it is04:38
gnarfacesomeone who knows vbox should know this, i don't04:39
gnarfacebut yea that thing about some information missing might be a clue too04:39
gnarfacecould just be permissions, i'd check those first04:39
gnarfacebut there might be some audio routing thing too04:39
gnarfacethe user that runs vbox on the host in theory would need to be in the audio group afaik04:40
gnarfacebut in the guest you gotta make sure the user in the guest has permission too, and maybe that it's using the right driver?04:40
gnarfaceeh, my guesses are useless anyway04:40
systemdletesorry got disconnected for a moment04:46
systemdleteI'll check groups for user04:46
systemdlete(I don't remember this though)04:46
systemdleteso both host and guest users are members of audio on their respective systems.04:47
systemdletewhen you say permissions, do you mean on /dev/audio* or something else?04:47
systemdleteI am wondering if vbox has recently dropped support for alsa, or else are getting chummier with systemd or the like.04:49
systemdlete(it's possible)04:49
systemdleteThat would break a lot of things, so I wouldn't think they would be that bold.  But there is economy (for them) to use pulseaudio and other systemd friends in terms of support.04:50
systemdleteAt one point, they changed their startup scripts and broke startup for us non-systemd users.  They fixed that pretty quickly though.04:51
gnarfacesystemdlete: it's /dev/snd but afaik being in the audio group should take care of that05:25
gnarfacei wonder if there's a forum thread about vbox issues05:26
gnarfacewhich vbox are you using? i only see it in ascii jessie and ceres05:28
gnarfaceconsidering you said you're on beowulf, yea i'd suspect the vbox version05:28
gnarfacevbox is the same thing as virtualbox right?05:28
systemdleteyes, just saving some keystrokes05:35
systemdletevirtualbox aka vbox is available on all versions of devuan05:36
systemdletewell, I'm waiting to get some assistance.  I'm chatting with one user over in #vbox but they are useless.   All they want to do is barb devuan and twist my question.  So, it may be some time.05:37
systemdleteThe other possibility is that the thing is broken.  Maybe the LED still works.   I did bang it a few times, though I would think that being a solid state device it would be fairly resilient.05:38
systemdleteMaybe I'll try this on my test box.  I could try downgrading and changing some stuff around.  After all, that's what a test box is for.05:42
gnarfacei'd try it on the host machine or yea a clean test box05:59
gnarfaceeven without bugs, you would expect USB devices not to be able to access host hardware from inside the guest05:59
systemdlete?05:59
gnarfaceit's expected behavior, basic security06:00
systemdleteattaching USB devices to guests works quite well actually.   I have several USB ethernet adapters attached to VMs06:00
systemdleteThey all work.06:00
gnarfacethat's different because you're dedicating the ethernet device to the guest06:00
gnarfacebut in this case you're trying to play audio on the host motherboard; that breaches containment06:01
systemdleteThis device has worked in VMs previously.06:01
systemdleteI'm not saying you are wrong.06:01
gnarfacewell i have to assume you must have taken some steps06:01
systemdleteMaybe the devs have tightened up the kernel lately.  I see they have issued a lot of updates to the kernel in the past few weeks.06:02
gnarfacevmware has like, guest drivers you have to load06:02
systemdleteso does vbox06:02
gnarfacespecial guest drivers to give the guests access to the host06:02
systemdleteyep, same for vbox06:02
gnarfacei think qemu has some similar thing06:02
systemdletemostly for usb and some other features like shared folders06:02
gnarfaceit really could just be a regression in vbox, could you possibly get the older version?  pkginfo.devuan.org doesn't show a beowulf version...06:03
systemdleteI'm about to try that.  It will take me some time though.06:03
gnarface(and by "regression" i mean "feature")06:03
systemdleteNeed to shut down the VMs reinstall the old vbox, etc.   But first I want to see if it works on that machine.06:04
systemdleteactually you are right about the repos.   I've been manually downloading the updates from virtualbox.org.   Part of this is because I need to download them ahead of updates due to my routing here.06:05
systemdletegnarface:  Is it just how I have my systems configured, or has devuan gotten kinda fat lately?   I'm noticing some noticable delays at times, long disk syncs (I can see the disk LEDs running while the system slows way down)06:07
systemdleteI've tried hard to get rid of anything I don't use or don't need on all my systems, hosts and VMs.06:07
systemdleteI wonder if upstream has been force-feeding the software repos or something.06:08
systemdletebbl06:08
gnarfacesystemdlete: eh, hard to say. i haven't noticed any difference but i've put everything running newer kernels on SSD now07:04
gnarfaceand i'm not using much of the desktop stack in most places07:05
gnarfacei wouldn't be surprised if there have been changes to the way virtual memory is handled that's affecting disk traffic07:06
gnarfaceram usage after cold boot has definitely gone up with the newer stock kernels though07:08
gnarfacei think i'm seeing ~261MB on ceres07:09
gnarfacethere may be also some attempts to optimize for solid state storage that penalizes spinning platters07:10
gnarfaceworth looking into kernel parameters or config settings to turn it off maybe07:10
systemdletegnarface:  I forgot to try this on the host!   It works there.  So something is wrong with vbox's usb and or sound drivers10:23
systemdleteheading to the vbox forums...10:23
systemdletebut that is only on the testbox...  on the PC where I do most stuff, the host is seeing the device in lsusb, but alsa doesn't seem to see it10:25
systemdleteseems I have to install packages for uvc.  I do not recall having to do this in earlier versions of linux in order to use the vx800 cam...10:33
systemdletenvm.  That wasn't it.  Nothing to do with uvc.  Turns out I had pulseaudio installed on the testbox.   I am removing it now.10:53
systemdleteBut it does very clearly show that webcam works if pulseaudio is there, but not otherwise.10:54
systemdleteI tried apulse but I did not have much more luck with that10:54
systemdleteaplay -l does not show the webcam devices even though lsusb shows it is there -- on both workbox and testbox10:55
systemdletebut at least I now know that the webcam works at all; it is not broken10:56
ham5urgI debootstraped an unstable and installed task-gnome-desktop. Looks like it boots fine and when I mouse-click on the user, shown by GDM (I guess) I enter the password and the GUI-session try to start but hangs. What could be the prob.? How to debug the GDM?14:09
ham5urgI peeked into /var/log/gdm3/greeter.log14:11
ham5urgUnsupported maximum keycode 708, clipping. X11 cannot support keycodes above 255.14:12
ham5urgI doubt is is the keycode. It's a non fatal error14:22
Kingsyso I have a laptop with both intel and nvidia, what packages and config do I need to do to get it working as it should?14:22
ham5urggnome shell message: error starting x11 services: error fetching own systemd unit: no such proccess     -     gnome-shell mutter-CRITICAL failed to init x11 display unknown error14:25
ham5urgwhat kind of process does gnome expects?14:26
ham5urgKingsy, I would guess at least xserver-xorg-video-nvidia or xserver-xorg-video-nouveau14:28
Kingsynvidia-persistenced seems to have failed. E: Sub-process /usr/bin/dpkg returned an error code (1)14:29
Kingsyanything to wrry about? or should I just reboot?14:29
Kingsyspecifically installed nvidia-persistenced package post-installation script subprocess returned error exit status 114:31
gnarfacesystemdlete: note that the webcam mic will only show up under arecord since it is not also a playback device20:23
gnarfaceKingsy: i'm not sure if they ever fixed the problem where nvidia's opengl library can't be installed parallel to the mesa ones. last i checked you could only get either nvidia or everyone else's hardware acceleration working in parallel... however nvidia-persistenced has only been an intermittent dependency for whatever reason.  if it's doing this to you right now chances are the answer is to just uninstall it and20:28
gnarfaceignore it20:28

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!