/srv/irclogs.ubuntu.com/2024/02/16/#ubuntu.txt

sarnoldMTecknology: if you're doing debootstrap see if you can't do mmdebstrap or whatever it is that's apparently way faster00:15
MTecknologyOh? Thanks! If this works the way I think it does, then that should be a trivial consideration00:16
aknotFor Ubuntu 23.04 https://launchpad.net/ubuntu/lunar/+package/nvidia-kernel-common-535 shows version 535.146.02 but it seems like linux-modules-nvidia-535-generic ultimately depends on >= 535.154.0501:08
aknotThis causes problems when selecting version 535 from Additional Drivers in Software & Updates01:09
aknotHas anyone else noticed this, or am I possibly missing something?01:09
kawalmaybe there s a versionning error.01:12
kawaljust look at he 535 and ignore the last part.01:13
sarnoldaknot: 23.04 reached end of life back in january, it'd be best to upgrade to 23.10 asap01:15
oerhekssarnold, +101:18
sarnoldaknot: 2024-02-16 01:15:51 < sarnold> aknot: 23.04 reached end of life back in january, it'd be best to upgrade to 23.10 asap01:41
aknotsarnold: thanks, i missed that01:45
sarnoldaknot: I got lucky to notice the ping timeout only because oerheks said something :)01:45
richie086f01:50
arraybolt3g01:51
aknotSeparately from that I have noticed that when I suspend the computer if nvidia-smi shows very much more than half my GPU memory used then video isn't restored when I try to bring it back from suspend01:56
aknotThis has been going on for quite a while, has anyone had any similar experience?01:57
oerhekssee if 23.10 improves suspend, i notice such issues a lot, mostly on UEFI01:57
aknotoerheks: yea, i'll see if that makes a difference.  this was happening on 22.04 as well, it seems really related to gpu memory usage01:59
=== tds5 is now known as tds
rabbitnightmaretrying to make an Ubuntu usb from the iso on a raspberry pi because my hdd died in my main PC, normally I would use etcher but they dont have an arm build of their appimage, can I please get some help02:30
sarnoldhey rabbitnightmare, you can use cp to copy the image to the usb stick these days; sudo cp /path/to/ubuntu-desktop-whatever.iso /dev/sda  or whatever device node your usb stick gets when you plug it in02:32
sarnoldI like to start dmesg -w  in a terminal, then plug in the usb stick, that will print out the name it gets while you insert it02:32
rabbitnightmaresarnold and it will boot normally?02:34
rabbitnightmarethanks02:34
sarnoldrabbitnightmare: yeah :)02:34
rabbitnightmareits been a fun few days lol pc hdd died lolz02:37
rabbitnightmareheadphones died02:37
rabbitnightmareright after I downsized lol02:37
rabbitnightmareI am not hard up for stuff but it was like "you could have died before I got rid of this stuff"02:38
sarnoldoh man :(02:39
rabbitnightmarehappens02:40
rabbitnightmareI think its copying, gunna take my contacts out and take a hot bath, thanks again sarnold02:41
=== antonispgs9 is now known as antonispgs
=== Proton0539372825 is now known as Proton053937282
eawfawIs there any Visual option to control a remote Ubuntu better or comparable to x2go? I keep having tons of issues with x2go...04:08
sarnoldI thikn folks who like remote graphical interfaces tend to go for vnc things instead, these days04:08
sarnoldthe last time I tried to forward something via ssh -X, it was so immensely painful :(04:09
eawfawlast time I tried VNC over LAN, I felt the lag... (4k monitor doesn't seem to help)04:09
juanchohiii!!04:23
juanchotheres somebody around?04:23
vaiyeah04:24
vaijuancho: #ubuntu-offtopic welcome04:24
juanchothanks so much for having me04:24
MTecknologyhaving one slim strip of broken screen on the left edge that's /just/ enough to block some characters is one heck of a pain when it comes to comparing checksums04:24
P1roHi, im still having issue with sudo, i cannot sudu su ill get following error ( su: cannot open session: Cannot make/remove an entry for the specified session ) but i can sudo -u root /bin/bash with no problems at all, i did try adding my user at sudoers and still same error04:24
MTecknologyer.. wrong channel04:24
juanchohave a problem with my cd/dvd reader from my laptop, could someone help me?04:26
ravageIs that problem in any way related to Ubuntu?04:27
juanchoyes i'm in Lubuntu 23.1004:28
ravageAnd what is the problem?04:28
ravageOld DVD reader smells like a hardware issue :)04:28
juanchoi think lubuntu is not mounting my dvd04:29
ravageWhat is on the DVD?04:29
juanchoi put a cd with a video but starts to read it and stop, and doesn't give me anything when i search it by terminal04:30
peacefulmanjuancho: did you try something like VLC media plaer?04:32
peacefulmanplayer*04:32
juanchothe cd/dvd didn't appear on my desktop, like even recognize it04:33
ravageAlso if it is a video DVD with copyrighted material you have to deal with CSS first 04:33
peacefulmanit might not do anything with it04:33
peacefulmanwhat ravage said04:33
juanchono, it's a copied dvd with a video inside04:34
peacefulmantry opening a media player and using that to open it04:34
juanchook04:35
juanchoDVDRead no pudo abrir el disco «/dev/sr0» it's in spanish04:35
juanchowhat give vlc04:36
peacefulmansudo apt install vlc04:36
peacefulmanor try the software icon and install from there04:37
xanguaFor playing commercial DVDs in Ubuntu you need libdvdcss204:37
xangua!libdvdcss204:38
ubottuUbuntu's default installation and repositories do not include packages needed to play commercial DVDs for legal reasons. For information on adding them, see https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs | For information on the legalities involved, see the "DVD" section of https://help.ubuntu.com/community/FreeFormats04:38
juanchoi load it in vlc and give that he could't open dev/sr004:38
juanchoits not a commercial dvd04:38
peacefulmanmight need libdvdcss2 depending on codec?04:40
ravageCan you try to run VLC as root just to rule out a permission problem?04:41
ravagesudo vlc04:41
juanchowhen i put the dvd nothing appears,04:41
ravageDo other media work?04:41
juanchoLC is not supposed to be run as root. Sorry.04:41
juanchoIf you need to use real-time priorities and/or privileged TCP ports04:41
juanchoyou can use vlc-wrapper (make sure it is Set-UID root and04:41
juanchocannot be run by non-trusted users first)04:41
ravageMaybe the drive is broken?04:41
peacefulmanI would visit the PlayingDVDs ubuntu link from xangua/ubottu04:42
juancho"Do other media work?" did't check it04:42
ravageMaybe start with any DVD with files on it04:43
ravageAnd then go the next step to another video DVD if that works04:43
juanchoi try with another dvd that works and does't read it04:47
juanchoi sorry"" It read the dvd!!04:50
juanchoi played by vlc04:51
peacefulmantry install libdvdcss204:51
juanchoi think the other dvd i put is damage04:51
peacefulmandoes it work in windows or another machine?04:52
juanchoi'd tryed with the program dvddisaster04:52
juanchoi will try in another laptop i have with windows04:53
juanchothanks so much for helping me!!05:08
peacefulmandid it work in the other laptop?05:09
juancho"did it work in the other laptop?" i've been search that video in my memory bank, but could't find it...05:17
=== chiselfu1e is now known as chiselfuse
akumar_hi07:53
thinkpadderHi, I would need some advice on a classic IMAP-based email service which can still work with Evolution in Ubuntu 8.04. Unfortunately most of email services of these days don't support IMAP anyway (directly) and do require 2FA, key confirmation etc. I just need to make some email in my Ubuntu 8.04 work :-) Thx.07:58
* MTecknology just redeployed two laptops that use claws-mail to connect to gmail08:01
=== deepSleep is now known as Guest1428
roniHi there, anyone can say me why my computer watch always goes to 2078 , is just a doubt10:37
roniEveryday i have to set the time again10:38
bbvcwalla lo yoda roni10:45
bbvcxd10:45
nshireis ufw expected to be feature complete with iptables ever? like is that even a goal10:57
nshireI've read you can use iptables cli commands with ufw since it uses iptables as a backend10:57
bbvcnshire: good question11:03
Habbieufw is nowhere near feature complete compared to iptables, and i doubt it's a goal11:05
bbvcyeah11:09
bbvcbut it does the job as an uncomplicated firewall ...11:09
itaiI have a silly question. when updating all packages with apt, what does that mean when packages are kept back?12:26
itaishould I leave them without upgrading ?12:27
jeremy31itai: held back is part of phased updates12:29
itaiwhat are these?12:30
itaiI understand - they are rolled out in stages.12:31
itaiSo, there's nothing to be done about that...12:31
FriedBobWould this be a suitable place for asking about Landscape API, mirroring snap stores and/or mirroring juju charms ?12:52
=== pushkarnk1 is now known as pushkarnk
ravageFriedBob: Landscape is a product by Canonical. You can find information at https://ubuntu.com/landscape/docs/api-overview . Snap related stuff can be discussed in #snappy and you can find the juju community at https://matrix.to/#/#charmhub:ubuntu.com12:56
=== sotaoverride is now known as Guest3251
ashafqI seem to lost my boot disk after performing an `apt upgrade`. After booting from a live USB disk, I do not see my installed disk anymore. Can anyone point me to a solution to this problem?13:51
leftyfbashafq: sounds like a hardware problem13:53
leftyfbashafq: while booted to the usb, run this:   sudo lsblk | nc termbin.com 999913:53
leftyfbpaste the resulting URL here13:53
ashafqleftyfb: https://termbin.com/w5g313:56
ashafqThe installed device was /dev/nvme013:57
leftyfbyour computer is not seeing your storage device13:57
leftyfbashafq: the first step I would do is try to reseat it13:58
ashafqleftyfb: https://termbin.com/1zdp13:58
ashafqleftyfb: 01:00.0 Non-Volatile memory controller: Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD (rev 01)13:59
ashafqIt is detected but something is weird.13:59
leftyfbashafq: sudo dmesg | grep -i nvme | nc termbin.com 999914:01
ashafqleftyfb: https://termbin.com/vtlu14:02
ashafqhmm interesting14:02
ashafqleftyfb: so, what does this mean? My SSD is toast?14:04
leftyfbI'm not sure to be honest14:04
leftyfbI'm hoping someone else here might be able to troubleshoot further14:04
ashafq[    2.015328] nvme 0000:01:00.0: platform quirk: setting simple suspend14:05
ashafq^ What does this mean?14:05
Bugies WD does not offer support for Linux based operating systems. :(14:26
fowlHow do I find a PPA for 20.04 that has nginx and some of the libnginx packages? I am having a hard time searching for PPAs by package, is there a good way?15:00
=== meena3 is now known as meena
BluesKajHi all15:04
zteamHi I have a problem with website which looks like trash in Firefox, viewing the the site in a private window works great I already tried emptying the cache, but it didn't help, even launching firefox in Safe-mode didn't help, is there any easy way to export my saved passwords and browsing history without using firefox sync ?15:07
ravagehttps://support.mozilla.org/en-US/kb/export-login-data-firefox15:08
zteamravage, great thank you :-)15:10
zteamOkey, Now I'm really confused, I tried refreshring my firefox profile without importing any user data and the forum on this site still look messed up,however if try to view the same page in private window, everything looks great again.... But how....?!?15:39
ravageif you have your logins backuped close firefox. delete or rename ~/snap/firefox15:40
ravagestart firefox. that is like a clean installation15:41
ioriasome add-on maybe; id' try in --safe-mode15:44
zteamravage, that's what I just did I renamed /snap/firefox to snap/firefox.old and launched firefox again, I'm still having the same issue :-/15:44
zteamioria, already tried that, it still looks messed up, also tried refreshing my firefox profile15:45
ioriazteam, did you disable add-ons ?15:46
ioriazteam, anyways, try also this: https://firefox-storage-test.glitch.me/15:48
zteamioria, yes, no addons here, I renamed my /snap/firefox directory to /snap/firefox.old no user data imported (no addons no cache ) :-)15:49
ioriazteam, can you provide the link ?15:50
zteamioria, tried that tool just now, it reported no issues15:51
ioriazteam, can you provide the forum link ?15:51
zteamioria, yep, https://swedroid.se/forum/ (it's a Swedish Android forum15:52
ioriait looks ok15:52
ravagesame. and i have a lot of addons and privacy stuff enabled15:52
=== travisghansen8 is now known as travisghansen
ravageyou could hit f12 and look at network to see if anything looks suspicious15:53
MTecknologyfowl: typically people know what software they want and /then/ go in search of a PPA that might provide it15:57
zteamioria, ravage, to me the formatting looks different the bold text is missing in some places and the font looks akward15:57
zteamravage, looking at the network tab there is the definetely some difference in performance but I'm not sure how to read that thing16:01
ioriamaybe a font corruption... zteam : unticking the option to allow pages to display their own fonts16:01
ioriasettings -> fonts -> advanced16:02
zteamioria, thanks, I went to settings fonts -> advaned and unticked "allow pages to use their own fonts instead of your own choiches and now the site looks normal again, I guess Firefox allows that site to select another font16:08
ioriaok16:25
zteamioria, really weird issue, but thanks for your help, I guess I have font issue to deal with :D16:29
ioriasure, no problem zteam16:30
zteambtw is Ubuntu software center replaced by App Center now with Ubuntu 23.10 ?16:31
ioriazteam, afair, there are update problems with it; try to refresh snap-store16:37
MTecknologydrop 'em both for apt-get :D16:37
MTecknology(aptitude is also pretty nifty)16:38
zteamMTecknology, well, I wanted to double-check the permission of Firefox, so as useful as apt is it can't really help me here16:42
ioriasnap interfaces firefox16:45
zteamioria, like this right sudo snap refresh snap-store --channel=latest/stable/ubuntu-23.1016:46
ioriayes16:46
zteamioria, snap package has no avaiable candidates for updates (roughly translated16:47
zteamapp-center is alreadt installed but it doesn't have options for setting permissions of snap esaily16:49
zteamioria, well, it sure lists the options, but I miss a GUI method for this, since I'm really not sure about what I'm looking for :-)16:53
ioriazteam, depends on what you want to do16:54
zteamioria, since Firefox is having issues with my fonts I wanted to check if there was any permission issue (but I'm not sure which permission I'm looking for) :-)16:56
ioriai'am not sure it's about snap permissions16:57
Ricky_RatHi, I am getting frequent lockups on Ubuntu 23.10. It's a fresh install. I have done extensive hardware testing and found no problems. No lockups on Windows when I run it (but would rather run Ubuntu). BIOS is up to date on the PC. I have reported this as a bug. I don't know if there is anything else I can do. [Bug 2054121] Re: Random Freezing16:59
-ubottu:#ubuntu- Bug 2054121 in xorg (Ubuntu) "Random Freezing" [Undecided, New] https://launchpad.net/bugs/205412116:59
zteamioria, not me either it's just a shot in the dark, well I guess I just have the font settings in question disabled in Firefox,16:59
zteamubottu, !list17:04
ubottuzteam: No warez here! This is not a file sharing channel (or network); read the channel topic. If you're looking for information about me, type «/msg ubottu !bot». If you're looking for a channel, see «/msg ubottu !alis».17:04
fowlMTecknology: I have a list of 5 packages, nginx and libnginx-* packages, do you know a good way to search the PPA directory? The web UI is very limited17:37
Walexfowl: "apt search ...'? :-)17:40
WalexRicky_Rat: anything nvidia-driver related is usually considered undebuggable17:43
Ricky_RatSo it looks like it's related to NVIDIA? Or just the fact that I have an NVIDIA Card?17:43
WalexRicky_Rat: it is more like that the presence of NVIDIA drivers makes the system a mysterious black box.17:44
WalexRicky_Rat: it is millions of lines of hacky code in the kernel. Anything may happen.17:45
WalexRicky_Rat: also depends *which* of the many NVIDIA driver packages you are using, and also in general mobile chipsets are rather less well tested, especially if they involve "bumblebee"/PRIMUS/OPTIMUS17:47
WalexRicky_Rat: basically you have an uncommon corner case.17:47
Ricky_RatAhhh ok... I am guessing that isn't improved if I choose Using X.Org X server -- Nouveau display driver17:48
WalexI would try 1) the '.deb' NVIDIA driver packages that are part of the CUDA collection. They tend to me more stable. Then I would try Nouveau, and then a GUI environment like XFCE that does fewer "cool" things than GNOME etc.17:50
MTecknologyfowl: Why do you "need" it to come from a ppa? That seems ... odd17:51
WalexBTW I would not expect any reliable operation after hibernation (suspend-to-disk), if you ever did that. Even suspend-to-RAM might be risky.17:51
Ricky_RatIs this unique to debian based distros or pretty much all of Linux distros?17:52
Ricky_RatIn other words does NVIDIA essentially relegate me to use Windows?17:53
WalexRicky_Rat: depends on what you expect: corner cases are far less likely to work in either, but some are more risky than others.17:54
WalexRicky_Rat: with Linux distros it is best to research beforehand and buy hardware known to be less trouble than buy hardware and hope it is well supported.17:55
Ricky_RatWell crud... I will try those suggestions. If not, what distro's do you consider less risky (if Ubuntu isn't one of the least risky)17:55
Ricky_RatRight, I will do AMD for sure in my next build, but...17:55
WalexRicky_Rat: Ubuntu is the least risky, NVIDIA builds official well tested drivers pretty much only for Ubuntu.17:56
Ricky_RatOk, So AMD is pretty much the best choice, right?17:56
swansoneI'm seeing some really weird behavior after an upgrade to Ubuntu 22.04. When I put two windows into split screen mode, and then try to resize their horizontal width, my whole system freezes up for 1-10 seconds, and gnome-shell CPU usage spikes dramatically. Even more annoying, the windows don't even resize more than a few pixels each time. Has anyone seen this before?17:56
WalexRicky_Rat: it is entirely possible to build highly reliable NVIDIA workstations with Ubuntu etc., by choosing carefully card and driver package17:56
Walexswansone: GNOME shell is "weird", and require cool driver features.17:57
=== pikapika is now known as militantorc
Ricky_RatOk, so it could just be a GNOME issue then?17:58
WalexRicky_Rat: AMD drivers are safer, especially for older models, but the AMD equivalent of BumbleBee/PRIMUS/OPTIMUS is also a corner case17:58
swansoneWalex, fair, this usage pattern was working fine on this machine in 20.04 though. Do you have any recommendation on how to find out more?17:59
WalexRicky_Rat: no, it is likely a driver issue, but certain "cool" GNOME features may trigger corner-case bugs.17:59
raubWould it be a reason the first thing chrome wants to do when it runs for the first time is to create/open a keyring?17:59
Walexswansone: bugs can happen at any time.17:59
Ricky_Rathttps://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html17:59
Ricky_RatAm i looking in the right place here?17:59
swansoneWalex: on the one hand, I'm a software developer, so I get what you're saying. On the other hand, I actually want to work towards fixing this.18:00
Walexswansone: use XFCE :-)18:02
WalexRicky_Rat: yes, I just had a look at https://developer.download.nvidia.com/compute/cuda/repos/ and it has repo with the usually more stable NVIDIA driver packages.18:02
WalexRicky_Rat: but note that those are targeted at being used with CUDA, so they will have been more extensively tested but almost only on higher end discrete cards.18:03
Walexswansone: GNOME Shell and its plugins are hacked in JavaScript, which is not famouis for checking interface compatibility. SO you may have plugins/extensions/leftovers that are not quite right.18:04
Ricky_RatNot really sure which I need to install there tbh. That's a bit overwhelming of a list.18:05
WalexRicky_Rat: just to be sure you could try, if your hardware has an Intel GPU, to disable the NVIDIA secondary GPU. Intel GPU drivers are also not that stable.18:05
WalexRicky_Rat: you don't do anythiung with that list, yourself.18:06
Ricky_RatI have 4 screens so running the intel GPU won't work for me.18:06
WalexRicky_Rat: that is a '.deb' repository, so you add it to '/etc/apt/sources.list.d/'18:06
WalexRicky_Rat: fort the time being just try with 2 screens with the Intel GPU, and see if it is more stable. Then you know.18:07
WalexRicky_Rat: once that repository is added, you have a new source of Nvidia packages, and you select those.18:07
swansoneWalex: Interesting, you think there might be artifacts from before my upgrade which are hanging around? That's definitely possible. I did use GNOME tweaks, so maybe I can mess around with that.18:08
WalexAs a reminder: unless people here know system level issues very well, never use an "installer" under GNU/Linux, and  ideally never install directly '.deb' packages either. Always find some kind of reliavble repository.18:09
WalexRicky_Rat: look at 3.10.3 in the page you linked to.18:10
WalexRicky_Rat: either subsection 1. or 2. is fine18:10
MTecknologyswansone: maybe you want to check out cinnamon and see if it provides a bit more stability?18:11
MTecknology(it's the continuation of real gnome)18:11
Walexswansone: try to use 'gnome-tweaks' to disable all the fancy cool shading, animatiions, flows etc. to see if it helps.18:12
swansoneMTecknology: So many weeks and months of my misspent youth were dedicated to trying out different distributions WMs, DEs, etc. At this point, my preference is just to use "stock" ubuntu. But it is a good suggestion, I had cinnamon on my work computer for years and it was nice.18:18
MTecknology"stock ubuntu" is the one that changes more than anything else ...18:19
Ricky_RatSo I am trying to follow what it says in 3.10.3 1 -18:21
WalexMOTIF? Who remembers MOTIF?18:21
Ricky_Ratwget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2310/x86_64/cuda-keyring_1.1-1_all.deb18:21
swansoneYeah, it's a tradeoff, right? Like, I want new but stable features, which I get is a contradiction. But more than that, staying on "stock" makes it so I'm less likely to be the one who screwed my system up. I don't want to have to dedicate too much time to fixing issues of my own making on my computer.18:21
MTecknologygnome, unity, gnomeshell ... I use cinnamon because openbox became buggy with modern updates and gnome2 was the best alternative ... and cinnamon is the continuation of it.  I'm not interested in following along with whatever some distro decides for that release; especially not when they make those changes common18:22
MTecknologyI can barely remember motif; I think I was still learning WM vs DE back then18:23
WalexRicky_Rat: I guess you like to live dangeorusly on non-LTS Ubuntu with the very latest beta NVIDIA drivers :-)18:25
arraybolt3MTecknology, swansone, Walex: I love the discussion but I think since there's someone asking for support, it might be better moved to #ubuntu-discuss. Mind if I join y'all over there?18:26
Ricky_RatSo you think I need to go to an LTS version?18:27
arraybolt3Ricky_Rat: What exactly arey ou trying to do? I see you're trying to install NVIDIA drivers but I'm not sure what the situation is that makes you need those drivers.18:27
arraybolt3I've run CUDA workloads before without installing that stuff.18:27
Ricky_RatWalex suggested it, I am having lockups18:27
swansoneMTecknology: Do you install cinnamon on top of ubuntu? Or do you run Mint?18:27
arraybolt3(though granted it was tricky, I basically got the CUDA libraries from pip and had to move them where I needed them)18:27
Walexarraybolt3: there is always someone who knows better :-)18:27
MTecknologyarraybolt3: seems more -ot, doesn't it?18:27
WalexRicky_Rat: try https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb18:27
WalexRicky_Rat: it is likely to be compatible with 23.10. Not guaranteed.18:28
arraybolt3Walex: Sorry, I had missed the earlier conversation :P If you two know what you're doing, carry on :)18:28
swansonearraybolt3: Sorry, yes18:28
MTecknologyswansone: You can just "apt install task-cinnamon-desktop" and you'll have most of the selections already installed. Then pick your choice when you log in and that's it.18:29
arraybolt3MTecknology: A lot of times the -offtopic channel is like *completely* off-topic and unrelated to Ubuntu or even Linux at all :P I don't ususally spend time there.18:29
Walexarraybolt3: I was being skeptical about "run CUDA workloads before without installing that stuff". it is sure possible to do ad-hoc installs, but my preference is for cautious18:29
Ricky_Rat!paste18:29
ubottuFor posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:29
arraybolt3Walex: The way I was doing it was to just put everything self-contained in one folder using virtual envs and pyenv to let me keep everything contained in its own little box without polluting the rest of the system.18:30
Walexour "Ricky_Rat" is trying to get reliabile operation on "latest and greatest" install with NVIDIA BumbleBee/PRIMUS/OPTIMUS style hardware18:30
arraybolt3Might not have been the ideal way of doing things though.18:30
Walexarraybolt3: that might even work,  but it is risky.18:31
Walexhttps://www.explainxkcd.com/wiki/index.php/1987:_Python_Environment18:31
Ricky_Rathttps://dpaste.com/CLTHJA86M18:31
Walexhttps://www.explainxkcd.com/wiki/index.php/1987:_Python_Environment18:31
Ricky_RatWhat is the significance to Bumblebee/PRIMUS/OPTIMUS style hardware?18:32
MTecknologyswansone: What *I* do is a bit more extreme ... I have a fully automated provisioning solution. I push a git commit, wait for tests to pass, and then all the laptops (family and personal) eventually get the update. I install with the bare minimum and then everything that's added is decided by configuration management.  (it's public if you're curious - https://github.com/MTecknology/teckhost)18:32
WalexRicky_Rat: 'sudo dpkg --install /etc/apt/sources.list.d/cuda-keyring_1.1-1_all.deb'18:33
WalexRicky_Rat: that is one of the rare cases where it is reasonable to install directory a '.deb'18:33
WalexRicky_Rat: just to be sure, which NVIDIA card have you got?18:34
WalexRicky_Rat: in what type of system body?18:34
WalexRicky_Rat: the logs seemed to suggest something.18:34
Walexjust double checking.18:34
Ricky_Rat: Ignoring file 'cuda-keyring_1.1-1_all.deb' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension18:35
WalexRicky_Rat: that's fine it should not be there, but it is just being ignored18:35
Walexjust move it to '/tmp' it won't be needed again18:35
Ricky_RatNVIDIA T100018:35
WalexRicky_Rat: ahhh I saw a reference to a Lenovo so I thought it was a laptop.18:36
Ricky_RatNo, it's a Lenovo Tiny18:36
WalexRicky_Rat: that's good, one less risk factor.18:37
Ricky_Rathttps://dpaste.com/7SHMSFEMJ18:38
swansoneMTecknology: Very cool! Thanks for sharing.18:38
WalexRicky_Rat: arraybolt3: http://www.sabi.co.uk/xtmp/howtoMlNvidia.md18:38
Walexarraybolt3: http://www.sabi.co.uk/xtmp/howtoMlTools.md18:39
arraybolt3I got pinged the first time fwiw18:39
Walexthose two somewhat old pages have my suggestions for trouble-minimizing NVIDIA installs...18:40
Walexsame for PIP: http://www.sabi.co.uk/xtmp/howtoSwPip.md18:40
Walexthose saved many wild researchers from getting entangled in mad pacakging messes18:41
MaxReboI stumbled upon a project that has /usr/sbin/relax preceding a cron command. It has no man page, no `relax -h` output, and my Google searches haven't been fruitful. What is this thing?18:41
elSmith-MaxRebo: Relax just let the process run in the background18:42
WalexRicky_Rat: why do you want to install CUDA? I guess you are only interested in the NVIDIA drivers that come with it.18:42
Ricky_RatSorry I thought you told me I should.18:42
Walexonly add the repo, not install the toolkit.,18:42
Ricky_Ratoh ok...18:43
Walexhowever the repo was not added because 'apt update' does not list it.18:43
WalexRicky_Rat: grep -i nvidia /etc/apt/sources.list.d/*18:44
WalexRicky_Rat: that ought to return one line18:44
Ricky_Ratgrep: /etc/apt/sources.list.d/cuda-keyring_1.1-1_all.deb: binary file matches18:45
WalexNot that line though.18:45
WalexRicky_Rat: let's try again: 'mv /etc/apt/sources.list.d/cuda-keyring_1.1-1_all.deb /tmp; dpkg --install /tmp/cuda-keyring_1.1-1_all.deb'18:46
WalexRicky_Rat: that should install a file '/etc/apt/sources.list.d/cuda-ubuntu2204-x86_64.list'18:47
Walexafter that 'apt clean; apt update; apt upgrade'18:48
arraybolt3Ricky_Rat: just as a heads-up, I have seen NVIDIA systems become shattered after messing with drivers, and I have shattered a system of my own at one point thanks to NVIDIA, so just, make sure you have backups of your data and are prepared to reinstall if this goes south. :)18:50
Walexarraybolt3: that is indeed very easy to achieve by installing random NVIDIA tar-balls and other shortcuts.18:51
Walex:-)18:51
oerhekssometimes it works ..18:51
arraybolt3oh I managed to pull mine off using only official packages from the Ubuntu repos :D18:51
arraybolt3and without any weird tweaks18:51
Ricky_Rathttps://dpaste.com/DXB2J5BZJ18:51
Walexarraybolt3: the ubuntu repos are second best.18:52
Ricky_RatYep, nothing critical on this computer, if I need to wipe it no issues.18:52
Walexbut there are *several* Ubuntu NVDIA repos :-)18:52
Ricky_RatIt's a fresh Ubuntu install as of today.18:52
arraybolt3yeah I never used any of those.18:52
WalexRicky_Rat: your 'dpaste' shows that the NVIDIA repo is still not enabled.18:53
arraybolt3I was using some "reboot without rebooting" thing - wasn't called kload or kinit, but something like that, it's in the Ubuntu repos and is officially supported by the kernel - and for some reason that really did NOT like my NVIDIA drivers if I shook it just wrong.18:53
arraybolt3kexec, that's it18:53
Walexarraybolt3: another corner case18:53
WalexRicky_Rat: does /etc/apt/sources.list.d/cuda-ubuntu2204-x86_64.list exist?18:53
WalexRicky_Rat: what's its content?18:54
Ricky_RatNo, not there18:55
WalexRicky_Rat: anything with a similar name in 'etc/apt/sources.list.d/'?18:55
Ricky_RatNothing, just google-chrome.list18:56
WalexThat's weird indeed, because you installed it, and here it shows this content: $ dpkg-deb --contents cuda-keyring_1.1-1_all.deb18:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./18:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./etc/18:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./etc/apt/18:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./etc/apt/preferences.d/18:57
Walex-rw-r--r-- root/root       190 2023-04-20 01:36 ./etc/apt/preferences.d/cuda-repository-pin-60018:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./etc/apt/sources.list.d/18:57
Walex-rw-r--r-- root/root       139 2023-04-20 01:36 ./etc/apt/sources.list.d/cuda-ubuntu2204-x86_64.list18:57
Walexdrwxr-xr-x root/root         0 2023-04-20 01:36 ./usr/18:57
Ricky_RatI don't know.19:03
Ricky_RatWhat do you suggest?19:04
Ricky_RatI'm trying to do everything exactly as told.19:05
=== docmax is now known as Guest6413
=== docmax_ is now known as docmax
jamiahxI seem to have multiple hardware failures coming to a head and I need some help19:26
jamiahxfor a while I've had a burned out RAM stick, and in recent days my HDD that houses /home and swap is failing (7304 offline uncorruptable sectors)19:28
jamiahxI kept my computer off for the night and got a new HDD first thing this morning19:28
jamiahxwired up new HDD for migration, and now I cannot get a boot menu19:28
=== chris14_ is now known as chris14
jamiahxgetting stuck on a F3 boot code on the MB LED, which seems to mean something about firmware recovery on Gigabyte MBs19:29
oerheksjamiahx, join #hardware for such issues?19:35
jamiahxthanks19:35
Zed`Hello  - Any Azure nerds about? My Azure instance kindly tells me I have "6 additional security updates can be applied with ESM Apps" But also that "Ubuntu Advantage Infrastructure support plan is currently supported only on Pay-As-You-Go and EA Subscriptions." Which I don't got... Anyone know how I can find which updates this thing thinks I need? The machine is completely updated as of today... I searched19:37
Zed`for Ubuntu channels and did not find any..19:37
oerheks!pro19:37
ubottuUbuntu Pro is a service offered by Canonical for expanded CVE patching, ten-years security maintenance and optional support. Anyone can use Ubuntu Pro for free for personal use on up to 5 machines. For details please see https://ubuntu.com/pro and https://discourse.ubuntu.com/t/ubuntu-pro-faq19:37
oerheksor contact the adress you got in azure?19:38
Zed`the #Azure channel tends to be pretty dead :))19:38
leftyfbZed`: it has nothing to do with Azure. Please read up on Pro19:38
oerheksi read it costs money indeed https://azuremarketplace.microsoft.com/en-US/marketplace/apps/canonical.0001-com-ubuntu-pro-jammy?tab=PlansAndPrice19:39
leftyfbZed`: there are community maintained packages that Canonical updated (which they don't normally do), but you'll need to sign up for Pro (for free) in order to get those additional updates19:39
Zed`ah thanks19:39
Zed`Yeah I am happy to pay19:40
Walexso some time ago I wanted to paste this: http://paste.debian.net/1307555/19:40
leftyfbor it might not be free if it's in Azure, I don't know how that works. contact Canonical or Microsoft to sort out licensing issues19:40
WalexRicky_Rat: perhaps it would be best if you reinstalled with 22.04 and used the NVIDIA CUDA repo I mentioned for 22.04.19:41
Zed`Yeah calling Microsoft about licensing is like screaming into a hurricane trying to get a goat to sing sonnets19:41
Zed`Many thanks19:41
oerheksor reading microsoft..19:41
Zed`It took me 30 minutes this morning just to get one of my developers another Visual Studio license...19:43
Zed`Clicking the ADD button on the lic screen was not the way to do it19:43
Zed`I will stop now19:43
Zed`thanks again19:43
Ricky_RatOk, I will download 22.0419:44
Ricky_RatThanks for helping me. I appreciate it.19:46
Zed`https://ubuntu.com/blog/announcing-in-place-upgrade-from-ubuntu-server-to-ubuntu-pro-on-azure19:47
Zed`in case anyone cares :))19:47
WalexZed`: Ubuntu Pro is a Canonical product, and has been for several years.19:49
Walexit is basically paid extended updates and support, the commercial side of Ubuntu.19:49
Zed`Got it... Of course Microsoft made it sound more complicated than it needed to be19:50
plastikmanHaving recently gone through this, its also support period for the packages in universe19:50
Zed`Do I sound bitter?19:50
Zed`It gave me a link in my VM which lead to nowhere then when I investigated in the VMs page on my own inside azure it led to the message I posted here19:51
arraybolt3"calling Microsoft about licensing is like screaming into a hurricane trying to get a goat to sing sonnets" I need this sentence on a wallpaper for me to use on my development workstation19:51
Zed`my VMs motd thtat is19:51
oerheksso you got your answer?19:51
Zed`oh yes19:52
Zed`Thanks!19:52
Zed`you folks set me straight in two seconds19:52
Zed`All my corp unix/linux machines were FreeBDS/BDS until recently..19:53
WalexUbuntu Pro without human support is $25/year per machines, or free for up to 5 machine for personal use.19:53
Zed`That's a steal19:54
Walexwith human support it is a lot more expensive.19:54
Walexyes, the updates-only package is really cheap.19:54
ashafqWhich SSD has good support for Ubuntu?19:55
oerheksashafq, all of them?19:55
ashafqLooking for NVME SSD19:55
Zed`I have an MSP for human support and I can handle most things with the google (and you folks) myself.. The patches are another thing :)))19:55
plastikmanashafq: wat19:55
ashafqSo, I have this issue with my SSD after updating my ubuntu setup. It won't boot anymore.19:56
ashafqIt doesn't even find grub anymore.19:56
ashafqNor the SSD19:56
Zed`try warming it up with a lighter19:56
Zed`NOOO19:56
Zed`dontdo that19:56
oerheksashafq, did you ' reseat' that nvme, as suggested earlier?19:56
Zed`I kid19:56
ashafqoerheks: How do I do that?19:56
oerheksZed`, stop it. keep this channel free for support, please19:56
Zed`sorry19:56
oerheksashafq, pull it out and back in again19:56
ashafqoerheks: I see. I will try that now.19:57
oerheksknown issue with nvme, if something weirds happens with power, as you told us19:57
Walexashafq: there are several types of NVME SSDs, and for "consumer" M.2 SSDs they all work, what matters is support of the interface chipset on the motherboard. If the SSD is in a funny state, "oerheks" has a good suggestion to fully reset it.19:58
ashafqoerheks: just tried reseading it, no luck.20:02
oerhekssorry to hear that, try it in an other machine/take it to an expert20:03
plastikmanBoot from a live CD and try to recover the data20:05
plastikmanddrescue to another volume might be your only option20:05
ashafqhttps://a.co/d/6szTuPj does this have good support for Linux? So, if anything breaks, I can at least go for help.20:06
plastikmanWho is going to support you?20:07
oerhekswe do ubuntu support, hardware is an other discussion, not for here20:07
plastikmanashafq: that nvme drive if fine *so long as your mobo has the right port*20:08
ashafqplastikman: the mobo is the Framework laptop with Intel Alderlake CPU20:09
plastikmanwe wont tell you what your machine supports for ports, that is not our game20:11
LuminelI'm running Ubuntu on an old Samsung 120 GB SATA SSD20:11
Lumineli even ran it on HDD20:11
Lumineli think ubuntu supports any kind of media you put it on20:12
plastikmanI will say taht if your machine is dead and you cant access the data.  try to reseat the disk, if that works, then sweet.  id that does not work then i would boot off a live cd, and use ddrescue to clone the disk to another image and try to rescue what ever is there20:12
oerheksif the bios/lshw does not see it, it is dead jim20:12
Walexashafq: as others said, use the installer in "live GUI" mode, and then run "sudo lshw; sudo lsblk"20:13
ashafqWalex: https://termbin.com/w5g3 sudo lsblk20:14
plastikmanmaybe you accidentally disabled your PCI-e20:14
Walexashafq: does not look favourable...20:14
ashafqWalex: https://termbin.com/vtlu demesg | grep -i nvme20:15
Walexashafq: to be really sure 'sudo nvme list'20:15
Walexashafq: also 'sudo lspci | grep -i nvme'20:16
Walexthe second checks that the chipset is present/somewhat working.20:16
ashafqWalex: https://termbin.com/1zdp sudo lspci20:16
plastikmanlooks like shes dead20:16
ashafqplastikman: I have not touched the UEFI settings20:17
plastikmanlots of times SSD's fail in semi spectacular ways, slow performance, weird corrupt files, odd sizes, fs corruption, straight up death20:18
ashafqplastikman: All I did was "apt update && apt upgrade -y" then poof20:18
Walexashafq: 'Sandisk Corp WD PC SN810 / Black SN850 NVMe SSD' looks good20:18
Walexthen do as suggested 'sudo nvme list'20:18
oerheksthat is just the controller20:18
oerheks?20:19
Walexoerheks: but it is strange because "WD PC SN810 / Black SN850" is actually an NVME stick20:19
Walexhttps://www.tomshardware.com/reviews/wd-black-sn850-m-2-nvme-ssd-review\20:20
Walexperhaps the chipset NVME host adapter takes on the name of the NVME device it hosts.20:20
ashafqWalex: rebooting live cd20:22
Ricky_RatSo I thought I would try at least give Cinnamon desktop a shot before moving to 22.04. How can I get rid of all these stinking games that come installed on it? I see how to remove GNOME games, but not these....20:23
Walexi get this: https://dpaste.com/BSA4QBSUD20:23
ashafqWalex: nvme command not found20:23
Ricky_RatObviously in software one by one, but is there an easier way?20:23
ashafqWalex: nvme installed?20:24
WalexRicky_Rat: almost certainly they are in a "category" or in a "task" (groups of apps)20:24
Walexashafq: 'sudo apt install nvme-cli' usually works (temporarily) even in live DVD/CD20:25
Ricky_RatOk, yes20:25
ashafqWalex: It returns an empty list20:26
WalexRicky_Rat: also I like 'aptitude' to explore repositories, it is excellent20:26
oerheksapt is now better than aptitude, AFAIK20:27
Walexashafq: that's very odd because 'lspci' lists it. You may have *disabled* it, or the driver cannot recognize it.20:27
oerheksaptitude was superiour over apt-get20:27
Walexoerheks: does current 'apt' have a full-text UI?20:27
oerheksfull-text UI??20:27
Walexoerheks: something lile Mutt/MidnightCommander/VIM/alsamixer/...20:28
Walexoerheks: "curses" full screen UI20:28
oerheksit shows a lot of output, sure20:28
oerheksno, not a panel like mc...20:28
oerheks!aptitude20:28
ubottuLike apt and apt-get, aptitude is a terminal frontend for Ubuntu's package management system. Unlike the others, it is not recommended in Ubuntu because its behavior differs significantly from other Ubuntu package management tools and can cause issues.20:28
Walexthe big thing of Aptitude is the full screen "package explorer"20:28
oerheksthere is even a warning :-(20:29
Walexhttp://www.sabi.co.uk/blog/13-one.html?130414#130414 for an introduction20:29
oerheksthat was 201320:29
Walexoerheks: it is the same... A classic never ages :-)20:29
Walexthe warning above is that the Aptitude recursive dependency resolver uses a slightly different logic from 'apt-get', and gets slightly different results.20:30
oerheksapt improved over apt-get, and aptitude , see the warning20:30
oerheksbut if you are happy with aptitude, install it and have fun20:31
Walexoerheks: try to say just "sudo aptitude" to see the full screen folding-editor style user interface20:32
Walexashafq: going back to your case, in the "live" environment say 'dmesg | egrep -i "nvme|sn8[15]0"'20:33
elSmith-apt-cache search <package name>20:38
Ricky_RatI love aptitude!20:45
leftyfbaptitude has been known to cause big problems. I would not recommend any uses it20:47
ashafqWalex: should I clear TPM? That will erase my encryption key as well... right?20:48
Walexashafq: I doubt that TPM is relevant.20:52
Walexleftyfb: Aptitude in TUI mode always shows the list of changes before doing them...20:53
leftyfbWalex: that does not invalidate my previous statement20:53
Walexashafq: what does your BIOS say? Does it list that NVME as a storage device selectable for the boot?20:53
leftyfbWalex: we've head to deal with broken apt systems multiple times over the years due to aptitude20:54
ashafqWalex: Nope BIOS also can't find any UEFI images on that drive20:54
ashafqWalex: Trying to get the dmesg for you20:55
ashafqWalex: https://termbin.com/vtlu20:56
ashafqSo, is SSD failed?20:57
ashafqWalex: It's the same paste as before. Nothing different.20:59
Walexashafq: "Removing after probe failure status: -19" is not a good outcome21:05
Walexashafq: have a look at https://www.google.com/search?num=50&as_epq=probe+failure+status%3A+-1921:06
Walexashafq: as a totally random thing try this: «enter UEFI setup, navigate to the "Chipset" ledger and enable "NVME RAID mode"»21:09
Walexashafq: this is another way: https://wiki.archlinux.org/title/Solid_state_drive/NVMe#Controller_failure_due_to_broken_suspend_support21:13
Walexashafq: also try https://www.google.com/search?num=50&as_epq=default_ps_max_latency_us both at boot time.21:15
Walexashafq: the general issues seems to be that the NVME controller got into a weird power state and it is "sleeping".21:16
Walexor it could simply be that M.2 stick is broken now. Try another one if you have it with the live CD/USB and 'sudo nvme list21:20
ashafqWalex: Just went out and got another SSD, let's see if this works.22:33
ashafqWalex: looks like it was a hardware problem. Just installed a new SSD and it worked.22:44
ph88how can i write a script that reacts to changes of my public ip ?23:38
=== thosch662 is now known as thosch66
=== Erisa0 is now known as Erisa
=== JanC is now known as Guest6865
=== JanC_ is now known as JanC

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!