[01:02] woah === scoobydoo_ is now known as scoobydoo === chrfle_ is now known as chrfle === M4he is now known as mahe [03:50] hi [03:50] anyone else using the next lts? [03:52] hello,  if anyone have interseting on freenode channel #worldhacker? if no, please ignore [03:53] I doubt anyone even really connects to freenode anymore [03:53] everything moved from there to somewhere else [03:53] yeah, i know [03:54] irc.mozilla.org has lots [03:54] also irc.oftc.net or something [03:54] and check out element.io / matrix network [03:55] !next | Hash [03:55] Hash: Jammy Jellyfish is the codename for Ubuntu 22.04. For technical support, see #ubuntu-next. For testing and QA feedback and help, see #ubuntu-quality. [03:59] fty [03:59] ty [04:15] been reading about firejail and apparmor-has anyone used both at the same time? Have you had any conflicts-could you resolve? [04:16] ubuntu 21.10 or 20.04.3 [04:23] 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] I've not tried it myself [04:42] hi === genii is now known as genii-core [05:08] does transgui / transgui-test (snap package) completely crash wayland/plasma for anyone else? [05:40] sup folks [05:53] Hellop [05:53] 20.04 ubuntu and I firefox cannot see my mic, but chrome can [05:53] ideas? [05:53] firefox always says on any site, no camera found [05:53] chrome asks for permissions and then works [05:53] camera/mic [05:59] Seemns like chrome can see my mic but nothing is recorded [05:59] static [07:08] I deleted most packages from the system [07:08] purged configs [07:09] reinstall 90% of system packages and now my desktop/sound/panels/ etc. is back [07:09] well that was weird. [07:42] 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] how do i remove any versions of a .deb i might've installed (and all associated systemd files) [07:47] trafficjam, dpkg -P [08:00] anyone around? [08:03] trafficjam, dpkg -P [08:04] WickedDekciw: hmm doesn't seem to work [08:05] i mean the package is there, but I keep getting a connection refused error when i try to curl it [08:05] sysytemd status is active, so i'm not sure what the problem is [08:08] is the service running twice? [08:09] i've stopped the service, but `ps aux | grep ` still shows it [08:09] (before it showed two) [08:10] how is it possible to have two processes running? [08:10] *the same two [08:11] i can't kill it it seems [08:12] trafficjam, sudo apt install --fix-missing [08:12] wait [08:12] did you dpkg -p packagename [08:12] you have to include the name [08:13] WickedDekciw: it ran successfully before, but i still had two of the same processing running simultaneously [08:13] it's possible that the process is running outside of systemd, how could i check that? [08:15] hello guys [08:17] 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] I have icons in Activities. On right-clicking them, is there supposed to be an option to put it on the desktop? [09:12] Hi, can somebody please check if https://bugs.documentfoundation.org/show_bug.cgi?id=146633 also happen on his System? [09:12] bugs.documentfoundation.org bug 146633 in LibreOffice "LibreOffice Draw does not detect Electronic Signature in PDF with valid skribble.com signature" [Normal, Unconfirmed] === shuck is now known as Guest4881 [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 ] === via_c7_ is now known as via_c7 === Guest3387 is now known as krabador [11:14] kek === riderjj is now known as juanjo [12:55] 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] DUPS: this is the ubuntu support channel [13:32] Hi folks [13:33] 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] sometimes apt-get source gives additional hints, too [13:41] frickler, how do I know which debian release is relevant for 20.04? [13:42] frickler, thanks for the info so far [13:43] mncheck, cat /etc/debian_version [13:45] ioria, thanks [13:45] ok [13:50] frickler, ioria thanks, I've found a debian source repository for my package [13:52] why the bullseye version of a package is different than the focal version? I have it from universe [13:54] ubuntu releases don't follow debian releases [13:54] there is no direct mapping [14:05] 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] 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] 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] mncheck, focal was released in april 2020 ... bullseye end of 2021 ... so indeed their package is newer [14:09] (or mid-2021 FWIW) [14:09] ogra, my /etc/debian_version says bullseye [14:10] on your debian system ? [14:10] bullseye is excellent [14:10] ogra, DISTRIB_CODENAME=focal (lsb-release) and bullseye/sid (debian_version) [14:10] mncheck, sid is the point here 🙂 [14:10] ogra, ok [14:11] ubuntu syncs from unstable usually [14:11] sounds like it's not updated [14:11] 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] 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] ogra, now I found the debian control files but my interest shifted into who authors the dsc files and how [14:13] debian does ... ubuntu occasionally adds patches on top though [14:14] ogra, is the sync done through rsync? [14:14] (there are a few packages that are ubuntu only, but the vast majority comes from debian as source package imports) [14:16] ogra, I think I go into #ubuntu-discuss with this [14:16] mncheck, https://wiki.ubuntu.com/DebianImportFreeze [14:59] 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] where's the missing storage space ? [15:00] shouldn't it be 914G of unused space instead of 870G ? [15:03] 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. === genii-core is now known as genii [15:04] so your number look healthy [15:04] oerheks: the usable space is 931g in gparted, then 916T [15:04] 916G [15:05] both are correct, and the same somehow [15:05] 1024 or 1000 thingy [15:06] gparted showing size 931Gb with unused 916GiB. how come it shows 870G ? [15:06] i would expect at least 916G unused with df, not 870G [15:06] oerheks: i understand about the 1000/1024 bits to bytes [15:08] df -h vs du -sh / [15:08] but showing that it's got 916G available, with 72M used, then 870G unused does not make sense [15:08] inodes take that space [15:08] :oerheks for du i prefer ncdu ;-) really cool [15:09] :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] df: invalid option -- 's' [15:10] i've always thought the unused+used part add up to available space with df -h [15:10] df -h 'versus' du -sh / [15:10] yac: look at tune2fs -l /dev/sda1 [15:10] where /dev/sda1 is your device === Guest4881 is now known as shuck [15:11] :yac look for Reserved block count: === shuck is now known as Guest2951 [15:11] du -sh /home/ssd2/ [15:11] 1.2G /home/ssd2/ [15:11] that's 1.1G i just copied to it [15:12] :yac then use tune2fs -m to adjust it [15:12] Reserved block count: 12206246 [15:13] Reserved GDT blocks: 965 [15:13] i forgot, please also tell block size [15:13] like explained here: https://docs.cloudera.com/cloudera-manager/7.2.2/managing-clusters/topics/cm-decrease-reserved-space.html [15:13] Block size: 4096 [15:14] oh well that makes sense now [15:14] 12206246 * 4096 = [15:14] 49GB [15:14] By default, the ext3 and ext4 filesystems reserve 5% space for use by the root user [15:14] so 916*.95 ~= 870 [15:15] exactly and that makes sense, so you can still login as root localy in case of full disk [15:15] erhm i never do [15:15] is there any much downsize to shrinking that down ? [15:16] 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] only when you need a recovery, that 5% is reserved for disasters [15:16] just do tune2fs -m 0 /devicename [15:16] i would not touch it, you gain not much space [15:16] :oerheks there is actually no drawback on /home [15:17] this space has nothing to do with home [15:17] oerheks: my free space on /home is 7gb. gaining 40-50gb would help [15:17] oerheks: what is that space for ? [15:18] 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] yac: change it to 1% and check how much its then [15:19] yeah i see that recc for cloudera [15:20] tuxinator, it is the 'Reserved block count parameter' set on 6% in your url [15:20] err 5% [15:21] again, i would not touch it, one better removes unneeded packages wit clean/autoremove [15:21] 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] my /home is on a separate partition from / [15:22] :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] 'everybody does that' is certainly not true. [15:23] there is a reason why one should not touch it, i keep repeating myself === Leoneof|2 is now known as Leoneof [15:24] but go ahead, tune it and have fun! [15:25] :oerheks just keep cool, any case where root would need 49 GB of space in case of full disk? [15:25] 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] yac: also see the documentation: https://www.linux.org/docs/man8/tune2fs.html [15:30] search for reserved-blocks-percentage and read that part [15:31] yac: also see Arch's recommendation of changing it for /home here: https://wiki.archlinux.org/title/ext4#Reserved_blocks [15:36] tuxinator: oerheks: thank you. i will read through everything before making changes [15:36] at least now i know it's lost space by design vs. something's wrong with my system [15:36] or the new drive [15:37] 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] 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] Your logical fallacy is "appeal to authority." [15:40] 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] 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] look at https://wiki.archlinux.org/title/ext4#Reserved_blocks and follow the link to the ext4 author [15:42] and feel free to start an endless loop, i am out [15:42] we agree that this is a senseless opinion discussion. [15:42] yac got answered, there is nothing wrong with his ssd [15:44] :oerheks oh you are still here ;-) agreed! [15:44] :oerheks so lets skip and search the next :D [15:45] sure, lets have fun [15:45] hopefully there is one more today i am hot for it :D :D :D :D [15:45] almost beer o'clock here [15:45] this a an acoholic's apartament https://vlepy.github.io/2022/01/07/setup2.html [15:46] MURICA [15:46] notice the flag is upside down [15:46] not here mannequin [15:46] :oerheks here also [15:47] location? === denningsrogue3 is now known as denningsrogue [16:26] 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] any* [16:43] Should be something in the ffmpeg suite. [16:44] ok... [16:44] gneeriiloeepdeer, hmm didnt think of ffmpeg ...checking commands === beaver is now known as pong [16:56] 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] merpnderp: sudo mount /mountpoint [16:59] Thanks EriC^^ [17:00] ermegerd, sudo is not taking like 30-60 seconds to auth [17:01] 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] no problem merpnderp [17:14] Anyone know which port a nfs mount would be on [17:14] I think it's an overly restrictive firewall setting [17:14] We deny all incoming outgoing and routed. And then have a rule for every bit of traffic. [17:15] Noticed that on login there was message that the machine could no longer even connect to its repo servers [17:19] Anyone know how to set ufw to allow apt to do updates? [17:20] Apt just worked [17:21] 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] !firewall | merpnderp [17:22] merpnderp: Ubuntu, like any other Linux distribution, has built-in firewall capabilities. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | GUI frontends such as gufw and ufw-kde also exist. | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo [17:23] ubottu: that doesn't help as I need to know which port apt uses. [17:26] 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] 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] merpnderp, apt uses HTTP as a transport, so it's either 80 or 443, depending on the mirror [17:50] for the origin port, that would be a randomly assigned ephemeral port [17:50] merpnderp: Deny all outgoing traffic can be an absolute bear to config and admin. [17:51] But, if you're absolutely sure you want to do that, `sudo ufw allow out 80,443/tcp` should do the trick. [18:08] Anyone know how to get ubuntu to use GEN3 cards bios is set to GEN3 but its running as GEN2 in ubuntu [18:09] Bus Type:PCI Express x16 Gen2 [18:09] PCIe Generation:Gen2 [18:09] Awesome thanks for the help [18:09] Maximum PCIe Link Speed 5.0 GT/s [18:09] marc_: Is the card itself a gen 3 card? [18:09] yea its gen3 [18:09] What card is it, exactly? [18:10] GTX780 [18:10] pci slots are GEN3 as well [18:10] Yeah, that's a gen 3 card. [18:10] What motherboard? [18:10] my NvME are also not on GEN3 as well by the looks of things [18:11] SUPERMICRO-X9DRH-iF [18:11] x79 [18:11] E5 [18:12] dual processor [18:13] What CPUs? [18:13] E5, but which model? [18:13] And version. [18:14] 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] Everything involved supports PCIe 3.0. [18:15] yep [18:15] Other than confirming that BIOS has EVERYTHING configured to 3.0, I'm at a loss. [18:15] I'd completely reset BIOS if it still wants to act up. [18:16] the way i see it it has to be enabled in ubuntu same as windows 10 [18:16] No. [18:17] Maybe like... years ago, but I'd be stunned if that was the case now. [18:17] What version of Ubuntu? [18:17] 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] 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] Ubuntu version, not kernel version. [18:18] how do i get its version [18:18] cat /etc/os-release -> VERSION [18:19] i tried that the cursor is just blinking in the terminal [18:20] grep VERSION /etc/os-release [18:20] try tht oe [18:20] hit ctrl-c and doit again without the -> VERVION npart [18:20] *hat one [18:21] meh typos [18:21] PRETTY_NAME="Ubuntu 21.10" [18:21] VERSION_CODENAME=impish [18:21] VERSION="21.10 (Impish Indri)" [18:21] Last time I remember having to force a card to a specific PCIe revision was over six years ago. [18:21] 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] did you check for a BIOS/UEFI update for the board ? might simply be a shrtcoming in the BIOS [18:22] ubuntu update just came through seems to be a lot of updates over last two days [18:23] there is only one update for this board and thats for the exploits that slow down the machine [18:26] i tried this it didnt work modprobe nvidia ENABLE_PCI3=1 [18:26] thats what they were going on about on one site [18:28] 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] I used to disable it in windows 10 it slows the processors too much [18:29] spectr [18:29] thats the one i disabled [18:29] Yeah, don't disable that. [18:29] i have [18:29] Then re-enable it. [18:30] Those are fairly nasty vulnerabilities with real-world exploits. [18:30] i think its disabled in ubuntu by default [18:30] Everything I run is in VMs, and the hypervisors have mitigation enabled. [18:31] i was looking through code in ubuntu yesterday and noticed its disabled [18:31] And no, they're enabled by default. [18:34] 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] just turn off all the mitigations after checking [18:40] thats whats been hitting my game performance [18:57] * DUPS any spammer here? [18:59] DUPS, none beyond you .... (please stop that) [19:01] 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] i alos tried nvidia NVreg_EnablePCIeGen3=1 still threw an error [19:03] nvidia 35311616 453 nvidia_uvm,nvidia_modeset [19:06] Would help to know what the error is. [19:06] 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] marc_: If you're disabling security mitigations, you are making a mistake. That wasn't a question. [19:06] marc_: And don't use instructions for a five year old, no longer supported release. [19:06] 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] @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] @marc_, here I'm assuming 453 is the version of your driver. Edit it accordingly. [19:07] marc_: Did you write in the file "options NVreg_EnablePCIeGen3=1" or just "NVreg_EnablePCIeGen3=1" .... [19:08] just NVreg [19:08] 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] marc_: Yes, you need add the options at the beginning [19:09] isn't th module name just "nvidia" not "nvidia_453" ? [19:09] options nvidia NVreg_EnablePCIeGen3=1 [19:09] this worked [19:09] thanks [19:21] 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] after i typed sudo update-initramfs -u [19:22] the system wouldnt boot with 5.13.0-23-generic [19:23] its now booted with 5.13.0-22-generic [19:23] so how do i fix that [19:23] Bus Type: PCI Express x16 Gen3 [19:23] PCIe Generation: [19:23] Gen3 [19:23] marc_: wait, so you got Gen3 working? What was the issue? [19:24] Ubuntu was the issue [19:24] marc_: can you be more specific? [19:25] i added a file to /ect/modprobe.d called nvidia.conf [19:26] then added to nvidia.conf with help from this forum [19:26] options nvidia NVreg_EnablePCIeGen3=1 [19:26] then did sudo update-initramfs -u [19:27] rebooted [19:27] it wouldnt boot on 5.13.0-23-generic [19:27] 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] so i selected 5.13.0-22-generic and its now on with gen3 working [19:28] because people here were telling me that it was my bios at fault and i knew it had to be enabled [19:28] well, thats a bit unfair ... the nvidia driver is proprietary ... that it fails to detect GEN3 is not ubuntus fault [19:28] same goes in windows 10 got to be enabled [19:29] 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] no ubuntu developer has access to the driver code ... [19:29] i alsp got nvme drive that are running like shit and i bet they are not enabled on gen 3 as well [19:29] 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] nvidia supplied a file for windows 10 there is no mention for linux [19:30] marc_: please watch the language in this channel === Syntax-1 is now known as Syntax- [19:30] @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] marc_: again, that is Nvidia's fault, not ubuntu [19:30] so how do i get this back to 5.13.0-23-generic it wont boot on that [19:31] marc_: what error do you get when you boot to -23? [19:31] intrid not found or something to that effect [19:32] and what fancy GPU need such override 'options nvidia NVreg_EnablePCIeGen3=1' ?? [19:32] last command i used was sudo update-initramfs -u [19:33] Palit Super Jetstream GTX780 3GB [19:33] 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] marc_, try: sudo update-initramfs -c -k all [19:34] (or what leftyfb said ... should have the same effect) [19:34] ogra: reinstalling the kernel should run all that properly [19:34] yeah [19:35] ok thanks i will try that [19:36] would there be a way to enable gen3 on my Nvme drives [19:36] using same procedure [19:36] the nvme drives are plugged into 8x Gen3 slots [19:41] How do you tell they are not running on the pci v3.0 speed? [19:42] first how would i check that [19:42] yes, tell us [19:43] 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] is there a command i can use to see the link speeds [19:44] my drives write speeds are only running not even half speed [19:45] i wonder what hardware gives 8Tbit speed to test [19:47] 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] the nvme is running at 348.8 MB/s and it should be somewhere near 2000 i think [19:48] my average read spped is 3.1 GB/s [19:53] thats fast [20:01] 348.8 MB/s write speed is slow [20:04] how do you test the speed? [20:05] i want to test mine [20:05] you can look at it with the disk utility or i have used dd [20:05] Anyone know what subnet I would use to grant ufw access to everything in 10.67.5? [20:05] ok [20:05] you have to tick the box for write speed under disk utility [20:07] merpnderp: something like "sudo ufw allow proto tcp from 10.67.5.0/24 to any port 1234" [20:07] WaV: will sudo ufw allow 10.67.0/24 work? [20:08] Then narrow it down later? [20:08] I'll just try it and find out [20:08] :) [20:08] No that does bad port. [20:08] merpnderp: I believe the syntax is "sudo ufw allow from 10.67.5.0/24 to any" [20:08] oh, thanks :) [20:09] WaV: what about allowing outbound to that subnet? [20:09] https://vlepy.github.io/2022/01/07/ubuntu.html [20:10] merpnderp: I believe ufw should allow that by default unless you've changed it. [20:11] WaV: yeah, to meet requirements from a security scanner my first three config lines are deny incoming, outgoing, routed [20:11] So I have to specifically poke holes [20:11] But this didn't work: sudo ufw allow to 10.67.5.0/24 [20:12] @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] 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] merpnderp: did it take the rule or did it error? [20:13] WaV: it took the rule [20:14] merpnderp: you may have to insert it before the deny rule [20:14] LnkSta: Speed 8GT/s (ok), Width x4 TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt- [20:14] so its running at x4 not x8 [20:15] merpnderp: for example, sudo ufw insert 1 allow out from any to 10.67.5.0/24 [20:16] merpnderp: then sudo ufw status numbered and delete the other rule that is at the bottom of the list. [20:17] Didn't work [20:17] hrm, are you able to reach that subnet with ufw disabled? [20:17] WaV: yep [20:17] Trying to mount a windows share. [20:18] Works with ufw disabled [20:18] If what I suggested doesn't work, you may want to wait for advice from someone else. [20:19] Hoepfully you get the answer in here because I'm curious to what the solution is. [20:27] 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] maybe driver i was thinking [20:28] NVME in wrong slots/order. [20:29] do you think i could have them on the wrong CPU [20:29] half the slots are only available when the second cpu is installed [20:30] so i could have them on cpu1 lanes or cpu2 lanes [20:31] PCI-Express [20:31] 1 PCI-E 3.0 x16 [20:31] 6 PCI-E 3.0 x8 [20:31] (Both CPUs need to be installed for full access to PCI-E slots and onboard controllers. See manual block diagram for details.) [20:31] opps [20:31] https://www.supermicro.com/products/motherboard/Xeon/C600/X9DRH-iF.cfm [20:33] the graphics card is on cpu2 and the two nvme drives are on cpu1 currently [20:36] 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] he said he used gnome-disks and also dd i think [20:39] are you talking about the link speed between the two cpu's its 8GT/s at moment [20:39] I ws just about to move one nvme to the other cpu [20:41] @marc_, Have you tried measuring your nvme speed with kdiskmark? (sudo snap install kdiskmark) [20:42] @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] tried that i just moved an nvme dont know if i moved the right one yet [20:42] havent tried than sorry [20:43] @marc_, Here's some results of a 4th Gen 2TB nvme for comparison: https://i.imgur.com/pC5BinL.png [20:44] marc_: So what do you do with this system besides run benchmarks? [20:46] well i was using for playing DayZ [20:46] 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] i might have to restart nvme had disapeard off the device list [20:48] And people /act [20:48] oops, sorry. [20:48] brb [20:53] 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] might be someone like the order they were placed like has been said here [20:54] something like sorry [20:56] make the drive ext4 instead of ntfs i read on the first page on google. did you do that [20:57] idk if you have it that way already [20:57] I just checked they are both Ext4 drives [20:57] ah [20:58] 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] yeah your speeds are slow. write speed [21:00] gonna move them back now but in different order [21:02] 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] yea im gonna reboot that might be something to look at brb [21:06] i have no clue what devices he is testing, i hope he understands the difference between M2 SSD and M2 NVME SSD [21:09] ok got a tiny bit more speed out of them so how do i do this fstab big writes [21:11] 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] ok so that wont help === diskin_ is now known as diskin [21:12] what m2 device is this exactly, marc_ ? there is a difference between M2 SATA SSD and M2 NVME SSD [21:13] MP510 corsair [21:13] one is 240GB the other is 480GB [21:14] 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] AMD raid [21:14] even though i werent using raid [21:15] could be a driver issue [21:16] nvme_core 126976 3 nvme [21:16] nvme 45056 2 [21:17] hmm oke, it should be a racemonster https://www.phoronix.com/scan.php?page=article&item=corsair-force-mp510&num=2 [21:19] the 480GB version is faster than the 240GB one [21:19] 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] one says Force MP510 (ECFM22.7) the other says Force MP510 (ECFM13.3) [21:23] 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] "Corsair SSD Toolbox Software: Enables advanced drive controls from your desktop including secure erase and firmware updates." [21:25] windows [21:25] if that does not fix, i have no clue [21:25] yea i dont have windows [21:27] hope i did this right [21:27] sudo dd if=/dev/nvme0n1p1 of=tempfile bs=1M count=4096 conv=fdatasync,notrunc status=progress oflag=direct [21:27] 4294967296 bytes (4.3 GB, 4.0 GiB) copied, 14.313 s, 300 MB/s [21:28] slow [21:28] bs=4M could do better [21:30] 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] jups random read/writes are give a more reliable number too. [21:30] 17179869184 bytes (17 GB, 16 GiB) copied, 51.0115 s, 337 MB/s [21:30] still slow [21:31] but oke, this gives an indication that it is below specs [21:31] 554696704 bytes (555 MB, 529 MiB) copied, 0.594914 s, 932 MB/s [21:31] on a fancy gen 4 1tb nvme [21:32] is that dd reading from and writing to the same device (where is "tempfile") ? [21:32] well its got to be one of three things driver, bios, firmware thats casuing it [21:33] also like rfm said, write to tmpfs [21:48] Ok i think i have figure out whats wrong with the nvme drives [21:48] its to do with the bios bitrification on the pcie [21:49] i need to mess around with it i set some to gen2 and some to gen3 [21:49] i got one drive up to 823 MB/s and the other up to 711MB/s [21:50] read speeds have dropped though [21:53] how can I use geany to search only for capitalized text? === tscott_ is now known as tscott [21:57] gneeriiloeepdeer, not, https://www.geany.org/manual/current/#search-replace-and-go-to [21:58] only case sensitive is an option [21:58] whoe manual; https://www.geany.org/manual/current/ [21:59] ooh nice regex, [A-Z]+ might do it === Festivus-Maximus is now known as Kilroy [22:01] gneeriiloeepdeer: do you actually have a Ubuntu related support question? This isn't geany support after all. [22:02] is that a command or something I have to type in geany itself? [22:02] gneeriiloeepdeer: i guess you ahve to search for geany support elsewhere [22:02] ahve/have [22:03] this channel is focussed on support with Ubuntu [22:03] is geany not in ubuntu? [22:04] or, just like with your previous question, ask in #linux [22:04] sarnold: is this a geany support channel? [22:05] 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] The topic police have been in full force since the switch from Freenode. Starting to seem a little bit user hostile. [22:06] yeah [22:06] there's space to say "you may get better support in a channel dedicated to your thing", sure [22:06] but ubuntu ships geany, and as far as I can tell, gneeriiloeepdeer got an answer that will probably work [22:07] not by defaul but it's in the repo's, that's true [22:08] 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] am I the only one who cannot access https://www.geany.org/manual/current/? [22:09] gneeriiloeepdeer: Up for me. [22:09] getting support with ubuntu is one thing, getting support with an app is another imho but go on and continue [22:11] gneeriiloeepdeer: no problem accessing that site [22:11] gneeriiloeepdeer: how about the http version? http://www.geany.org/manual/current/#search-replace-and-go-to [22:12] oh, you menat than [22:12] that [22:12] got it [22:15] sarnold, how would I search for groups of 2 or more capitalized letters in geany? [22:17] gneeriiloeepdeer: try the regex search, [A-Z]{2,} [22:17] different tools mean different things by "regex" but this is common.. [22:18] sarnold, much appreciated [22:29] 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] oh man :/ that's frustrating.. [22:33] 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] 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] shepherd_: but I don't know for certain if anything udev sets will influence what libinput sees :/ [22:36] 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] Thanks so much, I'll take a look at these links and see if I can make something of them hehe [22:39] good luck :) [22:40] it seems like an obvious need once you see it raised.. [22:40] I'm surprised it's not easier to find something about it [22:40] but not all usb devices have serial numbers, so it might not be 'easy' to do.. [22:41] 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] how do i check my current cpu speed [22:45] its ok i remember cat /proc/cpuinfo [22:46] so my next question is, is there a way to limit the cpu speed so it doesnt drop below a certain value [22:48] 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] 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] why would you want to limit the cpu speed? [22:50] and you can directly modify bits and pieces in /sys/devices/system/cpu/cpufreq/policy[0-9]* [22:50] frequency scaling is essential for power / thermal management [22:51] 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] cbreak, well, if you use the system as game rig you probably want to limit the min_freq values [22:51] and keep everything a bit higher up [22:52] wasnt there some gaming app that did all that ? [22:52] frequency scalling is in play and its a pain [22:52] https://www.omgubuntu.co.uk/2019/08/feral-gamemode-ubuntu [22:52] there is is [22:52] *it is [22:53] isnt gamemode already installed in ubuntu i saw a file for it yesterday an .ini file [22:54] not that i know of [22:54] i definitely dont have it on any of my systems [22:55] its in etc [22:55] gammode.ini [22:55] gamemode.ini [22:57] but what i am after is a way to linit the minumum cpu frequency in ubuntu [22:57] limit [22:58] cat /proc/cpuinfo currently says im running at 1200 mhz [22:58] well, see above ... we gave you some suggestions [22:59] another thing i noticed in power its got two settings and no other power plans ??? [23:00] balanced and power save where is performance [23:01] ogra@acheron:~$ cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_governors [23:01] performance powersave [23:02] i dont have "balanced" ... [23:03] well i dont have performance [23:03] ask your CPU vendor ? 🙂 [23:04] i went into the bios and told it to be performance but ubuntu wants to be a slug :D [23:11] 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] maybe pastebin what commands you ran and the output you got? [23:12] nothing cos i dont have performance setting in the power menu [23:12] and im on a desktop PC [23:14] maybe there is a way to disable frequency scalling [23:15] marc_: that's the 'performance' governor [23:15] what settings are available depends upon your cpus [23:15] here's a recent-ish laptop https://termbin.com/dh1w [23:15] E5-2643 [23:15] intel [23:15] xeon [23:16] here's an e5-...v3 xeon system https://termbin.com/2drg [23:17] sudo apt-get install cpufrequtils [23:26] nano /etc/init.d/cpufrequtils [23:26] that will sort it Govenor = disabled [23:29] 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] i was just thinking about that instead i thought i would triy min = 3000 max = 3500 [23:31] so in moment i will reboot see if it works so its always on startup [23:31] brb [23:36] well that didnt work im still at 1200mhz [23:44] looks like cpufrequtils doesnt work on twin processors [23:45] honestly I think you'd be better suited to *remove* all the power management packages and just rely on the kernel interfaces [23:46] i was thinking of going into bios and setting the multipler fixed and disable power mangment from the bios