[01:02] <tomos> woah
[03:50] <Hash> hi
[03:50] <Hash> anyone else using the next lts?
[03:52] <frost> hello,  if anyone have interseting on freenode channel #worldhacker? if no, please ignore
[03:53] <Hash> I doubt anyone even really connects to freenode anymore
[03:53] <Hash> everything moved from there to somewhere else
[03:53] <frost> yeah, i know
[03:54] <Hash> irc.mozilla.org has lots
[03:54] <Hash> also irc.oftc.net or something
[03:54] <Hash> and check out element.io / matrix network
[03:55] <Bashing-om> !next | Hash
[03:59] <Hash> fty
[03:59] <Hash> ty
[04:15] <theb-lob> been reading about firejail and apparmor-has anyone used both at the same time? Have you had any conflicts-could you resolve?
[04:16] <theb-lob> ubuntu 21.10 or 20.04.3
[04:23] <sarnold> you may need some additional ptrace privileges on the profiles, so firejail can ptrace the processes, but I think it ought to work
[04:23] <sarnold> I've not tried it myself
[04:42] <masaya> hi
[05:08] <mybalzitch> does transgui / transgui-test (snap package) completely crash wayland/plasma for anyone else?
[05:40] <Swift110-mobile> sup folks
[05:53] <Hash> Hellop
[05:53] <Hash> 20.04 ubuntu and I firefox cannot see my mic, but chrome can
[05:53] <Hash> ideas?
[05:53] <Hash> firefox always says on any site, no camera found
[05:53] <Hash> chrome asks for permissions and then works
[05:53] <Hash> camera/mic
[05:59] <Hash> Seemns like chrome can see my mic but nothing is recorded
[05:59] <Hash> static
[07:08] <Hash> I deleted most packages from the system
[07:08] <Hash> purged configs
[07:09] <Hash> reinstall 90% of system packages and now my desktop/sound/panels/ etc. is back
[07:09] <Hash> well that was weird.
[07:42] <ggnoredo> I'm on 20.04 and want to install a package from jammy repo. How do i do this without adding jammy in to my sources list. The package i want to upgrade is maildir-utils. I don't want to add jammy because it makes 4000 updates on my apt update fetch
[07:44] <trafficjam> how do i remove any versions of a .deb i might've installed (and all associated systemd files)
[07:47] <WickedDekciw> trafficjam, dpkg -P
[08:00] <trafficjam> anyone around?
[08:03] <WickedDekciw> trafficjam, dpkg -P
[08:04] <trafficjam> WickedDekciw: hmm doesn't seem to work
[08:05] <trafficjam> i mean the package is there, but I keep getting a connection refused error when i try to curl it
[08:05] <trafficjam> sysytemd status is active, so i'm not sure what the problem is
[08:08] <trafficjam> is the service running twice?
[08:09] <trafficjam> i've stopped the service, but `ps aux | grep <name>` still shows it
[08:09] <trafficjam> (before it showed two)
[08:10] <trafficjam> how is it possible to have two processes running?
[08:10] <trafficjam> *the same two
[08:11] <trafficjam> i can't kill it it seems
[08:12] <WickedDekciw> trafficjam, sudo apt install --fix-missing
[08:12] <WickedDekciw> wait
[08:12] <WickedDekciw> did you dpkg -p packagename
[08:12] <WickedDekciw> you have to include the name
[08:13] <trafficjam> WickedDekciw: it ran successfully before, but i still had two of the same processing running simultaneously
[08:13] <trafficjam> it's possible that the process is running outside of systemd, how could i check that?
[08:15] <sabas3dgh> hello guys
[08:17] <sabas3dgh> I want those squeakily lines under spell checked error words inside hexchat. I installed enchant hunspell and linbspell but no luck. Could you help?
[08:33] <ELQEYNN> I have icons in Activities. On right-clicking them, is there supposed to be an option to put it on the desktop?
[09:12] <tuxinator> Hi, can somebody please check if https://bugs.documentfoundation.org/show_bug.cgi?id=146633 also happen on his System?
[09:34]  * worldhacker-org come to irc.worldhacker.org channel #0dev , get lost frog from irc.worldhacker.org , By The Most High Lord Jesus Christ with [ 0day (xc) Our ] 
[11:14] <user03> kek
[12:55] <mncheck> given a package how do you go to the vcs repository where eg. its debian control files are located?
[13:10]  * DUPS any spammer here?
[13:21] <lotuspsychje> DUPS: this is the ubuntu support channel
[13:32] <BluesKaj> Hi folks
[13:33] <frickler> mncheck: it depends, some are in launchpad, some in debian, some elsewhere. a good first step is to check e.g. https://code.launchpad.net/ubuntu/+source/python3.9
[13:33] <frickler> sometimes apt-get source gives additional hints, too
[13:41] <mncheck> frickler, how do I know which debian release is relevant for 20.04?
[13:42] <mncheck> frickler, thanks for the info so far
[13:43] <ioria> mncheck, cat /etc/debian_version
[13:45] <mncheck> ioria, thanks
[13:45] <ioria> ok
[13:50] <mncheck> frickler, ioria thanks, I've found a debian source repository for my package
[13:52] <mncheck> why the bullseye version of a package is different than the focal version? I have it from universe
[13:54] <geirha> ubuntu releases don't follow debian releases
[13:54] <ioria> there is no direct mapping
[14:05] <mncheck> geirha, ioria: I found the salsa repository from the .dsc of my package. I got the .dsc via apt-get source after enabling the focal universe deb-src in apt/sources.list and I can see the .dsc on archive.ubuntu.com/ubuntu/poool/universe for the package. from where does the .dsc get to archive.ubuntu.com?
[14:06] <mncheck> I ask because the .dsc lists a Version: field that is lesser than what is available on salsa, but I don't see how the dsc is filled
[14:08] <ogra> mncheck, ubuntu imports from debian for a certain part of the release cycle ... eventually syncs stop and packages get stabilized and eventually released ... once released they do not get synced anymore (there are stable release updates for single backported bugfixes and such though)
[14:09] <ogra> mncheck, focal was released in april 2020 ... bullseye end of 2021 ... so indeed their package is newer
[14:09] <ogra> (or mid-2021 FWIW)
[14:09] <mncheck> ogra, my /etc/debian_version says bullseye
[14:10] <ogra> on your debian system ?
[14:10] <mannequin> bullseye is excellent
[14:10] <mncheck> ogra,  DISTRIB_CODENAME=focal (lsb-release) and bullseye/sid (debian_version)
[14:10] <ogra> mncheck, sid is the point here 🙂
[14:10] <mncheck> ogra, ok
[14:11] <ogra> ubuntu syncs from unstable usually
[14:11] <mannequin> sounds like it's not updated
[14:11] <mncheck> ogra, so is there some build server somewhere where there is an artifact where I can see a sync from some sid repo into archive.ubuntu.com ? I've google "release-cycle" but couldn't find this process yet
[14:12] <ogra> whatever codename of whatever debian release was in the base-files package does really not matter ... just means it was synced from sid during that development cycle of debian ... but does not point to any other relationship
[14:13] <mncheck> ogra, now I found the debian control files but my interest shifted into who authors the dsc files and how
[14:13] <ogra> debian does ... ubuntu occasionally adds patches on top though
[14:14] <mncheck> ogra, is the sync done through rsync?
[14:14] <ogra> (there are a few packages that are ubuntu only, but the vast majority comes from debian as source package imports)
[14:16] <mncheck> ogra, I think I go into #ubuntu-discuss with this
[14:16] <ogra> mncheck, https://wiki.ubuntu.com/DebianImportFreeze
[14:59] <yac> i just got a new 1tb ssd drive and setup as ext4. this is what's showing with df   /dev/sdb1       916G   72M  870G   1% /home/ssd2
[15:00] <yac> where's the missing storage space ?
[15:00] <yac> shouldn't it be 914G of unused space instead of 870G ?
[15:03] <oerheks> 1TB is raw, partitioned one loses 8%, including the part reserved. ( reserved for recovery purposes). then the rest needs to be formatted, losing a few more.
[15:04] <oerheks> so your number look healthy
[15:04] <yac> oerheks: the usable space is 931g in gparted, then 916T
[15:04] <yac> 916G
[15:05] <oerheks> both are correct, and the same somehow
[15:05] <oerheks> 1024 or 1000 thingy
[15:06] <yac> gparted showing size 931Gb with unused 916GiB. how come it shows 870G ?
[15:06] <yac> i would expect at least 916G unused with df, not 870G
[15:06] <yac> oerheks: i understand about the 1000/1024 bits to bytes
[15:08] <oerheks> df -h  vs du -sh /
[15:08] <yac> but showing that it's got 916G available, with 72M used, then 870G unused does not make sense
[15:08] <oerheks> inodes take that space
[15:08] <tuxinator> :oerheks for du i prefer ncdu ;-) really cool
[15:09] <tuxinator> :oerheks inodes take that space? i am pretty sure root reserved blocks take that space and not inodes, else i would be wrong since 20 years
[15:09] <yac> df: invalid option -- 's'
[15:10] <yac> i've always thought the unused+used part add up to available space with df -h
[15:10] <oerheks> df -h  'versus' du -sh /
[15:10] <tuxinator> yac:  look at tune2fs -l /dev/sda1
[15:10] <tuxinator> where /dev/sda1 is your device
[15:11] <tuxinator> :yac look for Reserved block count:
[15:11] <yac> du -sh /home/ssd2/
[15:11] <yac> 1.2G    /home/ssd2/
[15:11] <yac> that's 1.1G i just copied to it
[15:12] <tuxinator> :yac then use tune2fs -m  to adjust it
[15:12] <yac> Reserved block count:     12206246
[15:13] <yac> Reserved GDT blocks:      965
[15:13] <tuxinator> i forgot, please also tell block size
[15:13] <tuxinator> like explained here: https://docs.cloudera.com/cloudera-manager/7.2.2/managing-clusters/topics/cm-decrease-reserved-space.html
[15:13] <yac> Block size:               4096
[15:14] <yac> oh well that makes sense now
[15:14] <tuxinator> 12206246 * 4096 =
[15:14] <tuxinator> 49GB
[15:14] <yac> By default, the ext3 and ext4 filesystems reserve 5% space for use by the root user
[15:14] <yac> so 916*.95 ~= 870
[15:15] <tuxinator> exactly and that makes sense, so you can still login as root localy in case of full disk
[15:15] <yac> erhm i never do
[15:15] <yac> is there any much downsize to shrinking that down ?
[15:16] <tuxinator> yac: on /home you don't need that root reserved space as on login root's homedir is /root/ which is not under /home/
[15:16] <oerheks> only when you need a recovery, that 5% is reserved for disasters
[15:16] <tuxinator> just do tune2fs -m 0 /devicename
[15:16] <oerheks> i would not touch it, you gain not much space
[15:16] <tuxinator> :oerheks there is actually no drawback on /home
[15:17] <oerheks> this space has nothing to do with home
[15:17] <yac> oerheks: my free space on /home is 7gb. gaining 40-50gb would help
[15:17] <yac> oerheks: what is that space for ?
[15:18] <tuxinator> oerheks: consult the manual next time, as no "root-process" writes to /home there is no problem, see https://www.redhat.com/sysadmin/disk-space
[15:19] <tuxinator> yac: change it to 1% and check how much its then
[15:19] <yac> yeah i see that recc for cloudera
[15:20] <oerheks> tuxinator,  it is the 'Reserved block count parameter' set on 6% in your url
[15:20] <oerheks> err 5%
[15:21] <oerheks> again, i would not touch it, one better removes unneeded packages wit clean/autoremove
[15:21] <tuxinator> they explain in which case it is needed and in my 21 years of Linux Experience i never met somebody who said don't do that for non / partitions or lets say partitions where no root access is actually ever made ;-) you are a premier :D
[15:22] <yac> my /home is on a separate partition from /
[15:22] <tuxinator> :oerheks why would you not touch it? bring a plausible reason, everybody does that, thats a default task you usually do on creation or as a cleanup task when forgot
[15:23] <oerheks> 'everybody does that' is certainly not true.
[15:23] <oerheks> there is a reason why one should not touch it, i keep repeating myself
[15:24] <oerheks> but go ahead, tune it and have fun!
[15:25] <tuxinator> :oerheks just keep cool, any case where root would need 49 GB of space in case of full disk?
[15:25] <grkblood13> Does sparse not work on LVM partitions? I'm trying to omit the zeroized space and my final dded image is the same size of the drive.
[15:30] <tuxinator> yac: also see the documentation: https://www.linux.org/docs/man8/tune2fs.html
[15:30] <tuxinator> search for reserved-blocks-percentage and read that part
[15:31] <tuxinator> yac: also see Arch's recommendation of changing it for /home here: https://wiki.archlinux.org/title/ext4#Reserved_blocks
[15:36] <yac> tuxinator: oerheks: thank you. i will read through everything before making changes
[15:36] <yac> at least now i know it's lost space by design vs. something's wrong with my system
[15:36] <yac> or the new drive
[15:37] <jkc> tuxinator: Out of the "everybody" that I know, which is root only knows how many Linux professionals across hundreds of companies, precisely zero change the default reserved space parameter. So be careful using the word "everybody."
[15:39] <tuxinator> jkc: i talk about all everybody i know and whenever we hit the term, even the ext4 developer says it's ok and Arch the oldest distro also
[15:39] <jkc> Your logical fallacy is "appeal to authority."
[15:40] <jkc> Defaults exist for a reason. IF you have an articulable and defensible reason to diverge from that, then go nuts. But "everybody does it" is not such a reason.
[15:40] <tuxinator> jkc: well not sure what the problem is, there are multiple opinios and thats ok, however i am a person that likes facts and don't likes senseless opinion discussion, and no, the default has just forgot to adjust
[15:41] <tuxinator> look at https://wiki.archlinux.org/title/ext4#Reserved_blocks and follow the link to the ext4 author
[15:42] <tuxinator> and feel free to start an endless loop, i am out
[15:42] <oerheks> we agree that this is a  senseless opinion discussion.
[15:42] <oerheks> yac got answered, there is nothing wrong with his ssd
[15:44] <tuxinator> :oerheks oh you are still here ;-) agreed!
[15:44] <tuxinator> :oerheks so lets skip and search the next :D
[15:45] <oerheks> sure, lets have fun
[15:45] <tuxinator> hopefully there is one more today i am hot for it :D :D :D :D
[15:45] <oerheks> almost beer o'clock here
[15:45] <mannequin> this a an acoholic's apartament https://vlepy.github.io/2022/01/07/setup2.html
[15:46] <mybalzitch> MURICA
[15:46] <mannequin> notice the flag is upside down
[15:46] <lotuspsychje> not here mannequin
[15:46] <tuxinator> :oerheks here also
[15:47] <tuxinator> location?
[16:26] <gneeriiloeepdeer> what subtitle app can I use to recognize and convert mks or sub to srt? subtitld doesn't recognize ny of the 2 first formats
[16:26] <gneeriiloeepdeer> any*
[16:43] <jhutchins> Should be something in the ffmpeg suite.
[16:44] <gneeriiloeepdeer> ok...
[16:44] <coz_> gneeriiloeepdeer, hmm didnt think of ffmpeg ...checking commands
[16:56] <merpnderp> Looks like one of my security fixes broke a remote mount. Any idea how I'd try to manually mount an entry in fstab?
[16:59] <EriC^^> merpnderp: sudo mount /mountpoint
[16:59] <merpnderp> Thanks EriC^^
[17:00] <merpnderp> ermegerd, sudo is not taking like 30-60 seconds to auth
[17:01] <merpnderp> We finally get a chance to move off windows to Ubuntu and the first thing I'm assigned to do is completely junk up ubuntu
[17:03] <EriC^^> no problem merpnderp
[17:14] <merpnderp> Anyone know which port a nfs mount would be on
[17:14] <merpnderp> I think it's an overly restrictive firewall setting
[17:14] <merpnderp> We deny all incoming outgoing and routed. And then have a rule for every bit of traffic.
[17:15] <merpnderp> Noticed that on login there was message that the machine could no longer even connect to its repo servers
[17:19] <merpnderp> Anyone know how to set ufw to allow apt to do updates?
[17:20] <merpnderp> Apt just worked
[17:21] <merpnderp> But couldn't hit any of the mirrors. Timed out on them all. So looks like ufw is the culprit. But how to configure it to allow apt to hit mirrors?
[17:22] <lotuspsychje> !firewall | merpnderp
[17:23] <merpnderp> ubottu: that doesn't help as I need to know which port apt uses.
[17:26] <chazzo> Hello. Looking for direction, want my server to email plain text generated from an HTML form entry to a gmail address. Confused on how I'd get Ubuntu Server to send emails and what address those would even be originating from
[17:39] <jkc> The send emails part is typically postfix in most deployments. The from address would assumably be noreply or something @ a domain that you own.
[17:49] <mbeierl> merpnderp, apt uses HTTP as a transport, so it's either 80 or 443, depending on the mirror
[17:50] <mbeierl> for the origin port, that would be a randomly assigned ephemeral port
[17:50] <jkc> merpnderp: Deny all outgoing traffic can be an absolute bear to config and admin.
[17:51] <jkc> But, if you're absolutely sure you want to do that, `sudo ufw allow out 80,443/tcp` should do the trick.
[18:08] <marc_> Anyone know how to get ubuntu to use GEN3 cards bios is set to GEN3 but its running as GEN2 in ubuntu
[18:09] <marc_> Bus Type:PCI Express x16 Gen2
[18:09] <marc_> PCIe Generation:Gen2
[18:09] <merpnderp> Awesome thanks for the help
[18:09] <marc_> Maximum PCIe Link Speed 5.0 GT/s
[18:09] <jkc> marc_: Is the card itself a gen 3 card?
[18:09] <marc_> yea its gen3
[18:09] <jkc> What card is it, exactly?
[18:10] <marc_> GTX780
[18:10] <marc_> pci slots are GEN3 as well
[18:10] <jkc> Yeah, that's a gen 3 card.
[18:10] <jkc> What motherboard?
[18:10] <marc_> my NvME are also not on GEN3 as well by the looks of things
[18:11] <marc_> SUPERMICRO-X9DRH-iF
[18:11] <marc_> x79
[18:11] <marc_> E5
[18:12] <marc_> dual processor
[18:13] <jkc> What CPUs?
[18:13] <jkc> E5, but which model?
[18:13] <jkc> And version.
[18:14] <marc_> currenlty 2 x E5-2643 v2 i think but i got E5-2687W v2 here and im about to buy the second E5-2687W v2
[18:15] <jkc> Everything involved supports PCIe 3.0.
[18:15] <marc_> yep
[18:15] <jkc> Other than confirming that BIOS has EVERYTHING configured to 3.0, I'm at a loss.
[18:15] <jkc> I'd completely reset BIOS if it still wants to act up.
[18:16] <marc_> the way i see it it has to be enabled in ubuntu same as windows 10
[18:16] <jkc> No.
[18:17] <jkc> Maybe like... years ago, but I'd be stunned if that was the case now.
[18:17] <jkc> What version of Ubuntu?
[18:17] <marc_> if i got to windows 10 which i dont have installed and change the pcilink speeds in the registry this system works on GEN3
[18:17] <marc_> 5.13.0-23-generic #23-Ubuntu SMP Fri Nov 26 11:41:15 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
[18:18] <jkc> Ubuntu version, not kernel version.
[18:18] <marc_> how do i get its version
[18:18] <jkc> cat /etc/os-release -> VERSION
[18:19] <marc_> i tried that the cursor is just blinking in the terminal
[18:20] <ogra> grep VERSION /etc/os-release
[18:20] <ogra> try tht oe
[18:20] <genii> hit ctrl-c and doit again without the -> VERVION npart
[18:20] <ogra> *hat one
[18:21] <genii> meh typos
[18:21] <marc_> PRETTY_NAME="Ubuntu 21.10"
[18:21] <marc_> VERSION_CODENAME=impish
[18:21] <marc_> VERSION="21.10 (Impish Indri)"
[18:21] <jkc> Last time I remember having to force a card to a specific PCIe revision was over six years ago.
[18:21] <jhutchins> marc_: I wonder if you might find anything about PCI handling at kernel.org, since this is unlikely to be an Ubuntu specific issue.
[18:22] <ogra> did you check for a BIOS/UEFI update for the board ? might simply be a shrtcoming in the BIOS
[18:22] <marc_> ubuntu update just came through seems to be a lot of updates over last two days
[18:23] <marc_> there is only one update for this board and thats for the exploits that slow down the machine
[18:26] <marc_> i tried this it didnt work modprobe nvidia ENABLE_PCI3=1
[18:26] <marc_> thats what they were going on about on one site
[18:28] <jkc> marc_: That's a very important update, and "slow down the machine" is an awfully universal statement for an effect that is far, far from universal.
[18:29] <marc_> I used to disable it in windows 10 it slows the processors too much
[18:29] <marc_> spectr
[18:29] <marc_> thats the one i disabled
[18:29] <jkc> Yeah, don't disable that.
[18:29] <marc_> i have
[18:29] <jkc> Then re-enable it.
[18:30] <jkc> Those are fairly nasty vulnerabilities with real-world exploits.
[18:30] <marc_> i think its disabled in ubuntu by default
[18:30] <jkc> Everything I run is in VMs, and the hypervisors have mitigation enabled.
[18:31] <marc_> i was looking through code in ubuntu yesterday and noticed its disabled
[18:31] <jkc> And no, they're enabled by default.
[18:34] <jkc> As they ought to be. If you're disabling them because "they slow the CPU down," you're making a pretty significant mistake.
[18:34]  * DUPS anybody have leads @hotmail.it?
[18:40] <marc_> just turn off all the mitigations after checking
[18:40] <marc_> thats whats been hitting my game performance
[18:57]  * DUPS any spammer here?
[18:59] <ogra> DUPS, none beyond you .... (please stop that)
[19:01] <marc_> I made a file in /etc/modprobe.d called nvidia.conf then added the line NVreg_EnablePCIeGen3=1 saved it then did update-initramfs -u its throwing an error anyone know why
[19:02] <marc_> i alos tried nvidia NVreg_EnablePCIeGen3=1 still threw an error
[19:03] <marc_> nvidia              35311616  453 nvidia_uvm,nvidia_modeset
[19:06] <jkc> Would help to know what the error is.
[19:06] <marc_> https://askubuntu.com/questions/1073006/how-to-enable-pcie-gen3-on-ubuntu-16-04-04 this is what i am trying to do
[19:06] <jkc> marc_: If you're disabling security mitigations, you are making a mistake. That wasn't a question.
[19:06] <jkc> marc_: And don't use instructions for a five year old, no longer supported release.
[19:06] <marc_> libkmod: ERROR ../libkmod/libkmod-config.c:657 kmod_config_parse: /etc/modprobe.d/nvidia.conf line 1: ignoring bad line starting with 'NVreg_EnablePCIeGen3=1'
[19:06] <TheCodeTherapy> @marc_, try using 'options nvidia_453 NVreg_EnablePCIeGen3=1' (without the single quotes) instead of the line you mentioned in your /etc/modprobe.d/nvidia.conf and then sudo update-initramfs -u
[19:07] <TheCodeTherapy> @marc_, here I'm assuming 453 is the version of your driver. Edit it accordingly.
[19:07] <genii> marc_: Did you write in the file "options NVreg_EnablePCIeGen3=1" or just "NVreg_EnablePCIeGen3=1" ....
[19:08] <marc_> just NVreg
[19:08] <marc_> libkmod: ERROR ../libkmod/libkmod-config.c:657 kmod_config_parse: /etc/modprobe.d/nvidia.conf line 1: ignoring bad line starting with 'nvidia_453'
[19:09] <genii> marc_: Yes, you need add the options at the beginning
[19:09] <ogra> isn't th module name just "nvidia" not "nvidia_453" ?
[19:09] <marc_> options nvidia NVreg_EnablePCIeGen3=1
[19:09] <marc_>  this worked
[19:09] <marc_> thanks
[19:21] <marc_> Ok people here told me that it was BIOS that was at fault for gen3 its not its Ubuntu thats at fault i got the system running on Gen3 with a screwup
[19:22] <marc_> after i typed sudo update-initramfs -u
[19:22] <marc_> the system wouldnt boot with 5.13.0-23-generic
[19:23] <marc_> its now booted with 5.13.0-22-generic
[19:23] <marc_> so how do i fix that
[19:23] <marc_> Bus Type: PCI Express x16 Gen3
[19:23] <marc_> PCIe Generation:
[19:23] <marc_> Gen3
[19:23] <leftyfb> marc_: wait, so you got Gen3 working? What was the issue?
[19:24] <marc_> Ubuntu was the issue
[19:24] <leftyfb> marc_: can you be more specific?
[19:25] <marc_> i added a file to /ect/modprobe.d called nvidia.conf
[19:26] <marc_> then added to nvidia.conf with help from this forum
[19:26] <marc_> options nvidia NVreg_EnablePCIeGen3=1
[19:26] <marc_> then did sudo update-initramfs -u
[19:27] <marc_> rebooted
[19:27] <marc_> it wouldnt boot on 5.13.0-23-generic
[19:27] <leftyfb> marc_: ok, so you needed to enable gen3. How is that a "screwup" of ubuntu? Do you think that driver should be loaded and enabled for every install on the planet even if they don't have this feature or an nvidia card?
[19:27] <marc_> so i selected 5.13.0-22-generic and its now on with gen3 working
[19:28] <marc_> because people here were telling me that it was my bios at fault  and i knew it had to be enabled
[19:28] <ogra> well, thats a bit unfair ... the nvidia driver is proprietary ... that it fails to detect GEN3 is not ubuntus fault
[19:28] <marc_> same goes in windows 10 got to be enabled
[19:29] <leftyfb> marc_: ok, so it was neither the fault or your BIOS nor an "ubuntu screwup". You just didn't enable the required feature for your driver
[19:29] <ogra> no ubuntu developer has access to the driver code ...
[19:29] <marc_> i alsp got nvme drive that are running like shit and i bet they are not enabled on gen 3 as well
[19:29] <leftyfb> marc_: Windows also requires very non-standard customizations in order to get it working. Sounds like this is the fault of Nvidia not documenting their products very well
[19:30] <marc_> nvidia supplied a file for windows 10 there is no mention for linux
[19:30] <leftyfb> marc_: please watch the language in this channel
[19:30] <TheCodeTherapy> @marc_, people here are just trying to help you with your problem (and it worked). I fail to see how this makes your issue "Ubuntu"
[19:30] <leftyfb> marc_: again, that is Nvidia's fault, not ubuntu
[19:30] <marc_> so how do i get this back to 5.13.0-23-generic it wont boot on that
[19:31] <leftyfb> marc_: what error do you get when you boot to -23?
[19:31] <marc_> intrid not found or something to that effect
[19:32] <oerheks> and what fancy GPU need such override 'options nvidia NVreg_EnablePCIeGen3=1' ??
[19:32] <marc_> last command i used was sudo update-initramfs -u
[19:33] <marc_> Palit Super Jetstream GTX780 3GB
[19:33] <leftyfb> marc_: sudo apt install --reinstall linux-image-5.13.0-23-generic linux-modules-5.13.0-23-generic linux-modules-extra-5.13.0-23-generic
[19:34] <ogra> marc_, try: sudo update-initramfs -c -k all
[19:34] <ogra> (or what leftyfb said ... should have the same effect)
[19:34] <leftyfb> ogra: reinstalling the kernel should run all that properly
[19:34] <ogra> yeah
[19:35] <marc_> ok thanks i will try that
[19:36] <marc_> would there be a way to enable gen3 on my Nvme drives
[19:36] <marc_> using same procedure
[19:36] <marc_> the nvme drives are plugged into 8x Gen3 slots
[19:41] <oerheks> How do you tell they are not running on the pci v3.0 speed?
[19:42] <marc_> first how would i check that
[19:42] <oerheks> yes, tell us
[19:43] <marc_> they are slotted into pcie slot and in the bios they are set to GEN3 but i need to check i could see the graphics card wasnt set to Gen3 in the nvidia panel
[19:44] <marc_> is there a command i can use to see the link speeds
[19:44] <marc_> my drives write speeds are only running not even half speed
[19:45] <oerheks> i wonder what hardware gives 8Tbit speed to test
[19:47] <oerheks> you might want to try a testsuite package, like phoronics https://phoronix-test-suite.com/releases/repo/pts.debian/files/phoronix-test-suite_10.8.0_all.deb
[19:47] <marc_> the nvme is running at 348.8 MB/s and it should be somewhere near 2000 i think
[19:48] <marc_> my average read spped is 3.1 GB/s
[19:53] <orange1> thats fast
[20:01] <marc_> 348.8 MB/s write speed is slow
[20:04] <orange1> how do you test the speed?
[20:05] <orange1> i want to test mine
[20:05] <marc_> you can look at it with the disk utility or i have used dd
[20:05] <merpnderp> Anyone know what subnet I would use to grant ufw access to everything in 10.67.5?
[20:05] <orange1> ok
[20:05] <marc_> you have to tick the box for write speed under disk utility
[20:07] <WaV> merpnderp: something like "sudo ufw allow proto tcp from 10.67.5.0/24 to any port 1234"
[20:07] <merpnderp> WaV: will sudo ufw allow 10.67.0/24 work?
[20:08] <merpnderp> Then narrow it down later?
[20:08] <merpnderp> I'll just try it and find out
[20:08] <merpnderp> :)
[20:08] <merpnderp> No that does bad port.
[20:08] <WaV> merpnderp: I believe the syntax is "sudo ufw allow from 10.67.5.0/24 to any"
[20:08] <merpnderp> oh, thanks :)
[20:09] <merpnderp> WaV: what about allowing outbound to that subnet?
[20:09] <mannequin> https://vlepy.github.io/2022/01/07/ubuntu.html
[20:10] <WaV> merpnderp: I believe ufw should allow that by default unless you've changed it.
[20:11] <merpnderp> WaV: yeah, to meet requirements from a security scanner my first three config lines are deny incoming, outgoing, routed
[20:11] <merpnderp> So I have to specifically poke holes
[20:11] <merpnderp> But this didn't work: sudo ufw allow to 10.67.5.0/24
[20:12] <TheCodeTherapy> @marc_, First use lspci to find the ID of your nvme. Let's suppose your nvme is at 00:01.0. Then use 'sudo lspci -s "00:01.0" -vvv | grep GT' (without the single quotes). If you have 8GT/s (giga transfers per sec per channel) that means your nvme is running gen 3.
[20:13] <marc_> Ok i finally found out how to check the Nvme link speed sudo lspci -vv shows it, it says my nvme are running at 8GT/s which must be gen3 so its not that thats slowing them down
[20:13] <WaV> merpnderp: did it take the rule or did it error?
[20:13] <merpnderp> WaV: it took the rule
[20:14] <WaV> merpnderp: you may have to insert it before the deny rule
[20:14] <marc_> LnkSta:	Speed 8GT/s (ok), Width x4 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
[20:14] <marc_> so its running at x4 not x8
[20:15] <WaV> merpnderp: for example, sudo ufw insert 1 allow out from any to 10.67.5.0/24
[20:16] <WaV> merpnderp: then sudo ufw status numbered and delete the other rule that is at the bottom of the list.
[20:17] <merpnderp> Didn't work
[20:17] <WaV> hrm, are you able to reach that subnet with ufw disabled?
[20:17] <merpnderp> WaV: yep
[20:17] <merpnderp> Trying to mount a windows share.
[20:18] <merpnderp> Works with ufw disabled
[20:18] <WaV> If what I suggested doesn't work, you may want to wait for advice from someone else.
[20:19] <WaV> Hoepfully you get the answer in here because I'm curious to what the solution is.
[20:27] <marc_> ok after checking out some stuff my drives specs are SSD Max Sequential Read CDM. Up to 3,480MB/s. and SSD Max Sequential Write CDM. Up to 2,000MB/s they are running at GEN3 x4 which is correct but the write speeds are only 338MB/s any idea would could be slowing it down
[20:28] <marc_> maybe driver i was thinking
[20:28] <jhutchins> NVME in wrong slots/order.
[20:29] <marc_> do you think i could have them on the wrong CPU
[20:29] <marc_> half the slots are only available when the second cpu is installed
[20:30] <marc_> so i could have them on cpu1 lanes or cpu2 lanes
[20:31] <marc_> PCI-Express 	
[20:31] <marc_>     1 PCI-E 3.0 x16
[20:31] <marc_>     6 PCI-E 3.0 x8
[20:31] <marc_>     (Both CPUs need to be installed for full access to PCI-E slots and onboard controllers. See manual block diagram for details.)
[20:31] <marc_> opps
[20:31] <marc_> https://www.supermicro.com/products/motherboard/Xeon/C600/X9DRH-iF.cfm
[20:33] <marc_> the graphics card is on cpu2 and the two nvme drives are on cpu1 currently
[20:36] <rfm> marc_, how are you measuring the write speed?   If it's doing many small block writes, you may be limited by the CPU context switching speed rather than the drive
[20:39] <orange1> he said he used gnome-disks and also dd i think
[20:39] <marc_> are you talking about the link speed between the two cpu's its 8GT/s at moment
[20:39] <marc_> I ws just about to move one nvme to the other cpu
[20:41] <TheCodeTherapy> @marc_, Have you tried measuring your nvme speed with kdiskmark? (sudo snap install kdiskmark)
[20:42] <TheCodeTherapy> @marc_, that will give you more reliable results (specially in case you select a file size that is at least 1/1000th of your nvme total size, otherwise the results can be affected by cache)
[20:42] <marc_> tried that i just moved an nvme dont know if i moved the right one yet
[20:42] <marc_> havent tried than sorry
[20:43] <TheCodeTherapy> @marc_, Here's some results of a 4th Gen 2TB nvme for comparison: https://i.imgur.com/pC5BinL.png
[20:44] <jhutchins> marc_: So what do you do with this system besides run benchmarks?
[20:46] <marc_> well i was using for playing DayZ
[20:46] <marc_> I was running E5-2687W v2 one failed so i have to get another one i also had a ASU mb fail and a gtx780 over this period with the graphics card shortage
[20:48] <marc_> i might have to restart nvme had disapeard off the device list
[20:48] <JonathanD> And people /act
[20:48] <JonathanD> oops, sorry.
[20:48] <marc_> brb
[20:53] <marc_> ok back just re check my drive benchmarks and now i moved them one has gotten worse its at about 188MB/s and the other one has moved up to 462.2MB/s
[20:53] <marc_> might be someone like the order they were placed like has been said here
[20:54] <marc_> something like sorry
[20:56] <orange1> make the drive ext4 instead of ntfs i read on the first page on google. did you do that
[20:57] <orange1> idk if you have it that way already
[20:57] <marc_> I just checked they are both Ext4 drives
[20:57] <orange1> ah
[20:58] <marc_> the Nvme drives are my Steam drives with games files on them i get pauses in games becasue of the write speeds i think
[20:59] <orange1> yeah your speeds are slow. write speed
[21:00] <marc_> gonna move them back now but in different order
[21:02] <orange1> there also was something about adding big_writes in fstab but i never did that stuff before so i dont know if its safe. maybe somebody else knows
[21:03] <marc_> yea im gonna reboot that might be something to look at brb
[21:06] <oerheks> i have no clue what devices he is testing, i hope he understands the difference between M2 SSD and M2 NVME SSD
[21:09] <marc_> ok got a tiny bit more speed out of them so how do i do this fstab big writes
[21:11] <rfm> I never heard of big_writes so I looked it up, it is a ntfs mount option, so not for your ext4 file systems
[21:11] <marc_> ok so that wont help
[21:12] <oerheks> what m2 device is this exactly, marc_ ? there is a difference between M2 SATA SSD and M2 NVME SSD
[21:13] <marc_> MP510 corsair
[21:13] <marc_> one is 240GB the other is 480GB
[21:14] <marc_> i used to have issued with windows 10 with them there was an AMD drivers i would put that in and the drives would run at full speed
[21:14] <marc_> AMD raid
[21:14] <marc_> even though i werent using raid
[21:15] <marc_> could be a driver issue
[21:16] <marc_> nvme_core             126976  3 nvme
[21:16] <marc_> nvme                   45056  2
[21:17] <oerheks> hmm oke, it should be a racemonster https://www.phoronix.com/scan.php?page=article&item=corsair-force-mp510&num=2
[21:19] <marc_> the 480GB version is faster than the 240GB one
[21:19] <oerheks> point of concern, there is firmware updates available, but not through ubuntu/ Linux Vendor Firmware Service (LVFS)    https://help.ubuntu.com/community/BIOSUpdate
[21:20] <marc_> one says Force MP510 (ECFM22.7) the other says Force MP510 (ECFM13.3)
[21:23] <marc_> looks like im not the only one with a problem with these MP510 drives https://linustechtips.com/topic/1210088-corsair-mp510-slow-write-speeds/
[21:25] <oerheks> "Corsair SSD Toolbox Software: Enables advanced drive controls from your desktop including secure erase and firmware updates."
[21:25] <oerheks> windows
[21:25] <oerheks> if that does not fix, i have no clue
[21:25] <marc_> yea i dont have windows
[21:27] <marc_> hope i did this right
[21:27] <marc_> sudo dd if=/dev/nvme0n1p1 of=tempfile bs=1M count=4096 conv=fdatasync,notrunc status=progress oflag=direct
[21:27] <marc_> 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 14.313 s, 300 MB/s
[21:28] <marc_> slow
[21:28] <oerheks> bs=4M could do better
[21:30] <sarnold> that's just one set of read and write syscalls outstanding at any given moment, too; most of these devices hit their peak throughputs when they've got a handful of operations in flight at once
[21:30] <oerheks> jups random read/writes are give a more reliable number too.
[21:30] <marc_> 17179869184 bytes (17 GB, 16 GiB) copied, 51.0115 s, 337 MB/s
[21:30] <marc_> still slow
[21:31] <oerheks> but oke, this gives an indication that it is below specs
[21:31] <mybalzitch> 554696704 bytes (555 MB, 529 MiB) copied, 0.594914 s, 932 MB/s
[21:31] <mybalzitch> on a fancy gen 4 1tb nvme
[21:32] <rfm> is that dd reading from and writing to the same device (where is "tempfile") ?
[21:32] <marc_> well its got to be one of three things driver, bios, firmware thats casuing it
[21:33] <mybalzitch> also like rfm said, write to tmpfs
[21:48] <marc_> Ok i think i have figure out whats wrong with the nvme drives
[21:48] <marc_> its to do with the bios bitrification on the pcie
[21:49] <marc_> i need to mess around with it i set some to gen2 and some to gen3
[21:49] <marc_> i got one drive up to 823 MB/s and the other up to 711MB/s
[21:50] <marc_> read speeds have dropped though
[21:53] <gneeriiloeepdeer> how can I use geany to search only for capitalized text?
[21:57] <oerheks> gneeriiloeepdeer, not, https://www.geany.org/manual/current/#search-replace-and-go-to
[21:58] <oerheks> only case sensitive is an option
[21:58] <oerheks> whoe manual; https://www.geany.org/manual/current/
[21:59] <sarnold> ooh nice regex, [A-Z]+ might do it
[22:01] <Maik> gneeriiloeepdeer: do you actually have a Ubuntu related support question? This isn't geany support after all.
[22:02] <gneeriiloeepdeer> is that a command or something I have to type in geany itself?
[22:02] <Maik> gneeriiloeepdeer: i guess you ahve to search for geany support elsewhere
[22:02] <Maik> ahve/have
[22:03] <Maik> this channel is focussed on support with Ubuntu
[22:03] <sarnold> is geany not in ubuntu?
[22:04] <Maik> or, just like with your previous question, ask in #linux
[22:04] <Maik> sarnold: is this a geany support channel?
[22:05] <sarnold> Maik: we help people with bash, we help people with libreoffice, we help people with nvidia drivers.. why should we not help people with geany?
[22:05] <tebruno99> The topic police have been in full force since the switch from Freenode. Starting to seem a little bit user hostile.
[22:06] <sarnold> yeah
[22:06] <sarnold> there's space to say "you may get better support in a channel dedicated to your thing", sure
[22:06] <sarnold> but ubuntu ships geany, and as far as I can tell, gneeriiloeepdeer got an answer that will probably work
[22:07] <Maik> not by defaul but it's in the repo's, that's true
[22:08] <gneeriiloeepdeer> secconding what sarnold and tebruno99 say, why is there a topic police now? this channel in freenode was always user friendly and welcoming
[22:09] <gneeriiloeepdeer> am I the only one who cannot access https://www.geany.org/manual/current/?
[22:09] <jkc> gneeriiloeepdeer: Up for me.
[22:09] <Maik> getting support with ubuntu is one thing, getting support with an app is another imho but go on and continue
[22:11] <Maik> gneeriiloeepdeer: no problem accessing that site
[22:11] <sarnold> gneeriiloeepdeer: how about the http version? http://www.geany.org/manual/current/#search-replace-and-go-to
[22:12] <gneeriiloeepdeer> oh, you menat than
[22:12] <gneeriiloeepdeer> that
[22:12] <gneeriiloeepdeer> got it
[22:15] <gneeriiloeepdeer> sarnold, how would I search for groups of 2 or more capitalized letters in geany?
[22:17] <sarnold> gneeriiloeepdeer: try the regex search, [A-Z]{2,}
[22:17] <sarnold> different tools mean different things by "regex" but this is common..
[22:18] <gneeriiloeepdeer> sarnold, much appreciated
[22:29] <shepherd_> Hi, is there anyway to change the name of a touch interface? I have two touchscreens with the same name, and upon every other reboot the ID change around. I cannot map by ID because of this, but with the same name I cannot map by name either. Thank you guys for any suggestions! this is my xinput output https://pasteboard.co/XdG9kMumk87j.apng
[22:30] <sarnold> oh man :/ that's frustrating..
[22:33] <shepherd_> It is indeed, that's why I was hoping, that maybe somewhere I could modify the name of one of the touch interfaces
[22:34] <sarnold> shepherd_: if it were my problem to solve, I think I'd start with trying to write specific udev rules for the two devices and hope they have serialnumbers that are different, or something like that -- this page looks like a decent starting point for udev rules and the device properties that udev knows http://granjow.net/udev-rules.html
[22:34] <sarnold> shepherd_: but I don't know for certain if anything udev sets will influence what libinput sees :/
[22:36] <sarnold> shepherd_: this suggests something else that *might* work, Xorg InputClass sections, https://unix.stackexchange.com/questions/58117/determine-xinput-device-manufacturer-and-model#answer-220082  -- https://www.x.org/archive/current/doc/man/man5/xorg.conf.5.xhtml#heading9 the 'MatchTag' entry might be useful .. dunno :(
[22:37] <shepherd_> Thanks so much, I'll take a look at these links and see if I can make something of them hehe
[22:39] <sarnold> good luck :)
[22:40] <sarnold> it seems like an obvious need once you see it raised..
[22:40] <sarnold> I'm surprised it's not easier to find something about it
[22:40] <sarnold> but not all usb devices have serial numbers, so it might not be 'easy' to do..
[22:41] <shepherd_> I was quite surprised too, I'm not a super super linux user, but hopefully I'll be able to figure something out hehe, still reading through those links now
[22:43] <marc_> how do i check my current cpu speed
[22:45] <marc_> its ok i remember cat /proc/cpuinfo
[22:46] <marc_> so my next question is, is there a way to limit the cpu speed so it doesnt drop below a certain value
[22:48] <sarnold> marc_: that's gotten increasingly complicated over the years .. there's a bunch of documentation in https://www.kernel.org/doc/Documentation/cpu-freq/ that is perhaps worth a skim
[22:49] <sarnold> there's multiple userland tools that also want to own your processor speed; gamemode and thermald are the first two that come to mind, there's probably a dozen more
[22:50] <cbreak> why would you want to limit the cpu speed?
[22:50] <ogra> and you can directly modify bits and pieces in /sys/devices/system/cpu/cpufreq/policy[0-9]*
[22:50] <cbreak> frequency scaling is essential for power / thermal management
[22:51] <marc_> when im doing disk benchmarks sometimes i get a higher speed sometimes i get a low speed and i noticed my cpu speed is scalling down to 1.2ghz
[22:51] <ogra> cbreak, well, if you use the system as game rig you probably want to limit the min_freq values
[22:51] <ogra> and keep everything a bit higher up
[22:52] <ogra> wasnt there some gaming app that did all that ?
[22:52] <marc_> frequency scalling is in play and its a pain
[22:52] <ogra> https://www.omgubuntu.co.uk/2019/08/feral-gamemode-ubuntu
[22:52] <ogra> there is is
[22:52] <ogra> *it is
[22:53] <marc_> isnt gamemode already installed in ubuntu i saw a file for it yesterday an .ini file
[22:54] <ogra> not that i know of
[22:54] <ogra> i definitely dont have it on any of my systems
[22:55] <marc_> its in etc
[22:55] <marc_> gammode.ini
[22:55] <marc_> gamemode.ini
[22:57] <marc_> but what i am after is a way to linit the minumum cpu frequency in ubuntu
[22:57] <marc_> limit
[22:58] <marc_> cat /proc/cpuinfo currently says im running at 1200 mhz
[22:58] <ogra> well, see above ... we gave you some suggestions
[22:59] <marc_> another thing i noticed in power its got two settings and no other power plans ???
[23:00] <marc_> balanced and power save where is performance
[23:01] <ogra> ogra@acheron:~$ cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors
[23:01] <ogra> performance powersave
[23:02] <ogra> i dont have "balanced" ...
[23:03] <marc_> well i dont have performance
[23:03] <ogra> ask your CPU vendor ? 🙂
[23:04] <marc_> i went into the bios and told it to be performance but ubuntu wants to be a slug :D
[23:11] <marc_> This is getting frustrating I'm seriously thinking of ditching ubuntu for something like Gentoo because it wont give me performance settings for the power management.
[23:12] <sarnold> maybe pastebin what commands you ran and the output you got?
[23:12] <marc_> nothing cos i dont have performance setting in the power menu
[23:12] <marc_> and im on a desktop PC
[23:14] <marc_> maybe there is a way to disable frequency scalling
[23:15] <sarnold> marc_: that's the 'performance' governor
[23:15] <sarnold> what settings are available depends upon your cpus
[23:15] <sarnold> here's a recent-ish laptop https://termbin.com/dh1w
[23:15] <marc_> E5-2643
[23:15] <marc_> intel
[23:15] <marc_> xeon
[23:16] <sarnold> here's an e5-...v3 xeon system https://termbin.com/2drg
[23:17] <marc_> sudo apt-get install cpufrequtils
[23:26] <marc_> nano /etc/init.d/cpufrequtils
[23:26] <marc_> that will sort it Govenor = disabled
[23:29] <rfm> marc_, I think you need to disable the systemd ondemand service too so it doesn't fight wth cpufrequtils, at least according to this https://askubuntu.com/questions/1322492/how-to-set-as-default-performance-mode-on-ubuntu-20-04-instead-of-powersave
[23:30] <marc_> i was just thinking about that instead i thought i would triy min = 3000 max = 3500
[23:31] <marc_> so in  moment i will reboot see if it works so its always on startup
[23:31] <marc_> brb
[23:36] <marc_> well that didnt work im still at 1200mhz
[23:44] <marc_> looks like cpufrequtils doesnt work on twin processors
[23:45] <sarnold> honestly I think you'd be better suited to *remove* all the power management packages and just rely on the kernel interfaces
[23:46] <marc_> i was thinking of going into bios and setting the multipler fixed and disable power mangment from the bios