=== halvors1 is now known as halvors === Etua1 is now known as Etua [01:02] How can I use Console to see if there's an update for Stellarium === megoix9 is now known as megoix [01:05] RadSurfer: if you take a look at https://launchpad.net/ubuntu/+source/stellarium you'll see the package has never had an update in any of the currently-supported ubuntu releases [01:06] RadSurfer: probably there's no one from the community tending to the stellarium package, so it's unlikely you'll get updates to it [01:06] (yeah yeah past performance is no guarantee of future performance and all, but it'd be unlikely, I think) [01:06] Windows is moving ahead! No fair! [01:07] There must be a console command I can issue to check if the repositories has an update, or at least report latest version for, Stellarium. [01:07] apt-get update && apt-cache show stellarium [01:08] sudo... [01:10] RadSurfer: if you want a version of stellarium that isn't tied to the distribution release, someone has packaged it as a snap https://snapcraft.io/stellarium-daily [01:10] test [01:10] shinobi: pong [01:10] not found of snaps [01:10] they released a version december 30, so they do more updates than our imports from debian [01:10] Anyone running polari? I can't see the chats. I can message users though. [01:12] { stellarium/focal,now 0.19.3-1build1 amd64 [installed] } === alystair2 is now known as alystair === denningsrogue9 is now known as denningsrogue === CyberBurn is now known as OICU812 === denningsrogue8 is now known as denningsrogue [02:02] Hi all. I recently upgraded my webdev rig from 18.04 to 20.04. I'm having a major issue with mariadb. It keeps crashing. This is a typical error log, logging between the latest start and crash: https://pastebin.ubuntu.com/p/qNyJNFccQ8/ [02:04] It's kinda odd. I can't really see why the server is crashing. It returns errors on some db tables... but I don't see why a table with errors should crash the server itself. === zbenjamin_ is now known as zbenjamin === de-facto_ is now known as de-facto === BrianG61UK_ is now known as BrianG61UK === hacxman is now known as hexo [03:41] Hi i have a question, if i have a physical ubuntu server, how do i migrate it to aws ec2? [03:51] leumashm: you might wanna visit #ubuntu-server to meet the server volunteers === Ascavasaion is now known as MichelleIwannaHu === MichelleIwannaHu is now known as Michelle18Humphu === Michelle18Humphu is now known as Ascavasaion === khfeng_ is now known as khfeng [04:29] Actually, going off of @leumashm's question, can I back up an EC2 instance to something (like a local file) so I could restore it elsewhere? [04:33] I'll also go to #ubuntu-server. Just wondering if anyone knew some dd | ssh magic. === keiser0 is now known as keiser [05:30] Hi guys I can't find this path on Ubuntu 20.04 (need to patch something).. "usr/share/alsa-card-profile/mixer/paths/" does anyone knoe where the alsa-card-profiles folder resides in ubuntu 20.04? [05:33] nvm found it [05:42] Hello. Sorry if this question is strange but is there a way to completely disable the "Software Updater" thing on 20.04? Often I need to use apt but I am locked out because of it. [05:42] Or any other workarounds are welcome. [05:46] ksynwa, does it update automatically? [05:47] Not on its own but it shown me that updates are available. Sauvin [05:48] I setup a new Ubuntu 18.04 droplet on DigitalOcean and I cannot for the life of me SSH into it... I am using Putty and right after I type my username it says "No supported authentication methods available (server sent: publickey)" ... I have tried every solution I could think of searching for on Google [05:48] ForceMultiplier, I think there's a #digitalocean on OFTC. [05:49] whats OFTC? [05:49] An IRC net, like Freenode. [05:51] Regardless, I don't think its an issue with DO [05:52] its a basic ubuntu 18.04 install [05:54] my /etc/ssh/ssh_config and sshd_config both say "PasswordAuthentication Yes" [05:58] any advice how to get sounds to work on Ubuntu 20.04 LTS when using Dell XPS 17 (9700) [06:00] ForceMultiplier, I think you can access your droplet from a web interface. [06:00] Sauvin, correct, thats how I know whats in the ssh config files [06:01] Is that password authentication line uncommented? [06:03] yes [06:04] Have you made any changes at all to those configs since installing ubuntu on that droplet? [06:04] other than change it from No to Yes, no [06:05] Did you then restart sshd? [06:05] yes [06:06] What OS are you using to ssh to the droplet from? [06:06] Win10 [06:07] I just figured it out, none of the DO articles or google results had this [06:07] What did you find? [06:07] there was a line that said "AuthenticationMethods publickey" in sshd_config [06:10] changed that to just say password [06:10] You'll need to figure out how to generate public and private keys from Windows and how to copy the PUBLIC key to your DO in ~/.ssh. [06:10] You're OK with making a brute force attack easier? [06:11] ;) i had this all working on my old DO droplet [06:11] not sure why it didnt like my keys [06:11] but i'll figure that out later [06:12] Yeah, can't help with Windows or with Putty. [06:13] no problem, appreciated [06:35] I am trying to install 32 bit graphic drivers for AMD on Ubuntu 20.04 following the instructions here: https://github.com/lutris/docs/blob/master/InstallingDrivers.md#amd--intel [06:36] When I try to `sudo apt install libgl1-mesa-dri:i386`, I get this error message: https://paste.ubuntu.com/p/bT4jKfjRZp/plain/ [06:36] https://paste.ubuntu.com/p/bT4jKfjRZp [06:36] Any idea if there is something I can do about this? I don't know much about apt/ [07:05] Hi i have a question, if i have a physical ubuntu server, how do i migrate it to aws ec2? [07:06] Is that a VM on VPS? [07:06] or is that like an LXC [07:06] i use clonezilla to migrate vms between real and virtual [07:51] ksynwa: that will probably not work, aiui 32-bit is unsupprted now [07:53] Sauvin: just a comment to the conversation above, putty generates keys in a differet format than openssh expects, they need to be converted [07:54] ducasse, I had feared as much. Something about running pems through some kind of food processor. [07:55] putty has support for converting them, though [07:55] Hi all is it possible to have synaptic / software installer pull from a iso image mounted as cd instead of the internet? [07:56] Sure is! [07:56] Wait... I misread that. CD, yes. Image, not sure. [07:57] an image should behave like a real cd for all apt knows [07:57] Sauvin, I don't have a cd drive, which is why I need to do a iso image mounted as a cd. [07:57] or dvd [07:58] nmatrix, synaptic is a GUI front end to apt, which is itself a front end to dpkg. I'm seeing if I can find something in /etc/apt/sources.list to suggest what you're after. [07:59] nmatrix: https://techpiezo.com/linux/use-iso-image-as-cd-rom-repository-in-ubuntu/ [08:00] ducasse nice, that looks like exactly what I was looking for. [08:00] * Sauvin was still reading a man page! Wah! [08:35] how do I rewrite all URLs that start with with /wp/ to / ? [08:39] in a file you mean? === billybigrigger8 is now known as billybigrigger === themattbeballin is now known as WARBIRD199 === denningsrogue6 is now known as denningsrogue === Antioch04 is now known as Antioch0 [08:42] Hello, if mdadm --detail shows a disk was removed how can I identify which disk was removed exactly? Dmesg or syslog? [09:13] Normal user makes configuration changes in his own user space . But those configurations don't change and save. [09:16] Guest34954: his home dir permissions might be screwed up [09:16] sudo find ~ ! -user $USER [09:17] this user is not in sudoer file [09:17] Guest34954: dont you have sudo? [09:17] sudo works weird here. [09:18] how do you mean? [09:19] EriC^^, Does this have anything to do with user group settings? [09:19] Guest34954: not likely [09:20] EriC^^, this user is not in sudoer file. [09:20] Guest34954: dont you have sudo access yourself? to troubleshoot it better === Etua1 is now known as Etua [09:20] No, I don't. [09:21] I created this normal user account for myself. [09:21] And usually I login to system as a normal useer. [09:22] Guest34954: try find ~ ! -user $USER [09:23] EriC^^, find: “/home/pip/.cache/dconf”: Permission Denied [09:24] Guest34954: you need to use a sudo enabled account to reset the user permissions [09:27] Guest34954: sudo chown -R pip: /home/pip [09:33] I installed Pinta, a paint-like program for Linux, and while installing, I saw that it depends on mono which depends on, among other things, ca-certificates-mono. I ended up with 138 new root CA certificates installed, via the ca-certificates package and its apt hooks/triggers. Is this normal?? [09:33] Why should mono be allowed to override my entire damn certificate store? I recognise many of those certificates, I already had them.. [09:58] I'm having no luck with my mariadb bug. How can I remove everything related to mariadb, including all the settings, but keep the databases? [10:15] bobdobbs: apt-get remove --purge, I think [10:15] bobdobbs: oh, don't know if that leaves the databases [10:15] bobdobbs: you can just copy the directories with the databases [10:16] in plain ordinary Ubuntu, is there an easy way to switch which audio output you're using? [10:25] gordonjcp, "apt-get remove --purge", try sudo apt purge dudes, which always works for me [10:25] bobdobbs: mmight as well export your databases first, either through cli or with a tool like MySQL workbench (should work with MariaDB) [10:28] that is if you want to remove the packages and keep the config files [10:34] just in case you listening i got that all backwards so apt purge will purge all and not keep configs and apt remove will keep configs === cjoke_ is now known as cjoke [11:45] Hi all === msalvatore_ is now known as msalvatore [11:47] welcome DiogoConstantino [11:48] thank you [11:49] how can we help you today DiogoConstantino ? [11:50] On which chat for an ID card reader question on ubuntu? [11:52] !ask | Sbur3 [11:52] Sbur3: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [11:53] I installed eid-viewer and eid-mw. sometimes, the light on the card reader blinks, but no access to the inserted ID card [11:54] Frustrating. What is the simples way to just run a script or command or anything in a sandbox with blacklisted defaults, without making a system wide or user-wide profile. [11:54] Sbur3: you need the FF addon too, reboot and put your card in your reader before starting FF [11:55] lotuspsychje: FF? [11:55] firefox [11:56] lotuspsychje: Oh, I'm not that up on shortcuts. Thx [11:56] Sbur3: beid-mozilla-extension eid-archive eid-mw eid-viewer [11:57] already gone lotuspsychje [11:57] impatient i guess [11:57] or rebooting :p [12:02] Is there a way to do OCR to a PDF containing an image of the text? Preferably one allowing batch jobs. === vlm_ is now known as vlm [12:05] Found already one: https://codepre.com/how-to-convert-scanned-pdf-to-text-searchable-pdf-on-ubuntu-install-ocrmypdf-on-ubuntu.html [12:30] Jeremy31, linux-modules-nvidia-460-generic-hwe-20.04 ## does has dependencies on linux-image-5.8.0-38-generic linux-modules-5.8.0-38-generic linux-modules-nvidia-460-5.8.0-38-generic nvidia-kernel-common-460 [12:33] coconut: I thought that only 440 hwe was installed before [12:34] true [12:36] but the 440 does the same === rud0lf is now known as Flowergirl42 === Flowergirl42 is now known as rud0lf === rud0lf is now known as rudolf === rudolf is now known as rud0l === rud0l is now known as rud0lf === remy is now known as Remy [13:33] i have Hexchat twice in my startup menu. Hexchat (env) and Hexchat (Hexchat) <-- any idea why? how do i remove the (env) one? [13:48] Hollusion_: it's probably 2 .desktop files, try "ls /usr/share/applications | grep -i hexchat" === khfeng_ is now known as khfeng === sammyg is now known as lusrx [14:34] this should be easy, I am on ubuntu-mate 20.04 where is the conf file for video settings, I get as far as login with video but since I switched this box form a HDMI TV to an older VGA flatscreen with a HDMI to VGA adapter, I just want to change the name of file or dir so I can get a default settings [14:35] TL:DR I am good until I log into gnome I need to get default video settings [14:40] user video conf file ubuntu-mate? [14:41] !patience | tuxtoolman [14:41] tuxtoolman: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [14:42] hi, i want to create a script that uses a webcam to detect which window i'm looking at in my dual monitor set up and autofocuses it. does anyone know of an existing project that works on this problem? [14:44] @lotuspsycje, just trying to simplify the question & remove cruft [14:44] @amalgameate https://roytuts.com/real-time-eye-detection-in-webcam-using-python-3/ [14:46] Mava42: did you solve, what was the issue (out of curiosity)? [14:50] @tuxtoolman ty! [14:57] EriC^^, io.github.Hexchat.desktop [14:57] your command returned only a single file [14:58] i can start both hexchat entries in my menu and they look different [14:58] the (hexchat) one is using my window manager color theme settings [14:58] Hollusion_: anything in ~/.local/share/applications? [14:58] the (env) on does not [14:59] nothing with hexchat in there [15:00] one has this command "env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/hexchat_hexchat.desktop /snap/bin/hexchat %U" [15:01] the other has "hexchat --existing %U" [15:01] sudo snap remove hexchat [15:01] did the trick :D [15:12] How do you view what your hostname appears like on IRC [15:14] agvantibo66, /whois agvantibo66 [15:14] Thanks! [15:18] Any tips to speed up systemd boot on 20.04? [15:18] agvantibo66: you mean just to boot system faster? [15:19] Yep [15:19] agvantibo66: sudo apt install preload haveged stacer [15:20] I'm familiar with preload and stacer, but what's haveged [15:20] agvantibo66: then reboot and start tweak your systemd services with stacer, tweak your startup items in gnome [15:20] !info haveged [15:20] haveged (source: haveged): Linux entropy source using the HAVEGE algorithm. In component universe, is extra. Version 1.9.1-6ubuntu1 (focal), package size 27 kB, installed size 77 kB (Only available for linux-any) [15:22] lotuspsychje thanks, I've just read about it, seems like it's a fallback entropy generator for times when the random and urandom fail [15:23] Am I right? [15:25] agvantibo66: the most speed you will get from tweaking your services and startup items [15:25] I have Ubuntu Desktop and it's graphic driver "vmsvga" is not installed automatically [15:25] how can I install it? I tried auto install command but it complains it's missing some virtual box packages [15:26] monsterco, download vbox web additions [15:26] and insert the iso [15:26] agvantibo66: try this to see all your startup items: sudo sed -i "s/NoDisplay=true/NoDisplay=false/g" /etc/xdg/autostart/*.desktop [15:29] agvantibo66, what is that? a driver? [15:30] monsterco This is an ISO image [15:31] It contains a lot of things - the driver, shared folder and window integration software... It's a go-to thing for VirtualBoxes. [15:33] monsterco https://download.virtualbox.org/virtualbox/ is where you find it - choose your version directory, and just click the ISO [15:38] agvantibo66, virtual box is install on my laptop now, so I have to download another iso and do what? [15:38] Just insert it to the VM [15:40] ah cool [15:40] and version directory is version of Virtualbox? [15:42] Yep [15:42] I have ubuntu Focal Fossa: https://download.virtualbox.org/virtualbox/6.1.6/ [15:42] Yeah, so your link is *clickety-click* [15:43] https://download.virtualbox.org/virtualbox/6.1.6/VBoxGuestAdditions_6.1.6.iso [15:49] * agvantibo66 fails to set up pidgin === tomreyn_ is now known as tomreyn [15:53] thanks [15:54] Cant get audio work on my dell xps 17. I tried solutions like downgrading kernel to 5.4.0, but didnt help... FeelsBadMan. I tried arch linux and it worked out of the box, but arch is too difficult to me. What should I do? [15:55] sound settings just says dummy, and alsamixer doesnt recognize any audio ports [15:55] https://www.reddit.com/r/Dell/comments/husu3r/how_to_get_fully_working_audio_in_ubuntu_2004_on/?sort=new [15:55] didnt work either [15:56] tell us which ubuntu release (and if so, flavour, such as lubuntu, kubuntu, xubuntu) you tried. show output of "alsa-info" [15:59] agvantibo66, how to install that package? I added it to Ubuntu [16:00] I believe you should launch runasroot.sh [16:00] sudo ./runasroot.sh [16:00] cool [16:00] tomreyn ubuntu 20.04 LTS http://alsa-project.org/db/?f=e7bd8966f4fcb52397e6420fc962f644e872e345 [16:01] monsterco: https://help.ubuntu.com/community/VirtualBox/GuestAdditions [16:01] i tried newest kernel now with 5.10.9 didnt work either [16:01] monsterco: actually, this is probably better https://linuxconfig.org/virtualbox-install-guest-additions-on-ubuntu-20-04-lts-focal-fossa [16:02] ops I already installed the other [16:02] if not good, do I have to remove that first? [16:03] no, just leave it [16:03] my sounds also worked in windows so the hardware is not broken [16:03] agvantibo66: virtualbox-guest-dkms is part of the multiverse repositories in ubuntu. No need to install from binary [16:03] agvantibo66: just FYI [16:07] Johnnyboy: i don't know for sure that it's related, but there are bios updates for this system (you have version 1.4.0, latest is 1.6.3) which include fixes, including for Ubuntu. [16:07] okay i didnt think of that, thank you for noticing [16:07] https://www.dell.com/support/home/en-uk/drivers/driversdetails?driverid=j2hc4&oscode=biosa&productcode=xps-17-9700-laptop&lwp=rt [16:12] you can actually get firmware updates installed via Ubuntu on this system - https://fwupd.org/lvfs/devices/com.dell.uefi7d606caf.firmware - but dell hasn't provided the latest through the LVFS system Ubuntu uses for automated firmware updates, yet [16:13] Johnnyboy: had you tried the default Ubuntu kernel - because you're using mainline? [16:15] hi [16:15] can i install ubuntu from windows 10? [16:16] without usb [16:16] Well yes but no [16:16] ok [16:16] You would have to copy the installer to a dedicated partition and install grub [16:17] do you have more than one internal disk? [16:17] As long as i know this is impossible without a good unix environment (cygwin and mingw aren't) [16:18] irinarimes: do you mean dual boot or in a VM? === agvantibo66 is now known as agvantibo [16:19] leftyfb, doual boot [16:21] irinarimes: is it possible, yes. Is it easy and straight-forward, no. I would recommend acquiring a usb flash drive [16:41] pavlos: did not unfortunately =( it seemed like an firewall issue, even more weird was that using ipv6 everything worked as expected. decided not to struggle anymore and just did fresh install. however, thanks for the chat and sorry for me being slightly grumpy. [16:45] q [16:46] r [16:46] irinarimes here: https://askubuntu.com/questions/484434/how-can-i-install-ubuntu-without-cd-and-usb [16:46] Google is a human's friend. [16:52] tomreyn i installed the new bios now, but didnt help, you said something about trying differenet kernel before my computred booted? [16:55] Im trying to get my dell xps 17 sounds to work on Ubuntu 20.04 LTS, they worked on windows so hardware is fine. http://alsa-project.org/db/?f=f00aa62a23f69744a28a8f5d6e27f949bb25afae [16:55] any help is much appreciated [16:56] Johnnyboy: i suggested using a default ubuntu kernel, not the (unsupported) mainline build you had when you ran alsa-info [16:56] Kernel release: 5.10.9-051009-generic [16:56] ^ quote from http://alsa-project.org/db/?f=f00aa62a23f69744a28a8f5d6e27f949bb25afae [16:56] also run alsa-info again now that you changed firmware [16:57] * tomreyn bbl [16:57] Do zfs drives support the ubuntu trashcan? I can only seem to permanently delete files on my zfs file system [16:57] window new window close window list window hide window show [16:57] yeah that is the new alsa, how do I downgrade? from 5.10.9... ? to default [16:58] ups, sorry :) [17:04] i will reinstall default kernel brb [17:15] tomreyn okay it seems to work now on 5.6 oem kernel after the firmware update... so should I not just update kernel ever? [17:16] 5.6.0-1042-oem [17:24] Mava42: no worries === ijohnson is now known as ijohnson|lunch [18:03] Can someone with a zfs filesystem mounted test if they can rt click on a file and move it to the trash? Or does it only say "permanently delete"? [18:06] | [18:14] shinobi: not entirely understand what you want, but I would check out ls -ld ~/.local/share/Trash and see if you have propher rights if it refuse to write the file to the trashfolder. [18:28] hey i installed lsp-plugins-ladspa and swh-plugins, then I added load-module to /etc/pulse/default.pa. Specifically load-module module-ladspa-sink sink_name=compressor master=alsa_output.pci-0000_00_1b.0.analog-stereo plugin=sc4m_1916 lab [18:28] el=sc4m control=1,1.5,401,-30,20,5,12 [18:29] when I run that load-module line in pacmd it works and I can hear it work [18:29] but when I restart my laptop it doesn't work and I can see in journalctl logs "Master sink not found" === xet7_ is now known as xet7 [18:34] pyzozord: pulseaudio usually runs in the user session, and according to "man 1 pulseaudio" FILES section, it won't read files in /etc/ *if* the same files exist in the user's home directory ($HOME/.config/pulse/*) - so I wonder if you have files there that override your /etc/ edits [18:35] TJ-: I'm sur it read the /etc/ config file beucase I do get the error in the log that master sink was not found [18:35] s/sur/sure/ [18:36] TJ-: also in my ~/.config/pulse/ there is no default.pa [18:37] pyzozord: check if you've got the system service enabled with "systemctl status pulseaudio" and for user "systemctl --user status pulseaudio" [18:38] pyzozord: I don't see a system-level pulseaudio service file in the archive; what Ubuntu release is it? [18:42] TJ-: interesting results, system service could not be found but user service is there and it shows the same "msater not found", here are the full output https://ideone.com/R5f15Z [18:43] TJ-: I'm not sure how to check ubuntu version but I believe this is the 20 lts, so 20.04 [18:47] i have a question about Livepatch. i run an Ubuntu Server on Azure. do i to buy an Ubuntu Advantage support plan for 1 Ubuntu Server 20.4.1? [18:48] pyzozord: sounds a lot like; https://askubuntu.com/questions/325262/what-is-a-failed-to-load-module-module-ladspa-sink-error [18:52] pyzozord: can you show us the default.pa with the config in? this may be a subtle syntax error [18:58] TJ-: https://termbin.com/2yee [19:08] lotuspsychje: thanks, but I don't have ~/.pulse/default.pa so that's for sure not the culprit [19:09] pyzozord: does "alsa_output.pci-0000_00_1b.0.analog-stereo" definitely exist [19:09] pyzozord: I don't see anything wrong there if that is correct. "pacmd list-cards" should show that info right at the end of its report [19:11] TJ-: I used the name from "pacmd list-sinks" with this output https://termbin.com/h3w1 [19:11] TJ-: maybe that is not correct? [19:11] I cut off rest of the output after the first 10 lines to not spam you === ace_me1 is now known as ace_me [19:14] pyzozord: you say that exact same set of args, passed to pacmd works? Have you tried removing the master= part from default.pa to see if that succeeds? [19:16] TJ-: yes the same set of arguments passed to pacmd works just fine. I haven't tried without the master argument. I'll try right now. I need to reset the laptop to test if it workd, I'll be right back === High is now known as Hash [19:24] TJ-: the error is gone but the sink hasn't loaded [19:25] TJ-: but after I run pulseaudio -k the custom sink is loaded and works [19:27] TJ-: it kind of looks like the on restart something else is modifing the pulseaudio modules after the /etc/pulse/default.pa is read [19:30] pyzozord: I agree, and it is quite puzzling [19:30] good afternoon [19:31] any genisoimage or mkisofs users here? [19:31] TJ-: I'm on default ubuntu, this must be what everyone has [19:31] I wonder if there's another user service starts AFTER pulseaudio, so when you later kill PA and it restarts that other service is running [19:31] having issue creating a bootable iso [19:31] TJ-: one guess I had before was gnome/gtk [19:32] pyzozord: earlier when I thought you were running PA as a system service, my first question was going to be whether the alsa-restore service had run before PA. I wonder if there's something similar in user sessions [19:33] TJ-: I did a find on the entire / filesystem for *.pa files, I found four: https://termbin.com/7ia5 [19:34] well 5, sorry [19:37] my bluetooth headphones connect to my Ubuntu focal notebook the wrong way, so when I power them on, I always have to wait for their connection attempt to succeed, then disconnect them, then let my notebook connect to them. (when the notebook initiates the connection attempt, audio works.) is there a way to configure Ubuntu so it refuses the inbound connection attempt, saving me the effort to disconnect it? [19:38] pyzozord: let's do some log debug/capturing. What I want you to do is restart the pa service using "systemctl --user restart pulseaudio.service" then show us "pastebinit <( journalctl --user -u pulseaudio.service -n 200 ) " [19:38] pyzozord: assuming the service is currently in failed state, this should provoke the successful restart then we can compare the logs [19:39] also what would be a good way to trigger a script whenever my headphones connect to my notebook, but not trigger (or with other parameters to the script) on connections in the other direction (notebook connecting to headphones)? [19:40] Sven_vB: how do you mean "the wrong way"? wrong audio profile ? [19:42] TJ-: I don't think it is in the failed state. I used pulseaudio -k so I can hear the compressor working now [19:42] TJ-: here is the output https://termbin.com/yr3p, I can also restart my laptop and repeat that maybe that will produce better logs? [19:43] pyzozord: ahhh. Can you try reproducing the failure then do this restart command. You /should/ be able to reproduce it just by logging out, rather than needing to reboot [19:43] TJ-, the bluetooth device manager shows it's connected as A2DP, but PulseAudio doesn't see a new audio device. I tried changing the audio profile to HSP/HFP or off, then change back, as would help with my older headphones. but the new ones don't accept any request to change the audio profile at all. [19:43] pyzozord: all I want to see is the failure messages and a set of success messages from the service (not through a manual kill of PA) [19:45] pyzozord: actually, I can see two so we're OK [19:45] pyzozord: they don't add much so we need to add some debug logging [19:46] TJ-: how can I do that? [19:47] pyzozord: man-page say's we'll need to add "--log-level=4" (this is debug level) now to see how to easily add that to the service [19:47] Well, looks like the ubuntu version of Chromium is compiled without alsa support :P [19:51] pyzozord: we need to create a systemd 'drop-in' file to over-ride the existing Exec line, so start with "mkdir $HOME/.config/systemd/user/pulseaudio.service.d" [19:54] TJ-: I'm trying to figure out the systemd man pages too, You are way faster with this [19:54] pyzozord: then we add the over-ride with: echo -e "[Service]\nExecStart=/usr/bin/pulseaudio --daemonize=no --log-target=journal --log-level=4\n" > $HOME/.config/systemd/user/pulseaudio.service.d/override.conf [19:55] pyzozord: systemd.directives and systemd.index are the go-to manpages to understanding all the other manpages [19:55] pyzozord: then I suspect we have to reload the daemon to re-read the files === NeverLoads6 is now known as NeverLoads [19:56] pyzozord: "systemctl --user daemon-reload" then check the new command-line is visible with "systemctl --user cat pulseaudio.service" [19:57] pyzozord: after that, do a log-out/log-in and see if you can reproduce the initial fail. if not, do a reboot. We want to capture debug messages when it fails. After that restart the service using "systemctl --user restart pulseaudio.service" and *THEN* we'll grap the latest logging [19:58] * TJ- hopes that's all correct! [20:00] TJ-: should the default.pa load-module line include the master argument? [20:03] pyzozord: not sure! it seems to accept it sometimes so leave it in :) [20:04] I'll leave it in. I just restarted the service now and grabbed the logs. Nothin changed at all. I'll reboot and see if then logs are any different [20:08] TJ-: something changed for sure. Here are logs fresh after reboot https://termbin.com/3yzl and immidiatly after I restarted the pulseaudio service and grabbed another set of logs https://termbin.com/2zgm [20:08] Right now I hear no sound at all [20:09] pyzozord: grrr, looks like the drop-in file is bad "ignoring: Unit pulseaudio.service has a bad unit file setting.! [20:10] pyzozord: I'll test it here :D [20:10] Ah yeah that would explain the same logs too I noticed this error when trying to restart the pulseaudio service "Failed to restart pulseaudio.service: Unit pulseaudio.service has a bad unit file setting." [20:10] TJ-: I really appriciate the help, sorry it's so annoying [20:11] Please help me stop my wifi from turning off on its own [20:12] pyzozord: Mine reports the problem: "pulseaudio.service: Service has more than one ExecStart= setting" [20:12] pyzozord: I did wonder about this; we need to insert a blank "ExecStart=" before the new line to cancel the system-set one! [20:14] Oh yes there was a blank line! I removed it, sorry it was a muscle memory [20:14] pyzozord: fixed... here you go. echo -e "[Service]\nExecStart=\nExecStart=/usr/bin/pulseaudio --daemonize=no --log-target=journal --log-level=4\n" > $HOME/.config/systemd/user/pulseaudio.service.d/override.conf [20:14] pyzozord: then do "systemctl --user daemon-reload" then either log-out/log-in or reboot as necessary [20:18] TJ-: I just logged out and back and now i see two sinks from the start (the default and my ladspa). I think your extra debug might be changing the order in things are loaded and fixes my issue because it forces to reload the default.pa later. I'll double check by rebooting [20:20] TJ-: no I was wrong, onle 1 sink after the reboot. On the good side, much more logs now https://termbin.com/ejrs [20:21] TJ-: the fact that there was no sound, we changed the systemd override, i logged out and logged in again suggests to me that whatever is messing with us is on the system level not on the user level. I don't know if I explain this well [20:23] TJ-: It looks to me kind of like something happens once on the reboot _after_ pulseaudio reads default.pa but before any of the user services are loaded. Although I'm not sure if this makes sense because we checked and I have only user level pulseaudio service [20:24] pyzozord: it could be related to ALSA not being ready in some way, since that is what the master= option specifies [20:25] TJ-: it looks like there was more log but we cut it off, here is full log (almost 8k lines) https://termbin.com/9zq5 [20:26] pyzozord: not enough log info there; show me "pastebinit <( journalctl --user -u pulseaudio.service --since='10 minutes ago' ) " [20:28] TJ-: here is 10 minutes ago version https://termbin.com/grey [20:29] mmmm, I love detailed logs! [20:30] yeah this is awesome, also I'm learning how to diagnose my system much much better [20:30] pyzozord: stop/start is at the line with "pulseaudio[1417]: Daemon terminated" [20:31] pyzozord: ooooo. before that I find " 21:24:16 michals-thinkpad pulseaudio[1417]: Got signal SIGTERM. " [20:31] I wonder what sent that SIGTERM [20:32] TJ-: it could have been me, I run few times pulseaudio -k [20:34] TJ-: notice that "Created sink 1 "alsa_output.pci-0000_00_1b.0.analog-stereo" is much much later then those "Master sink not found." errors [20:35] pyzozord: since 21:17 I cannot find any more messages about master not found [20:36] TJ-: yeah sorry, I think there is only one [20:36] TJ-: oh no sorry, for 1417 there is one at 21:18:55 [20:37] pyzozord: sorry, that was the one I meant! [20:37] pyzozord: I suspect that was from a previous login session based on the timestamps [20:37] pyzozord: it might be worth doing a few log-out/log-ins to see if it is actually still failing (in the same way) [20:39] I'm having some problems with my NVME drive (Corsair MP600) just failing and disappearing from the OS. Kernel log: https://paste.ubuntu.com/p/Mv7gr94ZMH/ APST is already disabled. Anyone have any clue what it could be? Thanks! [20:39] TJ-: after logout next time I login the ladspa sink is loaded and working [20:39] pyzozord: so, is this purely due to us adding the debug logging? [20:40] pyzozord: does default.pa still have the master=.... option in? [20:40] TJ-: yes [20:40] pyzozord: so a timing issue of some kind [20:40] pyzozord: I *wonder* if it could be dbus related [20:41] whitekidney, hardware issue; did you check for a bios update first? [20:41] user session dbus... pulseaudio.service doesn't set a Wants= on it so they could start in a different order/in parallel [20:41] oerheks: already running latest bioses and firmwares === megoix9 is now known as megoix [20:43] TJ-: this goes above my head. I assume dbus is some kind of inter process communication for userland daemons [20:43] whitekidney, i hope it is not a faulty nvme then, they break within 2 weeks, or after 5 years [20:44] TJ-: I could be related to that GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut error, but I think I am getting it even with default pulseaudio .pa file === matsaman_ is now known as matsaman [20:44] pyzozord: we can inspect what starts when with "systemd-analyze --user plot > /tmp/user-plot.svg" [20:44] pyzozord: view the .svg file using a web browser, File > Open ... [20:45] oh wow that is very cool [20:45] I'm surprised it doesn't use a more unreadable format =P [20:46] pyzozord: hmmm, that plot doesn't look to show what I expected, let me check my command line fu [20:47] here is the svg https://termbin.com/nn66 [20:51] pyzozord: unfortunately, "--user" doesn't seem to do do anything for plot/dot so its showing only the system services [20:52] pyzozord: critical-chain and blame both work with --user but don't reveal the info we'd want to see to determine load order. There's one other way we might though, using journalctl [20:54] pyzozord: it needs a lot of reading but "journalctl --user --boot=0" and look for when dbus and pulseaudio start relative to each other [20:54] This is very interesting. I guess being able to analyze systemd this indepth is pretty much as far as userland goes, beyond that we are really on the kernel teritory [20:56] pyzozord: as PA and dbus are user session processes this will show us everything there is. user session won't start until system's multi-user.target is reached, and by then all system services will be started [20:57] Hello. Can I type any command that return me terminal-app name in whitch this command should be run ? [20:59] TJ-: I'm not sure how systemd targets work or how users/sessions are implemented (I'm guessing that's in kernel). But I think I get the gist of what you mean [21:03] pyzozord: no, kernel is separate. it goes: power on > firmware (UEFI or BIOS) > GRUB (boot loader) > kernel + initialRAMfs (initrd.img) > systemd --system (starts all services to reach 'default.target' which on GUI is 'graphical.target' and on server is 'multi-user.targer') [21:03] pyzozord: then you log-in and logind triggers --user sessions with various other services, which is what we're looking at [21:04] ahh, I see [21:04] that makes more sense [21:07] TJ-: I see pulseaudio starts very early on, I'm guessing that's because we enabled so much logging for it right? In reality lots of things start very early on but they don't have high loggin level turned on === coconut_ is now known as coconut === xissburg_ is now known as xissburg [21:15] pyzozord: unless they declare dependencies (which enforce ordering) services will be started in parallel. This is why I wonder if it actually ought to depend on the user dbus service to enforce ordering After= [21:17] does anyone know why discus is no longer in 20.04? === ijohnson|lunch is now known as ijohnson [21:19] pyzozord: let me revise that drop-in for you and you can test this dependency ordering without that debug option [21:21] solid_liq: Debian #945636, py2 removal, no rdeps -- click the little triangle on the line with focal deleted https://launchpad.net/ubuntu/+source/discus/+publishinghistory [21:21] Debian bug 945636 in src:discus "discus: Python2 removal in sid/bullseye" [Serious,Fixed] http://bugs.debian.org/945636 [21:22] pyzozord: replace the current drop-in with: echo -e "[Unit]\nRequires=dbus.service\nAfter=dbus.service\n" > $HOME/.config/systemd/user/pulseaudio.service.d/override.conf [21:22] pyzozord: then "systemctl --user daemon-reload" and log-out/log-in and test [21:22] sarnold, thanks [21:23] how do I find out the codename for the release of the distro I'm on again? [21:23] solid_liq: lsb_release -a [21:23] TJ-: I'm not sure what I can find in that log. But I found out that dbus starts earlier than pulseaudio. Pulseaudio fails to load my custom sink very early because initalization of the module failed (I am guessing because master sink is not defined yet which is crated much much later, long after the service started) [21:24] sarnold, oh yeah, thx [21:24] does anyone know of a nice alternative to discus? [21:24] pyzozord: that would be an ordering problem with pulseaudio then, wouldn't it? [21:25] solid_liq: ncdu is popular, but it might do something different from what you want out of discus [21:25] pyzozord: as in, its load-modules [21:27] sarnold, I just want to see the amount of space in a pretty form per partition [21:29] hey all [21:29] TJ-: Yeah I think so but my load-module is at the very bottom of /etc/pulse/default.pa I cannot go any lower. I see here that the master sink is created by pulse audio after a long string of probing and configuring. That long string of probing and configuring by pulseaudio starts with pulseaudio parsing alsa-mixer config files [21:30] pyzozord: this is a good issue to ask on the pulseaudio issue tracker upstream [21:31] TJ-: do you thikn this is issue with pulseaudio not ubuntu specific setup of pulseaudio? [21:31] pyzozord: there's a #pulseaudio channel here too [21:31] pyzozord: it looks possible it is something in the way PA initialises - some kind of race condition [21:31] oh I'll ask there, maybe someone will be able to give some more insight [21:32] TJ-: I am really thankful for all help and time. I really appriciate your help. Thanks [21:36] pyzozord: I see only 1 even slightly close to your issue so writing out a report with extracts from the log showing where it fails might get some expert attention. https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues?scope=all&utf8=%E2%9C%93&state=all&search=ladspa [21:43] TJ-: do you think this is related to ladspa? I am guessing any sink I set up like this will not work the same way like this one [21:43] pyzozord: I'm not familiar enough with how PA interacts with the LADSPA bits to say [21:44] Well nevermind, we made significant progress today with this. Thank you so much TJ- [21:45] I'll wait a bit on #pulseaudio maybe someone will be able to help further, if not I'll try again another day [21:47] TJ-: you were right, this is somekind of race condition. Some just linked to the probable answer https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues/1093#note_766869, [21:59] pyzozord: Oh! Nice find :) so we can fix that I guess [22:00] pyzozord: we may be able to use one of systemd's device units for a Requires/After or something. [22:00] pyzozord: having a look here to see if I can add anything [22:01] TJ-: wow you are really crazy. I'm in! [22:09] TJ-: they suggest that depending on a device will most likely not work, but starting PA after logind will work [22:11] pyzozord: well, as far as I know, PA will always start after logind since that is what takes the user login credentials and sets up the user session [22:12] TJ-: ok they say they may be wrong [22:20] pyzozord: typical! apparently uaccess isn't documented! https://github.com/systemd/systemd/issues/4288 [22:21] TJ-: that's ok, no worries. I don't even know what uaccess is. I was looking at this https://superuser.com/questions/851846/how-to-write-a-systemd-service-that-depends-on-a-device-being-present and I think I realised this may be too much for me [22:21] I guess I need much more systemd knoweledge to understand this stuff [22:22] I think I will have to resort to echo "pulseaudio -k" > ~/.Xprofile [22:22] pyzozord: and much of that is at the system level. From what you've been told this is about systemd-logind altering permissions for non-root users to access what are normall privileged devices, such as the sound devices, video, and so on [22:23] pyzozord: I think we might be able to 'hack' it by making PA's service do an After= on something that starts last for a typical user session [22:23] Followed the steps in https://download.lenovo.com/pccbbs/thinkcentre_pdf/ts_p620_ubuntu_linux_20.04_installation_v1.0.pdf for ubuntu-20.04.1-desktop-amd64.iso and after page 7, it complains No irq handler for vector (many times) then: Initramfs unpacking failed: Decoding failed. Then that's the end of the show. The Lenovo P620 is supposed to be certified for ubuntu [22:24] pyzozord: what does this show "systemctl --user critical-chain" [22:26] TJ-: Unknown operation critical-chain. [22:26] gartt: my initiql guess is those two messages are probably unrelated; are you sure about your usb stick? initramfs unpacking failing feels like a flaky hardware... though maybe also try a bunch of other usb slots, maybe there's something goofy with the controller.. [22:26] oh for $%)^$! my brain needs a kick! [22:27] pyzozord: what does this show "systemd-analyze --user critical-chain" [22:28] TJ-: https://termbin.com/wc54 [22:29] pyzozord: should we try making it start after "tracker-extract.service" since that seems to be the last one before it reaches the target [22:29] Anyone know if its possible to get TensorRT to work with Ubuntu 20.04? [22:30] pyzozord: so: echo -e "[Unit]\nRequires=tracker-extract.service\nAfter=tracker-extract.service\n" > $HOME/.config/systemd/user/pulseaudio.service.d/override.conf [22:30] sarnold: Thanks, I'll try another thumbdrive and give it a shot [22:30] pyzozord: then again "systemctl --user daemon-reload" and log-out/log-in and test [22:38] TJ-: IT WORKED! YOU ARE A GENIUS! [22:38] pyzozord: terrible hack but pfft if it works [22:38] hey better then the pulseaudio -k [22:38] :) [22:39] good job we solved it... battery here is down to 10% :D [22:39] and I have learned so much about diagnosing systemd and how things work [22:40] TJ-: I'm really greatful, I'm not sure how can I repay. I doubt I know anything better then you. Unless you are interesting in writting websites in React in javascript :D [22:42] pyzozord: I've been doing a bit of that recently [22:43] pyzozord: SPA using Semantic/Fomantic-UI [22:45] TJ-: never hread of those but all those react component libraries are kind of the same, I can solve any problem you have there [22:45] I'm a bit tired now, but ask me anytime on ##programming, I'm often there [22:49] Tried on a different thumbdrive and after verifying the download via shasum 256, and it still fails with No irq handler for vector and Initramfs unpacking failed: Decoding failed [22:51] pyzozord: thanks :) [22:51] TJ-: anytime, I will be glad to help! :) [22:51] gotta go it's 23:51 here, cheers! [22:52] gartt: So you downloaded some Ubuntu installer ISO - which? - verified its checksum against the server hosting the download, then wrote it to some media where you wanted to boot and install from - using which software / command? - and when you tried booting some - which? - computer off this you got a "No irq handler for vector" and "Initramfs unpacking failed: Decoding failed" message? [22:52] disable secureboot, https://download.lenovo.com/pccbbs/thinkcentre_pdf/ts_p620_ubuntu_linux_20.04_installation_v1.0.pdf [22:53] tomreyn: I downloaded and tried both ubuntu-20.04.1-desktop-amd64.iso and ubuntu-20.04-desktop-amd64.iso [22:53] oerheks: Did that as soon as I received the box days ago but thanks [22:55] tomreyn: Sorry, I meant to also mention that I checksum matched these files as well. And also FWIW I tried two entirely different USB thumbdrives. I recieved many lines of "No irq handler for vector" followed by one line with "Initramfs unpacking failed: Decoding failed" [22:55] thanks for replying, gartt. note you didn't respond to all questions asked. on a side note, "Initramfs unpacking failed: Decoding failed" can usually be ignored, it's a commonly seen message at this time, and should not have any impact. [22:55] tomreyn: I'd ignore it if I could, but nothing happens after that :P [22:56] "No irq handler for vector" is not normal, though [22:56] That might be what's stopping the show. But I did follow the instructions to the letter in the PDF [22:56] then you should be truni9ng to the vendor and let them know [22:56] *turning [22:57] Great, $5k on a workstation that I can't run anything except Windows on even after being ubuntu certified, bleh [22:57] tomreyn: I'll send them an email, thanks [22:58] you are maybe not using the right installer, too [22:58] the certification is for an oem kernel IIRC [22:58] " This system was tested with 20.04 LTS, running the 5.6.0-1027-oem kernel. " [22:59] There was no option to buy with ubuntu preinstalled, only Windows [22:59] this can be region specific, read the notes on top of the certification statement [23:00] I'll try ubuntu-20.10-desktop-amd64.iso before I email Lenovo with my problem, just in case [23:02] the only thing that could bug it, is using rufus for creating the usb [23:03] oerheks: I used dd, Ubuntu Startup Disk Creator, and also etcher, verified checksums, and 2 different thumbdrives, so it can't be the media or the burning process [23:04] usb3 port ( blue) or 2? [23:05] I tried two on the front. USB3 I believe, but since I tried both earlier, I doubt that's the issue. FBSD installed fine using the same ports. I just want to use ubuntu for stable virtualbox use for school [23:06] It sounds like trolling, but it's funny that ubuntu, which has always installed on just about everything as has slackware or debian, hangs while FBSD, which usually sucks badly with hardware, is the only OS which succeeded, heh [23:07] well, good luck with that machine [23:07] I for one wish our 'certified' thing used the stock installers; these per-machine specific preinstalled things are just frustrating :( [23:08] oerheks: Thanks, I'll try ubuntu-20.10-desktop-amd64.iso before giving up hope and buying some FBSD t-shirts [23:08] sarnold, i read no weird boot options anywhere [23:09] so, it must be something else. [23:09] you didn't configure raid in bios, did you? [23:10] tomreyn: No RAID for me [23:10] try booting the installer in failsafe graphics mode [23:10] Only changes made were disabling secure boot. Other than that, 100% factory settings [23:10] tomreyn: Thanks, I'll try that [23:10] !highlight [23:11] !help [23:11] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [23:11] !help | user217_ === explodes is now known as exploded [23:14] !higlight [23:15] user217_, ? [23:15] user217_: do you need any help? got ubuntu support questions? [23:16] !msgthebot | user217_ [23:16] user217_: Please investigate me only with "/msg ubottu bot" or in #ubuntu-bots. Search for factoids with "/msg ubottu search " [23:16] oerheks, tomreyn I just need few highligts. thanks :) [23:17] not really what this channel is for. please test in #tests next time. [23:20] is there a way to restart alsa-base in modprobe.d without rebooting my computer? [23:21] I'm on an acer swift 3, and it's not detecting the builtin microphone for some reason on the soundcard [23:21] with an HDA Intel PCH sound card [23:21] I added an entry to /etc/modprobe.d/alsa-base.conf, but before rebooting was wondering if there's a way to just reload a module [23:22] pulseaudio -k && sudo alsa force-reload [23:22] darn, didn't work [23:23] it reloaded without error but can't seem to fidn the mic [23:23] I'm looking in alsamixer, would it make more sense for me to look in mate's sound preferences? [23:23] alsamixer, F6, choose device [23:24] scriptonaut, try in pavucontrol-qt [23:24] I did, and when I hit F4 for [Capture], it's empty [23:25] I am on mate, don't have that unfortunately [23:25] from what I've read this is an issue with this soundcard on the 5x kernel [23:25] some people seem to have been able to get it working by playing with the alsa config [23:26] scriptonaut, try in pavucontrol [23:31] same thing, not detecting it [23:40] I've hit a very obscure showstopping issue with mariadb. I'd like to completely purge and re-install it. But I'd like to keep the actual databases. How can I do this? [23:41] Like, the databases must be stored in the filesystem somewhere right? If so, can I just back them up, purge maria, reinstall maria and then copy the db files back to a location where they will be picked back up? [23:41] bobdobbs: removing packages won't remove data; purge will delete config files under /etc/ [23:41] Hey TJ- [23:42] I wouldn't be surprised if the mariadb postinst script purges the database too, though [23:42] bobdobbs: databases are likely under /var/lib/mariadb or /var/lib/mysql [23:42] Yeah, I want to purge everything... except the databases. [23:42] sarnold: really? data loss? [23:42] tomreyn: I was an inch from giving up and tried to boot in failsafe graphics mode which worked (so far). Thanks a lot for the help [23:42] * TJ- heads for the source! [23:42] (on ubuntu-20.10-desktop-amd64.iso) [23:43] Like, I think think that there's a setting somewhere carried over during my upgrade from ubuntu 18.04 to 20.04. I think this setting might be breaking maria. [23:44] TJ-: I think I found something. the mysql db holds a field called @@datadir. For my system the value of this field is /var/lib/mysql [23:45] TJ-: yeah https://sources.debian.org/src/mariadb-10.1/10.1.45-0+deb9u1/debian/mariadb-server-10.1.postrm/#L33 [23:45] TJ-: and if I look at that directory, I can see directories with the names of my db's [23:46] bobdobbs: if you're never moved it, that should be the dir, you can also verify with the following query in mysql/mariadb: SELECT @@datadir; [23:46] whitekidney: just discovered that. [23:47] sarnold: yeah, I saw it checks debconf db_get mariadb-server-$MAJOR_VER/postrm_remove_databases [23:47] So i guess my next question would be... if I backed up that dir, nuked mariadb and all of it's settings, then reinstalled maria and restored the contest of that dir... would the db's get picked back up? [23:48] oh... of course I could be selective about which db's to restore. Like, I wouldn't restore the db called mysql [23:56] gartt: nvidia is still not a good hardware choice in 2021, if you want things to work out of the box. [23:56] not for graphics chipsets anyways. [23:57] tomreyn, why not? with 'nvidia-prime' [23:58] AMD/ATI and Intel are in the kernel, nouveau supports partially all nvidia fuctions