[02:20] <BayouBilly> i want to set a uefi boot for the windows partition...do i need to change grub for uefi boot for the ubuntu partition
[02:21] <murmel> BayouBilly: what do you mean by set uefi boot for windows? (if you installed windows in uefi mode everything should be set) if not, you would need to reinstall windows
[02:22] <BayouBilly> murmel i installed windows for legacy bios but i want to set the bios for uefi boot do i need to change the grub program for uefi version
[02:23] <murmel> BayouBilly: if you installed windows for legacy, you need to install linux also for legacy
[02:24] <BayouBilly> murmel i did but i want to set the bios for uefi boot and so do i need a different grub program like grub-efi or something
[02:25] <murmel> BayouBilly: yes, but please realize that with that you can't boot windows anymore
[02:26] <BayouBilly> murmel why not..with legacy bios i get a pxe rom error then everything boots ok but i want to set the boot to uefi to get rid of the pxe error
[02:27] <murmel> BayouBilly: because windows can't use uefi if you installed it in legacy mode
[02:28] <BayouBilly> murmel won't windows repair itself on boot up
[02:28] <BayouBilly> murmel if i switch to uefi
[02:28] <murmel> idk, that you would need to ask a windows channel, but windows 7 and 8 didn't
[02:29] <BayouBilly> murmel well windows 10 repaired a lot of hardware issues when i put the drive in a different laptop that has uefi
[02:29] <sarnold> try this? https://www.makeuseof.com/windows-10-11-convert-legacy-bios-uefi/  I'd certainly want backups first
[02:29] <murmel> try it out I guess?
[02:41] <BayouBilly> sarnold..i am thinking it wont work because i have 4 partitions with mbr...it says you can only have 3 partitions before you try to convert
[02:44] <BayouBilly> sarnold i thought some time ago that guid partitions could have up to 8 partitions
[02:53] <tomreyn> BayouBilly: guid partition tables (GPT) are limited to 256 partitions when running unix-like operating systems such as linux
[02:54] <BayouBilly> tomreyn well i thought they could have many partitions for testing various linux and warp partitions with windows..but the url to convert legacy to uefi says you can only have 3 partitions
[02:56] <tomreyn> BayouBilly: on the MBR partitioned disk, right
[02:56] <BayouBilly> tomreyn yes and i already have 4 partitions with windows ubuntu and gentoo
[02:57] <tomreyn> i understood so much.
[03:02] <csdgn> Hello there folks.
[03:03] <tomreyn> hi
[03:04] <csdgn> Is there a good way to run an x server on a ubuntu server but without a desktop manager / gui ? Basically I want somewhere I can testrun vulkan or opengl, but don't otherwise need a gui (the server is right next to my development machine, but the server has the nvidia gpu).
[03:08] <csdgn> i'll just try one of these headless x server guides I suppose
[03:08] <csdgn> thanks
[03:21] <erva> dang cant do nothin
[04:50] <alkisg> test
[04:54] <enigma9o7[m]> They won't see you for now, alkisg.  Some kinda one-way irc-matrix split.
[04:54] <enigma9o7[m]> Actaully that's wrong.  They will see you. You wont see them.
[04:54] <alkisg_web> Test reply
[04:55] <alkisg> Thank you enigma9o7 , right, I was wondering what's going on
[04:55] <alkisg> I joined web.libera.chat as alkisg_web to compare
[04:56] <enigma9o7[m]> https://github.com/matrix-org/matrix-appservice-irc/issues/1601 has some comments about it at the end....
[04:58] <alkisg> 👍️
[05:07] <saltd> its you
[05:08] <polo____> yup
[05:24] <saltd> scan result: ops not detected. ban probability: 20% activating russian idiot
[05:51] <webchat23> hello, I have an issue in when I try to change the keyboard shortcuts in the terminal, it says "New Accelerator" then just hangs. Does anyone know how to fic this? Thanks
[05:52] <oerheks> webchat23, on what ubuntu version? and what command did you use? for multiple lines, use a pastebin
[05:52] <oerheks> !paste
[05:53] <webchat23> how do I get the ubuntu version?
[05:55] <webchat23> ubuntu version is - Ubuntu 22.04.1 LTS
[05:55] <webchat23> I didn't use a command, I tried changing via the terminal preferences window
[05:59] <oerheks> oh oke, so when you click the key, ' new accelerator...' appears.. then you type the new short key
[06:00] <webchat23> When "New Accelerator" apprears it then just hangs. I have to then Quit the terminal.
[06:01] <oerheks> then type something as key?
[06:02] <oerheks> if you use backspace, it resets
[06:04] <webchat23> OK that works! I was expecting some dialog box to open and say enter your new shortcut
[06:05] <oerheks> :-)
[06:05] <oerheks> have fun!
[06:05] <webchat23> Thanks oerheks, much appreciated!
[06:31] <mauro> Good morning, anyone is running ubuntu on huawei matebioook 16s?
[06:39] <atol71> Hi, could anyone answer why on one Ubuntu 22.04.1 I get upgrades and in 2 other ones (exactly same config) I do NOT get that upgrades? All pointing to same source on /etc/apt/sources.list.
[06:39] <atol71> those* upgrades.
[06:41] <atol71> this channel is dead
[06:47] <irc_standardnick> lol
[07:07] <rfm> Hey. he gave us a whole 10 minutes...
[07:09] <polo> who
[07:10] <irc_standardnick> Did he forget to run apt update before upgrading
[07:13] <rfm> Probably just phased upgrades, which we could have told him if he had hung around
[07:16] <oerheks> or he asks why 2 other machines do not show the same update.. we will never know
[07:20] <rfm> he (not we are sure itś not she)_ starts with the agressive "could anyone answer why"  instead of just :"why"
[07:22] <oerheks> https://github.com/matrix-org/matrix-appservice-irc/issues/1601
[07:22] <oerheks> they read us, we don't  read them
[07:42] <tino> cubase
[08:10] <imi> hi, is there a todo app, which works across devices (android, linux) can synchronize todos, can send a notification 30 minutes before the deadline of a todo, has a commandline interface (or at least it's possible to write one), preferably opensource?
[08:12] <imi> I use todoist right now, apart from not being opensource it coplies with my requirements. the only problem there is that I'm not even able to add one todo every hour from commandline without them being rejected
[08:27] <oerheks> imi 79 of them ? https://www.slant.co/topics/1327/~best-cross-platform-task-apps
[08:28] <oerheks> Joplin .. https://www.fossmint.com/best-cross-platform-task-apps/
[08:31] <dreamon> hello, is there a shell command to check out if folder is mounted?
[08:32] <oerheks> ' mount'  would show all mounts
[10:14] <takeshii> https://localhost/sakamoto
[10:15] <mrkubax10> lol
[10:15] <takeshii> lol
[10:15] <takeshii> wrong channel, sorry
[10:42] <lapion> talk about n00b windows style mistakes, the official displayLink driver overwrites the standard libusb-1.0.so.0.2.0 upon install
[10:43] <lotuspsychje> is that a question or a feedback lapion ?
[10:43] <lapion> A simple observation
[10:57] <xs> hi, i've justed updated to 22.04.1 from 20.04. my machine's root is over iscsi (it's aarch64). after reboot, it cannot boot because the kernel says  can not create NETLINK_ISCSI socket [Protocol not supported]
[10:57] <xs> any ideas?
[10:57] <Guest89> hi
[10:57] <Guest89> ubuntu
[10:58] <lotuspsychje> xs: that might be something for the #ubuntu-server experts
[10:58] <xs> ok thanks.
[10:58] <lotuspsychje> welcome Guest89
[10:58] <Guest89> thanks mang
[10:59] <lotuspsychje> what can we do for you Guest89
[11:00] <Guest89> thanks
[11:00] <Guest89> need ubuntu
[11:03] <saltd> launch codes launch codes
[11:03] <ASTERA> HI
[11:03] <ASTERA> hi
[11:04] <lotuspsychje> saltd: please stop that random offtopic in the ubuntu support channel
[11:05] <saltd> ok lotuspsychje
[11:05]  * saltd just trains on ubunters
[11:55] <webchat92> hello every one! I have a question - can I run ubuntu on Raspberry?
[11:56] <oerheks> seems so, there is a wiki https://ubuntu.com/raspberry-pi
[12:25] <Maik> webchat92: i'm typing from a raspberry pi 4 8GB RAM with Ubuntu 22.04 LTS
[13:50] <brkcore> hey guys, used systemsct disable snap-discord. mount .. and now even if enable it, something is missing
[13:51] <brkcore> and the app doesnt work. same for gimp opera and other aps
[13:51] <brkcore> *used systemctl
[13:55] <ogra> brkcore, urgh ... never do that, you are pulling out the carpet underneath the packages ... to disable a snap you use "snap disable <snapname>" that will also unmount it ...
[13:55] <brkcore> ogra, i didnt want them running on background. I guess i have to find other way limiting backgroun services then.
[13:55]  * ogra recommends reaading the "snap help" output and the various "snap <command> help" pages to
[13:56] <ogra> *too
[13:56] <ogra> snap disable completely shuts them down and unmounts all mount units
[13:56] <brkcore> didnt know that
[13:57] <ogra> see "snap help disable"
[13:58] <ogra> (and "enable" indeed)
[13:58] <brkcore> but all the data is still available
[13:58] <brkcore> and the snap can easily be enabled again.
[13:58] <brkcore> after enabling the apps, it gives reports that they are broken and something is missing
[14:00] <brkcore> anyways, im purging snapd
[14:00] <ogra> right, you messed something up ... that is like removing random belts and screws from the engine of your car while it is running
[14:00] <brkcore> ogra, haha :) thats a very good example! I understand what I have done
[14:43] <lubuntu> 7
[15:08] <xu-help94w> How Ubuntu handles network connections? When I automatically connect to a network, how does it happen, with the help of NetworkManager or systemd-networkd being preconfigured to do everything automatically?
[15:11] <jhutchins> xu-help94w: https://ubuntu.com/core/docs/networkmanager
[15:13] <ogra> jhutchins, thats the documentation for using networ-manager as a snap on UbuntuCore ...
[15:14] <xu-help94w> nevertheless, it explains that NetworkManager always manages network connections since it's always preinstalled
[15:14] <ogra> xu-help94w, not really
[15:14] <xu-help94w> thank you a lot!
[15:14] <xu-help94w> ogra, how is it not?
[15:14] <ogra> xu-help94w, NetworkManager is only preinstalled on desktop ...
[15:14] <xu-help94w> ah I see...
[15:14] <ogra> xu-help94w, managing network on ubuntu beyond this is done via netplan
[15:15] <ogra> see https://netplan.io
[15:15] <jhutchins> ogra: Doesn't nm-cli get installed on non-desktop builds?
[15:16] <ogra> jhutchins, nmcli needs network-manager ... that is only installed on desktops ... so no, nmcli isnt installed on servers or any headless systems (i.e. Ubuntu Core)
[15:22] <xu-help94w> I feel kinda confused googling what display managers are in every Ubuntu flavour. What are they?
[15:26] <EriC^^> xu-help94w: lightdm gdm, it's the login screen basically
[15:27] <xu-help94w> Am I right to guess, that Ubuntu uses GDM and Xubuntu uses LightDM?
[15:27] <xu-help94w> it's really hard to find out sometimes
[15:27] <EriC^^> xu-help94w: ubuntu (gnome) uses gdm yeah
[15:28] <EriC^^> echo $XDG_GREETER_DATA_DIR  should give a clue
[15:28] <xu-help94w> Wow. Thank you a lot!
[15:29] <EriC^^> if you do "ps aux | grep dm" it should show up somewhere in the processes, easier to remember
[15:29] <EriC^^> no problem
[15:32] <jhutchins> ogra: Do you have a link to better general documentation on how network-manager works?
[15:35] <ogra>  jhutchins https://wiki.gnome.org/Projects/NetworkManager
[15:41] <cbreak> anyone here got experience disabling memory overcommit?
[15:41] <cbreak> https://www.kernel.org/doc/Documentation/vm/overcommit-accounting (by setting this to 2)
[18:05] <Milencho> Hi again guys, sorry for same spam like yesterday
[18:05] <Milencho> but any hint how to findout what vould be the problem with intel AX210 pci-e wifi
[18:05] <Milencho> on 5 ghz speed is slow but only download
[18:14] <Jeremy31> Milencho: Likely power management
[18:15] <Milencho> Jeremy31, what do you mean, motherboard something?
[18:15] <Milencho> or on router side?
[18:16] <Jeremy31> Driver power management, check in terminal>  iwconfig | grep -i power
[18:16] <Milencho> Power Management:on
[18:18] <Jeremy31> Milencho: run this in terminal>  sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[18:19] <Milencho> and after that restart net manager?
[18:19] <Jeremy31> Milencho: yes
[18:19] <Jeremy31> systemctl restart network-manager.service
[18:20] <Milencho> Jeremy31, done, so test again dnd/upload?
[18:21] <Jeremy31> and check>  iwconfig | grep -i power
[18:21] <Milencho>  Bit Rate=195 Mb/s   Tx-Power=22 dBm
[18:21] <Milencho>           Power Management:off
[18:23] <jhutchins> Jeremy31: Nice work.
[18:23] <jhutchins> Milencho: Try the speed test again?
[18:24] <Milencho> jhutchins, same
[18:24] <Milencho> dnd 40/50 upload 90/100
[18:26] <Milencho> may be i have to try to install windows and check how it works on windows
[18:26] <Milencho> if it works fine - could be driver issue
[18:26] <Milencho> if not - could be hardware something shitty ..
[18:26] <Jeremy31> Low tx power on router?
[18:26] <Milencho> with other devices latop(windows) phone(iOS)
[18:27] <Milencho> the speed if perfect
[18:27] <Milencho> i mean testing the speed on same place (5/10 cm from ax210 antenas)
[18:28] <Milencho> even today i have checked with other dual band router and it's same - only intel ax210 pci -e wifi is problematic
[18:28] <Milencho> and only download
[18:29] <Jeremy31> Milencho: post URL from terminal for>  sudo dmesg | grep iwl | nc termbin.com 9999
[18:29] <Milencho> https://termbin.com/7yfe
[18:29] <Milencho> here you are
[18:29] <Milencho> btw i've tried with driver *59 version i think
[18:30] <Milencho> iwlwifi-ty-a0-gf-a0-59.ucode - with this one and the speed was the same
[18:31] <jhutchins> Milencho: Just curious: can you test this on a wired connection?
[18:31] <Jeremy31> Did you actually remove/rename the firmware to get the older version
[18:33] <Milencho> i've remove this 66 and put 59 version in /lib/firmware
[18:33] <Milencho> jhutchins, not sure about wired it's a bit compliated because of desktop location :(
[18:33] <Milencho> but with usb wifi i could  get more speed (tested)
[18:34] <Milencho> but i don't want to use dongle with realtek chipset :(
[18:41] <Jeremy31> If the router is really close it could cause problems
[18:42] <xts_> hi
[18:47] <Milencho> Jeremy31, nope router is on same place last few years
[18:48] <Milencho> laptop is on the same place like desktop pc and it's not a problem
[18:48] <Milencho> but may be the only way is to install windows and check with win drivers
[18:56] <Jeremy31> Milencho: URL for> grep [[:alnum:]] /sys/module/iwlwifi/parameters/* | nc termbin.com 9999
[19:01] <Milencho> https://termbin.com/hkvv
[19:03] <Jeremy31> Milencho: try> sudo modprobe iwlwifi && sleep 5 && sudo modprobe iwlwifi 11n_disable=8 bt_coex_active=N
[19:04] <Milencho> i can but after few minutes
[19:04] <Milencho> if it's not a problem for you
[19:09] <xu-help94w> If an Ubuntu flavour uses LightDM, how to find out which greeter it uses? I thought a display manager and a greeter are the same thing, but I mistook one for another it seems.
[19:26] <Milencho> Jeremy31, after that some restart?
[19:27] <Jeremy31> Just test it, a restart will return the settings to original
[19:28] <Milencho> i will make 2-3 speed tests against different servers
[19:31] <Milencho> Jeremy31, same ***** :(
[19:31] <Milencho> download is likely 50 % of the upload speed
[19:31] <Milencho> tested against 4 different servers
[19:33] <Jeremy31> Milencho: URL for> grep [[:alnum:]] /sys/module/iwlwifi/parameters/* | nc termbin.com 9999
[19:34] <tomreyn> xu-help94w: i think login manager refers more to the functionality and greeter more to the looks of it, but it's usually the same software, possibly with different configurations.
[19:35] <Milencho> Jeremy31, https://termbin.com/8kfhg
[19:36] <Jeremy31> Milencho: URL for> grep [[:alnum:]] /etc/modprobe.d/* | grep iwlwifi | nc termbin.com 9999
[19:37] <Milencho> https://termbin.com/x7xn
[19:39] <Jeremy31> Milencho: try> sudo modprobe -r iwlwifi && sleep 5 && sudo modprobe iwlwifi 11n_disable=8 bt_coex_active=N
[19:39] <xu-help94w> tomreyn, I see :)  That's why I wondered what actually makes it look like __this__, and didn't know about these differences until this moment.
[19:40] <tomreyn> xu-help94w: https://askubuntu.com/questions/75755/how-to-change-the-lightdm-theme-greeter
[19:41] <tomreyn> https://wiki.ubuntu.com/LightDM
[19:41] <Milencho> Jeremy31, unfortunately same ***** :(
[19:42] <xu-help94w> those links are really useful, thank you a lot! :)
[19:42] <Jeremy31> Milencho: I am out of ideas, you could try posting on ubuntuforums.org in Networking and see if chili555 has any ideas
[19:43] <Milencho> Jeremy31, may be i will, but i'll ask my wife to make the post because not sure that he will understand my damaged english
[19:44] <Milencho> and may be on monday i will buy one HDD to install windows and check what will be the speed
[19:46] <Milencho> Jeremy31, btw it's not only the speed - i found out that there is also some kind of delay on 5 ghz
[19:47] <Milencho> because i was playing a game and dropped...
[19:47] <Milencho> lag during the game
[19:51] <esv> are other people/devices downloading stuff at the time of the test?
[20:04] <tomreyn> Milencho: had you tried newer ax210 firmwares also? which ubuntu release are yuo on again?
[20:05] <Milencho> tomreyn, could you clarify a bit
[20:05] <Milencho> not sure that i get it
[20:07] <tomreyn> Milencho: i'm wondering what this returns:    lsb_release -ds && cat /proc/version && ls -l /lib/firmware/iwlwifi*ty*
[20:08] <tomreyn> (and how this compares to files matching iwlwifi*ty* in https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/
[20:08] <tomreyn> =
[20:08] <tomreyn> )
[20:08] <tomreyn> ignore the equals character ;)
[20:12] <Milencho> tomreyn, https://pastebin.com/QPQVNKuJ
[20:16] <Milencho> tomreyn, as far as i know (i'm noobie) driver that ubuntu loads is 66
[20:16] <tomreyn> okay, you have ubuntu 22.04.1 and a current kernel and all firmware files as of 2022-07-26. did you replace the -66 one, though, since it has a current date.
[20:16] <Milencho> loaded firmware version 66.f1c864e0.0 ty-a0-gf-a0-66.ucode op_mode iwlmvm
[20:17] <Milencho> yesterday i tried with 59* version but it was the same
[20:17] <Milencho> so u mean to download the latest iwlwifi-ty-a0-gf-a0-73.ucode ?
[20:17] <tomreyn> my question is this: you have a file /lib/firmware/iwlwifi-ty-a0-gf-a0-66.ucode which, according to https://pastebin.com/raw/QPQVNKuJ , has been recently modified. is this file different that the one ubuntu 22.04.1 provides?
[20:18] <Milencho> how can i check this?
[20:19] <Milencho> nope it's not
[20:19] <Milencho> i got it - yesterday i've moved this file to other directory in order to check 59 version, after that i restore it
[20:19] <Milencho> and reboot
[20:20] <Jeremy31> The file name had to be changed in order to use and older firmware
[20:20] <tomreyn> oh okay
[20:20] <Milencho> i saw something 71/73 these ucodes are for ax210 ?
[20:21] <Jeremy31> The max firmware version is set to 66 in the 5.15 kernel
[20:21] <Milencho> so i need to update kernel in order to use 71/73
[20:21] <Milencho> or whatever i want
[20:23] <tomreyn> well, could try a newer kernel, but it's not too likely that this will help.
[20:23] <Jeremy31> Or you could change the name to match 66 version and hope the firmware loader doesn't check something else to determine version
[20:23] <Milencho> Jeremy31, not bad idea, because updating kernel - may be it's not for noobs like me
[20:23] <Milencho> i could **** up the system :)
[20:24] <Jeremy31> It isn't that easy to mess up a kernel install
[20:25] <Milencho> u mean it's a straight forward procedure ?
[20:25] <Milencho> i'll read a bit and may be tomorrow i can try
[20:25] <Milencho> hopefully with 71/73 it will work
[20:25] <tomreyn> Jeremy31: does the kernel look match the file names against a wildcard? maybe ...-66-{1..9},ucode or something would also work?
[20:26] <tomreyn> i guess that's somewhere in the iwlwifi module header?
[20:27] <Milencho> tomreyn, Jeremy31 thank you very much guys
[20:27] <Milencho> for loosing time
[20:27] <Milencho> if i found out something tomorrow - i'll give you a feed back  - what was the reason or at least is it working with latests drivers
[20:29] <Guest38> Hi folks,  best way to Dual boot win11 and ubuntu. My MB is updated Asus TUF Gaming B550-Pro
[20:29] <tomreyn> Milencho: you're welcome. jeremy is really good with wifi, it's rare that he can't solve things. but when overall functionality is given and only performance is an issue then it gets much harder to debug, i guess.
[20:30] <Jeremy31> Can you try on 2.4 GHz wifi?
[20:31] <tomreyn> !dualboot | Guest38
[20:32] <Guest38> Awesome thanks!
[20:32] <Milencho> Jeremy31, yes i can, i'm not on the desktop right now
[20:33] <Milencho> but when i'm gaming i'm on 2.4 ghz because on 5gh there is lag/delay
[20:33] <Jeremy31> If I remember correctly, the last time I tried 5GHz I saw reception signal variances
[20:34] <Milencho> the strenght signal on 5 ghz was between 69-75 dBm
[20:34] <Milencho> i'm 4-5 meters from AP
[20:35] <Milencho> the door of the room is open, upload is fine
[20:35] <Milencho> i've changed the pci-e slot also replace the antena
[20:38] <johnny_linux> everything is the variable ant / drivers / modem.  i have spectrum modem and intel dual band and no problems
[20:43] <johnny_linux> 5G = dual lte
[20:44] <tomreyn> johnny_linux: i think this support chat was about 802.11 (home) wireless, not mobile networks
[20:45] <johnny_linux> yes, sry i missed the beginning.
[20:49] <johnny_linux> looking back, 75db is pretty good.
[20:54] <cbreak> turns out it's probably a bad idea
[20:55] <cbreak> linux doesn't seem to be able to deal with not being able to overpromise and underdeliver, at least not without significant swap space
[20:57] <tomreyn> cbreak: hi there. do you have an ubuntu support question? there are also other channels for discussion, and off-topic chats.
[20:58] <cbreak> ?
[20:59] <cbreak> I did ask the question like 5 hours ago already
[20:59] <cbreak> and since no one answered, I went ahead and tried it out
[21:00] <tomreyn> cbreak: oh, okay. it's a busy channel, sometimes it's good to repeat what you're trying to get help with after some hours.
[21:00] <cbreak> I asked whether someone had experience disabling memory overcommitting, like documented in https://www.kernel.org/doc/Documentation/vm/overcommit-accounting (by setting this to 2)
[21:01] <tomreyn> i see. which problem would this solve?
[21:01] <cbreak> apparently no one did, and when I tried it, sshd died and I got disconnected :/
[21:01] <cbreak> the problem of the linux OOM killer killing random programs
[21:01] <cbreak> not sure if you've encountered this
[21:02] <tomreyn> not on any up to date ubuntu installation
[21:02] <cbreak> but linux will overpromis memory, and when programs actually try to use the memory they got from the OS, they get killed (or sometimes other programs get killed)
[21:02] <tomreyn> do you?
[21:02] <cbreak> I do.
[21:02] <tomreyn> which ubuntu version are you running then, which kernel version?
[21:02] <cbreak> Description:	Ubuntu 22.04.1 LTS Linux drz-zuzu 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
[21:03] <tomreyn> i mean, sure, OOM killer would kill 'random' processes when there is no ram left.
[21:03] <cbreak> the problem isn't really that linux resorts to killing, but the problem is that it gives memory to programs in the first place
[21:03] <cbreak> yes, there's no ram left.
[21:03] <cbreak> but it shouldn't kill programs
[21:03] <cbreak> it shouldn't give the programs ram in the first place that it can't deliver
[21:04] <cbreak> setting this setting to 2 does that
[21:04] <cbreak> but as I found out, it will do so very aggressively
[21:04] <cbreak> it will only give out 32 GB to applications, out of the 64 in that machine
[21:04] <cbreak> not sure why...
[21:05] <cbreak> anyway, what I wrote earlier was the sumary of this experiment
[21:05] <tomreyn> okay, when you have a question it's always good to provide the most basic background info so that others can actually support you. this should include the info i just asked about.
[21:06] <cbreak> I'll set up 64 GB of swap next week, and see how it works then
[21:07] <tomreyn> memory handling in 22.04 LTS's generic and HWE kernels works differently than in 18.04 LTS's HWE and generic kernels, so such background info is crucial.
[21:08] <tomreyn> also, explaining what the actual issue you're trying to solve (like you just did) can help you get meaningful responses.
[21:09] <oerheks> cbreak, does this happen with firefox running out of mem?
[21:09] <cbreak> I write / run programs that actually use a lot of memory, and it's really annoying to have them randomly die, makes debugging hard
[21:09] <cbreak> oerheks: nah, FF only uses like 2 or 3 GB or so
[21:09] <oerheks> that is the only programm i know of, that is stubborn
[21:10] <tomreyn> you could use cgroups, which would let you have more control on which processes can fail.
[21:10] <cbreak> yeah, I do that on my cluster
[21:10] <cbreak> but ideally, processes don't fail at all
[21:10] <cbreak> they should get allocation failures
[21:11] <tomreyn> do you have multiple CPUs?
[21:11] <cbreak> when I new[] some block of memory, I'd get a std::bad_alloc on other operating systems, but on linux I just get memory and get killed when I use it
[21:11] <cbreak> not on my dev desktop, where I tested this
[21:14] <cbreak> (in case this wasn't clear, I am not upset with the OOM killer, it seems to work fine, what I'd like to avoid is getting into situations where it has to kill stuff in the first place)
[21:15] <tomreyn> having enough rem + swap, and maybe a less aggressive OOM killer may be what you want then.
[21:16] <cbreak> I have enough ram, not having enough swap is the problem :/
[21:17] <cbreak> I should be able to disable overcommit as described in that documentation, once I have the swap space to back it up
[21:19] <tomreyn> well, adding swap space should be easy
[21:23] <tomreyn> cbreak: https://docs.kernel.org/admin-guide/sysctl/vm.html lists other related tuneables - see also chapter 3 at https://docs.kernel.org/filesystems/proc.html
[21:24] <tomreyn> (3.1 and 3.2 specifially)
[21:32] <clarkk> I'm installing the latest version of Ubuntu. I was told I need 650MB for the UEFI partition. What fs should I use to format it? How does that partition get used? WHat files go there? Does Ubuntu put files on there?
[21:33] <Jeremy31> clarkk: 500 MB is enough, you have to use fat32 on the partition
[21:33] <Jeremy31> Grub uses the UEFI partition
[21:34] <cbreak> tomreyn: interesting, thanks
[21:34] <clarkk> thanks Jeremy31. How will Ubuntu know to use that partition? Does it ask where to put grub during the install?
[21:34] <cbreak> I use a ZFS root, so adding swap isn't as trivial as creating a file
[21:34] <cbreak> I've read up on some ways to do it that mitigate the deadlocks you can get normally
[21:34] <cbreak> but ideally, I'd have made swap partitions from the start :(
[21:35] <Jeremy31> clarkk: grub gets installed to a drive, not a partition, the installer will figure it out
[21:35] <cbreak> clarkk: the ubuntu installer is famous for putting grub on the wrong partition :/
[21:35] <cbreak> if you only have one disk, you won't have that problem
[21:35] <cbreak> if you have more than one, it could end up chose the wrong one
[21:36] <clarkk> cbreak, I have multiple disks. Do you know how I can avoid problems?
[21:37] <n9nu> can someone pse tell me if:  /etc/tlp.conf   is supposed to be deactivated upon install?
[21:37] <n9nu> i want to limit the battery charging to 85-90%
[21:38] <cbreak> clarkk: https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1591352 has more infos on that problem I think
[21:38] <n9nu> it seems that file is just a template
[21:38] <cbreak> yes, it's from ubuntu 16.04
[21:39] <cbreak> but it seems it wasn't fixed so far
[21:41] <clarkk> If I have an Ubuntu install disk but don't know the version, is there a way to find the version?
[21:41] <n9nu> uname -a
[21:42] <n9nu> look in the root dir
[21:42] <n9nu> of the disc
[21:42] <clarkk> n9nu, without bootting to live disk?
[21:42] <n9nu> can u mount it?
[21:43] <Jeremy31> Should be in the disk name
[21:43] <n9nu> mount /dev/sr0 /mnt/ ?
[21:43] <n9nu> sr0 or whtever ur dvd/cd dev id is
[21:45] <n9nu> i havent used cd/dvd in over 10+ yrs lol
[21:46] <clarkk> I found it - I booted the disk and pressed F1 for help
[21:46] <clarkk> version was there
[21:46] <n9nu> there ya go
[21:47] <clarkk> ok, sadly we have 20.04 on a disk, but 22.04 on a memory stick. The PC won't boot to USB. Is there any way to make a boot DVD from the bootable USB memory stick?
[21:48] <n9nu> u have the usb key w/ the extracted os on it?
[21:48] <n9nu> yes
[21:49] <n9nu> i take it u just dont to download the newest ubuntu iso image
[21:49] <n9nu> want
[21:49] <n9nu> wait...wont boot from usb?
[21:50] <n9nu> as in a UEFI / CSM issue?
[21:50] <n9nu> or TPM crap
[21:51] <clarkk> n9nu, this is an unrelated issue to the previous ones. Yes, I'm trying to avoid downloading 22.04, because it will take several hours
[21:51] <toddc> PLOP CD can boot to cd then install from a usb
[21:51] <n9nu> oh  ok got ya.
[21:52] <n9nu> u have to dump all the usb files on to a temp folder
[21:53] <n9nu> r u on another pc at the moment?
[21:53] <clarkk> n9nu, ok, thanks. Scratch that. Just worked out that the USB contains 20.04 too :( Will have to wait for download
[21:58] <n9nu> ah ok.yeah.... there is a really awesome bootable tool for any OS    - Ventoy. you just simply create the initial partition/files on your USB and copy any boot image(s)  (img, iso, wim, vhd, efi) to the drive (no extraction needed) and u can have hundred's of Linux, BSD, Win,, etc images on there ready to install just by selecting them from the boot/grub menu
[22:00] <n9nu> its the best tool...all ur iso or images u collected over the years on one small usb device
[22:00] <n9nu> https://www.ventoy.net/en/index.html
[22:00] <n9nu> good luck wth ur download
[22:36] <clarkk> interesting. Never heard of it before. Thanks a lot n9nu :)
[22:40] <oerheks> i have seen ventoy issues enough..
[22:40] <oerheks> !usb
[22:40] <oerheks> worthless piece of code, imho
[23:14] <johnny_linux> etcher
[23:15] <johnny_linux> set your bios proper before installing
[23:22] <goddard> my snap application window icons are sorta messed up
[23:23] <goddard> its like they have two different types of theme buttons at once
[23:24] <Guest8530> hi
[23:35] <johnny_linux> have a proper nite. thanks.
[23:46] <tomreyn> clarkk: if you have limited bandwidth, but have an earlier copy of an ubuntu iso around, and a PC with a good enough CPU, then you can use zsync against the existing .iso and reduce the download size that way.
[23:48] <tomreyn> you won't save a *lot* but still *some* of the full download.