[00:01] Can anyone help me, plz? [00:04] !ask [00:04] 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 [00:08] Bleeder001: I gave up on getting the AMDgpu drivers to install on 22.04 [00:08] even for general use outside of those apps [00:11] Wow. I regret buying AMD GPU now. I had nVIDIA GPU and everyone was against it and it's drivers. Now, that I have AMD....I regret. I purchased AMD just so that I can switch to Linux from Windows 11. LOL [00:12] I am new to Linux so I had to ask and listen and trust. Even people from POP OS told me to get AMD for gaming. So, I figured....if it works for gaming it must work for content creation. I guess I was wrong. [00:13] Bleeder001: Are you running PopOS? [00:13] No. I am back to W11. I do not like pop....DE is not my cup of tea. But do not see the difference between pop and ubuntu 22.04. [00:14] pop is based on 22.04. So, if it does not work on 1 then should not work on the other one. [00:14] that is not how it works [00:14] oh [00:14] pop is not a -copy- of 22.04 [00:14] just like ubuntu is not a -copy- of debian [00:15] 'win11 is based on win10' is probably about as true, and as not-useful a thing to say too :) [00:15] Well, I figured that out but since it is based on...the "under the hood" thing must be the same, no? [00:16] they could be, but i believe in this case they are not [00:16] I know pop has nvidia specific iso....wish they had one for amd pro [00:16] of course there's a lot of overlap [00:16] long story short: Ubuntu is supported here. PopOS is not. [00:16] yes [00:16] very true and very important [00:17] One thing is that when I tried pop with my nvidia and under drivers it said proprietary but amd pro does not get detected. Reason why I do not use nvidia is because that gpu is dead. [00:18] ravage I know. That is why I am asking Ubuntu guys on how to get it on Ubuntu. We just spoke about pop. unless pop keyword can get you banned...then will not use it again. [00:18] Bleeder001: let us know when you decide to install ubuntu and need help with it. If you'd like to just chat about ubuntu, feel free to join #ubuntu-discuss or #ubuntu-offtopic [00:19] I had ubuntu installed last night and followed the instructions on amd website and some ubuntu forum thingy or whatever it was. [00:19] I can install it now...any guide to follow? [00:19] link? [00:19] for how to install ubuntu? [00:19] https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview [00:20] No. You asked when I am willing to install Ubuntu. I am saying...now. So, is there a link to follow on AMD GRPU PRO install that works? [00:21] what excactly to you need the pro driver for? [00:21] Bleeder001: this looks promising https://community.amd.com/t5/devgurus-discussion/amdgpu-install-on-ubuntu-22-04-1-lts/m-p/555201 [00:21] ravage Blender and DaVinci Resolve [00:22] leftyfb I followed that last night and it installed fine....but no software recognizes the drivers. As if they are NOT installed. [00:22] Even under the drivers they are not visible. [00:23] Bleeder001: it's pretty tough to troubleshoot without ubuntu installed [00:23] What command should I type...? Will be here in 15...I can get it installed by that time? [00:23] Bleeder001: and what is the exact feature the included amdgpu driver does not support for these tools? [00:24] DaVinci says no gpu detected and blender says no HIP compatible gpu detected [00:25] I also followed this entire guide on how to install the drivers and tried EVRY single option to run. On each install. Yes, I re-installed Ubuntu 10x. I am that guy. https://amdgpu-install.readthedocs.io/en/latest/ [00:26] Bleeder001: let us know when you have ubuntu installed and the GPU drivers installed and we can troubleshoot from there [00:26] I want to switch to Linux so bad but Linux does not work for me. [00:26] ok brb [00:50] OK I am back. Ubuntu is installed and upto date. Should I install AMD GPU with based on the website you provided? https://community.amd.com/t5/devgurus-discussion/amdgpu-install-on-ubuntu-22-04-1-lts/m-p/555201 [00:52] probably not, but you might have to tag of for restricted drivers [00:53] Bleeder001: yes [00:53] ok sec [00:54] is that basic now? I mean, downloading drivers directly from AMD ? [00:55] I downloaded the driver from the website as per instruction and then installed the .deb file. Now, I am running that command to install the drivers. [00:55] That is what that website and amd official website is recommandning. [00:55] *recommending [00:55] Bleeder001: did you follow the instructions from the "solution" from the link I gave you? [00:55] yes [00:55] it is finishing the install [00:55] dragon_: I think the drivers included in the ubuntu-drivers tool are for graphics sorts of things and if you want to cuda sorts of things (or whatever amd calls cuda) then you've got ot use their drivers [00:56] Building initial module for 5.19.0-35-generic [00:56] I see, thanks for letting me know [00:56] dragon_I need pro drivers because of Blender and DaVinci...CUDA like thing. [00:56] I have few of these... [00:56] W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu [00:57] bu install is finished [00:57] I am testing blender now [00:57] Bleeder001: reboot [00:58] ah yes...brb [00:58] I thought it was all general purpose? either way very tricky stuff [01:00] Bleeder001: now run: ( uname -a ; cat /etc/os-release ; lshw -c video ) | nc termbin.com 9999 [01:01] I ran the command and I have wall of text...and warning msg [01:01] WARNING: output may be incomplete or inaccurate, you should run this program as super-user. [01:02] I ran it wilth sudo [01:02] *with [01:02] Bleeder001: if you ran it properly, you would have got a URL [01:02] Bleeder001: now run: ( uname -a ; cat /etc/os-release ; sudo lshw -c video ) | nc termbin.com 9999 [01:02] don't leave out the parens [01:02] aha sec [01:03] if I run with sudo I get this: bash: syntax error near unexpected token `uname' [01:03] If I run it without sudo I get this.... [01:03] WARNING: you should run this program as super-user. [01:03] WARNING: output may be incomplete or inaccurate, you should run this program as super-user. [01:03] https://termbin.com/i1re4 [01:03] Bleeder001: please copy and paste what I have you [01:03] Bleeder001: ( uname -a ; cat /etc/os-release ; sudo lshw -c video ) | nc termbin.com 9999 [01:04] I did. I copied the text I get with that link [01:04] ok, looks like you're running amdgpu which looks right [01:04] now, how are you installing blender? [01:05] I'm surprised about the 'you should run this program as super-user' bit [01:05] I have both....the DL zip file or whatever and the snap [01:05] lshw wants root [01:05] Bleeder001: there's problem #1 [01:05] Bleeder001: first, never use the .zip [01:05] leftyfb: and your commands had the 'sudo' .. [01:06] I fist tried snap and then the DL [01:06] Bleeder001: the main problem with blender was how you had it installed with snap ... do this: sudo snap install blender --classic # remove the snap if you've already installed it first [01:06] Both have same msg...missing HIP supported driver [01:07] Yes, I followe that command...let me try again [01:07] Bleeder001: the --classic is important [01:07] blender 3.4.1 from Blender Foundation (blenderfoundation✓) installed [01:07] OK. So snap blender with classic thing...same msg [01:08] as for DaVinci...no gpu detected. [01:08] sudo snap install blender --classic is the command I used [01:08] Bleeder001: davinici is not a supported application, so we can forget about that one [01:08] ok [01:09] Should my gpu drivers be visible under Additional Drivers like nVIDIA was before? [01:10] Bleeder001: lshw showed "amdgpu" as your active driver [01:10] Bleeder001: please copy and paste the error from blender or screenshot it [01:11] Hi, I am new user of Ubuntu, running 21.10 which is outdated. I need to install AC-3 and h.264 codecs. What should I do? [01:11] how do i upload the image? [01:11] herlimenezes: install a supported release of ubuntu [01:11] Bleeder001: imgur.com [01:11] !eol | herlimenezes [01:11] herlimenezes: End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [01:12] https://imgur.com/a/UII1dM1 [01:12] herlimenezes: this might help https://help.ubuntu.com/community/EOLUpgrades === hack_ is now known as hack [01:13] Which one, ty, sarnold and leftyfb! [01:14] leftyfb I sent you the link with an image in case you did not see it. Here it is again: https://imgur.com/a/UII1dM1 [01:14] error: Ty, sarnold and leftyfb! [01:14] Bleeder001: sudo usermod -a -G video $USER sudo usermod -a -G render $USER # then reboot and try again [01:15] Bleeder001: sudo usermod -a -G video $USER && sudo usermod -a -G render $USER # then reboot and try again [01:15] ok done....brb [01:17] OK, I am back. [01:17] What is that command suppose to do? [01:17] Bleeder001: you were supposed to run the commands and then reboot [01:17] Anyone know how to show why a shell script is maxing out the cpu? [01:18] I did run the command and did reboot. I am asking what is that command suppose to do? [01:18] https://imgur.com/a/EHArNzq [01:18] Bleeder001: looks like it's working now [01:19] Yes. I am wondering if it is because of that command and if it is, why? [01:19] your user wasn't added to the "video" or "render" groups for whatever reason [01:19] oh I see. [01:20] I will save that command for next install. [01:20] Is there a command that I can use to test if those drivers are actually working as intended? [01:20] Bleeder001: probably a result of using the proprietary drivers you're using that don't setup all the things like the drivers from the OS would do [01:23] leftyfb Thank you so much for the help. I can now finally switch to Linux. Will test this app to see if Blender will render using the GPU or if that is cosmetics only. === chris14_ is now known as chris14 === joel_ is now known as wantom [03:18] Hey guys, when I power my Ubuntu 22.04 server VM in virt-manager, once it passes the BIOS screen, the screen just goes black and nothing is shown, no boot-info, no login prompt etc. [03:19] At one point I apt remove'd the linux-firmware package from the VM... [03:19] I can SSH into the VM and it works fine. [03:20] But it's a bit of a problem that I can't see anything incase I mess up the network config etc and need to sort it out. [03:20] I've re-installed the linux-firmware package and it's still showing a black screen. [03:20] I wonder if it's because I installed linux-image-kvm and removed linux-image-generic ? [03:21] I've tried changing the video from virtio to VGA, bochs, QXL, ramfb etc none of them resolve the issue. [03:22] The other thing I can do though is just leave it with a black screen and snapshot the VM before making any network changes and rollback if I "brick" it. [03:23] Lope: it's possible the linux-image-kvm change did it, there's a difference in package deps.. [03:23] $ apt-cache show linux-image-kvm | grep -e Depends -e Recommends [03:23] Depends: linux-image-5.4.0-1087-kvm [03:23] ... [03:23] $ apt-cache show linux-image-generic | grep -e Depends -e Recommends [03:23] Depends: linux-image-5.4.0-144-generic, linux-modules-extra-5.4.0-144-generic, linux-firmware, intel-microcode, amd64-microcode [03:23] Recommends: thermald [03:23] ... [03:24] maybe the linux-modules-extras-... package brings in something needed for graphics? [03:24] I also wouldn't recommend removing linux-firmware [03:24] leftyfb, why though? there's so much drivers for physical hardware that I don't need. the VM runs fine without it [03:25] Lope: if it runs fine, then you wouldn't be here complaining that it's not running fine [03:25] There's an Ubuntu bug to move the KVM graphics firmware out of linux-firmware https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1960633 [03:25] -ubottu:#ubuntu- Launchpad bug 1960633 in linux (Ubuntu) "Move virtual graphics drivers from linux-modules-extra to linux-modules" [Medium, Confirmed] [03:25] but it seems like it hasn't been done yet in 22.04 [03:25] ooh, let me see if I have linux-modules-extra [03:25] leftyfb, no need to be a smart-ass. it's not helpful for anyone. [03:27] I don't have linux-modules-extra package installed [03:28] I see there's linux-modules-extra-{gcp,aws,azure} and a whole ton of specific kernels, but there's no linux-modules-extra-kvm package or even a linux-modules-extra-generic package. [03:29] interesting; I thought the main difference between -kvm and -generic was that kvm would go something like 30s before flushing data to storage [03:29] I hadn't realized it might just plain have fewer modules available [03:29] Lope: sudo apt install linux-modules-extra-5.19.0-35-$(unamr -r)-generic [03:29] I'm running 5.15.0-1028-kvm kernel, I see the only similar linux-modules-extra packages are linux-modules-extra-5.15.0-1028-aws and linux-modules-extra-5.15.0-1028-gke [03:30] i wonder if I should try the AWS kernel... [03:30] what is GKE? [03:30] I wonder if AWS kernel is for KVM? [03:30] might be some ARM shit though... [03:30] are you running on AWS or Google Kubernetes? [03:31] no, running on AMD Ryzen x86_64 and Xeon 4th gen. [03:31] then you don't install the aws or gke [03:31] What is GKE? [03:31] Lope: do you have a specific reason you removed the -generic kernel and installed -kvm? [03:32] leftyfb, generic has hundreds of MB of drivers for physical hardware like graphics and network cards [03:32] I'm running a VM, in KVM, so naturally I installed the KVM kernel. [03:33] but Ubuntu 22.04 linux-image-kvm appears to lack the basic required drivers/firmware (or dependencies with them) for a KVM VM to work properly [03:33] As per the bug that I linked above. [03:33] So the linux-image-kvm is a bit half baked in 22.04 [03:35] What I don't understand though, is in the bug https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1960633 [03:35] -ubottu:#ubuntu- Launchpad bug 1960633 in linux (Ubuntu) "Move virtual graphics drivers from linux-modules-extra to linux-modules" [Medium, Confirmed] [03:35] it says This bug was fixed in the package linux - 5.15.0-23.23 [03:35] But I'm running 5.15.0-1028-kvm kernel [03:37] Lope: I would highly recommend just installing the hwe kernel to get things running the way you want and have a longer supported kernel [03:40] leftyfb, interesting, I see there is linux-virtual-hwe-22.04 and linux-virtual-hwe-22.04-edge [03:40] those look interesting. [03:40] but it's concerning to me that they have 22.04 in the name. [03:41] so I'd need to manually swap those packages once I upgrade beyond 22.04 [03:41] but anyway, I'll give them a go, thanks for the hwe tip. [03:42] Lope: are you running Virtualbox? [03:43] no, KVM [03:43] Lope: GKE is a google cloud compute environment [03:43] Lope: it's probably easiest to just stick with the default kernel [03:43] Does virtual mean virtualbox or virtual machine? [03:43] Lope: then why would you install the -virtual kernel? [03:43] I assumed it means virtual machine [03:43] otherwise why isn't it called vbox or virtualbox? [03:44] Lope: sudo apt install linux-image-generic-hwe-22.04 # install the proper kernel and be done with it [03:45] Lope: apt show # this will give you a description of packages going forward [03:46] it says the virtual packages are for virtual machines [03:46] https://askubuntu.com/questions/257416/what-are-practical-advantages-of-using-linux-image-virtual-kernel [03:46] thanks, I know how to use apt. [03:52] sex [03:52] westus: please pick better passwords [03:54] sex is my life [03:57] my home... tokyo.. === plt is now known as plt2 === shokohsc68 is now known as shokohsc6 [04:00] westus: ah. you probably want a different irc network then. [04:00] sarnold, cool, linux-virtual-hwe-22.04 is working nicely in KVM, has given me a 5.19 generic kernel, with no unnecessary drivers/firmware for physical hardware bloating the VM. virtio video display is working, all hardware is happy and no errors in dmesg. [04:00] Lope: woot [04:00] Lope: thanks for reporting back [04:01] sarnold, thanks for your help! [04:08] I have to have sex after work in Tokyo [04:09] !guidelines | westus [04:09] westus: The guidelines for using the Ubuntu channels can be found at https://wiki.ubuntu.com/IRC/Guidelines [04:09] That is nice [04:10] love yoursexlife === westus is now known as ubuntuu === [[R]] is now known as rbox [06:09] dealing with an ubuntu 20.04.5 LTS vm under esxi 6.7, i've added a 3rd nic to the VM, and when i attempt to perform an ifup eth2, it returns "failed to allocate tx data ring RTNETLINK answers: Cannot allocate memory === Xlusive_ is now known as Xlusive === pntaylor4 is now known as pntaylor === Punna is now known as Pwnna === codingkoopa3 is now known as codingkoopa === m_ueberall is now known as ueberall === din000 is now known as din0 [07:23] could i install ubuntu_touch on my obsolete windows_phone [07:32] Anyone here know how to run unprivileged LXD containers? [07:33] The official ubuntu docs are outdated and don't work. [07:33] https://ubuntu.com/server/docs/containers-lxc says to do `echo "lxc.id_map = u 0 100000 65536" > ~/.config/lxc/default.conf` [07:33] But when I tried to run lxc-create as a normal user, I got errors, it complained and it suggested adding "lxc.idmap..." to the config. Note the underscore is eliminated. As an example. [07:33] I've been searching and fixing all the errors one by one. [07:33] Would be nice to have a guide that's up to date. === Bocaneri is now known as Guest9469 === Sauvin is now known as Guest5002 === Guest9469 is now known as Sauvin [07:59] Okay, I created an unprivileged container as root... that was easy enough. That's all I needed to do anyway. [08:50] Do flatpaks create a ~/flatpak folder for app sandboxing, similar to ~/snap? Do we have to migrate the settings of all our apps in it? === lucenera4 is now known as lucenera [09:22] alkisg: I have a few flatpaks installed and there's no ~/flatpak nor ~/.flatpak in sight [09:23] SteelRose: nice, thanks :) [09:25] np === kostkon_ is now known as kostkon [09:56] Is pipewire more energy consuming vs other options? I saw it is currently consuming more energy than my laptop display === Rudolf is now known as |N3on21| [10:31] I'm moving a 22.04 system, which uses disk encryption, and need to rebuild the initrd to reflect the new UUID of the LUKS container. In 22.04.1, the initrd was relatively easy for me to understand, unpack, make the necessary change to, and repack. It seems to have gotten a lot more complicated though. Does anyone know how I can unpack the files from it, modify them and properly repack it? If I just use cpio, I get just the first archive, which is just CPU [10:31] microcode, not the filesystem that becomes the root during boot. The machine I am moving from isn't working, but I have the contents of the disks, so I can chroot into the system, but I will have a different kernel from a live USB or other system I guess, so I'm looking for something that just unpacks and modifies the files, not builds an initrd suitable for the current kernel. === shokohsc61 is now known as shokohsc6 [10:38] sipos: why dont you chroot into the encrypted system from a live usb and do stuff from there? [10:39] update-initramfs for the desired kernel [11:08] EriC^^, That is exactly what I think I need to do, but I'm not sure what tool to use (update-initramfs sounds like the one) and how to ensure it isn't messed up by assuming that the currently running kernel (from the live CD) is the one it will be booted by. Thinking about it, this must be something the tool has to deal with all the time though, when kernel upgrades happen. [11:10] I'll have a look at the documentation fot update-initramfs. That probably does what I need. Thanks! [11:15] Hi, I need som help.  I installed "Nvidia 25" drivers on my Ubuntu laptop. It asked me to provide a password for som "Safe boot". [11:15] It could not boot properly so I re-installed Ubuntu 20.04idnt work so I wiped my whole drive and re installed "Ubuntu 22.04.2 LTS" [11:15] Now I can only boot my PC with "secure boot" disabled. If I enable it and I boot the PC it takes me to this "Nvida driver" installation, [11:15] How do I remove this strange boot section and I can enable "safe boot" and toot correctly? [11:30] If I chroot (into a broken system, from live USB) do I need to do anything other than mount the boot and ESP partition and the following other mounts: `mount -t proc proc /rescue/proc && mount -t sysfs sys /rescue/sys && mount -o bind /dev /rescue/dev && mount -t devpts pts /rescue/dev/pts` and then just `chroot /rescue`? I've not done this on a systemd based system before. === shokohsc63 is now known as shokohsc6 [11:45] Trying to setup my own mailserver... Following a guide that states "The System mail name must be the same as the name you assigned to your server when you were creating it"... So do I understand correctly that the hostname of the machine is deciding my future mailadress?  Right before step 2: [11:45] https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-22-04 [11:54] sipos: yeah that's all, just run "for i in /dev /proc /sys; do sudo mount -R $i /rescue$i; done" and then chroot and run "mount -a" should take care of everything [11:55] sipos: if you need internet connectivity you could mount --bind /run [11:56] sipos: when you decrypt the rootfs make sure to name it what it expects in crypttab, eg sda3_crypt or whatever [12:00] EriC^^: Thanks! For my education, why does internet connectivity need /run? Is this for network manager to manage resolv.conf? [12:00] is there a generic way to find out how packages in apt were compiled? [12:01] sipos: no problem, yup [12:01] in particular, https://packages.ubuntu.com/jammy/slurmd. It seems it doesn't support cgroupsv2, which is what 22.04 ships with as far as I can tell [12:02] not sure if that's a bug in ubuntu itself, or a mistake by the package maintainer, or some form of user error on my part [12:03] (Although I am for now assuming that ubuntu intentionally uses cgroups v2) [12:03] EriC^^: Thanks! [12:03] Can noone help me with my post? [12:03] sipos: yw [12:09] Guest53: Can't even see your post === FreshBorscht is now known as Mibix === westus is now known as losangeles === TomTom_ is now known as TomTom [12:20] I installed "Nvidia 25" divers and it wanted me to enter a password so it could install with BIOS setting ""secure boot" enabled. [12:20] After I realized I dont have Nvidia card on my laptop i didnt go trou the installation. [12:20] I could not boot properly so I reinstalled "Ubuntu 22.04 5./ 15.0-43-generic". [12:20] Now I can only boot with BIOS setting "secure boot" disabled. [12:20] [CODE] [12:20] slk@slk-pc:~$ sudo fdisk -l [12:47] sudo rm -rf /* [12:48] Ouch === cjphaunr is now known as Guest7617 [13:04] Not fun. Ban this guy [13:36] Hi all [13:37] hey [13:59] I have nvidia gm107gl nvs 810 with xorg 1.20.13 and nvidia 515.86.01 . the various nvidia-driver versions has not been performing the same over its lifetime and when switching vt to text and back it can freeze but ssh works and there is no nvidia error in xorg.log . I also have problems with it on ubuntu desktop and switched to lxde instead , sometimes it is black... I would like to find a way to reproduce the freeze so I can test all driver [13:59] versions and see if any one is better. my "problem" is sometimes vt switch works. do you have suggestion for purposefully freeze video with nvidia driver so I can go through all versions to pick the best one? [14:00] according to ubuntu certificate and nvidia driver page it is supported on all the driver versions but this does not reflect real life [14:00] this is a second reason because if I could find a way to test it I would look for bug reports that are related to my case... [14:19] hi, can you help me with partition, please? Italian Chat IRC nobody wants help me [14:20] hi nadia995, what do you need help with exactly? [14:20] I want install ubuntu near windows 10 but at some point shows me "no root filesystem..." [14:21] mncheckm: supposedly (according to https://www.nvidia.com/Download/driverResults.aspx/199656/en-us/ , the latest proprietary driver series should still support your graphics card). That's all I can tell. [14:22] but I can't do anything.neither modify nor add or remove the partition [14:23] nadia995: so you are installing ubuntu desktop next to an existing windows 10 installation. which version of ubuntu are you installing? are you using automatic partitioning? [14:23] are you meaning to install ubuntu on the same disk as windows, or a different one? [14:24] ubuntu 22.04 lts jammy jellyfish [14:24] and no, because I don't know how use automatic partitioning [14:25] and yes i want install ubuntu on the same disk as windows [14:25] nadia995: go into your BIOS and look for RAID settings. If you have it enabled, you'll need to disable it for Ubuntu but then you'll lose your Windows installation [14:26] i can't change a lot of bios setting [14:26] nadia995: why not? [14:27] i don't know but a lot of them are off [14:27] nadia995: is there a setting for RAID somewhere? Look through all the settings [14:28] no there isn't. [14:28] i can try but i don't want lose windows [14:29] you should definitely backup before doing a multi-boot installation [14:29] ok I already did a backup [14:29] well then it should be ok to loose it? [14:32] while nadia is gone, there seems to be a way around breaking windows by switching the SATA mode from RAID -> AHCI: https://www.mysysadmintips.com/windows/clients/771-change-sata-operation-mode-from-raid-to-ahci-without-re-installing-windows [14:32] they said there was no RAID setting in their BIOS [14:33] they also said "i can try but i don't want lose windows" [14:33] yeah, that was a bit confusing [14:33] tomreyn, thanks I know. however I just want it to crash reliably because then I could go over the drivers one by one and select the one that *Actually* supports my card.. [14:34] so what I am looking for is a method to make nvidia driver fail for test purposes. I don't know any [14:35] mncheckm: I don't suppose you've considered reviewing the documentation on the Nvidia driver site to get the correct answer. [14:37] if it fails constantly with all drivers i'd suspect hardware ... like th PSU not powerful enough to even drive the card causing brownouts of parts of your HW, stuck fans (though that would give you temperature warnings i guess), lose cables, card not sitting properly in the socket, etc etc [14:37] jhutchins, what exactly do you mean? there is the hosted multi page readme, the forums, release highlights, list of supported products, or do you mean something else? [14:37] it is extremely unlikely that you face an actual driver issues and millions of other users do not ... [14:38] ogra, thanks [14:38] ogra, well there are at least 4 lenovo p720 that all do this [14:38] maybe you are right [14:38] "Max Power Consumption 68 W" is quite a bit for that generation for sure [14:38] I should re calculate the power... [14:40] but then it supports "mission-critical digital signage solutions" (LOL) with 8 mini DP [14:44] well, i can not imagine that lenovo does not equip the system with the correct PSU ... was the nvidia card an upgrade ? [14:44] or did it come equipped with that card ? [14:47] ogra, it is lenovo part number 00FC905 [14:49] there are Machine Types 30BA and 30BB for ThinkStation P720 [14:50] Did you also notice that pipewire is consuming the most amount of energy on the system? I just checked with powertop [14:50] and it is actually taking more energy than my display on the lapotp [14:50] oh 00FC905 is the graphics card [14:52] P720 Power Supply Unit: 690W or 1000W - that should be enough [14:54] tomreyn, it is 30BB [14:55] mncheckm: so one of these https://psref.lenovo.com/Product/ThinkStation/ThinkStation_P720?MT=30BB [15:04] tomreyn, well it is not listed there for some reason but yes, it has 2x xeon silver 4114 and it only has the nvs 810 currently [15:05] the psu is 900w [15:27] mncheckm: whether the PSU is sufficient will depend on all components installed, of course (and we don't know which ones those are, since you have a customized model), so you'll need to do the math on your own. 900W is plenty, but with enough parts you could reach that. [15:39] after 2 weeks, why is the grub-efi-amd64-bin package still being kept back? === pong is now known as beaver === leprechaun__ is now known as leprechaun [15:47] tomreyn, say 222w for cpus, drives, add 70w for the gpu [15:47] 222w includes the ram === osprey is now known as blackhawk [16:24] ogra, maybe its not the power? [16:27] hello, i have some errors when doing "sudo apt-get autoremove" [16:27] https://pastebin.com/xWEWXLKh [16:27] any idea how can i fix this please ? [16:27] I was just unable to find how ubuntu developers test these hardware [16:28] there must be some test sequence or test suite that I could run, I thought, I just can't find it [16:28] I have errors with "sudo apt-get update" too (https://pastebin.com/xUDv2XSj) , I think this errors happens because I closed the terminal when doing a dist-upgrade before it finish [16:32] mncheck: Usually individual developers who happen to own the hardware try it and see if it needs to be modified to work. [16:33] Losdal, try lsof /var/cache/debconf/config.dat to see what PID or process ids are using flock on your debconf database [16:33] another program is supposedly installing or configuring something [16:34] jhutchins, is there no shared test plan? [16:34] or common parts of? [16:34] mncheck : i have this https://pastebin.com/yYuSbd30 [16:36] mncheck: Driver development also tends to happen above the Distribution level, often associated with kernel development (understandably). [16:36] mncheck, "snap info checkbox" or look at v [16:36] bah [16:36] https://snapcraft.io/checkbox [16:36] Losdal, there was "t" on the end of your command line and it is breaking the command. remove the " t" from the end. the warnings are about docker file systems can be ignored [16:37] Losdal, you can try lsof /var/cache/debconf/config.dat | grep -v -i -e incomplete -e docker [16:37] mncheck : its nearly the same output without "t" , https://pastebin.com/JzjBsbn3 [16:38] mncheck the command output with grep : https://pastebin.com/bSjQ5kNP [16:44] Losdal, sorry my grep was bogus [16:44] Losdal, however it does not matter, the output would be empty [16:46] Losdal, are you the only user of the machine? [16:46] mncheck: yes [16:46] Losdal, do you see any other installation ongoing? [16:48] mncheck: no, but before 1 hour I runned a sudo "apt-get dist-upgrade" : during the upgrade, the "boot password" was asked, but forgot the password so it does not passed.. the only solution to exit the dist-upgrade was to close the terminal window [16:49] so i closed the dist-uprade window before its end [16:54] Losdal, i don't use SecureBoot, but just try 'sudo dpkg --configure -a' for now [16:57] ioria : it look fixing the problem, i have a normal output for apt-get update and upgrade now [16:57] ok [16:57] but same for dist-upgrade [16:57] or I didn't finished the dist-upgrade, do you think there is a way to complete it? [16:57] Losdal, paste the output, please [16:58] ioria : https://pastebin.com/pBLnSsa7 [16:59] Losdal, it's ok,i guess [16:59] ioria: I think "sudo apt-get dist-upgrade " is supposed to finish the uncompleted previous dist-upgrade [16:59] because i closed the window without entering the boot password (=without completing the dist-upgrade) [16:59] Losdal, what's your actual kernel ? uname -r [17:00] added to that docker-compose commands does not work anymore, I think this is related to the uncompleted upgrade [17:00] ioria : $ uname -r [17:00] 5.15.0-56-generic [17:00] no good === docmax is now known as Guest9719 === docmax_ is now known as docmax [17:00] Losdal, cat /etc/issue [17:01] ioria: Ubuntu 20.04.5 LTS \n \l [17:02] Losdal, sudo apt full-upgrade [17:02] ioria: https://pastebin.com/6sBApYuk [17:04] btw when I try to run any docker compose command I have this https://pastebin.com/ynhuBx3u , maybe linked to an uncompleted python or docker upgrade ? (because before the "failed" dist-upgrade it was working) [17:04] Losdal, you removed too much.... dpkg -l | grep linux-generic-hwe [17:05] ioria : https://pastebin.com/gMbizMsh [17:06] Losdal, dpkg -l | grep linux-image [17:06] ioria : https://pastebin.com/RDpskJwU [17:07] Losdal, why you're not running the lates 5.15.0.67 kernel ? [17:07] *latest [17:07] ioria : i don't know, how can i check this please? [17:08] Has anybody mentioned the -f argument for apt? [17:09] Losdal, the latest (updated) kernel for your 20.04 box is 5.15.0.67 and it's correctly installed , but you're using .56 ... i don't get why [17:09] Losdal, I did not try this on dist-upgrade yet but to avoid it asking any questions, next time you do dist-upgrade or full-upgrade you could try "sudo env DEBIAN_FRONTEND=noninteractive apt-get dist-upgrade" [17:09] ioria : maybe this is because of the uncompleted dist-upgrade that i have done [17:09] nope [17:10] Losdal, ii linux-image-generic-hwe-20.04 5.15.0.67.74~20.04.2 [17:10] Losdal, can you reboot and select it from the Grub screen ? [17:10] ioria: I guess its downloaded but not activated, because the "boot password step" is in the configuration step [17:11] ho, ok [17:11] Losdal, sudo update-grub [17:11] ioria : i'm afraid to reboot currently to not get blocked because of this :/ [17:11] Losdal, ok, run sudo update-grub [17:11] I think there is many packages downloaded but not configured/activated , and it should have an impact [17:12] but i don't know how to "redo" the "missing" dist-upgrade [17:12] Losdal, i don't think so, see your paste : https://pastebin.com/6sBApYuk [17:13] Losdal, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [17:13] ioria : https://pastebin.com/ and the /etc/issue is always the same .56 [17:13] ioria: it may be marked as completed but it's was exited at the config step ? [17:14] Losdal, it's empty [17:14] another bot [17:16] ioria : sorry, https://pastebin.com/C8qiXgT4 [17:17] Losdal, it's ok [17:21] Losdal, two log files that might be interesting for you are in /var/log/apt/history.log and /var/log/dpkg.log and similar files next to them which are older , the history.log contains your "CommandLine" that you ran, and the dpkg.log files write what packages were installed or removed in probably too much detail [17:22] so probably the broken installation is in there somewhere [17:24] Is that expected to have xubuntu-desktop depends on plasma-desktop ? [17:24] ( https://i.imgur.com/glVBbTH.png ) [17:26] mncheck : I found out the 'broken' dist-upgrade cmd https://pastebin.com/hTP3Z3EA , I see especially that linux-hwe-5.15-headers-5.15.0-67 is installed but in the uname -r the .56 is always used, and I see an upgrade for python3 (maybe this explain the problem that I have with docker), but I don't know how to re-run that commands to complete the [17:26] missing actions ? === mei is now known as Guest6620 [17:52] say I want to do a binary search on a very large file. I want to be able to open only a section of the file at various points for reading. Is that normally possible without reading the entire file? [18:00] snowkid, sure, that's what lseek/fseek are for. [18:00] thanks [18:02] snowkid, also can use mmap() with an offset, but I find that more confusing somehow (you may not) [18:03] do you think there would be any benefit to doing these file reads in a compiled language like c as opposed to a scripted language like JS? [18:03] mmap() the whole file. It will page in/out as needed. [18:03] what if there are a terabyte of files [18:03] does not matter [18:04] if you mmap a 1 TB file and read a byte, then at most a few pages are actually resident [18:04] snowkid, I think a scripted language is fine, it's going to be mostly I/O bound [18:04] these tips are a great starting point so far, thanks! [18:06] you think something like hyperscan (regex engine) would help a binary search [18:07] i thought it was a cool idea at first but Im kind of feeling the needs are more simpler than calls for a regex engine like that [18:10] snowkid, if it's a binary search it really needs to be a more structured file with records and keys, so a regex search which is more for unformatted text isn't so useful. I think we're getting a little off-topic for #ubuntu here, #ubuntu-discuss probably better [18:11] thanks for your responses [18:19] topcat001 Im reading about how pages are stored and it looks like inactive pages get reallocated to the swap disk. How does that benefit the speed of accessing the filesystem as opposed to just reading from a section of the original file? [18:20] snowkid: virtual memory pages are only written into the swap if they are modified [18:20] oh ok [18:20] if they're unmodified, they can be discarded [18:20] snowkid, pages would be written to swap only if they are "anonymous", which means not mapped to a file [18:21] all of this is read only === beaver is now known as bout-baby [18:25] yes if you mmap privately they are copy-on-write (cow); shared mappings just get synced back to the backing files through the unified buffer cache (ubc) [18:25] neither being relevant in your ro case [18:26] the advantage of mmap() over read() is to avoid copying the data twice; once to the ubc, and then again to the application buffers [18:28] thanks i think I actually understand all of this [18:36] Hi. I have realtek 8811cu wifi dongle attached to my laptop. It worked fine until the last restart of my laptop. Now it is not on for some reason. Any ideas why or solutions? [19:06] ^ cp'd to #xubuntu, and discussed there === LanDi1 is now known as LanDi === mkv is now known as m4v [19:50] Hi. I use Ubuntu 14.04 under ESM which is an officially supported Canonical release. I just noticed today that the ESM repos have stopped working and are returning 404. When I go in my browser it asks for a password now. How do I either, fix this, or remove ESM and go back to the old archive repos? I'm just trying to install sqlite3... [19:50] Err https://esm.ubuntu.com/ubuntu/ trusty-infra-security/main libsqlite3-dev amd64 3.8.2-1ubuntu2.2+esm1 HttpError404 [19:51] !esm [19:51] Canonical offers paid extended security support for end-of-life LTS releases through the Ubuntu Advantage program. For more information, see https://ubuntu.com/esm . ESM is not an Ubuntu community offering; please direct questions about it to Canonical directly. [19:51] I see. Do you know where to ask canonical about it directly? [19:51] Ah, found it. [19:51] Thanks! [20:00] Ah. Fixed it. There was an update to ubuntu-advantage-tools which I did not have. [20:00] Thanks for the help. [20:07] superkuh: Yay for the fix! [20:09] how to recover my deleted Downloads directory?? [20:10] Is it not in the trash? [20:10] i-Areos: restore it from your latest backup [20:10] photorec is a good linux tool for recovering "deleted" files that still have inodes. [20:10] tomreyn sorry I didn't make backup .. so how to make recovery? [20:11] superkuh all files will be recovered? [20:11] i-Areos: you should have had a backup. you can try what superkuh suggested. [20:11] tomreyn i will try it [20:12] https://wiki.archlinux.org/title/file_recovery#List_of_utilities [20:12] superkuh tomreyn thanks [20:13] i-Areos: more importantly: will you learn fomr it, setting up a backup now for next time? [20:13] I have used photorec and https://www.r-studio.com/free-linux-recovery-help/basicfilerecovery.html before. [20:13] *from [20:13] photorec is cli, r-studio r-linux is gui. [20:13] https://www.r-studio.com/free-linux-recovery/ [20:13] photorec should already be in your repos. [20:14] r-linux will have a deb to download. [20:14] Ok thanks for that info superkuh [20:14] Good luck, i-Areos. [20:15] testdisk also integrates with photorec for a UI [20:16] tomreyn I'm beginner so i prefer gui === xenial is now known as Guest468 [20:34] i-Areos: Linux doesn't use the Windows filesystems, so files are "more deleted" than Windows files are. They can sometimes be recovered if nothing has been written to the disk since the delete, but not always. [20:35] i-Areos: http://www.linuxcommand.org/ https://help.ubuntu.com/community/BasicCommands http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html http://www.ischool.berkeley.edu/~kevin/unix-tutorial/toc.html http://linuxcommand.org/lc3_learning_the_shell.php http://linuxcommand.org/tlcl.php [20:35] jhutchins files deleted 3 hours ago and I didn't save any stuff yet [20:35] i-Areos: Good luck! You might do just fine. [20:36] jhutchins i use ununtu based distro not wimdows [20:36] Thanks jhutchins [20:36] i-Areos: Note that the CLI utilities are almost always more powerful than the cartoon ones. [20:37] jhutchins i will use photorec tomorrow [20:39] Perhaps you should add the directory containing `libparted.pc' [20:39] how may I do this? [20:39] Perhaps you should add the directory containing `libparted.pc' [20:39] to the PKG_CONFIG_PATH environment variable [20:40] how may I do this??? [20:40] texugo: What is your goal? [20:40] texugo: what release of ubuntu are you running and what are you trying to accomplish exactly? [20:41] I'm running mint [20:41] !mint | texugo [20:41] texugo: The Ubuntu channels can only provide support for Ubuntu and its official !flavors. Derivatives and other distributions use different software repositories and other software. Please use their dedicated support venues, such as: Linux Mint: #linuxmint-help on irc.spotchat.org, Pop!_OS: https://support.system76.com/ , Kali Linux: #kali-linux on irc.oftc.net, LXLE: https://lxle.net/support-options/ [20:41] Please helpe me [20:41] texugo: mint has their own IRC, you need to ask for help there [20:41] texugo: What works with Ubuntu can break Mint. [20:41] I see [20:41] thanks [20:46] I have a process that has used up all my ram and now the computer is unresponsive, is there a way to kill this process without powering off the computer?? [20:47] I tried CRTL+C but it didn't seem to work [20:47] BinarySavior: Can you get to a console? [20:47] https://en.wikipedia.org/wiki/Magic_SysRq_key to try to get to console. [20:47] the console is open [20:47] Oh... [20:48] BinarySavior: Can you ssh to the machine? [20:48] get the process ID (PID) of the process and $ sudo kill -9 [20:48] sysrq-k used to work, but no more [20:48] ssh request is hanging [20:48] If it's a zombie it might not work, but worth trying. [20:49] weird oom didn't come in [20:49] your only options will be to try to wait for it to settle down or to sysrq-s,u,b [20:50] BinarySavior: If you are looking at the offending process, Ctrl+\ might do it. [20:50] But once a system starts thrashing, there's not a lot you can do. [20:50] Yea the active window is the terminal running the script [20:50] BinarySavior: You might upgrade the system to Ubuntu 22.04, it has a more aggressive OOM killer (systemd-oomd) that may bail you out of similar situations in the future. [20:51] Obviously that won't help now, but for in the future. [20:51] I also have watch free -m in another window, visible, only 37 bytes of 16k free [20:51] I also have watch free -m in another window, visible, only 37 bytes of 16G free* [20:51] lol, I was gonna say if you only have 16K of RAM, we have much bigger problems. [20:52] i guess those units are megabytes though, 37MB of 16G free [20:52] Yeah that's still bad. [20:52] so I can wait (maybe forever) for the process to die or finish what it's doing or I can just Hard reset? [20:53] If Ctrl+C and Ctrl+\ both don't work, then yeah, pretty much. [20:53] thanks arraybolt3 yea I tried both of those [20:54] Another thing you might do to help with this in the future is make a larger swapfile or enable RAM compression. [20:54] These are instructions for enabling RAM compression on Lubuntu, they should work on Ubuntu and other Ubuntu flavors with some tweaking though. https://discourse.lubuntu.me/t/enabling-ram-compression-on-lubuntu/3323 [20:54] why don't you check the state of the process ? BinarySavior [20:55] min sys req for this is 16G of RAM, which is total installed ram here(16G) but I think I need a little bi tmore [20:55] I ordered some more RAM [20:55] ioria, the computer is unresponsive [20:56] BinarySavior: Well RAM compression may help for until you get the extra RAM you need. [20:56] thanks arraybolt3 I'll look into that [20:57] BinarySavior, and how did you check for free -m if the pc is unresponsive ? [20:57] ioria, I ran `watch free -m` before I started the process in another window, because the process failed the first time I tried it and I had a feeling it was a ram issue [20:58] the second time I'm trying it, it doesn't seem to be failing but instead it's unresponsive [20:58] BinarySavior: Another trick is to shut down all of the GUI processes to free the resources before you run the havy app. [20:58] jhutchins, I did that [20:58] BinarySavior: I thought you said you were in a terminal window. [20:59] oh, I misunderstood, I closed my browser, and all ofher programs but not the Ubuntu Desktop gui itself [20:59] Hi i upgraded to lts 22.04.2, the nvida drivers seem to be broken and my external monitors no longer work [21:00] oren_, I had the same issue [21:00] and ideas what I should do [21:00] I have a problem with ufw, can I ask that question here? [21:00] BinarySavior: Yeah, that takes resources even when it's not doing anything. Shut down the graphics completely (wayland or X). [21:01] oren_, what solved my problem was `sudo apt install nvidia-dkms-xxx` where xxx is the number of the driver you're currently trying to use [21:01] tepperson: What release are you on? [21:01] oren_, https://askubuntu.com/questions/1443757/nvidia-driver-not-working-on-ubuntu-22-04 [21:02] BinarySavior: It's lighter to run a second shell on a second console than two under the gui. [21:03] BinarySavior: I'll try the reinstall option and then your idea - thanks for the info [21:04] jhutchins, if success/fialure comes down to the difference in memory usage between a second shell opened up via ssh instead of in the gui, I think I have bigger problems :D [21:08] BinarySavior: Yeah, SSH is pretty lean. [21:15] jhutchins: well im running yocto, but all the references i can currently find about ufw are in regards to ubuntu [21:17] tepperson: You might consider switching to a different distro that has better support (like Ubuntu). [21:17] tepperson: we can only support ubuntu here. You'll have to seek support from yocto [21:21] <_jak> Hey y'all -- I accidentally added a server to my list of DNS resolvers with systemd-resolve, and I'm not at all sure how to undo this. Most of the stuff I found with a cursory google shows how to clobber what's already set or append a new one [21:22] and your ubuntu version is? [21:22] <_jak> ah, right -- 20.04 lts [21:22] i think that has resolvectl [21:23] yes [21:23] <_jak> yep, it does === gry_ is now known as gry [21:23] <_jak> gimme a sec to read the manpage, unless you know the command I seek off the top of your head :) [21:24] you can "revert " link specific configurations [21:24] Isn't there a text file you can just delete the line from? Or is all that in the registry now? [21:24] so you ask first, then read the manual? :-/ [21:25] <_jak> tomreyn: not normally, but until you mentioned resolvectl I didn't know which man page to consult [21:26] oh ok [21:26] _jak: how did you make the change exactly? [21:26] _jak: Knowing what question to ask is often half the problem. [21:28] * tomreyn guesses on systemd-resolve --set-dns=SERVER [21:29] <_jak> leftyfb: I did "systemd-resolve -i vpn1 --set-dns='$IP'", where nebula1 is a tun interface for a vpn network, and IP is the ip of a non-recursive DNS server on the vpn network [21:31] <_jak> what that ended up doing was making $IP the main resolver for the actual ethernet link, which wasn't what I wanted, but also I fat-fingered the IP [21:34] <_jak> just realized I typed "nebula1" where I meant "vpn1" [21:36] <_jak> in any case, thanks for all the breadcrumbs tomreyn! this seems to have worked, but I wanna make sure it doesn't pop up again post-reboot [21:41] system76 is based on ubuntu? [21:43] i-Areos: systemd76 is pc brand. They happen to also have their own OS called PopOS which is based on ubuntu but is not ubuntu nor is it supported here [21:43] leftyfb ty [23:50] Hi, I'm trying to Install Ubuntu 22 LTS on my yoga 2 pro and it says "Install Ubuntu alongside Windows Boot Manager" and it has "Files (60.0 GB) /dev/sda4 (ntfs) 153.2 GB" and "Ubuntu /dev/sda5 (ext4) 97.0 GB" on the right. What do I do? I don't want to remove the Windows side? [23:52] relipse: You're trying to install a dual boot, right? [23:52] Yes, exactly arraybolt3 [23:52] relipse: OK, and what flavor of Ubuntu is this? Just Ubuntu Desktop, or is it Kubuntu or something similar? [23:53] Ubuntu Desktop from the main site [23:53] relipse: Nice. Just to be sure, do you have a backup of your Windows data? Sometimes things can go poorly during a dual-boot installation when partitions are resized. [23:53] I don't really care about it that much [23:53] if something goes wrong, and I lose it, that's not that big of a deal [23:53] OK. Are you at the screen where you're looking at a slider for choosing how much space to dedicate to Ubuntu? [23:54] yes exactly arraybolt3 [23:54] If so, you should be able to just drag the slider as desired to split your space between Ubuntu and Windows, then just continue to the next screen. [23:54] (I'm assuming you only have Windows installed now.) [23:55] ok i set it to i set ubuntu to 116 GB [23:55] and windows Files side to 134.2 [23:55] Nice. That will shrink your Windows partition and make a new partition for Ubuntu. [23:55] As long as you're OK with those values, you can continue. [23:56] Do keep in mind it will be *very hard* to change them later. [23:56] (You can shrink or grow one partition, move it, and then extend the other one, but it will take a while.) [23:56] So make sure you choose what you want now to avoid headache later. [23:57] should I check "Use Active Directory" ? [23:57] No. [23:57] Active Directory is only for businesses. [23:57] Technically you could use it on your home network, but if you were using it, you'd already know. [23:57] you *could* use it at home, but if you're asking, then you've probably not set it up, hehe [23:58] Basically, it's one of those things where, if you're asking if you should use it, you shouldn't. If you are considering using it, you already know. [23:58] well i want to connect my ubuntu machine to my other windows machine [23:58] That probably doesn't use Active Directory [23:58] and maybe a mac machine later [23:58] If you want machines to share files with each other, that's a job for file shares. [23:58] ok we're good, its copying files now [23:59] Installing system... [23:59] relipse: You will *probably* want to look into SAMBA if you want to connect your computers to each other to share files.