/srv/irclogs.ubuntu.com/2021/05/16/#ubuntu.txt

basenodehow can i stream audio from windows to ubuntu?00:02
marcodiegomy laptop is not recording any sound from internal microphone. Ouput from "cat /proc/asound/card*/codec* | grep Codec " includes "Codec: Realtek ALC3221". How can I fix it?00:12
dTalbasenode: try ##windows00:12
basenodedTal: the linux part00:13
basenodei've done the windows part00:13
dTalwhat have you done on Windows00:14
dTalyou can't expect us to magically provide some software that fits with what you've done without telling us00:15
wyoungdTal: Are you telling us you haven't conferred to your crystal ball?00:20
oerheksfor recording audio, you might want the lame codecs for mp3, reboot after install00:22
marcodiegooerheks, I mean, I can't record from the built-in mic on my laptop00:23
basenodeit's not recording, it's streaming the audio feed from windows to ubuntu00:24
oerheksopen terminal: alsamixer # f6 choose soundcard and see if soem slider is down or MM muted00:24
oerhekssome prever pavucontrol, but standard should work00:25
basenodei was looking for solutions00:25
marcodiegooerheks, everything related to recording is topped on alsamixer00:25
marcodiegooerheks, pavucontrol doesn't fix it either00:26
marcodiegoI think it needs deeper tuning00:26
oerheksmaybe the wiki is a help https://wiki.ubuntu.com/DebuggingSoundProblems00:29
bumblefuzzso, I'm trying to cast to a chromecast using vlc from the CLI: `vlc --sout="#chromecast{ip=192.168.3.232}" /path/to/video/file.mkv`00:56
bumblefuzzand I'm getting the error: `main decoder error: cannot continue streaming due to errors with codec subt`00:56
bumblefuzzdoes anyone know how what this is or how to fix it?00:57
marcodiegooerheks, thanks!01:02
marcodiegooerheks, the same machine was working ok with ubuntu 12.04. So maybe it is a kernel regresion. Is there anyone you can recommend me to talk about this problem?01:03
=== k3yp- is now known as k3yp
oceanquakeHello all.  I'm running on 18.04 LTS, with a cryptoroot, has gone through lots of kernel updates with no issue.  Recently, some update run I did changed things so that instead of the Grub boot menu coming up, I get the command shell.  I've managed to figure out the incantations to boot at the shell, but unsure what steps to take to get the grub menu back again.  All the config seems to be correct under /boot .03:26
samianhi04:00
oceanquakeActually, what is happening is that I'm no longer getting the prompt from cryptomount and instead it just goes directly to the shell.  However, the insmods must be working as I'm able to to issue cryptomount -a without having to do any insmods.  The arguments to cryptomount look right.  Is there any way to get debugging output from grub before it drops into the shell, or once its in the shell?04:30
exportoceanquake: uh, is quiet in the boot params?04:54
oceanquakeexport: it is, but the issue seems to happen before loading linux04:55
exportooh, interesting... i've never used an encrypted root, my systems aren't usually public anyhow.04:55
exportis there an issue with the initrd or whatever ubuntu uses? i'd be curious if you could mount the encrypted partition and switch_root to it depending on how your initrd works.04:56
oceanquakeexport: I suspect it is some kind of bug with an updated grub as I just tried booting again and prefix and root seem to have the UUIDs of internal LVM volumes, but I think they should refer to the encrypted volume UUID04:57
exportoceanquake: possibly, id' try removing quiet and seeing what you see if anything, monitors might not even be up in time to see it unfortunately though.04:57
oceanquakeexport: never gets as far as loading the initrd; historically, the first thing I would see after the EFI splash screen goes aways is a prompt for the encrypted volume04:57
oceanquakeexport: I am able to load it manually, the issue is that it should have prompted me first for the encrypted volume password04:59
exportoceanquake: i don't even use efi so i'm not familiar with that process, but you could try to get the root system mounted and switch_root to it, then simply try and fix grub.04:59
exportif that doesn't work well you've nothing to lose anyways lol04:59
oceanquakeexport: I'm booted into the affected installation via manual incantations :)05:00
exportoceanquake: well poke around, see what is currently mounted, check fstab, and see what grub is doing in comparison to all that... seems interesting at least so not just a stupid bug, a stupid and interesting bug lol05:01
oceanquakeexport: I mean, when I'm booted (writing this now from the fully-booted system where this problem is occurring) I can't understand why this is occurring.  /etc/default/grub seems fine (I haven't changed it in literally years), nothing is going on with volume names that I can tell.05:03
exportoceanquake: i'd look at /boot/grub/grub.cfg or whatever your system uses, that'd be where the weird stuff is.05:04
exportpossibly look into what has changed between recent updates, if the initrd failed to generate and potentially if any scripts to auto-detect OSes or boot configurations.05:05
oceanquakeexport: I can manually do all the steps that grub should be doing (cryptomount, set root to the cryptovolume, provide the linux command with the right args, provide the initrd command the right args).  Just something is happening where cryptomount doesn't seem to be running where it normally does in the sequence.05:05
exportoceanquake: then id' look at grub.cfg for sure, that's where pretty much everything takes place for the loading of linux and initrd.05:06
exporti would assume the initrd is where all this happens though as well... you are here so grub clearly worked unless it didn't pass correct args to initrd or linux.05:07
oceanquakeexport: grub didn't perform the cryptomount automatically as it used to do.  I had to invoke it manually.05:07
oceanquakeand it worked when I invoked it manually05:08
oceanquakethis doesn't have anything to do with the initrd as the initrd loads just fine05:08
oceanquakeand switches over just fine05:08
exportoceanquake: so when you got dropped to the shell, you were in a grub rescue shell?05:08
exportand had the ability to mount filesystems?05:09
oceanquakeexport: yes05:09
exporti don't recall being able to mount a filesystem in grub... but at any rate you seem to be aware of what's going on.05:09
oceanquakeexport: well, I issued the cryptomount command, which did what it was supposed to, then I was able to set root=(crypto0) and go down the rest of the sequence manually05:10
exportoceanquake: so your grub is able to call cryptomount?05:10
oceanquakeexport: yes, works when I issue it manually.05:10
oceanquakeexport: but I shouldn't have to and didn't have to before.05:10
exportoceanquake: so configure grub.cfg lol05:11
oceanquakegrub.cfg looks as I would expect, but I didn't keep a backup of an older version so not sure if maybe something got screwed up in the upgrade.  it calls cryptomount in grub.cfg05:11
oceanquakeafter doing all the appropriate insmods that I would expect for the cryptomount command to succeed05:12
exportoceanquake: so what you called in the grub-rescue shell is exactly as you typed in grub.cfg?05:12
exportoceanquake: at this point the system is unbootable as it is, so you can make a backup of grub.cfg and simply play with it, if it works then it does, if not then do what you did to get here again.05:13
oceanquakeI didn't have to do any insmods in the rescue shell, I was able to straight away issue the cryptomount command and it worked.05:14
oceanquakeHmm, I see something.  grub.cfg does set the right root value but it was not set to that when I was in the rescue shell.  So it would seem grub.cfg may not be getting loaded.05:15
oceanquakeI should say, when I first ended up in the rescue shell.  I manually overrode it to boot.05:15
oceanquakeI'm going to see if I can pin to an older version of grub and see if it works.05:16
petrjhi, does ubuntu provide packages for all llvm projects that are in monorepo?05:41
lotuspsychjepetrj: apt-cache search your-package to see whats available for your ubuntu release05:46
petrjlotuspsychje: yup i tried but couldn't find llvm-libunwind. there is only libunwind8 which is an old HP libunwind, but not the llvm project (https://github.com/llvm/llvm-project/tree/main/libunwind/). other distros seem to provide it (e.g. https://pkgs.alpinelinux.org/package/edge/community/x86_64/llvm-libunwind)05:48
oceanquakeargh.  I didn't do something right when I messed with the grub version.  I am done with this for now.05:50
lotuspsychjepetrj: can you explain a bit more of your end goal, what are you trying to make work on ubuntu?05:56
petrjtrying to install llvm-libunwind. it's a library.05:57
petrj`sudo apt-file search libunwind* | grep llvm` confirms that there isn't a package available.05:57
lotuspsychjeyes i understand, but is there something that doesnt work without having llvm-libunwind?05:59
petrjit is a dependency of project i am working on. so looks like other packages are embedding it rather than having package-to-package dependency, which is why i was curious as why there isn't a standalone package which everyone could just depend on.06:01
lotuspsychje!info llvm-libunwind xenial06:05
ubottuPackage llvm-libunwind does not exist in xenial06:05
lotuspsychje!info llvm-libunwind trusty06:05
ubottuPackage llvm-libunwind does not exist in trusty06:05
lotuspsychjepetrj: maybe its built in another package or so?06:07
lotuspsychjepetrj: if you had errors of apt complaining or so, it would be easier for volunteers to trace whats going on exactly/missing a package or so06:09
petrj?06:11
petrjquestion about a missing package requires what trace now?06:11
lotuspsychjepetrj: im just saying it would be more handy, if you provide more details of your project and what it complaints about with the lack of llvm-libunwind06:13
petrji don't think it would help you in anyway unless you know what is being discussed. i will defer to someone who has more knowledge.06:16
blb4393hello, 'apt search gcc' shows 'gcc/focal,now 4:9.3.0-1ubuntu2 amd64 [installed]'. What 4: stands for?07:03
ducassepetrj: there's libunwind8 and libunwind-dev07:04
ducasseblb4393: it's the 'epoch'07:05
blb4393ducasse: right, so what does it exactly show?07:09
ducasseblb4393: see 'man deb-version'07:11
ducassethe developers need to make room for some rather satanic numbering schemes07:13
blb4393so, why 4: is needed in the gcc case? Was there any mistakes in the package numbering?07:16
ducassethe gcc versioning scheme has gone through a number of major changes from my knowledge07:16
ducasseas would be indicated by the '4:'07:17
blb4393right, so why gcc packages has that number and gcc-10 doesn't?07:19
rfmblb4393, gcc-10 is a new package series that started after whatever cataclysms caused the prior epochs to have to be incremented.07:24
ducassei can't tell you that, you need to ask the people responsible for packaging07:24
blb4393hm, it's 4:10.2.1-1 in debian sid07:28
ducassewhy are you concerned about this?07:29
blb4393i expected that question07:30
ducasseit's a fair question07:40
=== samian is now known as Samian
Samianwhen I click on a icon in the dock, preview windows of each instance appears. I'd like to hover the instances and the instances my mouse is on is maximized08:05
Samiancurrently, I click the icon, then click one of the preview windows, then that window appears. If it's the wrong window, I go back to the dock, click the icon again, and click another previewed window08:05
SamianI don't like doing that repeatedly08:05
Samianthe preview windows are so small that I can't tell which window is which08:06
Samianso I go through the above trial-and-error cycle until I find the window I want. It's annoying and slows productivity08:06
lotuspsychjeSamian: you can edit how your dock and animations behave in dconf-editor09:33
hannes_how can i force my cpu to always use a lower frequency with ubuntu 20.10? i have overheating issues. setting the powersave governor does not "stick"09:36
gdi2klooking to upgrade from 20.10 to 21.04 but I still don't see the Upgrade button when running update-manager -c. Is there another issue stopping upgrades now?10:09
RikMillsgdi2k: upgrades are currently disabled. not sure why now10:11
gdi2kRikMills, thanks, at least I'm not the only one. Will give it another shot next weekend10:14
Samianlotuspsychje I'm not finding dconf-editor any way to either increase the size of the preview windows or to bring the actual windows to the forefront upon mouse hovering over the corresponding preview window10:15
summonnerhannes_, how do you set it?10:24
hannes_summonner: seems confused PEBKAC. I now disabled the ondemand.service, set laptop-mode tools to always prefer "powersave" (which does not seem to do anything though) and now my "cpufreq-set" is not immediately forgotten again11:22
hannes_so it's fine altough utterly confusing11:22
hannes_no, actually the performance governor is back :(11:48
summonnerhttps://askubuntu.com/questions/1021748/set-cpu-governor-to-performance-in-18-0411:48
summonnerI've always used those commands and seems fine for me11:48
BluesKajHowdy folks12:30
Maikhi peeps12:31
hannes_installed cpupower-gui, set all cpus to powersave and low mhz. watching with cpufreq-info showed it being reset to performance (and the gui not even updating...)12:42
hannes_i'll uninstall laptop-mode-tools :(12:42
hannes_no idea what else might do the governor switches12:42
enychrrm my 21.04 test install upgraded and wants lots of packages no longer required12:48
enycas in 'autoremove' packages including btrfs putils and loads of libreoffice and java packages12:49
hannes_laptop-mode-tools uninstalled, rebooted, set powersave with cpupower-gui, checked with cpufreq-info, launched intense process, governor is back at performance :(12:52
currybullenis there any service i can enable so that SSH host keys are generated on boot if none are present? i have some VM images that i scrub the host keys from before using them, apparently for other distros i've relied on some mechanism that regenerates them13:01
currybullenor can openssh-server be configured to generate them when starting up if none are present?13:02
deadromhi13:41
deadromhow do I flush DNS caches in 18.04?13:41
deadromsystemd-resolve --flush-caches dod not help. machine got a new IP from router and responds to ping on the listed address, but ubuntu still resolves the old address13:46
tomreyndeadrom: "systemd-resolve --flush-caches" flushes the client side resolver cache. how is this related to "machine got a new IP from router and responds to ping on the listed address"?14:13
tomreyncan you describe the problem, which command you use to verify it? how things should be and how they actually are?14:15
* Samian karate chops his linux machine in half hiiiyaa14:17
Samianouch that hurt my hand14:17
deadromtomreyn: in the router it says: machine X is at 192....123. used to be at 111. 111 is still listed in "unused connections" but .123 is listed to be the current address it received just a moment ago when the machien booted and leased dhcp from the router. when I ping "machine name" from any machine on the subnet I get "machinename at .111 not reachable"14:19
deadromtomreyn: since the client is asked to resolve the name either client cache relies on a stale entry or the dns responds with a wrong reply14:20
tomreyndeadrom: i see. i assume the router is authoritative source for local dns then?14:24
tomreyndo you have a single dhcp server, or maybe more than that?14:24
deadromtomreyn: wouldn't know of any other. fairly regular setup, one FritzBox and couple client machines on the subnet14:25
tomreynwhen you directly ask the router about the current ip address, does it return the updated one (unlike the other systems on the lan)?14:25
deadromassigned fixed IPs by MAC in the FB. Right now I needed to get things done and simply killed the stale entry and put the machine back on its old IP, that worked immediately.14:26
deadromtomreyn: in its web interface the router lists the new IP as the current acitve14:26
tomreynmy guess would be that the DNS TTL had just not yet been passed when you tried to query it from other systems in your LAN14:27
deadrom(or did until I hammered everythign back to like it was)14:27
tomreynso they returned their local cached values14:27
deadromtomreyn: who calls TTL? router?14:27
deadromhence I flushed cache, but did not help14:27
tomreynTTL of the authoritative dns record, as defined by the authoritative dns host, i.e. your router14:27
tomreynyou flushed cache on one client, not the other clients which returned the the stale record14:28
tomreynanyways, doesn't seem like an ubuntu problem14:28
petrjmust be xubuntu's problem then :/14:29
rjwiiiHello ... Ubuntu 20.04 - latest updates ... I'm getting an update screen that says 604 MB is to be downloaded, but the update list is empty ... any ideas?14:31
tomreynrjwiii: can you take a scrrenshot, post that, close the window, then run    sudo apt update    in a temrinal and post the output of that, too?14:33
dsdeizhi all, how do i map Escape to another key?14:34
rjwiiitomreyn: Terminal output: https://paste.ubuntu.com/p/DHX4p4G69T/14:41
rjwiiitomreyn: Where do I "Paste" the screenshot?14:42
tomreynrjwiii: irgur.com is an option14:43
tomreyn!screenshot | rjwiii14:43
ubotturjwiii: Screenshots can be made with the [PrtScr] button. Want to show us a screenshot of your problem? Upload an image to http://imgur.com/ and link the created page here.14:43
tomreyni assume those two nvidia updates won't add up to 604 MB14:43
tomreynrjwiii: can you also show us which apt sources you have configured?   sudo grep -hEv '^([ ]*#.*)?$' /etc/apt/sources.list{,.d/*.list} 2>&1 | nc termbin.com 999914:44
=== lnxd9 is now known as lnxd
rjwiiitomreyn: Screenshot: https://imgur.com/a/MqDujah14:45
rjwiiitomreyn: output of command: https://termbin.com/673j214:47
rjwiiitomreyn: When I click on "Install Now" the install progress pops up momentarily then the Software Updater screen comes back looking the same.14:49
tomreynrjwiii: okay, this all looks good other than the weird GUI behaviour. can you run    update-manager -c    from a terminal and see whether anything is printed to the temrinal window?14:51
rjwiiitomreyn: nada on the terminal screen.14:52
tomreynrjwiii: can you also show    sudo apt upgrade -Vsy     and    apt list --installed | grep ',local\]$'14:54
tomreynrjwiii: whats the purpose of this system76-dev PPA?14:56
tomreynif you're using this with the same priority as ubuntu's main archives, it would replace several important ubuntu packages: https://launchpad.net/~system76-dev/+archive/ubuntu/stable?field.series_filter=focal14:58
rjwiiitomreyn: output of commands above: https://paste.ubuntu.com/p/PtkdvTgdnJ/14:58
tomreynthis is not really ubuntu14:58
tomreynmaybe it was at some point14:59
tomreyngood luck!14:59
rjwiiitomreyn: I bought this computer from System76. That repo updates System76's drivers & such.14:59
Maikrjwiii: maybe ask System76 for support then15:00
DJones 15:46
lotuspsychjeSamian: i think you need the value; /org/gnome/shell/extensions/dash-to-dock/click action16:18
Samianlotuspsychje,  the value?16:22
lotuspsychjeSamian: where you can choose the settings of your click action16:23
SamianI don't want to change the settings of my click action. I want to change the behavior of my mouse hover action--which is none right now16:24
SamianI want hovering over a preview window to bring that window to the forefront16:24
Samianthat's the behavior of windows 10, which unfortunately I cannot use because work requires me to use ubuntu16:25
lotuspsychjeSamian: maybe look into workspaces to dock extension, maybe you can ease or control your windows better there16:36
lotuspsychjeSamian: this is how i organize mine; https://imgur.com/a/GG8CsQp16:44
Samiandude that's eye candy!16:45
lotuspsychjetnx :p16:45
Samiananyway you can share your exact settings and wallpaper?16:45
lotuspsychjein #ubuntu-discuss sure Samian16:46
SamianI'm about to take a nap, but when I wake up I'll ask you about it!16:46
=== amosbird_ is now known as amosbird
erle-is it possible to install gnome-software-flatpak without snap?17:12
johnjayi'm not even sure you can install it without a browser erle-17:22
johnjayi searched it and it showed simply you click on a link apt://flatpak17:23
petrjdarn llvm-libunwind is missing from ubuntu.. it is available on gentoo and alpine but not ubuntu.17:34
petrji will have to compile it from llvm's source tree with my own code.17:34
petrjany chance i can summon a ginie or santa on this one so in future we don't forget to publish llvm-libunwind package?17:34
tomreynerle-: you probably mean gnome-software-plugin-flatpak ? it may differ on which ubuntu release you're running. https://flatpak.org/setup/Ubuntu/ has some instructions / information17:36
unixbsdI will remove systemd from Ubuntu. How shall I call this new distro?  UVUNTU ? is that fine for you?18:10
Maikunixbsd: as asked a couple of times before, it would really be appreciated if you take that kind of chatter over to #ubuntu-discuss18:12
Maikor to offtopic18:12
Maik!discuss18:13
ubottuWant to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks!18:13
McErroneousHi, are there any users of a Ubuntu EOL - release ?18:17
oerheksMcErroneous, i hope not, no support here for EOl releases18:18
MaikMcErroneous: why?18:18
oerheksmaybe there is a #ubuntu-eol channel?18:18
Maiknever seen that one tbh18:19
Maikand hi there oerheks18:19
oerheksone could use an EOL version, with the 'old-release' trick https://help.ubuntu.com/community/EOLUpgrades18:20
Maikthat's a long silence McErroneous :)18:20
oerheks* officially to update an EOL version to a supported one18:21
* McErroneous looks bored and feels lonely like a lonely fish, that is not moving with the pack. "Freedom is a way of saying 'i have a choice ...' "18:24
erle-tomreyn, johnjay the problem is that Ubuntu seems to force me to use snap if I want to use flatpak, while Debian doesn't18:42
NorthwoodsHi when sudo apt-get install php-imagick , it installs on my php version 8.0 however i need it on my php7.2 version , is there a command to prompt me asking for which version do i need this package18:45
Maikerle-: no one forces you, you are free to remove snap and use something else18:46
tomreynerle-: i'm afraid that's not something i can help with.18:46
erle-Maik, that was my expectation, I don't know why it installs snapd18:46
tomreynNorthwoods: while using ubuntu apt repositories, not third party ones, you'll be installing php and php extensions which are compatible18:48
Northwoodstomreyn, i have 2 version of php18:48
Northwoodsso by default it is installing it on 8.018:48
tomreynNorthwoods: php 8.-0 packages are only available for !ubuntu+118:49
tomreynwhich has a separate channel18:49
tomreyn* php 8.0 packages18:50
tomreyn!ubuntu+1 | Northwoods18:50
ubottuNorthwoods: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu+1. For testing and QA feedback and help, see #ubuntu-quality.18:50
Northwoodsok thanks18:50
babahi, can anyone tell me what is the command to block someone if private window is opened for the user.20:30
babai tried /ignore NickName20:31
bababut didn't work20:31
oerheksclose the private window, ofcourse20:32
oerheksthat would be /IGNORE case sensitive20:33
babaoerheks: it is not working, i am still getting messages20:41
jeremy31baba: If it isn't a registered user try /UMODE +R20:52
babajeremy31: thanks :)20:58
oerheksgood spot, jeremy3121:00
=== Funke is now known as ev
Samianhove23:42
Samianwhoops23:43
Samianfinally! I've configured ubuntu to switch windows based on mouse hover! https://www.loom.com/share/6ee7e9cf0052428499c8aaa594f8d00823:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!