[00:13] has anyone else had poor battery life? I've just installed a brand new battery. When I installed ubuntu on a 3 year old battery and running on only the integrated intel GPU I would get around 7-10 hours. Now I'm getting 5 with a brand new battery. [00:15] LjL, Tomreyn, oerheks: https://allthings.how/how-to-install-windows-11-on-legacy-bios-without-secure-boot-or-tpm-2-0/ [00:15] magic_ninja_work: that could be due to the fact that there are different computers comsuming different amounts of power, and different battreries providing different charges. [00:16] dunkin: i don't think a lot of people here will want to ;) [00:18] tomreyn, well, I did get an official OEM replacement with the same part number and same capacity. [00:19] I'm just not sure what would have changed that suddenly caused my battery life to tank from version 19.10 [00:20] maybe using not just the integrated gpu? [00:20] I'm on the integrated GPU with the nvidia 960m disabled [00:20] powertop may hint on how to save power [00:21] i think there's another tool which does similar, but i forgot its name [00:21] https://i.imgur.com/GICYdna.png [00:22] tlp, but I spent a lot of time configuring it wihtout much noticable difference. [00:22] intel cpu bugfixes would also increase power consumption [00:22] intel cpu bugfixes? [00:22] "spectre / meltdown" [00:23] I see. [00:24] you could try to boot with https://make-linux-fast-again.com/ and see how the values compare [00:25] is that a kernel parameter? [00:25] I see, so it turns off those bug fixes. Do those bugs require physical access? [00:26] dunkin, thanks [00:26] those are kernel parameters. mitigations=off should actually suffice by now, i think. [00:27] * LjL shudders === Walex is now known as Walex_Away === Walex_Away is now known as Walex_away [00:28] if that bootline would work that way, you could use more power than you use now.. [00:28] magic_ninja_work: exploiting the cpu vulnerabilities does not require physical access. it usually requires the ability for the attacker to run code on the system (access to an insufficiently secured sandbox could be sufficient) [00:29] i suspect a newer HWE kernel 5.11 [00:29] might be best too just test and leave it on then [00:33] its nuts, cpu is using 13.5W and I'm not doing much of anything. [00:33] less than 5% cpu usage [00:34] what makes you think that is nuts? [00:35] because something has changed. I've been running ubuntu for 4 years on this liptop without issue. [00:35] Now, with a new OEM battery, I'm still draining it quickly. [00:35] Makes me wonder what has changed in the last few months. [01:12] Hello. Service PackageKit needs restart but i can't restart it. It says "Unit packagekit.service not found". Using Ubuntu 21.04. Any ideas? [01:14] why does Service PackageKit needs restart? === M4he is now known as mahe [01:58] Orchid: i assume it's a systemd user service [01:58] systemctl restart --user packagekit or something? [02:03] Orchid: ' systemctl status packagekit.service ' ? [02:11] bashing-om: https://paste.ubuntu.com/p/F5CTdPMtrs/ [02:13] hmm, active but no service file, Orchid, what have you done to it? === gruber is now known as jsjgruber [02:25] Orchid: ( cat /etc/os-release ; apt-cache policy packagekit ; ls -l /lib/systemd/system/packagekit.service ) | nc termbin.com 9999 === Nitrousoxide_ is now known as Nitrousoxide [03:46] is it safe to "do-release-upgrade" on a tmux remotely? [03:59] if not it'll launch screen === Abrax is now known as Kratos === Kratos is now known as Abrax === lordrishav is now known as LordRishav [05:25] Any idea why do-release-upgrade is exiting with no visible errors? https://paste.ubuntu.com/p/t6GTsVWMwg/ [05:28] voltagex[m], check for 3rd party packages (PPA etc) as some (eg. oibaf graphic drivers) prevent release-upgrade & check logs (see https://wiki.ubuntu.com/DebuggingUpdateManager) [05:33] guiverc: no good - https://paste.ubuntu.com/p/rKvbr4B9BX/ [05:36] voltagex[m], what release are you on? 20.04/focal? if so you've missed the 20.10 upgrade, and 22.04 upgrade doesn't exist until 22.04.1 has been released (well into the future) [05:37] ah. lol, right. [05:38] why not actually say that in an error message then? [05:39] that I can't tell you sorry.. more detail maybe seen if you file a bug report [05:40] (filing a bug report lets your sources, system details & more be visible) [07:25] I am disgusted with memory leaks in ubuntu (mostly browsers) [07:25] learning how to deal [07:26] it's sick when you run outta ram :( [07:26] ?end rant [07:26] JoeLlama: falkon browser to the rescue [07:26] oh? any good lotuspsychje? [07:26] yeah its fast & lightweight [07:27] brave is also rocket fast [07:27] hrm works with everything? [07:27] yeah brave was a little wet behind the ears last time I used it a year ago or so [07:27] bertter now? [07:27] no, FF & chromium are still the winners, but for some regular browsing it works pretty good [07:27] test falkon out, see if you like [07:28] okay [07:28] !info falkon [07:28] falkon (3.1.0+dfsg1-9, hirsute): lightweight web browser based on Qt WebEngine. In component universe, is optional. Built by falkon. Size 2,256 kB / 10,776 kB. (Only available for amd64, arm64, armhf, i386, mipsel.) [07:28] I get LOTs of memory leaks in FF and chrome :( [07:28] I modded FF and it got better though [07:28] but if you keep opening and closing FF you end up losing memory [07:29] if you are not already running KDE then falkon will pull in quite a few dependancies [07:29] hrm [07:29] I am mostly running lubuntu and xubuntu [07:29] ThinkT510: im on gnome, falkon works pretty well here [07:30] hrm? okay [07:30] I run many many old computers [07:30] I have a LOT of old computers... laptops [07:30] piles [07:30] when I wear one out I shread it and use parts from others to make new laptops [07:30] I am a laptop pig [07:32] I didn't say it wouldn't work, I just said it will require more things to be installed [07:33] hrm ok === lordrishav_ is now known as LordRishav [08:38] hi [08:38] is there any source that i can learn ubuntu terminal commands basically?, [08:41] hi [08:41] hi [08:42] is there any website that i can learn ubuntu terminal command basically?, [08:42] !tldp | Guest52 [08:42] Guest52: documentation is to be found at https://help.ubuntu.com and https://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - https://www.andrew.cmu.edu/course/95-799/rute.pdf [08:43] https://help.ubuntu.com/community/SystemAdministration === LordRishav is now known as lordrishav [09:28] HELP [09:28] MY program just ran a rm -r * command on my home directory [09:29] Kill-Animals: best unmount the file-system ASAP then. Hope you have aback-up [09:29] Im on a laptop [09:29] no backup [09:29] ext 4 [09:29] whats the program that sifts through to find file signatures and restructure them? [09:31] unmount the file-system to begin with to prevent any more writes. Then first try extundelete. After that testdisk/photorec tooling may be able to reconstruct something [09:31] how? [09:31] how do i unmount my active filesystem? [09:31] make a copy of the file-system for working on though, don't change the original in case you cause further damage [09:31] im on a laptop with no capability of backup [09:31] Kill-Animals: shutdown and reboot with a LiveISO in 'Try' mode [09:33] fuuug. I have no way to get this. [09:34] I still have stuff in memory. Im trying to save it but its not writing to disk [09:34] should I just shut down then? [09:34] this is how you learn to do backups [09:34] if you have programs running with filse open you can recover those files [09:35] Kill-Animals: you'll need to be in a terminal, with root [09:35] okay this is an internal laptop ssd. should I boot off a usb and go through it? [09:36] I better shut down now I guess. [09:36] Fukkkk! [09:37] Kill-Animals: mind the language [09:40] Kill-Animals: this will identify all still-open files under /home/ [09:40] Kill-Animals: for n in /proc/[0-9]*/fd; do for fd in $n/*; do path="$(readlink -e $fd)"; if [ "${path/*home*/yes}" = "yes" ]; then echo $fd $path; fi; done; done [09:41] Kill-Animals: you should "sudo -i" before running that, just to avoid error messages [09:41] Kill-Animals: if it identifies files you want to rescue then you'll need to individually salvage them, and we can tell you how to do that [09:42] looks like they left prematurely === SmokenatorZ4 is now known as SmokenatorZ === djhankb5 is now known as djhankb [09:47] wow I've never seen an `rm -rf /` (or similar) in the wild === dongcarl1 is now known as dongcarl === merpnderp_ is now known as merpnderp [09:51] it wasn't that, it was in $HOME [09:51] (or similar) [09:52] I have - stray scripts accidentially executed in the wrong directory (Makefiles that have a clean: target for example and generally do a "rm -rf " [09:53] yea I totally see how it happens and I don't put myself above doing that accidentally, to be honest. [09:53] I don't really hang around IRC that frequently though, so there's that === sharperguy__ is now known as sharperguy === Marco_Polo is now known as Guest5065 [10:33] whats happened with freenode, guys? [10:39] devhelper: long story, it belongs more to #ubuntu-offtopic . but in short, there was some problem with the korean crown prince [10:54] hi, who do i contact if i want a specific quirk to kernel? i have no knowledge of kernel programming, i just have an issue with my headset that apparently needs this quirk to sound/usb/quirks-table.h [10:55] here's a link to what im talking about https://github.com/szszoke/sennheiser-gsp670-pulseaudio-profile/issues/13#issuecomment-891662521 [10:55] Issue 13 in szszoke/sennheiser-gsp670-pulseaudio-profile "Microphone doesn't work" [Open] [11:57] Hi, if I download a .deb for a package that I need to install on a machine that has no internet connection, will the .deb contain all the necessary dependencies too? Or will I have to download each dependency manually as well? [11:57] Thanks [12:01] acebrianjuan: it does not contain dependencies. [12:01] acebrianjuan, it may, it may not.. if it's a package of wallpapers it likely won't have any deps, but most packages do have them (which need to be downloaded) [12:02] If it doesn't have dependencies, the deb still doesn't contain any dependencies, but it will work because there weren't any to begin with. [12:02] Another way it could work is if the dependencies are already installed on the destination machine. [12:03] understood, thanks folks [12:03] The package I need to install is FUSE [12:04] So I should probably do something along the lines of: https://ostechnix.com/download-packages-dependencies-locally-ubuntu/ [12:05] https://packages.ubuntu.com/hirsute/fuse lists deps (assuming hirsute; you didn't say) [12:05] I need this for Debian buster [12:05] acebrianjuan, we only support Ubuntu and flavors of Ubuntu here, you're off-topic [12:06] I understand, yes [12:06] but Debian does contain the same resources as the page I just showed [12:07] ok, I'll go ask in the right place [12:07] Thanks for the help [12:08] * guiverc notices same deps; just older versions [12:41] регистрация ника [12:41] !ru | shine_magic [12:41] shine_magic: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke. [12:51] !help [12:51] 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 [12:52] ask your ubuntu question here in the channel and in english please shine_magic [12:56] Attempt to register [12:57] !register | shine_magic [12:57] shine_magic: For information on registering your IRC nick, see https://libera.chat/guides/registration - For any further help, ask in #libera [13:00] Hi all [13:03] uau [13:07] thanks [13:08] welcome shine_magic type /list for the libera channel list [13:09] list is deprecated [13:09] use /msg alis help list [13:09] not here on libera rud0lf [13:09] works like a charm [13:09] but it's suggested to use alis service [13:28] what is a decent font to use with IRC windows? Seems like I don't recognize most of the fonts used on linux systems [13:29] eh I found one :) [13:33] hi [13:33] pawelpa: hi [13:52] will the new installer in 21.10 encrypt the entire disk including /boot? [13:53] !ubuntu-next | ice9 [13:53] !ubuntu+1 | ice9 [13:53] ice9: Impish Indri is the codename for Ubuntu 21.10. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [13:54] thanks leftyfb [14:03] Hello, a few weeks ago a notebook i support started to have graphics glitches after an upgrade (no release upgrade). I hot glued it via booting into the old kernel. Unfortunately the problem did not go away after a few weeks and more kernel upgrades. I do not remember which version was the last to work (but i think still the 5.11.0 branch). So today I tried to narrow down the problem to report a [14:03] bug. I am on 21.04 with kernel 5.11.0-25-generic. Everytime I try to go past 5.11.0-22 wifi and ethernet dies plus the max resolution will be stuck at 640x480. Lenovo Flex 2-15 with an integrated intel graphics card. Any thoughts ? Thank you all so much ! :) [14:06] hirnpfirsich: apt-cache policy linux-modules-5.11.0-25-generic linux-modules-extra-5.11.0-25-generic | nc termbin.com 9999 [14:07] hirnpfirsich: can you pastebin the kernel log? "pastebinit <( journalctl -k)" for an affected kernel. If not currently booted into one, you can find one with "journalctl --list-boots" then do "journalctl -b -X " where X is the previous boot indiex [14:12] TJ-: sure thing. Currently booted into one. https://paste.ubuntu.com/p/TntxqTz5Hb/ [14:15] leftyfb: There you go: https://paste.ubuntu.com/p/JRRZkxdvgv/ [14:15] hirnpfirsich: tip: replace "quiet" with "debug systemd.log_level=info" on the kernel command line to gather more detail [14:17] latest bios (version to pick depends on cpu, this is for the i3-4030U haswell family cpu): https://pcsupport.lenovo.com/de/en/products/laptops-and-netbooks/flex-series/flex-2-15-notebook-lenovo/20405/downloads/ds101193-bios-update-for-windows-7-64-bit-windows-81-64-bit-flex-2-14-flex-2-15 [14:17] TJ-: thanks for the tip. Should i do that right now ? [14:17] hirnpfirsich: when did it last fail? lets try to find the log that covers that [14:19] https://lubuntu.net has broken download links [14:20] TJ-: constantly. There are weard lines running across the screen. Or the screen starts flickering out of the blue. Also happens pre Wayland. While plymouth still displays the splash screen. Or what did you mean ? [14:20] nnnnnn: the official website is lubuntu.me [14:20] nnnnnn: there is also #lubuntu [14:20] https://www.deadlinkchecker.com/website-dead-link-checker.asp broken download links refer to ubuntu.com [14:21] hirnpfirsich: you said wifi and ethernet dies. If we know the date/time we can grab the logs from around that period to find clues [14:21] nnnnnn: thanks, but i don't think anyone here manages lubuntu.net, so we cannot affect which urls they put on their site [14:21] nnnnnn: try /join #lubuntu [14:22] thank you [14:22] hirnpfirsich: but, the symptoms you're describing sound like a power failure issue of some sort since it affects so many different components [14:24] has anyone tried Ventoy is an open source tool to create bootable USB drive for ISO/WIM/IMG/VHD(x)/EFI files.? it is an excellent program that allows multiple linux iso to function on a single usb drive [14:25] https://www.ventoy.net/en/index.html [14:25] nnnnnn: sorry, but ventoy isn't an officially supported application here. [14:26] nnnnnn: this is an ubuntu support channel. Feel free to chat in #ubuntu-offtopic [14:27] ok thank you [14:28] TJ-: i know :( But i am very certain this is a software / firmware thing. No problems pre upgrade and also no problems after the downgrade. Also no glitches in the UEFI / Firmware menus. Of course this is not very scientific. If i could boot into pre 5.11.0-22 kernels without other issues i could at least give you a certain kernel version. Do i have to downgrade the firmware as well ? [14:30] TJ-: what other components do you mean ? [14:31] hirnpfirsich: find a log from the time the wifi/ethernet last failed. you can get some idea of which kernel versions were started at what dates/times with "journalctl --grep 'Linux version' " [14:31] hirnpfirsich, i suggest using a livecd or liveusb and doing a memorytest [14:32] https://askubuntu.com/questions/591488/how-do-i-run-memtest86 [14:39] can some give me or direct me how I can get the wget link I can use to install xampp in ubuntu server [14:40] !xampp | ltorhavco [14:40] ltorhavco: We do not support XAMPP installs here. Please use the LAMP stack that is in our repositories; see https://help.ubuntu.com/community/ApacheMySQLPHP for more information. [14:43] merci! [14:44] TJ-: sorry. missed some of your earlier messages. "journalctl --grep" helped me to find out which kernel version used to work. 5.11.0-18. If I try to boot that one now wifi and ethernet disappears and the resolution degregates. But no weard glitches. I know for a fact that this kernel version used to work just fine. Do i need to downgrade more stuff ? [14:44] suddenly the lock screen color is black, its not purple, any idea? [14:45] nnnnnn: thx for the tip. Will do :) [14:47] hirnpfirsich: sounds more and more like a hardware failure [14:47] hirnpfirsich: without seeing the log entries when those devices disappear we can't help much more [14:48] TJ-: but hardware failures suck :( :D I can send you kernel logs from the working 5.11.0-18 and the broken 5.11.0-18 [14:48] ice9: are you still asking for 21.10? [14:51] hirnpfirsich: the broken one is the one we want [14:53] TJ-: one broken 5.11.0-18 coming right up: https://paste.ubuntu.com/p/JB62WNdtvc/ [14:58] hirnpfirsich:are you dual booting this system with Windows? [14:58] TJ-: no [15:05] hirnpfirsich: the only difference I can see is, when Ethernet doesn't work with 5.11.0-18-generic the r8169 module doesn't attempt to load. I'd ensure it is actually installed and not corrupted to begin with [15:06] hirnpfirsich: Am I correct that the wifi device is USB WB335 ? [15:11] TJ-: ah shit. I excluded the kernel logs containing 'wlp2s0' from the first pastebin (because of the mac adresses). This is the full kernel log (sorry for that!) https://paste.ubuntu.com/p/txhBxBKWcd/. It's an "02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)". Allright. Then i will try to hunt downt the r8169 kernel module [15:13] hirnpfirsich: the r8169 drives the PCI device pci 0000:03:00.0: [10ec:8168] type 00 class 0x020000 [15:17] hirnpfirsich: nothing there with any clues [15:18] hirnpfirsich: both the r8169 and ath9k show up there, no problems [15:20] TJ-: that matches the output of lspci for the ethernet adapter. r8169.ko exists for -25 and -22 but not -18 .... But "linux-modules-5.11.0-18-generic" is listed as installed. I'll try to reinstall the package and also check the ath9k module [15:23] TJ-: same thing for ath9k.ko. Have I installed the wrong kernel package for downgrading ?. I thought that "linux-image-5.11.0-18-generic" was the meta package [15:29] hirnpfirsich: it depends on the -modules package, installs only the kernel itself [15:33] TJ-: i reinstalled both packages via "apt-get install --reinstall linux-modules-5.11.0-18-generic linux-image-5.11.0-18-generic". But still no ath9k.ko or r8169.ko file in the modules directory for the -18 kernel. Am i missing something ? [15:36] hirnpfirsich, is linux-modules-extra-xxx installed ? [15:38] hirnpfirsich: ^^^ that'll be the problem since that is where r8169 lives. That is only pulled in by a dependency in linux-image-generic, which only depends on the latest current kernel, which explains why you missed it since you were installing an older kernel [15:38] hirnpfirsich, replace xxx with the kernel ver you want to install (e.g. linux-modules-extra-5.11.0-18-generic) [15:39] strange how the lowlatency versions don't have a modules-extra [15:39] ioria: that did the trick! Rebooting and crossing my fingers [15:40] hirnpfirsich, i also guess you miss the headers (but that's another problem) [15:55] TJ & ioria: 5.11.0-18 now works again. Thank you so much! With -18 the graphic glitches just went away. Smells for me like a kernel regression. Should i open a bug report for that ? [15:56] hirnpfirsich: so the glitches occur with -25 but no -18 ? [15:56] TJ-: and with -22 [15:56] hirnpfirsich, sure you can; i suggest you try again the current 21.04 kernel maybe with a custom xorg.conf [15:57] hirnpfirsich: i would look in the existing recent kernel bugs first, we noticing a lot of 5.11 bugs lately [16:00] ioria: isn't 5.11.0-25 the current kernel for 21.04 ? Also the glitches start before X or Wayland while plymouth displays it's fancy loading circle [16:01] hirnpfirsich: only a few changes; you could do a git-bisect https://paste.ubuntu.com/p/PdH35RsQQP/ [16:02] lotuspsychje: in launchpad not upstream, right ? [16:04] hirnpfirsich: yeah launchpad, we are watching #ubuntu-bugs-announce its raining 5.11 bugs lately, try on package linux and sort newest first [16:04] hirnpfirsich, you got glitches 'before' X starts ? [16:04] hirnpfirsich: could be the fix for this has broken yours. This was added in -22 Bug #1925685 [16:05] Bug 1925685 in linux-hwe-5.8 (Ubuntu Impish) "[SRU] Patch for flicker and glitching on common LCD display panels, intel framebuffer" [Undecided, Confirmed] https://launchpad.net/bugs/1925685 [16:05] hirnpfirsich: applies to 5.11 too [16:06] note the SRU caveat "Although this solves the problem for us and has been confirmed to work with the Intel developers that developed this patch, it could cause another display type to have problems. This is unlikely as it has been vetted by Intel and by the mainline Linux kernel developers." [16:06] TJ-: intriguing. I'll have a look at how difficult it is to build a custom kernel using your sources. Always wanted to use 'git bisect' on the kernel :D [16:06] hirnpfirsich: re-open that bug report and add your kernel log and description of the issue you have [16:07] hirnpfirsich: that bug was 'fixed' by commit e420561d9f28ccd65aaef65c245d60d3bacf3289 [16:07] ioria: yes. Before! Wayland starts (unity and the login manager use wayland at this point, right ?) [16:07] hirnpfirsich: being the last-but-one in the patches against the i915 driver [16:08] hirnpfirsich, unity ? [16:09] ioria: what was your default display / window manager called again ? [16:09] hirnpfirsich, gdm3 / gnome-shell === lordrishav is now known as LordRishav [16:09] hirnpfirsich, btw, yes, probably deeper than a xorg issue === LordRishav is now known as lordrishav_ [16:10] hirnpfirsich: hmmm, that bug was claimed to be fixed in 5.11.0-20.21 for Impish, but - 5.11.0-22.23 for hirsute [16:10] Hello guys. I have absolutely no idea why this is happening: https://imgur.com/YJrXzt7.png [16:10] any idea of how to fiw this? [16:10] fix* === lordrishav_ is now known as LordRishav [16:12] do you have grub/grub2 installed? [16:13] PeGaSuS: is that on Xubuntu? [16:13] mybalzitch: I have no idea. it's basically new install from Kimsufi (it's a remote machine) running Ubuntu 20.04 [16:13] TJ-: ^ :D [16:14] PeGaSuS: looks like an EFI shim is to be installed but the grub-efi tooling is not finding an EFI-System Partition. Check the system booted in EFI mode, not BIOS [16:15] how can I check that? [16:15] ioria: thanks for the clarification :) [16:16] PeGaSuS: "journalctl -k --grep efi" and you should see a lot of related messages about EFI facilities [16:16] TJ-: so reopen it is ? I am a bit intimidated by that thing [16:17] hirnpfirsich: well that or create a new issue but then you might not get much attention. Re-opening an apparently fixed issue triggers alarm bells :) [16:17] hirnpfirsich: if you want to do a git-bisect first to prove it is that exact patch feel free [16:18] TJ-: this is what I get: https://termbin.com/ivxf [16:18] hirnpfirsich: looks like it'd only need 3 builds with bisect [16:19] PeGaSuS: so, not booted in EFI mode. Therefore, how are you managing to install shim-signed? what have you been up to!? [16:19] TJ-: I've done nothing special. just reinstalled the machine, and now when updating that happened [16:20] "done nothing" ..." just reinstalled" ... errrm, that's hardly nothing [16:20] TJ-: Alright. I'll collect my thoughts and start the bisect soon~ish. Thank you all so much ! :) [16:21] PeGaSuS: so you've managed to re-install whilst the system iis live and has been running since 2021-07-21 ? [16:21] no. that is when it was reinstalled though [16:22] PeGaSuS: you need to figure out why shim-signed is installed since for BIOS mode it is useless, and it expects other EFI specific tooling which won't exist. That explains the error message you see [16:23] that's the problem, since I have no idea of what's going on [16:24] was this current issue triggered by an "apt upgrade" ? [16:25] TJ-: yes, it was [16:25] PeGaSuS: find out what other EFI related packages may be installed "apt list --installed '*efi*' " [16:28] TJ-: this is the output: https://termbin.com/pf4g [16:33] PeGaSuS: show us "pastebinit <( lsblk; sudo blkid; apt list --installed '*grub*' ) " [16:34] TJ-: https://paste.ubuntu.com/p/Nd8gZhksxp/ [16:37] PeGaSuS: that confirms the system started in BIOS mode, and that the 'disk' (sda) isn't partitioned for EFI at all [16:37] PeGaSuS: not sure how you managed that [16:38] TJ-: nor do I. I'm considering on reinstalling the machine again though [16:39] PeGaSuS: how precisely did you perform the reinstall? presumably from an ISO installer image which must have booted in EFI mode if it installed the system in EFI mode, but on restart somehow managed to boot in BIOS mode. Most likely the prior install was BIOS mode and the GRUB bootloader files to do that remained in place [16:40] TJ-: via their webpanel, although I didn't stopped the machine before reinstalling [16:41] PeGaSuS: it might be recoverable - removing those efi packages and installing "grub-pc" [16:42] TJ-: could you just give me the exact commands please? [16:42] it's not the simple! [16:43] PeGaSuS: at any point it could 'blow up' and need a lot of wrestling. Possibly it might only need "apt install grub-pc" and that'll remove the efi packages and then do a new BIOS-mode grub-install [16:43] But then again it might break something else [16:44] I'll try it in a bit, after backing up some important data [16:52] TJ-: how good or bad does this looks: https://paste.ubuntu.com/p/NNTGRBx5SJ/ [16:52] anyone know why there is a delay in my audio? i see the person talking but it takes a few seconds before i hear anything. it doesn't appear to be a sync problem. sometimes the audio gets noisy also. ubuntu 20.04, nvidia GeForce GTX 1050 Ti [16:54] PeGaSuS: looks promising. Now follow up with "update-grub" [16:54] eelstrebor: depends on what the source is? [16:55] TJ-: so far seems good? https://paste.ubuntu.com/p/9ryYfRgfwx/ [16:56] PeGaSuS: on the face of it, yes, that looks correct [16:57] i'll update if I run into any issues though. also, I've just rebooted the machine and "# [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS" returns BIOS still [16:58] I guess we'll know when I need to "apt update" again [16:59] PeGaSuS: you may need to do "apt autoremove" to get rid of unused packages [17:03] TJ-: did that already :D lets see how it behaves. otherwise I can always reinstall the machine, since the *important* data is already backed up [17:03] I have a react application up and running using "npm start", and it works. But as soon as i close the terminal, the application also stops. What can i do ? [17:05] raxor2k: you can use screen/tmux or even a systemd script [17:05] PeGasus: pardon ? [17:07] raxor2k: screen/tmux allow you to keep applications running even when you close the terminal [17:08] hmm okei [17:09] raxor2k: are you running the react application as root? [17:10] also for those kind of questions, since this is not an Ubuntu bug/issue, the #linux channel would be more suitable [17:11] pegasus: yes im running the app as root [17:12] raxor2k: maybe this will help https://nodesource.com/blog/running-your-node-js-app-with-systemd-part-1/ [17:12] unless really needed, you should NOT run any app as root. that might bring security issues. [17:12] TJ- : thanks [17:13] pegasus : ye i know, this is just a test server, so no worries [17:13] raxor2k: except, create your .service file in /etc/systemd/system/ not under /lib/systemd/ [17:14] TJ: maybe i should just consider deploying the app with docker .. [17:14] this it will be much easier [17:14] raxor2k: creating a systemd unit is also easy [17:16] pegasus: doesnt seem like that. [17:17] raxor2k: what? about 6 lines in a .service file [17:20] tj: example in dpaste.de ? [17:21] raxor2k: you just need to create a my_app.service under /etc/systemd/system with something like this: https://paste.ubuntu.com/p/ZqSrskqhWx/ [17:21] step 4;create a systemd service file https://linuxbuz.com/linuxhowto/create-react-app [17:23] you might also want to set the "WorkingDirectory" like in here: https://paste.ubuntu.com/p/vx7mqn37YK/ [17:23] personally, i would not use npm with root [17:30] well [17:30] this is not 6 lines [17:30] but thanks anyways === keypushe- is now known as keypusher [17:37] raxor2k: I suppose you need to create a docker config file too, but well [17:42] TJ-, no. it happens on youtube, amazon prime video, etc === EriC^ is now known as EriC^^ [17:44] eelstrebor: did you test that on different browsers? [18:12] is there any plan to ever try to get suspend and resume on ubuntu to work or.....? [18:13] is that not considered important enough [18:14] In general, it works, except for certain drivers that break things, in any distribution [18:15] In that case you'd need to find out the problematic driver [18:15] mort: yes, and it is working. all drivers are not working, but that's different story [18:15] hasn't really ever worked that well for me [18:16] well, there's *one* machine I have ever used which I didn't notice major suspend/resume problems with [18:18] so you decided to blame ubuntu for bad hardware choices? [18:18] https://wiki.ubuntu.com/DebuggingKernelSuspend [18:18] The problem isn't in the hardware but in the drivers [18:18] I don't believe I have made bad hardware choices. I believe it's the operating system's responsibility to have working drivers. [18:18] no, it's hardware manufacturers responsibility [18:19] hahaha lol [18:19] you know that's a lie [18:19] Linux's model doesn't even allow hardware manufacturers to publish drivers without major pain for all their end users, all maintenance of all drivers is the responsibility of the kernel maintainers [18:20] mort: nope, many manufacturers co-operate with kernel [18:20] but they can't just publish drivers now can they [18:20] yes they can [18:20] no, they have to get them mainlined into the kernel, and then it's the kernel maintainer community's responsibility [18:21] if they have no expertise on driver writing, community would help, but if they don't want, nobody cannot do anything [18:21] Who usually is paid by that company [18:21] anyways, it would just be nice if suspend and resume worked at all, that's all [18:21] and most kernel driver maintainers are working in companies [18:22] mort: then debug what is causing it [18:22] but I get it, suspend/resume isn't a big priority [18:22] not like servers need it after all [18:22] servers won't need it but eg. laptops it's quite mandatory [18:22] yeah and nobody gives a shit about linux on laptops [18:22] evidently [18:23] mort, did you see the link? [18:23] not even the person with suspend/resume problems [18:23] It might be as easy as running one command before suspend [18:23] mort: are you asking for help troubleshooting your suspend issues? [18:23] i run linux in my every system, I don't even have any microsoft. And none of my systems suspend / resume is not problem [18:23] even in old lenovo W520 [18:24] leftyfb: I mean, if you want to help troubleshoot the issues then feel free, but it's not gonna be easy [18:24] mort: did you read alkisg link? [18:24] YES [18:24] yes* [18:25] mort: then start by giving detailed information of your hardware, preferable using tools like lspci and lshw. Specify your ubuntu release and kernel and any logs you have of suspend failing and describe the symptoms [18:25] you're not gonna like the desktop - it has an nvidia card [18:26] quite explanatory system specs [18:26] mort: otherwise, this is not the appropriate place to complain. Feel free to file bug reports or rant in #ubuntu-offtopic or #linux (more appropriate as it's probably not ubuntu-specific) [18:26] but I was mainly just asking if anyone is actually trying to fix suspend/resume or that it's not a priority. Sounds like it's not a priority. [18:27] !bug | mort [18:27] mort: If you find a bug in Ubuntu or any of its official !flavors, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. [18:28] mort: yes, there are many people trying to fix suspend/resume, but it is not helping if you are not providing your system specifications [18:38] so, it seems like suspend (not resume) fails when I try to suspend with monitors connected but where the monitors aren't connected to power. The GPU is an NVidia GTX 1080Ti. I don't believe the other hardware matters, since it has been an issue with other CPUs and motherboards and RAM sticks and drives [18:39] the one "hash matches" line from dmesg is from "pci 0000:07:00.0" which is the nvidia card [18:40] but there's absolutely no use submitting this as a bug report literally anywhere is there since nvidia won't care and canonical and the linux people will blame nvidia [18:45] can't hurt to try I suppose [19:01] mort, if the problem is the nvidia binary drivers, then you were wrong to blame ubuntu/linux [19:01] Try without them [19:01] If it works without them, then file a bug report in nvidia itself, not in linux [19:02] If nvidia won't care, don't buy from them anymore [19:02] But in general, they sell cards; they card; they're the ones that make money out of you, not canonical [19:02] *they care [19:11] Is there a way to set the default branch name to "main" in Ubuntu 20.04? It looks like init.defaultBranch = main was added in Git 2.28, but 20.04 as 2.25 [19:11] the pop shell is "okay" in ubuntu 20.04 [19:11] who needs gnome and a wm all in one? [19:12] whos work flow is that :0 [19:37] hello === bubbler is now known as bubbler_ === bubbler_ is now known as bubbler1 === bubbler1 is now known as bubbler2 === bubbler2 is now known as bubbler3 === bubbler3 is now known as bubbler4 [20:03] my disc doesnt start the computer any more [20:03] now i thought i repair the old grub and the disc will start again, right? === bubbler4 is now known as bubbler [20:04] grtestuser: depends why the computer is not starting [20:11] ubu focal, can I somehow put all the stuff on the hard drive into a smaller area so that I can partition the drive? Is this even possible? [20:12] lotuspsychjenope, just firefox [20:14] strace of gnome-shell taking 100% of a single core after some uptime in ubuntu 21.04: [20:14] % time seconds usecs/call calls errors syscall [20:14] 34,15 0,013715 0 30066 23367 recvmsg [20:14] Cant be good? [20:26] reboot da machine! :) [20:41] morgans, yes.... it may be possible with gparted to put a smaller partition on a drive if there is enough free space available on the drive [20:42] i was thinking about doing this with a 500gb drive i wanted to clone to a 240gig ssd drive for my laptop [20:42] so i was thinking of putting a 280gig ext3 on the ending free space of the current partition and leaving the ext3 blank [20:43] nnnnnn: linux filesystems usually have less magic in the backend so you could do that manually aswell [20:43] nnnnnn: as in manually setup the partition on desitination and then do a rsync or such with preserved user/groupid of each file/dir [20:43] morgans: what's your end goal? [20:46] nnnnnn, EriC^ my goal is not to have to back this all up on a HD and reinstall all but to just put mate on another partition and see if it behaves better. (different DE and will chrome r ff be able to handle memory better so that I dont have to reboot the browser (or the system) every day or two. Plus I will get an application tree! === Walex_away is now known as Walex [20:47] Every other time I have installed ubu I have partitioned the drive ahead of the installation so I have lots of pocket to tash in, lol [20:49] alkisg: eh, I think it's appropriate to blame the system if a bad proprietary driver makes it possible for the system to not even be able to suspend and resume [20:49] clonezilla is your friend then [20:49] morgans: i think you can just install the mate DE with sudo apt-get install ubuntu-mate-desktop [20:50] you could argue it makes sense for the gpu to not work after suspend/resume if the driver is borked, but you should at least be able to 1) make it actually suspend so that it's not drawing power when not expected to, and 2) log in using ssh when it resumes [20:54] welp, I tried installing the latest kernel as specified in https://wiki.ubuntu.com/DebuggingKernelSuspend but the nvidia drivers don't seem to work properly there [20:54] mort, the kernel notifies the driver to suspend. If nvidia can't handle it, blame them to fix it [20:55] If you think you can design a kernel that can suspend without knowing the hardware (because of course it doesn't, that's the driver job), then ... you're superman? great for you [20:55] alkisg: I mean, a reasonable userspace driver API would make that possible right [20:56] nothing about nvidia's drivers *requires* being in kernel space [20:56] Graphics driver in user space?! [20:56] How would they access the hardware? [20:56] via kernel APIs? [20:56] That are callable only by ring 0 processes? [20:57] well ring 3 ideally [20:57] doesn't Windows NT already do this [20:57] https://en.wikipedia.org/wiki/User-Mode_Driver_Framework [20:57] Well, if you think you can implement nvidia in user space, you need to tell them that [20:58] I don't think anyone else can [20:58] not without a proper userspace driver API provided by Linux obviously [20:58] isn't most of nvidia's proprietary drivers in userspace anyways? I think I heard stuff about that [20:58] NVidia GTX 1080Ti is all we know; what driver did you use? [20:58] mort, and which graphics driver uses that in windows? [20:59] not like they're running their clang fork to compile GLSL in kernel space [21:00] I spent way too much time troubleshooting resume from suspend on my recent PopOS install. Turns out I just needed to disable "DDC/CI" on my monitor. [21:00] oerheks: currently version 470 of the proprietary nvidia driver [21:00] I would love to use nouveau but that doesn't actually work [21:00] right, come to think of it. Having a second partition allows me to use one hard dive to store things outside of the install. Then I can install a new system in more safety. nnnnnn EriC^ [21:01] so how can I repartition and not lose what is on the hard drive? [21:01] Hi Folks, i was wondering (i googled) if there was a app i could equalize my microphone and output? [21:02] morgans: the advice is always going to be to back up everything you care about first [21:02] morgans: once you have done that, there are ways to change your partition table in ways which have a fairly high probability of not messing up your data [21:02] venividivici1989: check out PulseEffects [21:03] I will do thx! === duszek is now known as duu [21:14] how can i install xpilot-ng package? i just got a flashback and want to play the game again [21:17] duu: probably with sudo apt install xpilot-ng [21:37] How Ubuntu generate resolution list ? [21:42] morgans, gparted allows a way of resizing a partition and adding an additional partition.. . always make backups first === jasond is now known as jsnd [21:48] How Ubuntu generate resolution list https://pasteboard.co/KeZBar6.png ? [21:52] mekaneck: can't found the package === dieth_ is now known as dieth [21:59] hey, i was wondering if anyone can help me. I encryopted my hard drive when installing ubuntu initially, now I can't mount it using the live CD / usb. Does anyone think they can help? [22:00] I asked the question here too, if anyone wants to have a look - https://askubuntu.com/questions/1356777/encrypted-ubuntu-missing-20-04-full-drive-encryption === LjL is now known as ElJayEl [22:03] hardads: https://gist.github.com/samuelcolvin/43c5ed2807e7db004b1058d0c9bfb068 and https://itectec.com/ubuntu/ubuntu-how-to-repair-boot-on-luks-encrypted-harddrive/ and https://feeding.cloud.geek.nz/posts/recovering-from-unbootable-ubuntu-encrypted-lvm-root-partition/ describe the process [22:03] you won't need to do the update-grub or grub-install step if yours still boots fine. [22:04] tomreyn i tried all of those in the first link, I get the error: [22:04] sudo cryptsetup luksOpen /dev/sda home_sda [22:04] Device /dev/sda is not a valid LUKS device. [22:04] so I can't continue with the remaining steps [22:05] device /dev/sda is a full disk, not a partition on a disk. you'll want a partition [22:05] hmm, there are no partitions [22:05] so... what is there, and how do you tell? [22:06] hardads: start with "sudo blkid | grep crypto" [22:06] ^ that returns nothing, but here: [22:06] !paste [22:06] For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [22:06] hardads: you'll see at least 1 block device with "TYPE="crypto_LUKS" " if you've got a LUKS encrypted system [22:07] I can only see my windows partitions with that command [22:07] (just sudo blkid) [22:07] hardads: how many drives is the computer supposed to have? [22:07] I have 2 drives, one 2TB, one 256gb [22:08] the 2TB has 4 windows partitions [22:08] hardads: use "lsblk" does it show both? [22:08] the 256gb has/had my ubuntu [22:08] sudo blkid [22:08] lsblk [22:08] NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT [22:08] loop0 7:0 0 2G 1 loop /rofs [22:08] loop1 7:1 0 55.5M 1 loop /snap/core18/1988 [22:08] loop2 7:2 0 64.8M 1 loop /snap/gtk-common-themes/1514 [22:08] !paste | hardads [22:08] hardads: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [22:09] https://paste.ubuntu.com/p/PB66ZBzyQt/ [22:10] methinks this is an unusual install! [22:10] so I'm not sure why there are no partitions (are they supposed to be visible or is it not visible because it is fully encrypted)? [22:11] hardads: show us "pastebinit <( sudo blkid; journalctl -k )" [22:11] hardads: they won't be invisible [22:11] pastebinit <( sudo blkid; journalctl -k ) [22:11] https://paste.ubuntu.com/p/2wBPCRpC75/ [22:12] sda will be the (supposedly) "ubuntu disk", nvme0n1 the "windows disk", and sdb will be the "live system" you're running now. [22:12] how did you install ubuntu? [22:12] correct [22:13] literally just followed the basic instructions with the usb, next, next, but enabled the full disk encryption [22:13] hardads: kernel log shows lots of hardware errors [22:14] hardads: lots of "EDAC amd64: Error: F0 not found, device 0x1650 (broken BIOS?)" - EDAC == Error Detection and Correction [22:14] so a reason mightve been I had to RMA my motherboard, and got it swapped out for an equivalent one [22:15] and I get a few debug logs when booting into linux / booting out, but nothing major [22:15] hardads: does "sudo blkid /dev/sda" give you anything ? [22:15] (every time for the past 6 months or so) [22:15] nothing :/ [22:15] hardads: when did you last have access to this sda install? [22:15] literally like 5 hrs ago [22:16] i was coding in pycharm, google chrome crashed on me [22:16] i kept trying to press "force quit", it continued to not force quit, even though I pressed it like 20 times [22:16] pycharm was responsive [22:16] there was an ubuntu update happening in the background and it was complete, but it asked me to restart [22:16] i pressed the restart button, nothing happened [22:17] hardads: looks like the device's firmware is corrupted [22:17] first error seems to be "EDAC amd64: Error: F0 not found, device 0x1650 (broken BIOS?)" - https://bugzilla.kernel.org/show_bug.cgi?id=210593 [22:17] bugzilla.kernel.org bug 210593 in Platform Specific/Hardware "EDAC amd64: Error: F0 not found, device 0x1650 (broken BIOS?) with Ryzen 5600x & B450 chipset" [Normal, Resolved: Patch_already_available] [22:18] this system runs 5.8.0-43-generic from february '21 [22:18] ahhh the kernel error mightve also been my new gpu, but I upgraded the BIOS firmware a week ago [22:18] hardads: several web sites have related questions because the device is reporting itself as "SATAFIRM S11, SBFMP1W3" [22:18] ^^^ this indicates the drive firmware is corrupt [22:19] oh *drive* firmware, that makes more sense [22:19] so it seems that my ssd is fried? [22:19] (i was thinking mobo) [22:19] let me check the log dates [22:20] windows boots fine btw, all data is there uncorrupted (on my 2tb ssd) [22:20] hardads: apparently, the fault is in the SSD's phison controller firmware [22:21] so i dont think its mobo [22:21] it's probably just sda that's broken [22:21] hardads: search term is "SATAFIRM S11" e.g. https://linustechtips.com/topic/937255-25-ssd-become-satafirm-s11/ [22:22] oh i see [22:22] do you know if SSDs are hot swappable btw? [22:22] like if I try using a different SATA cable [22:22] will it show up in /dev/db<..> [22:23] i believe sata is designed to be hot swappable.. out of experience i turn off my computer before modifying internal components [22:24] hardads: there's some talk of a repair tool but it is data destructive https://forums.tomshardware.com/threads/kingston-satafirm-s11-fix.3489081/ [22:24] striking a cpu fan blade once caused it to lose a fin when it was running [22:25] it seems that everything is pointing towards a hardware problem [22:25] okay, i will restart my pc and try another port [22:26] TJ-, that ssd drive error scares me [22:26] looks like a common problem with the Phison controllers [22:27] presumably it overwrites its own boot metadata [22:27] kingston ssd manager also handles ssd firmware upgrades, so maybe this can be solved with an upgrade [22:28] bet it is a null pointer dereference and some silly dev thought it a good idea to store the metadata starting at offset 0 in flash - that's usually how it happens [22:28] if its of any help, its a patriot burst 240gb [22:28] this is why Linux kernel doesn't use the first 64MB of RAM, to protect against null pointers corrupting data [22:28] booting straight back into GNU GRUB, which im guessing is because I have the GRUB on the 2tb windows ssd [22:29] hardads2: presumably GRUB's core is installed in the EFI system partition on the NVME [22:29] ah, makes sense [22:30] maybe a livecd would help you track the problem easier? [22:30] yeah you're right, its booting into grub even when i take out the ssd [22:30] the 240gb ubuntu / corrrupted one [22:30] patriot's firmware upgrade and de-brick tool would be "patriot data toolbox" [22:30] *sata [22:31] damn :/, doyou think theres any chance to recover the data? [22:31] havent bakced up shit, got quite a bit of code i forgot to commit before it failing :') [22:33] hardads2: no, looks like data is gone [22:34] damn, okay :/ [22:34] hardads2: installing firmware is a destrictuve operation ; presumably it resets the metadata block which will overwrite the master key [22:34] any recommendations in the future to prevent this from happening? [22:35] or something i should have done differently [22:35] Sorry for not replying. tomreyn: I didn't do anything tho. I just update and upgrade stuff. [22:35] looks like bad luck from all the reports, but, backups :) [22:36] sure, what abot on the encryption side [22:36] is there anything else i should do for the encryption, or just the initial set up when i first installed ubuntu enough [22:37] leftyfb: here you go: https://termbin.com/ij8ay [22:37] hardads2: yes, that's enough, unless you want to encrypt grub file-system as well, as in https://help.ubuntu.com/community/Full_Disk_Encryption_Howto_2019 [22:38] hardads2: the encryption should be fine (inclk- on an ssd). here's the patriot tool to do firmware upgrades - *possibly* without data loss http://downloads.patriotmemory.com/info/toolbox/2.5/toolbox_complete_1.18x1.zip [22:39] sorry what does inclk- mean [22:39] Orchid: sorry, i think this is a long time ago, i don't rmemeber what we talked about, would need a fresh summary [22:39] hardads2: "inclk-" was a typo for "incl.", sorry [22:40] tomrey appreciate the help, thank you. I'll try that tool now [22:41] tomreyn: I'm asking about i can't restart PackageKit because it's service file is missing [22:41] hardads2: good luck [22:43] Orchid: try sudo apt install --reinstall packagekit [22:44] this should include /lib/systemd/system/packagekit.service [22:47] tomreyn: Hey it's fixed, thanks :) [22:48] Orchid: that's a miracle, because such service files don't vanish by themselves === ElJayEl is now known as LjL === Abrax- is now known as Abrax [23:23] why when connecting external display to the laptop, the lock screen on the laptop is black? [23:24] ice9: the screen is entirely blank? [23:24] matsaman, i mean the background color of it [23:25] what color is it usually? [23:25] ice9: ( cat /etc/os-release ; uname -a ) | nc termbin.com 9999 [23:26] leftyfb, https://termbin.com/g0ww [23:44] Hu guys, does anyone know where the gluster_shared_storage for geo replication should be mounted on a peer ? under /var/run/guster or /var/lub/gluster [23:44] *lib === starz is now known as starz- === starz- is now known as starz