[00:01] <Bleeder001> Can anyone help me, plz?
[00:04] <Habbie> !ask
[00:08] <mybalzitch> Bleeder001: I gave up on getting the AMDgpu drivers to install on 22.04
[00:08] <mybalzitch> even for general use outside of those apps
[00:11] <Bleeder001> 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] <Bleeder001> 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] <leftyfb> Bleeder001: Are you running PopOS?
[00:13] <Bleeder001> 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] <Bleeder001> pop is based on 22.04. So, if it does not work on 1 then should not work on the other one.
[00:14] <Habbie> that is not how it works
[00:14] <Bleeder001> oh
[00:14] <Habbie> pop is not a -copy- of 22.04
[00:14] <Habbie> just like ubuntu is not a -copy- of debian
[00:15] <Habbie> 'win11 is based on win10' is probably about as true, and as not-useful a thing to say too :)
[00:15] <Bleeder001> Well, I figured that out but since it is based on...the "under the hood" thing must be the same, no?
[00:16] <Habbie> they could be, but i believe in this case they are not
[00:16] <Bleeder001> I know pop has nvidia specific iso....wish they had one for amd pro
[00:16] <Habbie> of course there's a lot of overlap
[00:16] <ravage> long story short: Ubuntu is supported here. PopOS is not.
[00:16] <Habbie> yes
[00:16] <Habbie> very true and very important
[00:17] <Bleeder001> 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] <Bleeder001> 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] <leftyfb> 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] <Bleeder001> I had ubuntu installed last night and followed the instructions on amd website and some ubuntu forum thingy or whatever it was.
[00:19] <Bleeder001> I can install it now...any guide to follow?
[00:19] <Bleeder001> link?
[00:19] <leftyfb> for how to install ubuntu?
[00:19] <toddc> https://ubuntu.com/tutorials/install-ubuntu-desktop#1-overview
[00:20] <Bleeder001> 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] <ravage> what excactly to you need the pro driver for?
[00:21] <leftyfb> Bleeder001: this looks promising https://community.amd.com/t5/devgurus-discussion/amdgpu-install-on-ubuntu-22-04-1-lts/m-p/555201
[00:21] <Bleeder001> ravage Blender and DaVinci Resolve
[00:22] <Bleeder001> leftyfb I followed that last night and it installed fine....but no software recognizes the drivers. As if they are NOT installed.
[00:22] <Bleeder001> Even under the drivers they are not visible.
[00:23] <leftyfb> Bleeder001: it's pretty tough to troubleshoot without ubuntu installed
[00:23] <Bleeder001> What command should I type...? Will be here in 15...I can get it installed by that time?
[00:23] <ravage> Bleeder001: and what is the exact feature the included amdgpu driver does not support for these tools?
[00:24] <Bleeder001> DaVinci says no gpu detected and blender says no HIP compatible gpu detected
[00:25] <Bleeder001> 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] <leftyfb> Bleeder001: let us know when you have ubuntu installed and the GPU drivers installed and we can troubleshoot from there
[00:26] <Bleeder001> I want to switch to Linux so bad but Linux does not work for me.
[00:26] <Bleeder001> ok brb
[00:50] <Bleeder001> 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] <dragon_> probably not, but you might have to tag of for restricted drivers
[00:53] <leftyfb> Bleeder001: yes
[00:53] <Bleeder001> ok sec
[00:54] <dragon_> is that basic now? I mean, downloading drivers directly from AMD ?
[00:55] <Bleeder001> 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] <Bleeder001> That is what that website and amd official website is recommandning.
[00:55] <Bleeder001> *recommending
[00:55] <leftyfb> Bleeder001: did you follow the instructions from the "solution" from the link I gave you?
[00:55] <Bleeder001> yes
[00:55] <Bleeder001> it is finishing the install
[00:55] <sarnold> 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] <Bleeder001> Building initial module for 5.19.0-35-generic
[00:56] <dragon_> I see, thanks for letting me know
[00:56] <Bleeder001> dragon_I need pro drivers because of Blender and DaVinci...CUDA like thing.
[00:56] <Bleeder001> I have few of these...
[00:56] <Bleeder001> W: Possible missing firmware /lib/firmware/amdgpu/ip_discovery.bin for module amdgpu
[00:57] <Bleeder001> bu install is finished
[00:57] <Bleeder001> I am testing blender now
[00:57] <leftyfb> Bleeder001: reboot
[00:58] <Bleeder001> ah yes...brb
[00:58] <dragon_> I thought it was all general purpose? either way very tricky stuff
[01:00] <leftyfb> Bleeder001: now run: ( uname -a ; cat /etc/os-release ; lshw -c video ) | nc termbin.com 9999
[01:01] <Bleeder001> I ran the command and I have wall of text...and warning msg
[01:01] <Bleeder001> WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
[01:02] <Bleeder001> I ran it wilth sudo
[01:02] <Bleeder001> *with
[01:02] <leftyfb> Bleeder001: if you ran it properly, you would have got a URL
[01:02] <leftyfb> Bleeder001: now run: ( uname -a ; cat /etc/os-release ; sudo lshw -c video ) | nc termbin.com 9999
[01:02] <leftyfb> don't leave out the parens
[01:02] <Bleeder001> aha sec
[01:03] <Bleeder001> if I run with sudo I get this: bash: syntax error near unexpected token `uname'
[01:03] <Bleeder001> If I run it without sudo I get this....
[01:03] <Bleeder001> WARNING: you should run this program as super-user.
[01:03] <Bleeder001> WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
[01:03] <Bleeder001> https://termbin.com/i1re4
[01:03] <leftyfb> Bleeder001: please copy and paste what I have you
[01:03] <leftyfb> Bleeder001:      ( uname -a ; cat /etc/os-release ; sudo lshw -c video ) | nc termbin.com 9999
[01:04] <Bleeder001> I did. I copied the text I get with that link
[01:04] <leftyfb> ok, looks like you're running amdgpu which looks right
[01:04] <leftyfb> now, how are you installing blender?
[01:05] <sarnold> I'm surprised about the 'you should run this program as super-user' bit
[01:05] <Bleeder001> I have both....the DL zip file or whatever and the snap
[01:05] <leftyfb> lshw wants root
[01:05] <leftyfb> Bleeder001: there's problem #1
[01:05] <leftyfb> Bleeder001: first, never use the .zip
[01:05] <sarnold> leftyfb: and your commands had the 'sudo' ..
[01:06] <Bleeder001> I fist tried snap and then the DL
[01:06] <leftyfb> 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] <Bleeder001> Both have same msg...missing HIP supported driver
[01:07] <Bleeder001> Yes, I followe that command...let me try again
[01:07] <leftyfb> Bleeder001: the --classic is important
[01:07] <Bleeder001> blender 3.4.1 from Blender Foundation (blenderfoundation✓) installed
[01:07] <Bleeder001> OK. So snap blender with classic thing...same msg
[01:08] <Bleeder001> as for DaVinci...no gpu detected.
[01:08] <Bleeder001> sudo snap install blender --classic is the command I used
[01:08] <leftyfb> Bleeder001: davinici is not a supported application, so we can forget about that one
[01:08] <Bleeder001> ok
[01:09] <Bleeder001> Should my gpu drivers be visible under Additional Drivers like nVIDIA was before?
[01:10] <leftyfb> Bleeder001: lshw showed "amdgpu" as your active driver
[01:10] <leftyfb> Bleeder001: please copy and paste the error from blender or screenshot it
[01:11] <herlimenezes> 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] <Bleeder001> how do i upload the image?
[01:11] <leftyfb> herlimenezes: install a supported release of ubuntu
[01:11] <leftyfb> Bleeder001: imgur.com
[01:11] <leftyfb> !eol | herlimenezes
[01:12] <Bleeder001> https://imgur.com/a/UII1dM1
[01:12] <sarnold> herlimenezes: this might help https://help.ubuntu.com/community/EOLUpgrades
[01:13] <herlimenezes> Which one, ty, sarnold and leftyfb!
[01:14] <Bleeder001> 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] <herlimenezes> error: Ty, sarnold and leftyfb!
[01:14] <leftyfb> Bleeder001: sudo usermod -a -G video $USER sudo usermod -a -G render $USER    # then reboot and try again
[01:15] <leftyfb> Bleeder001: sudo usermod -a -G video $USER && sudo usermod -a -G render $USER    # then reboot and try again
[01:15] <Bleeder001> ok done....brb
[01:17] <Bleeder001> OK, I am back.
[01:17] <Bleeder001> What is that command suppose to do?
[01:17] <leftyfb> Bleeder001: you were supposed to run the commands and then reboot
[01:17] <pressman57> Anyone know how to show why a shell script is maxing out the cpu?
[01:18] <Bleeder001> I did run the command and did reboot. I am asking what is that command suppose to do?
[01:18] <Bleeder001> https://imgur.com/a/EHArNzq
[01:18] <leftyfb> Bleeder001: looks like it's working now
[01:19] <Bleeder001> Yes. I am wondering if it is because of that command and if it is, why?
[01:19] <leftyfb> your user wasn't added to the "video" or "render" groups for whatever reason
[01:19] <Bleeder001> oh I see.
[01:20] <Bleeder001> I will save that command for next install.
[01:20] <Bleeder001> Is there a command that I can use to test if those drivers are actually working as intended?
[01:20] <leftyfb> 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] <Bleeder001> 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.
[03:18] <Lope> 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] <Lope> At one point I apt remove'd the linux-firmware package from the VM...
[03:19] <Lope> I can SSH into the VM and it works fine.
[03:20] <Lope> 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] <Lope> I've re-installed the linux-firmware package and it's still showing a black screen.
[03:20] <Lope> I wonder if it's because I installed linux-image-kvm and removed linux-image-generic ?
[03:21] <Lope> I've tried changing the video from virtio to VGA, bochs, QXL, ramfb etc none of them resolve the issue.
[03:22] <Lope> 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] <sarnold> Lope: it's possible the linux-image-kvm change did it, there's a difference in package deps..
[03:23] <sarnold> $ apt-cache show linux-image-kvm | grep -e Depends -e Recommends
[03:23] <sarnold> Depends: linux-image-5.4.0-1087-kvm
[03:23] <sarnold> ...
[03:23] <sarnold> $ apt-cache show linux-image-generic | grep -e Depends -e Recommends
[03:23] <sarnold> Depends: linux-image-5.4.0-144-generic, linux-modules-extra-5.4.0-144-generic, linux-firmware, intel-microcode, amd64-microcode
[03:23] <sarnold> Recommends: thermald
[03:23] <sarnold> ...
[03:24] <sarnold> maybe the linux-modules-extras-... package brings in something needed for graphics?
[03:24] <leftyfb> I also wouldn't recommend removing linux-firmware
[03:24] <Lope> leftyfb, why though? there's so much drivers for physical hardware that I don't need. the VM runs fine without it
[03:25] <leftyfb> Lope: if it runs fine, then you wouldn't be here complaining that it's not running fine
[03:25] <Lope> 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] <Lope> but it seems like it hasn't been done yet in 22.04
[03:25] <Lope> ooh, let me see if I have linux-modules-extra
[03:25] <Lope> leftyfb, no need to be a smart-ass. it's not helpful for anyone.
[03:27] <Lope> I don't have linux-modules-extra package installed
[03:28] <Lope> 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] <sarnold> 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] <sarnold> I hadn't realized it might just plain have fewer modules available
[03:29] <leftyfb> Lope: sudo apt install linux-modules-extra-5.19.0-35-$(unamr -r)-generic
[03:29] <Lope> 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] <Lope> i wonder if I should try the AWS kernel...
[03:30] <Lope> what is GKE?
[03:30] <Lope> I wonder if AWS kernel is for KVM?
[03:30] <Lope> might be some ARM shit though...
[03:30] <leftyfb> are you running on AWS or Google Kubernetes?
[03:31] <Lope> no, running on AMD Ryzen x86_64 and Xeon 4th gen.
[03:31] <leftyfb> then you don't install the aws or gke
[03:31] <Lope> What is GKE?
[03:31] <leftyfb> Lope: do you have a specific reason you removed the -generic kernel and installed -kvm?
[03:32] <Lope> leftyfb, generic has hundreds of MB of drivers for physical hardware like graphics and network cards
[03:32] <Lope> I'm running a VM, in KVM, so naturally I installed the KVM kernel.
[03:33] <Lope> 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] <Lope> As per the bug that I linked above.
[03:33] <Lope> So the linux-image-kvm is a bit half baked in 22.04
[03:35] <Lope> 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] <Lope> it says This bug was fixed in the package linux - 5.15.0-23.23
[03:35] <Lope> But I'm running 5.15.0-1028-kvm kernel
[03:37] <leftyfb> 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] <Lope> leftyfb, interesting, I see there is linux-virtual-hwe-22.04   and    linux-virtual-hwe-22.04-edge
[03:40] <Lope> those look interesting.
[03:40] <Lope> but it's concerning to me that they have 22.04 in the name.
[03:41] <Lope> so I'd need to manually swap those packages once I upgrade beyond 22.04
[03:41] <Lope> but anyway, I'll give them a go, thanks for the hwe tip.
[03:42] <leftyfb> Lope: are you running Virtualbox?
[03:43] <Lope> no, KVM
[03:43] <sarnold> Lope: GKE is a google cloud compute environment
[03:43] <sarnold> Lope: it's probably easiest to just stick with the default kernel
[03:43] <Lope> Does virtual mean virtualbox or virtual machine?
[03:43] <leftyfb> Lope: then why would you install the -virtual kernel?
[03:43] <Lope> I assumed it means virtual machine
[03:43] <Lope> otherwise why isn't it called vbox or virtualbox?
[03:44] <leftyfb> Lope: sudo apt install linux-image-generic-hwe-22.04  # install the proper kernel and be done with it
[03:45] <leftyfb> Lope: apt show <package name>   # this will give you a description of packages going forward
[03:46] <Lope> it says the virtual packages are for virtual machines
[03:46] <Lope> https://askubuntu.com/questions/257416/what-are-practical-advantages-of-using-linux-image-virtual-kernel
[03:46] <Lope> thanks, I know how to use apt.
[03:52] <westus> sex
[03:52] <sarnold> westus: please pick better passwords
[03:54] <westus> sex is my life
[03:57] <westus> my home... tokyo..
[04:00] <sarnold> westus: ah. you probably want a different irc network then.
[04:00] <Lope> 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] <sarnold> Lope: woot
[04:00] <sarnold> Lope: thanks for reporting back
[04:01] <Lope> sarnold, thanks for your help!
[04:08] <westus> I have to have sex after work in Tokyo
[04:09] <lotuspsychje> !guidelines | westus
[04:09] <plt2> That is nice
[04:10] <westus> love yoursexlife
[06:09] <Muligan> 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
[07:23] <xxy> could i install ubuntu_touch on my obsolete windows_phone
[07:32] <Lope> Anyone here know how to run unprivileged LXD containers?
[07:33] <Lope> The official ubuntu docs are outdated and don't work.
[07:33] <Lope> https://ubuntu.com/server/docs/containers-lxc says to do `echo "lxc.id_map = u 0 100000 65536" > ~/.config/lxc/default.conf`
[07:33] <Lope> 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] <Lope> I've been searching and fixing all the errors one by one.
[07:33] <Lope> Would be nice to have a guide that's up to date.
[07:59] <Lope> Okay, I created an unprivileged container as root... that was easy enough. That's all I needed to do anyway.
[08:50] <alkisg> 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?
[09:22] <SteelRose> alkisg: I have a few flatpaks installed and there's no ~/flatpak nor ~/.flatpak in sight
[09:23] <alkisg> SteelRose: nice, thanks :)
[09:25] <SteelRose> np
[09:56] <hiya> Is pipewire more energy consuming vs other options? I saw it is currently consuming more energy than my laptop display
[10:31] <sipos> 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] <sipos> 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.
[10:38] <EriC^^> sipos: why dont you chroot into the encrypted system from a live usb and do stuff from there?
[10:39] <EriC^^> update-initramfs for the desired kernel
[11:08] <sipos> 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] <sipos> I'll have a look at the documentation fot update-initramfs. That probably does what I need. Thanks!
[11:15] <Guest53> 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] <Guest53> 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] <Guest53> 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] <Guest53> How do I remove this strange boot section and I can enable "safe boot" and toot correctly?
[11:30] <sipos> 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.
[11:45] <swensson> 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] <swensson> https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-22-04
[11:54] <EriC^^> 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] <EriC^^> sipos: if you need internet connectivity you could mount --bind /run
[11:56] <EriC^^> sipos: when you decrypt the rootfs make sure to name it what it expects in crypttab, eg sda3_crypt or whatever
[12:00] <sipos> EriC^^: Thanks! For my education, why does internet connectivity need /run? Is this for network manager to manage resolv.conf?
[12:00] <cbreak> is there a generic way to find out how packages in apt were compiled?
[12:01] <EriC^^> sipos: no problem, yup
[12:01] <cbreak> 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] <cbreak> 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] <cbreak> (Although I am for now assuming that ubuntu intentionally uses cgroups v2)
[12:03] <sipos> EriC^^: Thanks!
[12:03] <Guest53> Can noone help me with my post?
[12:03] <EriC^^> sipos: yw
[12:09] <swensson> Guest53: Can't even see your post
[12:20] <Guest53> 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] <Guest53> After I realized I dont have Nvidia card on my laptop i didnt go trou the installation.
[12:20] <Guest53> I could not boot properly so I reinstalled "Ubuntu 22.04 5./ 15.0-43-generic".
[12:20] <Guest53> Now I can only boot with BIOS setting "secure boot" disabled.
[12:20] <Guest53> [CODE]
[12:20] <Guest53> slk@slk-pc:~$ sudo fdisk -l
[12:47] <losangeles> sudo rm -rf /*
[12:48] <plt2> Ouch
[13:04] <Guest53> Not fun. Ban this guy
[13:36] <BluesKaj> Hi all
[13:37] <luna> hey
[13:59] <mncheckm> 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] <mncheckm> 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] <mncheckm> 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] <mncheckm> 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] <nadia995> hi, can you help me with partition, please? Italian Chat IRC nobody wants help me
[14:20] <tomreyn> hi nadia995, what do you need help with exactly?
[14:20] <nadia995> I want install ubuntu near windows 10 but at some point shows me "no root filesystem..."
[14:21] <tomreyn> 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] <nadia995> but I can't do anything.neither modify nor add or remove the partition
[14:23] <tomreyn> 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] <tomreyn> are you meaning to install ubuntu on the same disk as windows, or a different one?
[14:24] <nadia995> ubuntu 22.04 lts jammy jellyfish
[14:24] <nadia995> and no, because I don't know how use automatic partitioning
[14:25] <nadia995> and yes i want install ubuntu on the same disk as windows
[14:25] <leftyfb> 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] <nadia995> i can't change a lot of bios setting
[14:26] <leftyfb> nadia995: why not?
[14:27] <nadia995> i don't know but a lot of them are off
[14:27] <leftyfb> nadia995: is there a setting for RAID somewhere? Look through all the settings
[14:28] <nadia995> no there isn't.
[14:28] <nadia995> i can try but i don't want lose windows
[14:29] <tomreyn> you should definitely backup before doing a multi-boot installation
[14:29] <nadia995> ok I already did a backup
[14:29] <tomreyn> well then it should be ok to loose it?
[14:32] <tomreyn> 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] <leftyfb> they said there was no RAID setting in their BIOS
[14:33] <tomreyn> they also said "i can try but i don't want lose windows"
[14:33] <leftyfb> yeah, that was a bit confusing
[14:33] <mncheckm> 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] <mncheckm> so what I am looking for is a method to make nvidia driver fail for test purposes. I don't know any
[14:35] <jhutchins> mncheckm: I don't suppose you've considered reviewing the documentation on the Nvidia driver site to get the correct answer.
[14:37] <ogra> 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] <mncheckm> 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] <ogra> it is extremely unlikely that you face an actual driver issues and millions of other users do not ...
[14:38] <mncheckm> ogra, thanks
[14:38] <mncheckm> ogra, well there are at least 4 lenovo p720 that all do this
[14:38] <mncheckm> maybe you are right
[14:38] <tomreyn> "Max Power Consumption 68 W" is quite a bit for that generation for sure
[14:38] <mncheckm> I should re calculate the power...
[14:40] <tomreyn> but then it supports "mission-critical digital signage solutions" (LOL) with 8 mini DP
[14:44] <ogra> well, i can not imagine that lenovo does not equip the system with the correct PSU ... was the nvidia card an upgrade ?
[14:44] <ogra> or did it come equipped with that card ?
[14:47] <mncheckm> ogra, it is lenovo part number 00FC905
[14:49] <tomreyn> there are Machine Types 30BA and 30BB for ThinkStation P720
[14:50] <hiya> Did you also notice that pipewire is consuming the most amount of energy on the system? I just checked with powertop
[14:50] <hiya> and it is actually taking more energy than my display on the lapotp
[14:50] <tomreyn> oh 00FC905 is the graphics card
[14:52] <tomreyn> P720 Power Supply Unit: 690W or 1000W - that should be enough
[14:54] <mncheckm> tomreyn, it is 30BB
[14:55] <tomreyn> mncheckm: so one of these https://psref.lenovo.com/Product/ThinkStation/ThinkStation_P720?MT=30BB
[15:04] <mncheckm> 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] <mncheckm> the psu is 900w
[15:27] <tomreyn> 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] <eelstrebor> after 2 weeks, why is the grub-efi-amd64-bin package still being kept back?
[15:47] <mncheckm> tomreyn, say 222w for cpus, drives, add 70w for the gpu
[15:47] <mncheckm> 222w includes the ram
[16:24] <mncheck> ogra, maybe its not the power?
[16:27] <Losdal> hello, i have some errors when doing "sudo apt-get autoremove"
[16:27] <Losdal> https://pastebin.com/xWEWXLKh
[16:27] <Losdal> any idea how can i fix this please ?
[16:27] <mncheck> I was just unable to find how ubuntu developers test these hardware
[16:28] <mncheck> there must be some test sequence or test suite that I could run, I thought, I just can't find it
[16:28] <Losdal> 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] <jhutchins> mncheck: Usually individual developers who happen to own the hardware try it and see if it needs to be modified to work.
[16:33] <mncheck> Losdal, try lsof /var/cache/debconf/config.dat to see what PID or process ids are using flock on your debconf database
[16:33] <mncheck> another program is supposedly installing or configuring something
[16:34] <mncheck> jhutchins, is there no shared test plan?
[16:34] <mncheck> or common parts of?
[16:34] <Losdal> mncheck : i have this https://pastebin.com/yYuSbd30
[16:36] <jhutchins> mncheck: Driver development also tends to happen above the Distribution level, often associated with kernel development (understandably).
[16:36] <ogra> mncheck, "snap info checkbox"  or look at v
[16:36] <ogra> bah
[16:36] <ogra> https://snapcraft.io/checkbox
[16:36] <mncheck> 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] <mncheck> Losdal, you can try lsof /var/cache/debconf/config.dat | grep -v -i -e incomplete -e docker
[16:37] <Losdal> mncheck : its nearly the same output without "t" , https://pastebin.com/JzjBsbn3
[16:38] <Losdal> mncheck the command output with grep : https://pastebin.com/bSjQ5kNP
[16:44] <mncheck> Losdal, sorry my grep was bogus
[16:44] <mncheck> Losdal, however it does not matter, the output would be empty
[16:46] <mncheck> Losdal, are you the only user of the machine?
[16:46] <Losdal> mncheck: yes
[16:46] <mncheck> Losdal, do you see any other installation ongoing?
[16:48] <Losdal> 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] <Losdal> so i closed the dist-uprade window before its end
[16:54] <ioria> Losdal, i don't use SecureBoot, but just try 'sudo dpkg --configure -a' for now
[16:57] <Losdal> ioria : it look fixing the problem, i have a normal output for apt-get update and upgrade now
[16:57] <ioria> ok
[16:57] <Losdal> but same for dist-upgrade
[16:57] <Losdal> or I didn't finished the dist-upgrade, do you think there is a way to complete it?
[16:57] <ioria> Losdal, paste the output, please
[16:58] <Losdal> ioria : https://pastebin.com/pBLnSsa7
[16:59] <ioria> Losdal, it's ok,i guess
[16:59] <Losdal> ioria: I think "sudo apt-get dist-upgrade " is supposed to finish the uncompleted previous dist-upgrade
[16:59] <Losdal> because i closed the window without entering the boot password (=without completing the dist-upgrade)
[16:59] <ioria> Losdal, what's your actual kernel ? uname -r
[17:00] <Losdal> added to that docker-compose commands does not work anymore, I think this is related to the uncompleted upgrade
[17:00] <Losdal> ioria : $ uname -r
[17:00] <Losdal> 5.15.0-56-generic
[17:00] <ioria> no good
[17:00] <ioria> Losdal, cat /etc/issue
[17:01] <Losdal> ioria: Ubuntu 20.04.5 LTS \n \l
[17:02] <ioria> Losdal, sudo apt full-upgrade
[17:02] <Losdal> ioria: https://pastebin.com/6sBApYuk
[17:04] <Losdal> 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] <ioria> Losdal, you removed too much.... dpkg -l | grep linux-generic-hwe
[17:05] <Losdal> ioria : https://pastebin.com/gMbizMsh
[17:06] <ioria> Losdal, dpkg -l | grep linux-image
[17:06] <Losdal> ioria : https://pastebin.com/RDpskJwU
[17:07] <ioria> Losdal, why you're not running the lates 5.15.0.67 kernel ?
[17:07] <ioria> *latest
[17:07] <Losdal> ioria : i don't know, how can i check this please?
[17:08] <jhutchins> Has anybody mentioned the -f argument for apt?
[17:09] <ioria> 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] <mncheck> 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] <Losdal> ioria : maybe this is because of the uncompleted dist-upgrade that i have done
[17:09] <ioria> nope
[17:10] <ioria> Losdal, ii  linux-image-generic-hwe-20.04              5.15.0.67.74~20.04.2
[17:10] <ioria> Losdal, can you reboot and select it from the Grub screen ?
[17:10] <Losdal> ioria: I guess its downloaded but not activated, because the "boot password step" is in the configuration step
[17:11] <ioria> ho, ok
[17:11] <ioria> Losdal, sudo update-grub
[17:11] <Losdal> ioria : i'm afraid to reboot currently to not get blocked because of this :/
[17:11] <ioria> Losdal, ok, run sudo update-grub
[17:11] <Losdal> I think there is many packages downloaded but not configured/activated , and it should have an impact
[17:12] <Losdal> but i don't know how to "redo" the "missing" dist-upgrade
[17:12] <ioria> Losdal, i don't think so, see your paste : https://pastebin.com/6sBApYuk
[17:13] <ioria> Losdal, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[17:13] <Losdal> ioria : https://pastebin.com/ and the /etc/issue is always the same .56
[17:13] <Losdal> ioria: it may be marked as completed but it's was exited at the config step ?
[17:14] <ioria> Losdal, it's empty
[17:14] <ioria> another bot
[17:16] <Losdal> ioria : sorry, https://pastebin.com/C8qiXgT4
[17:17] <ioria> Losdal, it's ok
[17:21] <mncheck> 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] <mncheck> so probably the broken installation is in there somewhere
[17:24] <Reventlov> Is that expected to have xubuntu-desktop depends on plasma-desktop ?
[17:24] <Reventlov> ( https://i.imgur.com/glVBbTH.png )
[17:26] <Losdal> 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] <Losdal> missing actions ?
[17:52] <snowkid> 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] <rfm> snowkid, sure, that's what lseek/fseek are for.
[18:00] <snowkid> thanks
[18:02] <rfm> snowkid, also can use mmap() with an offset, but I find that more confusing somehow (you may not)
[18:03] <snowkid> 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] <topcat001> mmap() the whole file. It will page in/out as needed.
[18:03] <snowkid> what if there are a terabyte of files
[18:03] <topcat001> does not matter
[18:04] <topcat001> if you mmap a 1 TB file and read a byte, then at most a few pages are actually resident
[18:04] <rfm> snowkid, I think a scripted language is fine, it's going to be mostly I/O bound
[18:04] <snowkid> these tips are a great starting point so far, thanks!
[18:06] <snowkid> you think something like hyperscan (regex engine) would help a binary search
[18:07] <snowkid> 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] <rfm> 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] <snowkid> thanks for your responses
[18:19] <snowkid> 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] <cbreak> snowkid: virtual memory pages are only written into the swap if they are modified
[18:20] <snowkid> oh ok
[18:20] <cbreak> if they're unmodified, they can be discarded
[18:20] <rfm> snowkid, pages would be written to swap only if they are "anonymous", which means not mapped to a file
[18:21] <snowkid> all of this is read only
[18:25] <topcat001> 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] <topcat001> neither being relevant in your ro case
[18:26] <topcat001> 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] <snowkid> thanks i think I actually understand all of this
[18:36] <vilius> 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] <tomreyn> ^ cp'd to #xubuntu, and discussed there
[19:50] <superkuh> 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] <superkuh> Err https://esm.ubuntu.com/ubuntu/ trusty-infra-security/main libsqlite3-dev amd64 3.8.2-1ubuntu2.2+esm1  HttpError404
[19:51] <tomreyn> !esm
[19:51] <superkuh> I see. Do you know where to ask canonical about it directly?
[19:51] <superkuh> Ah, found it.
[19:51] <superkuh> Thanks!
[20:00] <superkuh> Ah. Fixed it. There was an update to ubuntu-advantage-tools which I did not have.
[20:00] <superkuh> Thanks for the help.
[20:07] <jhutchins> superkuh: Yay for the fix!
[20:09] <i-Areos> how to recover my deleted Downloads directory??
[20:10] <superkuh> Is it not in the trash?
[20:10] <tomreyn> i-Areos: restore it from your latest backup
[20:10] <superkuh> photorec is a good linux tool for recovering "deleted" files that still have inodes.
[20:10] <i-Areos> tomreyn sorry I didn't make backup .. so how to make recovery?
[20:11] <i-Areos> superkuh all files will be recovered?
[20:11] <tomreyn> i-Areos: you should have had a backup. you can try what superkuh suggested.
[20:11] <i-Areos> tomreyn i will try it
[20:12] <superkuh> https://wiki.archlinux.org/title/file_recovery#List_of_utilities
[20:12] <i-Areos> superkuh tomreyn thanks
[20:13] <tomreyn> i-Areos: more importantly: will you learn fomr it, setting up a backup now for next time?
[20:13] <superkuh> I have used photorec and https://www.r-studio.com/free-linux-recovery-help/basicfilerecovery.html before.
[20:13] <tomreyn> *from
[20:13] <superkuh> photorec is cli, r-studio r-linux is gui.
[20:13] <superkuh> https://www.r-studio.com/free-linux-recovery/
[20:13] <superkuh> photorec should already be in your repos.
[20:14] <superkuh> r-linux will have a deb to download.
[20:14] <i-Areos> Ok thanks for that info superkuh
[20:14] <superkuh> Good luck, i-Areos.
[20:15] <tomreyn> testdisk also integrates with photorec for a UI
[20:16] <i-Areos> tomreyn I'm beginner so i prefer gui
[20:34] <jhutchins> 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] <jhutchins> 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] <i-Areos> jhutchins files deleted 3 hours ago and I didn't save any stuff yet
[20:35] <jhutchins> i-Areos: Good luck!  You might do just fine.
[20:36] <i-Areos> jhutchins i use ununtu based distro not wimdows
[20:36] <i-Areos> Thanks jhutchins
[20:36] <jhutchins> i-Areos: Note that the CLI utilities are almost always more powerful than the cartoon ones.
[20:37] <i-Areos> jhutchins i will use photorec tomorrow
[20:39] <texugo>       Perhaps you should add the directory containing `libparted.pc'
[20:39] <texugo> how may I do this?
[20:39] <texugo>   Perhaps you should add the directory containing `libparted.pc'
[20:39] <texugo>       to the PKG_CONFIG_PATH environment variable
[20:40] <texugo> how may I do this???
[20:40] <jhutchins> texugo: What is your goal?
[20:40] <leftyfb> texugo: what release of ubuntu are you running and what are you trying to accomplish exactly?
[20:41] <texugo> I'm running mint
[20:41] <leftyfb> !mint | texugo
[20:41] <texugo> Please helpe me
[20:41] <leftyfb> texugo: mint has their own IRC, you need to ask for help there
[20:41] <jhutchins> texugo: What works with Ubuntu can break Mint.
[20:41] <texugo> I see
[20:41] <texugo> thanks
[20:46] <BinarySavior> 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] <BinarySavior> I tried CRTL+C but it didn't seem to work
[20:47] <jhutchins> BinarySavior: Can you get to a console?
[20:47] <superkuh> https://en.wikipedia.org/wiki/Magic_SysRq_key to try to get to console.
[20:47] <BinarySavior> the console is open
[20:47] <superkuh> Oh...
[20:48] <jhutchins> BinarySavior: Can you ssh to the machine?
[20:48] <superkuh> get the process ID (PID) of the process and $ sudo kill -9 <pid>
[20:48] <tomreyn> sysrq-k used to work, but no more
[20:48] <BinarySavior> ssh request is hanging
[20:48] <superkuh> If it's a zombie it might not work, but worth trying.
[20:49] <ioria> weird oom didn't come in
[20:49] <tomreyn> your only options will be to try to wait for it to settle down or to sysrq-s,u,b
[20:50] <arraybolt3> BinarySavior: If you are looking at the offending process, Ctrl+\ might do it.
[20:50] <arraybolt3> But once a system starts thrashing, there's not a lot you can do.
[20:50] <BinarySavior> Yea the active window is the terminal running the script
[20:50] <arraybolt3> 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] <arraybolt3> Obviously that won't help now, but for in the future.
[20:51] <BinarySavior> I also have watch free -m in another window, visible, only 37 bytes of 16k free
[20:51] <BinarySavior> I also have watch free -m in another window, visible, only 37 bytes of 16G free*
[20:51] <arraybolt3> lol, I was gonna say if you only have 16K of RAM, we have much bigger problems.
[20:52] <BinarySavior> i guess those units are megabytes though, 37MB of 16G free
[20:52] <arraybolt3> Yeah that's still bad.
[20:52] <BinarySavior> 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] <arraybolt3> If Ctrl+C and Ctrl+\ both don't work, then yeah, pretty much.
[20:53] <BinarySavior> thanks arraybolt3 yea I tried both of those
[20:54] <arraybolt3> Another thing you might do to help with this in the future is make a larger swapfile or enable RAM compression.
[20:54] <arraybolt3> 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] <ioria> why don't you check the state of the process ? BinarySavior
[20:55] <BinarySavior> 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] <BinarySavior> I ordered some more RAM
[20:55] <BinarySavior> ioria, the computer is unresponsive
[20:56] <arraybolt3> BinarySavior: Well RAM compression may help for until you get the extra RAM you need.
[20:56] <BinarySavior> thanks arraybolt3 I'll look into that
[20:57] <ioria> BinarySavior, and how did you check for free -m if the pc is unresponsive ?
[20:57] <BinarySavior> 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] <BinarySavior> the second time I'm trying it, it doesn't seem to be failing but instead it's unresponsive
[20:58] <jhutchins> BinarySavior: Another trick is to shut down all of the GUI processes to free the resources before you run the havy app.
[20:58] <BinarySavior> jhutchins, I did that
[20:58] <jhutchins> BinarySavior: I thought you said you were in a terminal window.
[20:59] <BinarySavior> oh, I misunderstood, I closed my browser, and all ofher programs but not the Ubuntu Desktop gui itself
[20:59] <oren_> Hi i upgraded to lts 22.04.2, the nvida drivers seem to be broken and my external monitors no longer work
[21:00] <BinarySavior> oren_, I had the same issue
[21:00] <oren_> and ideas what I should do
[21:00] <tepperson> I have a problem with ufw, can I ask that question here?
[21:00] <jhutchins> BinarySavior: Yeah, that takes resources even when it's not doing anything.  Shut down the graphics completely (wayland or X).
[21:01] <BinarySavior> 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] <jhutchins> tepperson: What release are you on?
[21:01] <BinarySavior> oren_, https://askubuntu.com/questions/1443757/nvidia-driver-not-working-on-ubuntu-22-04
[21:02] <jhutchins> BinarySavior: It's lighter to run a second shell on a second console than two under the gui.
[21:03] <oren_> BinarySavior: I'll  try the reinstall option and then your idea - thanks for the info
[21:04] <BinarySavior> 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] <jhutchins> BinarySavior: Yeah, SSH is pretty lean.
[21:15] <tepperson> jhutchins: well im running yocto, but all the references i can currently find about ufw are in regards to ubuntu
[21:17] <jhutchins> tepperson: You might consider switching to a different distro that has better support (like Ubuntu).
[21:17] <leftyfb> 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] <tomreyn> and your ubuntu version is?
[21:22] <_jak> ah, right -- 20.04 lts
[21:22] <tomreyn> i think that has resolvectl
[21:23] <tomreyn> yes
[21:23] <_jak> yep, it does
[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] <tomreyn> you can "revert <link>" link specific configurations
[21:24] <jhutchins> Isn't there a text file you can just delete the line from?  Or is all that in the registry now?
[21:24] <tomreyn> 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] <tomreyn> oh ok
[21:26] <leftyfb> _jak: how did you make the change exactly?
[21:26] <jhutchins> _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] <i-Areos> system76 is based on ubuntu?
[21:43] <leftyfb> 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] <i-Areos> leftyfb ty
[23:50] <relipse> 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] <arraybolt3> relipse: You're trying to install a dual boot, right?
[23:52] <relipse> Yes, exactly arraybolt3
[23:52] <arraybolt3> relipse: OK, and what flavor of Ubuntu is this? Just Ubuntu Desktop, or is it Kubuntu or something similar?
[23:53] <relipse> Ubuntu Desktop from the main site
[23:53] <arraybolt3> 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] <relipse> I don't really care about it that much
[23:53] <relipse> if something goes wrong, and I lose it, that's not that big of a deal
[23:53] <arraybolt3> OK. Are you at the screen where you're looking at a slider for choosing how much space to dedicate to Ubuntu?
[23:54] <relipse> yes exactly arraybolt3
[23:54] <arraybolt3> 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] <arraybolt3> (I'm assuming you only have Windows installed now.)
[23:55] <relipse> ok i set it to i set ubuntu to 116 GB
[23:55] <relipse> and windows Files side to 134.2
[23:55] <arraybolt3> Nice. That will shrink your Windows partition and make a new partition for Ubuntu.
[23:55] <arraybolt3> As long as you're OK with those values, you can continue.
[23:56] <arraybolt3> Do keep in mind it will be *very hard* to change them later.
[23:56] <arraybolt3> (You can shrink or grow one partition, move it, and then extend the other one, but it will take a while.)
[23:56] <arraybolt3> So make sure you choose what you want now to avoid headache later.
[23:57] <relipse> should I check "Use Active Directory" ?
[23:57] <arraybolt3> No.
[23:57] <arraybolt3> Active Directory is only for businesses.
[23:57] <arraybolt3> Technically you could use it on your home network, but if you were using it, you'd already know.
[23:57] <sarnold> you *could* use it at home, but if you're asking, then you've probably not set it up, hehe
[23:58] <arraybolt3> 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] <relipse> well i want to connect my ubuntu machine to my other windows machine
[23:58] <arraybolt3> That probably doesn't use Active Directory
[23:58] <relipse> and maybe a mac machine later
[23:58] <arraybolt3> If you want machines to share files with each other, that's a job for file shares.
[23:58] <relipse> ok we're good, its copying files now
[23:59] <relipse> Installing system...
[23:59] <arraybolt3> relipse: You will *probably* want to look into SAMBA if you want to connect your computers to each other to share files.