[01:33] <orangepi> Can i running vsti plugin use wine in orangepi zero?
[01:36] <arraybolt3[m]> orangepi: Pretty sure the Orange Pi uses an ARM chip. I don't think Wine probably exists for ARM systems, and even if it does, it almost certainly won't be compatible with VSTi instruments, since VSTs are generally designed for Intel-based processors AFAIK.
[01:41] <orangepi> I see running in raspberry pi
[01:43] <arraybolt3[m]> Hmm, looks like you're right, Wine for ARM does exist. If you're able to find ARM64 VSTi plugins, then that may indeed do the trick.
[05:39] <Guest0> ok I feel stupid
[05:39] <Guest0> in Ubuntu software it says there is an update for snap store
[05:39] <Guest0> I go to update it and it tells me to close it
[05:40] <Guest0> I close it and it wont update
[05:40] <Guest0> I open terminal and snap refresh says everything is up to date
[05:40] <Guest0> what the heck do I do???
[05:41] <arraybolt3[m]> Maybe silly, but can you just try "sudo snap refresh snap-store"?
[05:42] <Guest0> it says its running
[05:42] <Guest0> software center is closed
[05:42] <Guest0> kill 1877 did it
[05:42]  * Guest0 hugs arraybolt3[m] thanks mate
[05:42] <Guest0> cheers
[05:57] <routebee> heya people
[05:59] <routebee> can anyone help me set up a samba network on a ubuntu host operating system that will allow me to share files and my local printer with guest installs of kali and windows?
[06:27] <doosboox> routebee: hmmm. I haven't done that since my RHEL certification 6 or 7 years ago
[06:28] <doosboox> iirc the man pages were more or less all one needed. What kind of sysadmin experience do you have?
[06:33] <mihaiadrian> hi, i'm trying to send email with ssmtp using outlook. this is the errors i recieve: https://pastebin.com/raw/5kYgKQcY and this is my ssmtp.conf file: https://pastebin.com/raw/MxiEGU5H anyone knows how can i solve it?
[06:44] <ice9> does ubuntu makes modifications to mutter in it's distro?
[06:46] <Unit193> !info mutter
[06:47] <Unit193> Well it doesn't sync it from Debian, that's for sure
[07:12] <webchat47> Hello, I was facing connectivity issues with my webcam when connected to USB 3 port. The vendor told me to update UVC Drivers on my system running Ubuntu 20.04 with the latest update. They sent me this link for instructions
[07:12] <webchat47> https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules
[07:13] <webchat47> I'm trying to build the UVC Driver on my system but getting this error, can anyone help me to resolve the error https://paste.ubuntu.com/p/hmvFRc6CFn/
[07:16] <webchat47> I don't know that is causing that error
[07:17] <arraybolt3[m]> Ack, I can't tell that you did anything wrong either!
[07:17] <arraybolt3[m]> It looks like a kernel incompatibility, or a driver bug to me.
[07:20] <arraybolt3[m]> You might be able to fix it by switching from the HWE kernel to the stock kernel.
[07:20] <webchat47> Thanks, arraybolt3[m] I don't know what to do now, the Webcam vendor is saying me to update UVC Driver. Can you help me find out which version will be compatible with my system Ubuntu 20.04 latest updated.?
[07:21] <arraybolt3[m]> What webcam are you using?
[07:22] <webchat47> Hikvision DS-U02 https://www.hikvision.com/en/products/Turbo-HD-Products/Turbo-HD-Cameras/webcam-series/ds-u02/
[07:24] <arraybolt3[m]> I managed to find your bug report regarding the camera failure, you managed to get the camera to work once?
[07:24] <webchat47> I think the issue is kernel incompatibility, How do I download version that matches for my kernel from here https://git.linuxtv.org/media_tree.git
[07:25] <webchat47> Yes, It worked when connected to USB 2.0 port
[07:25] <webchat47> not working when connected to USB 3.0 ports
[07:26] <arraybolt3[m]> But now it doesn't work even in a USB 2 port now, right?
[07:27] <webchat47> it works for once after complete system restart, after using camera if I try to start it again then it won't work.
[07:27] <webchat47> It's working on usb 2.0, but have to restart system to make it working again
[07:28] <arraybolt3[m]> Hmm. OK, some error logs will be helpful. Can you do what you just said (to make the camera fail to work), then check your /var/log/syslog for anything suspicious? Feel free to pastebin non-sensitive info and send it.
[07:29] <webchat47> Thanks, I'll check now
[07:36] <webchat47> It is getting recognized by the system https://paste.ubuntu.com/p/Z4hxHM9Bny/ but it is not showing up as a webcam nowhere
[07:38] <webchat47> is it normal that the input device number keeps incrementing every time I reconnect the webcam? I don't have 37 input device connected to my system right now
[07:40] <webchat47> is there any way to force refresh the connected devices list ?
[07:41] <geirha> Had a look at the linux sources regarding that build failure, and usb_maxpacket() got changed from 3 args to 2 args 3 months ago, so the driver you're trying to build is expecting a very recent kernel version
[07:41] <geirha> https://github.com/torvalds/linux/commit/2ddf7617d568fdcbd3cc454bb4849fa6d3398c86
[07:42] <webchat47> Can I upgrade the kernel on my current system running Ubuntu 20.04 LTS?
[07:44] <webchat47> How do I download older UVC Driver supported by my kernel from their git repository?
[07:44] <webchat47> https://git.linuxtv.org/media_tree.git
[07:44] <geirha> looking closer though, it was deprecated before that, so it may not require that new a version
[07:46] <webchat47> my current Kernel version is 5.13.0-48-generic
[07:47] <geirha> deprecated in april https://github.com/torvalds/linux/commit/0f08c2e7458e25c967d844170f8ad1aac3b57a02
[07:47] <geirha> in practice that means you need 5.19 or newer
[07:48] <webchat47> Ohh
[07:49] <outoftime> webchat47: yes, you need to extract config and build new kernel with it
[07:51] <outoftime> geirha: 5.19 looks insane, even gentoo haven't stabilized anything higher then 5.15
[07:52] <webchat47> outoftime I don't know how, are there any instructions or documentation for that?
[07:54] <outoftime> webchat47: gentoo's wiki have awesome guide about how to build kernel with modules. But it can break more things.. Some driver's like nvidia needs kernel's sources to build, so you need to rebuild it if you are using one. Don't know about firmware though.
[07:56] <outoftime> IDK, maybe it is better to take arch's kernel. Less build headache. Any ready to use solution will be better if it is one time job.
[07:56] <outoftime> What is the kernel version for ubuntu testing?
[07:56] <webchat47> It feels too advanced for me to do, I can't break this computer since it is only available for me to work. I just wanted this webcam to work but it is very complicated process.
[07:57] <webchat47> my current Kernel version is 5.13.0-48-generic
[07:57] <outoftime> webchat47: ubuntu 2020 looks like LTS, not testing
[07:57] <outoftime> !testing
[07:58] <geirha> from what I can tell, 5.15 is the newest ubuntu has touched at all
[07:59] <outoftime> webchat47: sorry, I have no DE right now (building qtwebengine will take a long time)
[07:59] <geirha> The ones writing that driver probably hasn't thought things through, just used the latest sources of linux they could find to build against
[07:59] <outoftime> geirha: maybe make downgrade patch?
[08:02] <outoftime> geirha: have you figured out what 3rd param used for ? It is required or there are saine default value?
[08:04] <geirha> according to the commit message, it was removed because it could be derived from the second argument; apparently it's just a boolean that says if the pipe is outgoing or ingoing
[08:04] <arraybolt3[m]> webchat47: What you might be able to do is manually edit the driver source code to fix the build error - this is, in fact, a kernel incompatibility (at least it looks like that), and a simple tweak may make the driver work.
[08:05] <webchat47> should I just edit that line in that file?
[08:05] <webchat47> I'll try that now
[08:05] <outoftime> geirha: so 3rd argument should be somewhere in the function's body then.
[08:06] <arraybolt3[m]> webchat47: I believe so. If someone can figure out if the pipe in that one argument is outgoing or incoming, it should be a matter of just adding a "true" or "false" in there. If you do the wrong one, it will probably not work, so you may be able to use trial and error.
[08:06] <outoftime> webchat47: wait, do not write something, just to write.
[08:06] <Hany> hey,what are you talking about
[08:07] <webchat47> Which argument should I remove?
[08:07] <arraybolt3[m]> webchat47: You don't remove one, you add one.
[08:08] <Hany> where are you from,everybody
[08:08] <outoftime> Hany: webchat47: have beent tald to update web cam driver, but driver provided uses kernel 5.19 feature, that is why downgrading driver looks the easiest solution
[08:08] <webchat47> Hany I'm trying to build the UVC Driver on my system but getting this error https://paste.ubuntu.com/p/hmvFRc6CFn/
[08:08] <arraybolt3[m]> webchat47: The kernel is expecting 3 arguments, the driver is only giving it 2. It needs a "true" or "false" added on the end if I'm understanding correctly. Which one, I don't know.
[08:08] <geirha> changing  usb_maxpacket(dev, pipe) ->  usb_maxpacket(dev, pipe, usb_pipeout(pipe))  should work if I read the commit correctly
[08:09] <outoftime> webchat47: ^^^
[08:09] <webchat47> I'll try it now
[08:09] <arraybolt3[m]> geirha: That looks right to me (I don't know C, but as a programmer, I get the logic.) webchat47: Do what geirha says and see what happens.
[08:09] <arraybolt3[m]> (I know C#, so I can kinda get the gist of some C code.)
[08:10] <outoftime> arraybolt3[m]: C specs are the easiest (250+ pages or so)
[08:11] <Hany> Webchat47 Sorry, I haven't heard of this
[08:12] <arraybolt3[m]> outoftime: Quick C programming = security vulnerability. I don't like that.
[08:12] <webchat47> From where do I import usb_pipeout?
[08:13] <outoftime> webchat47: do you have compilation error?
[08:13] <geirha> It's in the same file; linux/usb.h
[08:13] <arraybolt3[m]> webchat47: That doesn't exactly make sense to me, can you pastebin the new error, if you're getting one?
[08:14] <arraybolt3[m]> Oh, wait a minute, I get it, nevermind.
[08:14] <webchat47> I edited the file, now shall I run ./build?
[08:14] <arraybolt3[m]> Sounds good, give it a go!
[08:14] <webchat47> okay
[08:14] <geirha> didn't it use make?
[08:15] <geirha> if so, just run make
[08:16] <arraybolt3[m]> geirha: You're right. webchat47: Not sure what ./build is, try just running "make".
[08:16] <outoftime> webchat47: follow build instructions from the driver's providers
[08:16] <webchat47> It downloads few files when I run ./build
[08:17] <arraybolt3[m]> Actually, you're right. Man, I'm frazzled, sorry. geirha, outoftime: The build instructions say to use "./build".
[08:17] <geirha> aha, ok. Maybe ./build does all the wget-ing and untaring then finally runs make
[08:18] <outoftime> geirha: you are right, he needs to make now
[08:18] <outoftime> webchat47: you have edited sources, try 'grep make build'
[08:19] <arraybolt3[m]> webchat47: If ./build gives you the exact same error, it probably downloaded the original file and overwrote your changes, in which case, try "make" rather than "./build" next time.
[08:20] <outoftime> webchat47: "grep make build" will show you exact execution like for making driver by the script file, at least it has to
[08:21] <webchat47> It is running build right now, halfway done till it reaches that last error line
[08:22] <webchat47> I just typed ./build, should I cancel it and run grep make build again?
[08:22] <arraybolt3[m]> I'd let it run, and if it fails, then try again and try something else.
[08:23] <webchat47> okay, it might take another 2 minutes
[08:23] <arraybolt3[m]> (Canceling stuff can sometimes have surprising consequences...)
[08:23] <outoftime> webchat47: you can open another terminal window, no need to iterupt
[08:23] <outoftime> ctrl+shift+t for gnome terminal
[08:24] <webchat47> okay, in new terminal should I run grep make build?
[08:26] <outoftime> webchat47: that build will likely fail, so yes you'd like to figure out how make is executed by "build system"
[08:27] <outoftime> probably you can comment everything up to first make (or make that fails)
[08:27] <webchat47> after 200 lines it might fail
[08:27] <webchat47> I'm comparing last output from my pastebin with this current execution
[08:28] <outoftime> webchat47: you can comment all lines from 'build' script up to the point when make executed and run ./build again
[08:28] <webchat47> Ohh, I didn't know that was possible
[08:28] <webchat47> It is creating those device files again
[08:29] <outoftime> webchat47: can you link me your driver's sources tar ball?
[08:29] <webchat47> yes
[08:29] <arraybolt3[m]> I'll grab it from earlier in the chat.
[08:29] <webchat47> https://git.linuxtv.org/media_tree.git
[08:30] <geirha> heh, build script is perl
[08:30] <arraybolt3[m]> This is the guide webchat47 is following: https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules
[08:31] <outoftime> geirha: do you know perl?
[08:31] <geirha> ah well, there's a Makefile at top level, so just run make next time
[08:31] <webchat47> Hi, I got the same error again
[08:31] <arraybolt3[m]> webchat47: Then ./build probably overwrote your code change. Is it on the exact same line?
[08:31] <webchat47> Looks like it reverted my changes in that file
[08:31] <webchat47> yes
[08:31] <arraybolt3[m]> webchat47: If so, edit the file again and just run "make" rather than "./build".
[08:31] <webchat47> okay
[08:33] <outoftime> webchat47: have you cloned that repository? What branch are you in?
[08:33] <webchat47> master I guess
[08:33] <webchat47> Latest repo
[08:33] <webchat47> I followed this https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules
[08:33] <webchat47> "Basic" User's Approach
[08:34] <webchat47> I've changed that file again, should I run grep make ?
[08:34] <webchat47> or just make
[08:34] <arraybolt3[m]> I think just "make".
[08:34] <webchat47> okay
[08:36] <webchat47> Update: It solved that error for that file, and threw an error for same function at another file
[08:36] <webchat47> I will change that function parameters in another file as well
[08:36] <geirha> grep -rw usb_maxpacket .
[08:36] <geirha> should list all occurances
[08:36] <outoftime> webchat47: grep <fn name>
[08:36] <outoftime> will list all files you need to change (hopefuly)
[08:37] <webchat47> yes it did, thanks
[08:37] <webchat47> those files are device files  for some third party cameras
[08:38] <webchat47> https://paste.ubuntu.com/p/nhcQdtd22K/
[08:39] <arraybolt3[m]> I'd say change them anyway. If the compiler ends up hitting any of those files in the compilation process, it's gonna likely throw up at that line.
[08:40] <webchat47> changing now
[08:40] <arraybolt3[m]> And it's quite plausible that the driver code is configured to build EVERYTHING.
[08:40] <humanface> hi all
[08:40] <arraybolt3[m]> humanface: Hi!
[08:40] <outoftime> webchat47:  you can add -n flag to show line numbers or
[08:40] <outoftime> you can use 'sed utility to do it for you'
[08:40] <humanface> can I use ubuntu live cd to try out a certain game? I mean will it play the same way as I would install normally and use an ubuntu?
[08:41] <humanface> or live cd will have restricted hardware usages?
[08:41] <webchat47> I've never used sed before
[08:41] <arraybolt3[m]> humanface: Depending on the size of what you're trying to install, it might fail unless you have a lot of RAM, since live CDs use the RAM for file storage.
[08:41] <humanface> I mean for example on live cd I could use only half of the power of my machine, or something like that
[08:41] <humanface> ok I have way too much ram, so that's not a problem
[08:41] <mithrin> Hello guys. Is there a way to disable auto-update on ubuntu?
[08:42] <humanface> but other than that, will it restrict my hardware or not?
[08:42] <humanface> arraybolt3[m]
[08:42] <mithrin> I have this computer I use rarely and every time I turn it on it offers me large updates
[08:42] <arraybolt3[m]> humanface: The live CD should be able to do anything that you can do from Ubuntu. The only restriction I can think of will be disk space (you'll have as much "drive space" as half of your RAM).
[08:42] <arraybolt3[m]> mithrin: Is there a particular reason you need to do that? It's a security risk to disable automatic updates.
[08:42] <outoftime> sed -i 's/usb_maxpacket\(dev, pipe\)/usb_maxpacket\(dev, pipe, usb_pipeout\(pipe\)\)/' <filename> something like this, \ before each ( or )
[08:43] <humanface> ok
[08:43] <mithrin> arraybolt3[m], it annoys me and this computer is only used for one thing so no risk in it
[08:43] <arraybolt3[m]> mithrin: How important is the computer (and the data on it)? If it's very important, it would be best to apply all the large updates on every bootup. Otherwise you're risking your system.
[08:43] <geirha> that won't catch all of them
[08:44] <geirha> and \( is incorrect
[08:44] <arraybolt3[m]> mithrin: OK, looking for directions.
[08:44] <mithrin> found it already
[08:44] <arraybolt3[m]> mithrin: I think these instructions should help you to turn off the automatic updates. https://www.omgubuntu.co.uk/2016/02/how-to-disable-automatic-update-ubuntu
[08:44] <geirha> 's/usb_maxpacket(\([^,]*\), \([^,]*\))/usb_maxpacket(\1, \2, usb_pipeout(\2))/'
[08:44] <outoftime> humanface: probably live cd used nouveau (open source nvidia driver) so yeah, hardware support may be not perfect. Live CD made to run everywhere, not to run on max performance, which is what you want.
[08:45] <mithrin> actually, I could work with it launching "sudo apt update && sudo apt upgrade -y" with every startup (it doesn't start very often). What I can't stand is the gui
[08:45] <humanface> outoftime we will see, but dualboot is like a forbidden and dangerous magic
[08:45] <arraybolt3[m]> mithrin: That's a good idea. That would be the most secure and also handy. I think I can help with making that happen.
[08:46] <arraybolt3[m]> (By "handy" I meant "not annoying"...)
[08:46] <outoftime> humanface: who said that?
[08:46] <humanface> outoftime I'm saying that
[08:46] <humanface> I would need to read hours about the topic, and I don't even have 20 minutes to do that
[08:46] <outoftime> humanface: I used dual boot almost 10 years, have no idea what you are talking about.
[08:46] <arraybolt3[m]> outoftime: It actually can be pretty dangerous, and with Ubuntu 22.04, it can be tricky to get working thanks to the disabled os-prober.
[08:47] <humanface> outoftime I don't even know how to setup things to use dualboot... without damaging my existing drives datas
[08:47] <outoftime> arraybolt3[m]: thank's God I'm gentoo user now..
[08:47] <humanface> arraybolt3[m] right
[08:48] <webchat47> I changed that function in all files and now running make
[08:49] <gpkumar> you just set GRUB_DISABLE_OS_PROBER=false and then re run grub-mkconfig -o /boot/grub/grub.cfg as root
[08:49] <arraybolt3[m]> mithrin: Hmm, this looks trickier than I thought.
[08:49] <outoftime> on the other hand you can install os-prober and grub should just figure out that it is present and work out
[08:49] <mithrin> arraybolt3[m], leave it. I'll figure it out. I managed to turn off those gui updates
[08:49] <humanface> outoftime I don't even know what is os-prober or grub, so....
[08:49] <mithrin> thank you
[08:49] <humanface> outoftime that's why I said... I don't have hours to read about these things
[08:50] <gpkumar> grub -> is the bootloader
[08:50] <gpkumar> os-prober -> probes whether your system has any other OS'es installed
[08:50] <humanface> gpkumar you know making dualboot won't be easier with knowing this info, right?
[08:50] <outoftime> humanface: sad, linux is about reading things (unless flatpack)
[08:51] <outoftime> humanface: you literally need to execute 3 commands
[08:51] <gpkumar> humanface: did you install windows after linux?
[08:51] <outoftime> gpkumar: I think he has Widnows because he is asking about live cd linux
[08:52] <webchat47> just wanted to confirm, does running make command will resume execution from where it threw the error last time?
[08:52] <gpkumar> if it is ubuntu it will take care of the os-prober thing, you'll see both ubuntu and windows entries on your grub menu
[08:53] <outoftime> webchat47: no, but make is part of the build process, so yes, you will make one step from build process
[08:53] <outoftime> webchat47: IMHO the best is to read that perl file (build) and comment out everything up to make to let it finish as expected
[08:54] <humanface> gpkumar I don't even understand what are you talking about... "if it's ubuntu" what is ubuntu? my current os?
[08:54] <outoftime> humanface: my messge for you if you aren't willing to read staff about linux (at least part of it you really need) do not use it, use Mac OS or Windows or whatever
[08:55] <humanface> outoftime I don't really have choice, I'm not a normal user, I'm a programmer...
[08:55] <humanface> and I need to test out my app on linux
[08:55] <outoftime> virtualbox
[08:55] <outoftime> done
[08:55] <gpkumar> why not use vm
[08:55] <gpkumar> yep
[08:55] <humanface> virtualbox..... nope....
[08:55] <geirha> webchat47: make compares timestamp of each source file with target file. If target file is missing or older than source file, it compiles it, otherwise, skips. In practice, that means it should skip all the files it already compiled
[08:55] <humanface> on virtualbox I had 2 fps during ingame
[08:56] <arraybolt3[m]> webchat47: I don't think so, I believe it will restart the build from scratch.
[08:56] <outoftime> humanface: wsl?
[08:56] <humanface> gpkumar virtualbox can't be used for this
[08:56] <humanface> outoftime I have no idea what is wsl
[08:56] <gpkumar> Oh okay
[08:56] <outoftime> humanface: then invest your time in dualboot
[08:56] <gpkumar> install wsl2 on windows
[08:56] <wizard1> hi
[08:57] <wizard1> i have problem with my bracket app for html
[08:57] <humanface> gpkumar but what is wsl? the same like virtualbox?
[08:57] <humanface> because if yes, I can't use that
[08:57] <arraybolt3[m]> humanface: Or install Ubuntu to an external drive.
[08:57] <wizard1> my bracket doesn't work at live mode
[08:58] <arraybolt3[m]> wizard1: What is "bracket"? Is it an application you're trying to use?
[08:58] <wizard1> yes it's somthing like vscode
[08:58] <humanface> arraybolt3[m] do you know what wsl is?
[08:58] <wizard1> but it's for html
[08:58] <humanface> is it the same as virutalbox?
[08:58] <arraybolt3[m]> humanface: Not really. I know it's sorta like a VM, let me find a link...
[08:59] <arraybolt3[m]> It might have better graphical performance, I don't know.
[08:59] <wizard1> is here any one who can help me
[08:59] <arraybolt3[m]> https://docs.microsoft.com/en-us/windows/wsl/about
[08:59] <humanface> arraybolt3[m] so my app is a game... I tried it in virtualbox ubuntu, it stuttered like hell, I had 1-2 fps... I don't need 60 for the try, I would be happy if live cd could run that at 20 fps
[08:59] <humanface> at least
[08:59] <arraybolt3[m]> wizard1: How did you try to install bracket?
[09:00] <humanface> since dualboot is like driving an airplane, I wonder if wsl or live cd could prove better fps for me than 2 fps
[09:00] <wizard1> with apt
[09:00] <arraybolt3[m]> humanface: Really, the best way I can think of to do this, is install Ubuntu to an external drive.
[09:00] <arraybolt3[m]> humanface: Get two USB drives, one with the Ubuntu ISO, one blank. Boot from the live USB.
[09:01] <arraybolt3[m]> humanface: Then insert the blank USB, and install Ubuntu directly to that. Then you should be able to boot from the USB you installed to. It's way easier than dualboot, since you just switch between systems by plugging or unplugging a flash drive before booting the system.
[09:01] <wizard1> #html
[09:01] <arraybolt3[m]> humanface: The live CD might be better, but it might not work at all. WSL might be better, but it might also not give you an accurate indication of whether your app will work in true Ubuntu or not.
[09:01] <humanface> arraybolt3[m] and you're telling me that an installed ubuntu on an usb drive would work the same way as I would use an SSD or HDD?
[09:02] <arraybolt3[m]> wizard1: There's three conversations going on in here, give me a bit. We'll try to help sort out what's gone wrong.
[09:02] <humanface> and the game I would use would have the same performance?
[09:02] <outoftime> arraybolt3[m]:  he refuses to dual boot, because he is a "pro"grammer and he don't like to figure out how to dual boot
[09:02] <arraybolt3[m]> humanface: Yeah. The drive won't be as fast (obviously), but you'll be able to install the good GPU drivers and have high performance in the installed system.
[09:03] <wizard1> do you know this app ?
[09:03] <wizard1> i will tell you
[09:03] <arraybolt3[m]> wizard1: Can you open a terminal with Ctrl+Alt+T, and then try to run bracket from the terminal?
[09:03] <arraybolt3[m]> outoftime: People kill their systems with dualboot sometimes. It's a legitimate concern he has.
[09:03] <wizard1> yes
[09:03] <arraybolt3[m]> outoftime: And it's not nice to mock people in chat support. If he doesn't want to use dualboot, that's his decision, and there's other alternatives.
[09:03] <humanface> arraybolt3[m] so would I have better performance running the ubuntu from an usb drive and the game inside that, than using an usb as live cd and installing/using the game from that?
[09:04] <arraybolt3[m]> wizard1: I don't, but if you launch it from a terminal, that may give you an error that tells you what's going wrong.
[09:04] <arraybolt3[m]> humanface: Almost without question.
[09:04] <humanface> wow
[09:04] <humanface> I would have never thought that
[09:04] <wizard1> i  can run it from terminal
[09:04] <wizard1> it's open now
[09:04] <wizard1> but my problem is that live mode of this app doesn't work
[09:05] <arraybolt3[m]> humanface: The live USB won't have good GPU drivers, so your performance may be awful. But install the system and install the proprietary drivers in the process, and that should work.
[09:05] <arraybolt3[m]> wizard1: Can you try to put the app in live mode and see if any errors get spit out onto the terminal?
[09:05] <wizard1> yes iam donig
[09:06] <wizard1> it gave this one
[09:06] <wizard1> (in order for live preview to connect. chrome needs to be relaunched with remote debugging enavled
[09:06] <wizard1> )
[09:07] <arraybolt3[m]> wizard1: Is Brackets installed as a snap package?
[09:07] <wizard1> i don't know
[09:07] <wizard1> i don't remember actual
[09:07] <wizard1> y
[09:07] <wizard1> and it gave me one link for info
[09:07] <arraybolt3[m]> wizard1: Oh wait, you said you used apt, nevermind. I'm searching for solutions.
[09:07] <wizard1> is it use full
[09:07] <wizard1> ?
[09:08] <wizard1> thanks
[09:08] <wizard1> for more info it gave me a link
[09:08] <wizard1> is it usefull for you
[09:08] <wizard1> ?
[09:10] <arraybolt3[m]> wizard1: Sure, send the link.
[09:10] <webchat47> Update: Build is still running and for few files, its showing this "Skipping BTF generation" https://paste.ubuntu.com/p/K9YcqfYndt/
[09:11] <outoftime> humanface: if you have no choice because you are "pro"grammer, then why not stop beeing "pro"grammer? It is a good choice.
[09:11] <outoftime> wizard1: what do you mean "not working" ?
[09:11] <arraybolt3[m]> wizard1: I think your problem is that you need to launch Chrome from the terminal using --remote-debugging-port=9222 to make your live preview mode work.
[09:12] <wizard1> hey man
[09:12] <wizard1> i solved it
[09:12] <wizard1> thanks for your help
[09:12] <wizard1> my problem was that i was using proxy
[09:13] <webchat47> what is vmlinux? During build it's showing Skipping BTF generation due to unavailability of vmlinux , for few files.
[09:13] <arraybolt3[m]> wizard1: Glad it's solved!
[09:14] <arraybolt3[m]> webchat47: I wouldn't worry about that, if the build isn't failing.
[09:18] <webchat47> Here is the output of the build https://paste.ubuntu.com/p/ghRMR2Wx9Y/
[09:18] <outoftime> arraybolt3[m]: how did ppl managed to kill their systems with dualboot? Was it about clearing entire drive during installing GNU\Linux distro or some internal grub/windows problem?
[09:18] <webchat47> do you think the the make command completed the build?
[09:18] <ice9> how to invoke the "safely remove" option in nautilus for USB device from the CLI?
[09:18] <arraybolt3[m]> outoftime: Resize an NTFS partition, something glitches, data dead.
[09:18] <arraybolt3[m]> webchat47: Looks good!
[09:19] <arraybolt3[m]> outoftime: I just about nuked a perfectly good installation doing dualboot during the partition wrangling process.
[09:19] <outoftime> webchat47: vmlinux is a linux kernel itself. BTF is a debug "feature" to debug kernel.
[09:19] <arraybolt3[m]> outoftime: I, personally, will never do dualboot again unless I have no other choice. It was too close to disaster.
[09:19] <gpkumar> I think ubuntu installer option "install alongside windows" works as expected.
[09:20] <arraybolt3[m]> gpkumar: It should work as expected, but I've watched Ubuntu butcher an NTFS partition before, for no apparent reason. It wasn't fun.
[09:21] <gpkumar> I see
[09:22] <webchat47> now I should run "make install" right?
[09:22] <arraybolt3[m]> webchat47: If that's what the instructions say to do.
[09:22] <webchat47> yes
[09:22] <outoftime> webchat47: build log complain about debug symbols, not more
[09:22] <arraybolt3[m]> webchat47: WAIT
[09:22] <webchat47> okay
[09:23] <arraybolt3[m]> webchat47: I just remembered "make install" can cause problems if you ever need to uninstall something. Let me look up checkinstall, it's safer.
[09:23] <gpkumar> after doing make, I think there will be a binary mode that can be executed by ./
[09:23] <arraybolt3[m]> webchat47: OK, install "checkinstall" via apt, then run "sudo checkinstall" rather than "sudo make install".
[09:23] <arraybolt3[m]> gpkumar: I believe this is a driver.
[09:24] <webchat47> ok, I'll install checkinstall
[09:24] <gpkumar> 😮
[09:24] <gpkumar> last time I did a driver install was on ubuntu 16.04
[09:24] <arraybolt3[m]> gpkumar: I guess it could be manually modprobe'd in, but that might be complicated.
[09:24] <gpkumar> 👍 yep
[09:28] <webchat47> Before I do " sudo checkinstall" should I remove old UVC driver from my system?
[09:28] <arraybolt3[m]> One moment please...
[09:28] <outoftime> remove it before modprobing
[09:28] <webchat47> or it will do an automatic upgrade?
[09:29] <arraybolt3[m]> webchat47: I believe the instructions say to reboot.
[09:29] <outoftime> webchat47: after instalation you need to "enable" module (whithout reboo) so you have time to eject web cam wire
[09:29] <arraybolt3[m]> You're not removing the old driver from the system, you're removing it from memory so it doesn't muddy things up.
[09:30] <webchat47> Is it like first I will run sudo checkinstall, and then reboot the system ?
[09:30] <arraybolt3[m]> outoftime: Looking at the directions, I think that the system handles that automatically?
[09:31] <outoftime> webchat47: sudo checkinstall && reboot
[09:31] <webchat47> I don't know what modprobing means
[09:31] <outoftime> webchat47: reboot is easier
[09:31] <arraybolt3[m]> webchat47: I don't think you need to worry about that, the reboot should handle it.
[09:31] <webchat47> okay, I'll do reboot then.
[09:32] <arraybolt3[m]> outoftime: Yep.
[09:32] <webchat47> Should I disconnect my webcam before running checkinstall ?
[09:33] <outoftime> webchat47: kernels modules are just code that runs at kernel level, it is just code. Files on file systems are read during start up or when you are tald kernel to do so (modprobing)
[09:34] <webchat47> got it, thanks outoftime
[09:35] <outoftime> webchat47: IDK, Plug And Play means you have running system and then you are pluging device. Not sure about start up. If you aren't sure - pick one and test.
[09:36] <webchat47> It is still running installation
[09:37] <webchat47> I'll share the logs once it finishes
[09:37] <webchat47> it failed to install the package
[09:37] <outoftime> gentoo has "wgetpaste" to share log from command execution. Debian recommends to use "command | nc termbin.com 9999'
[09:38] <outoftime> also you can just redirect "command &> full-output.log"
[09:38] <webchat47> Error log https://paste.ubuntu.com/p/G8SKcW4pCz/
[09:40] <webchat47> Checkinstall output https://paste.ubuntu.com/p/WtZrTpSdc8/
[09:41] <arraybolt3[m]> webchat47: Oh, shoot. The driver is conflicting with Ubuntu's default drivers. Agh, I don't know how to fix this! You could try just using "sudo make install" afterwards, but if it fails, uninstalling that mess could be tricky.
[09:41] <webchat47> I hope it has not messed up other files during install
[09:42] <webchat47> I'm afraid that it might end up corrupting my laptop
[09:43] <outoftime> webchat47: you definitely will.
[09:43] <arraybolt3[m]> webchat47: Nope, that's why we used checkinstall. Anything that goes wrong can be fixed.
[09:43] <outoftime> webchat47: make modules backup
[09:43] <arraybolt3[m]> webchat47: Had you used "sudo make install" and then something like this happened, then we'd be in a pickle.
[09:43] <webchat47> does checkinstall reverts the changes if it fails to install?
[09:44] <arraybolt3[m]> webchat47: It aborted the installation.
[09:44] <arraybolt3[m]> outoftime: In Ubuntu, checkinstall packages the files you're about to install into a DEB package, allowing you to recover from any problems and cleanly uninstall things. So the failed installation isn't the end of the world.
[09:45] <webchat47> So nothing has been changed right? I'm afraid to reboot my laptop right now '=D
[09:45] <outoftime> arraybolt3[m]: I mean he has no choice, just to use bare make install, but he needs to backup first
[09:45] <webchat47> How can I backup those modules?
[09:46] <outoftime> webchat47: no need, I started to give you instruction set for # make install
[09:46] <arraybolt3[m]> webchat47: You should be fine to reboot, but the drivers won't be installed.
[09:46] <arraybolt3[m]> outoftime: What you're saying is a good idea, but then every kernel update he'll probably have to do this whole rigamarole again, right?
[09:46] <outoftime> arraybolt3[m]: true
[09:46] <mncheck> on focal how do you enable automatic link-local ipv6 address for an interface "eno1"?
[09:47] <arraybolt3[m]> outoftime: Gentoo and Debian/Ubuntu work significantly differently - make install might be fine for you, but it's considered very bad in ubuntu.
[09:47] <mncheck> I would like to see neighbours if a cable is connected
[09:47] <arraybolt3[m]> mncheck: You're using Ubuntu Desktop, or Ubuntu Server?
[09:48] <outoftime> arraybolt3[m]: it work the same. Problem in order of operations and dependency conflict are common for all distros.
[09:48] <webchat47> So this webcam is never working again then !?
[09:48] <ice9> while copying large files (source/dest) on the same local SSD drive; Linux becomes laggy/unresponsive for seconds from time to time until the process finishes; this is intel i7 11th gen with 16G RAM; how come? and how to avoid this?
[09:48] <arraybolt3[m]> webchat47: No, we'll probably figure it out. We just don't want to nuke your system.
[09:48] <arraybolt3[m]> webchat47: We're discussing solutions.
[09:49] <outoftime> ice9: how large?
[09:49] <arraybolt3[m]> outoftime: Do you know how to use DKMS? I don't, but I think it might be a good part of the solution here.
[09:50] <ice9> outoftime, 80G
[09:50] <webchat47> I downloaded DKMS because it was required to run OBS Virtual Camera
[09:50] <outoftime> ice9: cp or rsync?
[09:51] <webchat47> I don't know what that module can do.
[09:51] <arraybolt3[m]> webchat47: What might work is to backup your kernel modules like outoftime says, then set up DKMS so that the driver installs and then stays installed. I'm trying to figure out how you would do this.
[09:51] <webchat47> Is there any other light distro with latest kernel ? I'll try to liveboot using USB and check if my webcam works or not
[09:52] <ice9> outoftime, cp
[09:52] <arraybolt3[m]> webchat47: You could give Manjaro a shot using a live USB.
[09:52] <webchat47> I'll try that now
[09:53] <outoftime> ice9: have no idea what is actually going on for you, just a suggestion about FS cache. Can you try with rsync? Can you play with scheduler? chrt --idle for an example?
[09:54] <outoftime> arraybolt3[m]: webchat47: have you searched private PPAs before all this mess?
[09:54] <mncheck> arraybolt3[m], this is desktop
[09:54] <arraybolt3[m]> outoftime: 🤦‍♂️That's a great idea, I should have thought of that. Thank you!
[09:55] <webchat47> No I couldn't find any resources for my webcam model
[09:55] <webchat47> On their website, they have mentioned it would work on Linux kernel 4.14 and above.
[09:55] <mncheck> arraybolt3[m], currently I have inet6 fe80::1234:5678:1234:5678/64 scope link noprefixroute  in ip -6 a show dev eno1
[09:56] <webchat47> Manjaro website is down for maintainence
[09:56] <arraybolt3[m]> mncheck: You should be able to open up the network configuration for your Ethernet adapter, click the ipv6 tab, and select link-local. I think that's what you want.
[09:56] <mncheck> arraybolt3[m], in /etc/network/interfaces I have "auto lo" and "iface lo inet loopback" and interfaces.d is empty.
[09:57] <oerheks> webchat47, not an ubuntu issue, is it?
[09:57] <arraybolt3[m]> webchat47: Wow. That's... 😢
[09:57] <arraybolt3[m]> oerheks: Yes, ubuntu issue.
[09:57] <mncheck> arraybolt3[m], in nmtui I go edit connection for eno1 device I see ipv6 configuration set to "auotmatic" . shoul I set to "link-local" ?
[09:57] <arraybolt3[m]> oerheks: They're fighting with a device driver and were going to use Manjaro to test and see if a newer driver would even help.
[09:57] <tomreyn> mncheck: which ubuntu version are you running there, and is it ubuntu desktop or ubuntu server?
[09:58] <arraybolt3[m]> mncheck: That sounds right.
[09:58] <arraybolt3[m]> tomreyn: 20.04 Desktop.
[09:58] <mncheck> thank you
[09:58] <tomreyn> arraybolt3[m]: how do you know about desktop?
[09:59] <arraybolt3[m]> tomreyn: They said so earlier.
[09:59] <tomreyn> oh right, sorry
[09:59] <mncheck> arraybolt3[m], can I force ipv6 neighbour discovery on the interface? do I need to?
[09:59] <arraybolt3[m]> mncheck: tomreyn
[09:59] <outoftime> webchat47: have you searches for PPA's with required driver?
[09:59] <arraybolt3[m]> (Sorry, missed your message)
[09:59] <arraybolt3[m]> outoftime: I believe they did.
[10:00] <webchat47> outoftime yes, there weren't any available
[10:00] <mncheck> tomreyn, can I force ipv6 neighbour discovery on the interface? do I need to?
[10:00] <arraybolt3[m]> outoftime: It's a great idea, but sadly all the PPAs are for ancient Ubuntu releases.
[10:01] <webchat47> I was able to find a bug report for a similar webcam model posted by someone else. There was no solution.
[10:01] <webchat47> which version of Manjaro should I download?
[10:01] <webchat47> 22?
[10:01] <arraybolt3[m]> webchat47: Eh? Hold on, let me look...
[10:02] <outoftime> stable, I suppose, and latest
[10:02] <tomreyn> mncheck: how do you mean "force"? you can ping ff02::1 or ff02::2
[10:02] <tomreyn> mncheck: https://wiki.archlinux.org/title/IPv6#Neighbor_discovery
[10:02] <outoftime> webchat47: if you are going to give a try to manjaro, google for arch/manjaro for the same driver first
[10:02] <arraybolt3[m]> webchat47: What page are you on? I'm on https://manjaro.org/download/
[10:03] <arraybolt3[m]> I'll google the driver versions.
[10:03] <mncheck> tomreyn,  ping6 ff02::1%eno1 says "64 bytes from fe80::f3cc:77de:4702:e802%eno1" and "64 bytes from fe80::efea:75fc:3aa1:cb3d%eno1" ... "DUP!"
[10:04] <tomreyn> mncheck: ok?
[10:05] <webchat47> arraybolt3[m] I'm downloading from the same page, going to download Gnome Desktop Minimal
[10:06] <mncheck> tomreyn, ip -6 neigh show dev eno1 says cb3d is stale
[10:06] <arraybolt3[m]> webchat47: OK. I can't find the info outoftime was suggesting, but you should be able to just boot the live USB, then try your webcam out without installing anything and see if it works. If so, then installing a newer driver in Ubuntu may do the trick.
[10:06] <outoftime> webchat47: IMHO, if you have no reasons to use "minimal" use full
[10:06] <arraybolt3[m]> outoftime: It's just for testing, the minimal should work fine for that. it's not a distrohop, just a test.
[10:07] <outoftime> my bad
[10:07] <oerheks> " Yes, It worked when connected to USB 2.0 port <webchat47>	not working when connected to USB 3.0 ports" so it works, but just not on usb3 .????
[10:08] <oerheks> i think testing an other linux does not make a difference, be happy it works
[10:08] <tomreyn> mncheck: that's normal, but at least they're now being listed there
[10:08] <oerheks> Not all devices are backwards compatible.
[10:08] <webchat47> The new laptop that I ordered doesn't have a USB 2.0 port..
[10:09] <mncheck> tomreyn, thanks. could you recommend an address or configuration that would be persistent across reboots? I would like to ssh to a device connected directly with cable.
[10:09] <outoftime> arraybolt3[m]: about driver for ubuntu: 1. try to load compiled driver (modprobing) and ensure it word 2. write startup service to load right module from custom location to prevent file collision
[10:09] <arraybolt3[m]> oerheks: The camera also only works the first time you use it, then you have to reboot...
[10:09] <webchat47> yes
[10:09] <arraybolt3[m]> outoftime: That is GENIUS! Man, maybe I should learn Gentoo...
[10:10] <arraybolt3[m]> webchat47: outoftime just had a great idea. I don't think you need to test Manjaro at all.
[10:10] <mncheck> tomreyn, ...or should just I expect the cb3d address to persist?
[10:10] <tomreyn> mncheck: depends on how it gets its address assigned, i guess
[10:11] <outoftime> arraybolt3[m]: I'm very bad, or just a "pro"grammer, so better to ask #linux about how to do it
[10:11] <mncheck> tomreyn, so if the device runs raspbian then it depends on the rasbian configuration right?
[10:11] <tomreyn> mncheck: i don't think LL guarantees static assignment
[10:12] <arraybolt3[m]> outoftime: Is there a way to get modprobe to do what you're saying, or should insmod be used instead?
[10:12] <mncheck> tomreyn, would slaac with privacy extension be static?
[10:12] <outoftime> arraybolt3[m]: see, I felt this question
[10:13] <tomreyn> mncheck: it will depend on which address is statically configured on the device, or automatically chosen by the device, or assigned to the device
[10:13] <tomreyn> i think you really want #networking
[10:13] <mncheck> tomreyn, thank you
[10:14] <outoftime> arraybolt3[m]: maybe find <build_dir> -name '*.ko' for modules first
[10:14] <webchat47> How do I modprobe with previously complied driver?
[10:15] <outoftime> webchat47: how many of *.ko you have?
[10:18] <webchat47> outoftime 698 files https://paste.ubuntu.com/p/XMXfBnYgwQ/
[10:19] <webchat47> I need only one file for my webcam right?
[10:22] <webchat47> What IRC client do you guys use? I'm connected through the browser it keeps clearing chat history every time I refresh the page
[10:23] <outoftime> webchat47: irssi
[10:23] <webchat47> thanks, downloading now
[10:23] <dsc_> try hexchat
[10:23] <outoftime> pidgin?
[10:23] <dsc_> irssi is too difficult for noobs
[10:23] <webchat47> which has good gui?
[10:23] <dsc_> hexchat
[10:23] <outoftime> pidgin
[10:23] <arraybolt3[m]> webchat47: I used to use Quassel and Konversation.
[10:23] <arraybolt3[m]> And WeeChat. There's so many, just pick one and try it.
[10:23] <arraybolt3[m]> Konversation was the best IMO.
[10:24] <webchat47> okay I'll download
[10:24] <dsc_> run them all at once
[10:24] <arraybolt3[m]> LOL wow, that got messy fast.
[10:24] <arraybolt3[m]> dsc_ LOL wow that would be chaos
[10:24] <gpkumar> hexchat, hands down
[10:24] <gpkumar> 🫂
[10:24] <outoftime> webchat47: some of those are for dvd player, so yes, looks like you definitely don't need all of them
[10:25] <arraybolt3[m]> I'm using Element right now (Matrix chat, bridged to IRC).
[10:25] <gpkumar> or you can even use web.libera.chat
[10:25] <arraybolt3[m]> outoftime: There's even a warning in the instructions that loading ALL of the modules is a bad idea.
[10:26] <outoftime> gpkumar: > I'm connected through the browser it keeps clearing chat history every time I refresh the page
[10:26] <outoftime> arraybolt3[m]: IMHO v4l is what is needed
[10:28] <arraybolt3[m]> outoftime: Since they've mentioned UVC a few times, I think it's ./v4l/uvcvideo.ko
[10:28] <arraybolt3[m]> outoftime: v4l... well no kidding but which one?! 🤣
[10:30] <outoftime> webchat47: can you diff modules you have in /lib/modules/ and one you have build? Something like diff <(find ... | sort) <(find ... | sort) or just find .. > f1 && find ... > f2 and diff <(sort f1) <(sort f2)
[10:30] <arraybolt3[m]> outoftime: I think that might be a bit over their head... I know it mostly flew over mine.
[10:31] <webchat47> @out
[10:31] <webchat47> outoftime I'll check now
[10:32] <routebee> doosboox, I have no meaningful experience
[10:32] <outoftime> webchat47: no spaces here "<(" it is redirect from FD
[10:33] <routebee> I worked in network support in the 90's and then scitzed and started hearing voices
[10:34] <routebee> i just started a medication that has cured me and I'm starting a computer science degree next month
[10:34] <outoftime> routebee: voices of Stolman and Linus?
[10:34] <routebee> hah
[10:35] <outoftime> routebee: don't mind me, but maybe you really heard them, just have thought they are in your head
[10:35] <routebee> no i believe that its telepathy
[10:35] <outoftime> holly Stolman
[10:35] <routebee> my shrinks dont accept that that is a possibility
[10:36] <routebee> and its a bad line
[10:36] <routebee> its great not to have them anymore though
[10:36] <routebee> its given me a new lease on life
[10:36] <webchat47> I have these files https://paste.ubuntu.com/p/jygbRkz9Y9/ in /lib/modules/
[10:37] <outoftime> webchat47: I want you to have only one module above what you already have so that I can say: here it is - the module you have to load
[10:37] <arraybolt3[m]> OK, I'll diff them real quick.
[10:38] <webchat47> I'm not sure where I can find that in build folder
[10:38] <outoftime> arraybolt3[m]: you can 'sed "<"d' to clear all lined from left of right side
[10:38] <outoftime> webchat47: you already posted them
[10:38] <arraybolt3[m]> webchat47: Uhh, that's not the right data. That tells me what all kernels you have, but no the modules within.
[10:38] <webchat47> oh those ko files?
[10:39] <outoftime> webchat47: yes, *.ko inside /lib/modules/
[10:39] <webchat47> there aren't nay
[10:39] <webchat47> any*
[10:39] <arraybolt3[m]> outoftime: You're gonna love this, but Ubuntu does have the modules in /lib/modules...
[10:39] <arraybolt3[m]> s/does/doesn't
[10:40] <webchat47> Did I do anything wrong?
[10:40] <webchat47> I mean delete those files?
[10:40] <arraybolt3[m]> Nope. Just different systems working different ways.
[10:40] <arraybolt3[m]> NO DON'T DO THAT.
[10:40] <webchat47> okay
[10:41] <arraybolt3[m]> What files were you going to delete?
[10:42] <webchat47> I meant to delete all those .ko files except one with uvcvideo.ko
[10:42] <arraybolt3[m]> No, I don't think that's necessary.
[10:42] <outoftime> webchat47: are they hurting you? let them be for a while
[10:42] <webchat47> No no
[10:43] <webchat47> I don't change anything
[10:43] <outoftime> webchat47: right now you can try to load that uv something module
[10:43] <outoftime> arraybolt3[m]: do you know where modules are in ubuntu?
[10:43] <webchat47> Sorry I don't know
[10:43] <arraybolt3[m]> Still looking, I think I'm almost there though.
[10:44] <arraybolt3[m]> Oh wait I found them. I've been looking in ancient kernel module leftover directories.
[10:44] <outoftime> webchat47: can you show us lsmod ?
[10:44] <webchat47> okay
[10:44] <arraybolt3[m]> They're in /lib/modules/$(uname -r) .
[10:45] <arraybolt3[m]>  /lib/modules/$(uname -r)/kernel I mean
[10:45] <webchat47> https://paste.ubuntu.com/p/4kDvbdBFYj/ lsmod output
[10:45] <outoftime> arraybolt3[m]: find will find them , prefix is corrent, brah
[10:46] <arraybolt3[m]> Here's where the uvcvideo.ko driver is: /usr/lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/
[10:48] <arraybolt3[m]> outoftime: So here's a question for you. Will "cd /usr/lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc && sudo mv uvcvideo.ko uvcvideo.ko.bak && sudo cp /path/to/compiled/uvcvideo.ko ./uvcvideo.ko" back up the driver and put in the new one? Will that work?
[10:48] <outoftime> webchat47: try modprobe -r uvcvideo
[10:48] <weedmic> I have an empty file on a remote machine - i need to fill it with 1 line of text, but cannot use any pipes.  any ideas?
[10:49] <webchat47> outoftime okay trying
[10:49] <outoftime> webchat47: echo > file
[10:49] <outoftime> weedmic: echo > file
[10:49] <outoftime> weedmic: printf "\n" > file
[10:50] <webchat47> modprobe -r uvcvideo > file.txt ?
[10:50] <weedmic> trying echo
[10:50] <outoftime> webchat47: not for you, sry
[10:50] <arraybolt3[m]> webchat47: No, they accidentally misdirected their message.
[10:50] <webchat47> ohh okay
[10:50] <outoftime> arraybolt3[m]: I'm he pls
[10:50] <arraybolt3[m]> outoftime: Absolutely.
[10:51] <arraybolt3[m]> (I always default to "they" if I don't know your gender, I figure that way I can't mess up too badly...)
[10:51] <webchat47> Should I use sudo for modproble?
[10:51] <webchat47> modprobe: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'uvcvideo': Operation not permitted
[10:51] <arraybolt3[m]> webchat47: Yes.
[10:51] <webchat47> okay
[10:52] <webchat47> it ran without giving any output
[10:52] <arraybolt3[m]> outoftime: Won't that modprobe command load the installed module, not the compiled one? modprobe doesn't look in the current directory AFAIK.
[10:53] <outoftime> webchat47: ok, you have unloaded uvcvideo module
[10:53] <webchat47> and I'm not in that directory as well
[10:53] <outoftime> webchat47: not you need to load your custom one
[10:53] <webchat47> okay
[10:53] <outoftime> *now
[10:53] <arraybolt3[m]> outoftime: Oh, you did -r, sorry
[10:53] <webchat47> yes
[10:54] <webchat47> how to load new driver?
[10:55] <outoftime> webchat47: cp path/to/uvcvideo.ko /lib/modules/$(uname -r)/unvcideo2.ko
[10:55] <weedmic> trying echo atm
[10:56] <outoftime> weedmic: what is that task for?
[10:56] <outoftime> webchat47: misstyped module name, I meant v2 for module name to resolve naming colision
[10:57] <webchat47> okay
[10:57] <outoftime> webchat47: then modprobe <mod name> and unplug/plug camera
[10:57] <outoftime> and open tail -f dmseg somewhere
[10:57] <weedmic> tried this - echo {"site":"groupalpha","broker": {"url":"tls://broker.jonkheer.network"}} >>/opt/shield/shield.new , but did not work file is empty
[10:58] <outoftime> weedmic:  do you have rights for /opt?
[10:58] <oerheks> weedmic, likely you need root priv for that folder.
[10:58] <outoftime> weedmic: try with sudo echo
[10:58] <outoftime> weedmic: or sudo -u <user> echo...
[10:59] <weedmic> i have all rights, but the connection method is basically line in line out - no dialogue
[10:59] <arraybolt3[m]> weedmic: On Ubuntu, sudo echo will probably fail, you may need to do "sudo -E bash" and then echo.)
[10:59] <weedmic> i am root - sudo is not an option as one cannot input a password
[10:59] <weedmic> it's not bash
[10:59] <arraybolt3[m]> Ah.
[10:59] <oerheks> then you are not root.
[11:00] <outoftime> weedmic: can you lauch bash/sh? what do you have ? Any shell interpreter?
[11:00] <weedmic> i think echo would work, but... it's not just text
[11:00] <webchat47> @out
[11:00] <weedmic> no i am root
[11:00] <webchat47> outoftime modprobe uvcvideo2 ?
[11:00] <outoftime> weedmic: do you have vi/nano?
[11:00] <weedmic> created file w touch
[11:00] <outoftime> weedmic: yes, v2
[11:00] <weedmic> it's stdin stdout only
[11:00] <webchat47> okay
[11:01] <weedmic> if i put \{ like things might the echo work?  i don't knwo much about echo :(
[11:01] <weedmic> the quotes are probably very bad for it
[11:01] <outoftime> weedmic: do you mean your connection or server inter proccess communication can not do both stdin/out ?
[11:01] <webchat47> outoftime modprobe: FATAL: Module uvcvideo2 not found in directory /lib/modules/5.13.0-48-generic
[11:02] <outoftime> webchat47: verify paths
[11:02] <webchat47> I think it is inside /lib/modules/$(uname -r)/uvcvideo2.ko
[11:02] <outoftime> webchat47: ls /lib/modules/$(uname -r)/<name.ko>
[11:02] <weedmic> outoftime: no i mean i can do a command in and see the result, no boustrophendic connection like a konsole
[11:02] <outoftime> webchat47: use tab for compleation
[11:03] <weedmic> cannot answer prompts - things like that
[11:03] <webchat47> okay
[11:03] <weedmic> I"m going to see if I can use ftp to put a file there already full - bbl - can post ideas though - appreciated
[11:03] <outoftime> weedmic: what cat $SHELL says?
[11:03] <webchat47> modprobe /lib/modules/5.13.0-48-generic/uvcvideo2.ko ?
[11:04] <outoftime> weedmic: I mean echo $SHELL
[11:04] <outoftime> webchat47: no, only name without .ko
[11:05] <outoftime> webchat47: just verify you spell it correctly
[11:05] <weedmic> there is no shell, i login, issue a command, get an output, but since you asked - Output: Errors: cat: '$SHELL': No such file or directory
[11:06] <outoftime> weedmic: echo $PATH ?
[11:07] <weedmic> let's go back to ways to insert a line into text with one line command without pipes where that lines has '}/ chars
[11:07] <webchat47> "modprobe: FATAL: Module uvcvideo2 not found in directory /lib/modules/5.13.0-48-generic" But the file is present
[11:07] <outoftime> weedmic: echo ';asldfj;asdlfjas;dlfjk;}///' > file <<< single quote here is a wraper
[11:07] <webchat47> $ ls /lib/modules/$(uname -r)/uvcvideo2.ko
[11:08] <webchat47> it gives the correct path
[11:08] <outoftime> webchat47: uname -r gives same kernel version?
[11:08] <webchat47> yes
[11:08] <weedmic> will try that - i just creatd the file and was about to upload it fia ftp _if that is possible
[11:09] <webchat47> https://paste.ubuntu.com/p/yTxTy75qjC/ paths are correct
[11:10] <outoftime> webchat47: try insmod $PWD/path/to/<mod.ko>
[11:11] <webchat47> okay
[11:13] <webchat47> "insmod: ERROR: could not insert module /lib/modules/5.13.0-48-generic/uvcvideo2.ko: Unknown symbol in module"
[11:14] <Bugies> modprobe expects an up-to-date modules.dep.bin file as generated by the
[11:14] <Bugies>        corresponding depmod utility shipped along with modprobe
[11:17] <weedmic> grr - ftp is not an option either - i'm going to try with just the word test
[11:17] <webchat47> how to update modules.dep.bin ?
[11:19] <Bugies> sudo depmod -a
[11:20] <weedmic> will have to retrieve the computer and do it via uart
[11:20] <weedmic> tks 4 the effort/ideas
[11:21] <outoftime> Bugies: if you haven't followed, webchat47 tries to install driver for his webcam, he already (somehow) managed to compile drivers, now he is trying if they are working at all
[11:23] <oerheks> driver works on usb2, he thinks a better driver works on usb3 too.. i doubt a driver can fix this hardware issue.
[11:23] <webchat47> outoftime "modprobe: ERROR: could not insert 'uvcvideo2': Invalid argument" '=(
[11:24] <oerheks> Hikvision DS-U02 .. not much info or bugreports about this device
[11:25] <outoftime> webchat47: have you tried depmod before modprobe <name v2> ?
[11:25] <webchat47> no
[11:25] <webchat47> i tried modproble uvcvideo2 first then it gave invalid path.
[11:26] <webchat47> Then I executed sudo depmod -a
[11:26] <outoftime> and modprobe again
[11:26] <webchat47> Now modprobe uvcvideo2 is giving different error
[11:27] <Bugies> outoftime  that should fix the symbol if used with corect kernel headers
[11:27] <outoftime> webchat47: show pls
[11:27] <webchat47> modprobe: ERROR: could not insert 'uvcvideo2': Invalid argument
[11:29] <webchat47> Bugies I think this is the issue because I modified uvcvideo package built for 5.19  to build on my machine running 5.13.0-48-generic.
[11:29]  * outoftime finaly have gdm up and running, now I can google, at least
[11:30] <oerheks> seriously.. built for 5.19 ?
[11:30] <outoftime> oerheks: yes
[11:30] <webchat47> Yeah
[11:31] <webchat47> Now, where can I find distros with 5.19 kernel to try that latest driver '=( '=(
[11:31] <webchat47> I'll resume manjaro download
[11:32] <oerheks> 5.19 is in development, i think you are way off
[11:33] <oerheks> and ... driver works on usb2 .. i doubt a new driver can fix this hardware issue.
[11:33] <outoftime> webchat47: can you link once more the docs you've been following to build source code?
[11:33] <outoftime> no need
[11:34] <webchat47> https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules
[11:34] <outoftime> webchat47: again, who tald you to install new drivers?
[11:37] <webchat4786> outoftime Hikvision technical support
[11:38] <outoftime> webchat4786: you had usb2 and webcam worked for it, but now you have brand new notebook with only usb3 and this is an issue for you, right?
[11:39] <webchat4786> Here is their email https://imgur.com/a/I02nGsE
[11:40] <webchat4786> outoftime yeah
[11:41] <Bugies> webchat4786, Special case: If your system uses compressed kernel modules: (eg. unknown symbol or unknown parameter).
[11:41] <webchat4786> I don't know about that
[11:41] <webchat4786> It is running Ubuntu 20.04 LTS
[11:43] <Bugies> webchat4786, . If the system attempts to concurrently load both sets into memory, you are bound to run into modprobe insertion errors
[11:45] <webchat4786> I guess this webcam won't work, Next time I'll buy a compatible webcam
[11:45] <outoftime> https://www.hikvision.com/europe/products/Turbo-HD-Products/Turbo-HD-Cameras/webcam-series/ds-u02/ there are some firmware
[11:47] <webchat4786> There's a .img file in that
[11:47] <outoftime> yes
[11:47] <webchat4786> I don't know how to use that
[11:48] <webchat4786> dfu-util ?
[11:48] <outoftime> webchat4786: can you modprobe <removed module> then tail -f dmesg and plug web cam?
[11:49] <webchat4786> okay
[11:49] <outoftime> webchat4786: https://wiki.ubuntu.com/Kernel/Firmware
[11:50] <webchat4786> modprobe: ERROR: could not insert 'uvcvideo': Invalid argument
[11:50] <webchat4786> Its not working for removed module
[11:53] <outoftime> webchat4786: can you reboot ?
[11:54] <webchat4786> okay
[11:58] <outoftime> webchat4786: after reboot look at dmesg for errors, and "$ dmesg --follow-new  # same as -W" then plug web cam
[12:02] <arraybolt3[m]> outoftime: Maybe webchat4786 isn't using "sudo" with the modprobe commands - I just did "sudo modprobe -r uvcvideo" followed by "sudo modprobe uvcvideo" and it worked just fine on my system.
[12:03] <outoftime> arraybolt3[m]: he is rebooting for a very long time...
[12:03] <outoftime> 10 m already
[12:03] <outoftime> doesn't looks like brand new notebook at all
[12:04] <webchat47> Hi,  I just reboot my laptop..
[12:04] <outoftime> webchat4786: after reboot look at dmesg for errors, and "$ dmesg --follow-new  # same as -W" then plug web cam
[12:05] <webchat47> This have changed, my external monitor resolution dropped to 720p and laptop monitor is not detected
[12:05] <webchat47>  Checking dmesg
[12:09] <outoftime> webchat47: remove that v2.ko from /lib/modules/ (mv ... /tmp)
[12:09] <webchat47_laptop> https://paste.ubuntu.com/p/7Qrg29nRYz/ after connecting webcam
[12:09] <mncheck> to have a deterministic ipv6 address on ubuntu focal desktop with "Linux 4.15.0-184-generic"  I tried "sudo ip link set eno1 addrgenmode stable_secret" but got "RTNETLINK answers: Invalid argument". how can I have a deterministic ipv6 address for link-local use on a wired ethernet network interface?
[12:10] <webchat47_laptop> I'm removing that v2 file now
[12:10] <arraybolt3[m]> webchat47_laptop: Looks like it was recognized.
[12:12] <webchat47_laptop> It get's recognized but doesn't work
[12:12] <outoftime> webchat47_laptop: define "doens't work" pls
[12:12] <outoftime> webchat47_laptop: can you launch "cheese"  app ?
[12:12] <BluesKaj> Hi all
[12:12] <webchat47_laptop> I mean, I won't be able to access that webcam anywhere
[12:13] <webchat47_laptop> cheese works just for internal camera
[12:14] <outoftime> webchat47_laptop: have you tried it now?
[12:14] <webchat47_laptop> Failed to set UVC probe control : -110 (exp. 26). I get that error in dmesg
[12:14] <webchat47_laptop> I just did
[12:14] <webchat47_laptop> Internal camera is working fine but not external
[12:15] <outoftime> webchat47_laptop: what lspci says?
[12:15] <webchat47_laptop> I don't know why my display settings got screwed up, my 2k monitor is now running at 720p. The internal monitor is turned off and seems like some issue with Nvidia
[12:16] <webchat47_laptop> lspci
[12:16] <webchat47_laptop> https://paste.ubuntu.com/p/RMjxw4pRSK/
[12:16] <outoftime> webchat47_laptop: yes, I'm conserned about nvidia too
[12:17] <webchat47_laptop> I'll restart my laptop again
[12:17] <webchat47_laptop> to see if it works
[12:18] <outoftime> webchat47_laptop: have you done # depmod ?
[12:19] <webchat47_laptop> Yes
[12:20] <webchat47_laptop> I just removed v2 from /lib/modules and running depmod again
[12:20] <webchat47_laptop> I'm restarting my laptop now, I'm also connected via my phone to this chat
[12:21] <outoftime> webchat47: I'll reboot too
[12:21] <webchat47> Okay
[12:31] <webchat47> HDMI Port stopped working 😬
[12:31] <webchat47> External monitor has no signal
[12:32] <outoftime> ctrl+alt+f1-5 (delay few seconds why trying)
[12:32] <arraybolt3[m]> webchat47: Wow, great. This is a mess. Can you pastebin the output of "apt list --installed | grep nvidia"?
[12:32] <webchat47> Yeah 1 min
[12:37] <webchat47_laptop> https://paste.ubuntu.com/p/k8bb8WHBhS/
[12:38] <ioria> too many drivers
[12:39] <webchat47_laptop> Shall I set one from settings?
[12:40] <ioria> webchat47_laptop, i suggest to purge that all, reboot and install just one
[12:40] <outoftime> purge, install, restart
[12:41] <webchat47_laptop> How do I purge?
[12:41] <ioria> webchat47_laptop, what's your problem exactly ?
[12:42] <arraybolt3[m]> sudo apt purge nvidia-driver-450 nvidia-driver-460 nvidia-driver-470 && sudo apt autoremove && sudo apt install nvidia-driver-470 && reboot
[12:42] <ioria> instead of autoremove, i'd say 'sudo apt autopurge'
[12:42] <arraybolt3[m]> ioria: Which one, the part where nvidia threw a fit, or the one where this webcam driver has been fighting the five of us for hours?
[12:43] <ioria> arraybolt3[m], webcam driver ?
[12:44] <arraybolt3[m]> ioria: Autopurge is a thing? Didn't know that. Cool.
[12:44] <ioria> yeah, it's new
[12:44] <outoftime> ioria: man has https://www.hikvision.com/europe/products/Turbo-HD-Products/Turbo-HD-Cameras/webcam-series/ds-u02/ and it is not working
[12:45] <ioria> ah
[12:45] <arraybolt3[m]> ioria: It's an entire saga. I'd read through the IRC logs. Long story short, unhelpful technical support told webchat47 to upgrade a driver to make a webcam work, and it's been hours of trying to get it to work. We had to mod the driver source code at one point (?!)
[12:45] <ioria> yeah, i remember it's a kernel problem, i guess ; he needs a different (newest) one
[12:46] <webchat47> Yeah after restart Nvidia stopped
[12:46] <ioria> webchat47, what's your kernel ?
[12:46] <webchat47> 5.13 Ubuntu 20.04 lts
[12:46] <arraybolt3[m]> webchat47: "uname -r" will tell you that.
[12:48] <webchat47_laptop> 5.13.0-48-generic
[12:48] <ioria> webchat47, i posted you this, the other day : https://lore.kernel.org/all/33efe80e-9667-ffd0-49cc-541ebd9ff586@freezy.cz/T/
[12:48] <arraybolt3[m]> ioria: We really need to make an easy driver installer or something. It was literally easier to install Arch Linux my first time, than to get this driver into some semblance of working.
[12:49] <webchat47_laptop> ioria the vendor told me to install latest uvc driver
[12:49] <ravage> if you dont mess around with any manual driver installs for nvidia you open "additional drivers", select it and it works
[12:50] <ioria> webchat47_laptop, the latest is probably in the latest kernel, i'am afraid
[12:50] <ioria> webchat47_laptop, so 5.13 is NOT the latest
[12:51] <ioria> webchat47_laptop,  i don't know if i'am making sense for you .... you need another kernel
[12:51] <arraybolt3[m]> webchat47_laptop: Did Manjaro ever download? If so, flash it to a USB, boot from it, and see if your webcam works there. If not, then it's unlikely that this webcam is going to work even with the updated driver.
[12:51] <ravage> also, did you try the 22.04 live usb?
[12:52] <ioria> he need something above 51.6
[12:52] <webchat47> Downloading now
[12:52] <ioria> 5.16
[12:54] <gpkumar> what's your laptop model?
[12:54] <webchat47> Removed Nvidia drivers and selected open-source driver and rebooting now
[12:55] <ioria> i'am not sure it's an nvidia problem
[12:55] <oerheks> ioria +1
[12:55] <ioria> it's a kernel problem
[12:56] <oerheks> at least it is not a webcam issue.
[12:56] <arraybolt3[m]> ioria: He's dealing with two issues - one is the webcam, the other is his video's gone crazy.
[12:56] <webchat47> While making changes for webcam, settings got messed up
[12:56] <ioria> oh, i see
[12:56] <ioria> ok
[12:57] <arraybolt3[m]> oerheks: LOL lets hope, if even Manjaro doesn't let the webcam work, it might be the webcam that's the problem!
[12:57] <webchat47> My laptop is detecting only one display
[12:57] <webchat47> What could be the issue?
[12:57] <oerheks> arraybolt3[m], that we already found out, it is not backwards compatible with usb3
[12:58] <ioria> webchat47, you probably need again nvidia: dpkg -l | grep nvidia | nc termbin.com 9999
[12:58] <arraybolt3[m]> webchat47: That may be because now you're on the open-source driver. Try going to the proprietary driver with the biggest number (I think 470) and see if that makes it right.
[12:58] <arraybolt3[m]> oerheks: I thought even with USB2 it was having issues.
[12:59] <arraybolt3[m]> IIRC, the camera would work the first time over USB2, but then not work anymore until the system was rebooted.
[12:59] <webchat47> If I plug in HDMI while starting the laptop then my external monitor detected and internal monitor won't turn on. Still resolution is poor 720p
[13:00] <oerheks> look for a FN + screen key combo, or go into settings > displays
[13:00] <arraybolt3[m]> webchat47: To me that sounds like the open source drivers aren't working, and your system had somehow fallen back to them before we purged all the nvidia stuff.
[13:00] <ioria> webchat47, dpkg -l | grep nvidia | nc termbin.com 9999
[13:01] <webchat47> Installing nvidia driver from software & updates
[13:05] <webchat47> https://termbin.com/8f8t0
[13:06] <ioria> bad, leftovers and broken package
[13:06] <arraybolt3[m]> ?! That's one motley mess of driver soup. I think you may not have purged everything.
[13:06] <webchat47_laptop> should I remove them all?
[13:06] <webchat47_laptop> I'll do it now
[13:12] <webchat47_laptop> I can't uninstall those drivers https://paste.ubuntu.com/p/PD67DHP4YQ/
[13:15] <Necm> hi
[13:15] <arraybolt3[m]> Where did you get those driver from? The main repositories, or the graphics drivers PPA?
[13:15] <Necm> i have a problem about email server
[13:15] <Necm> how i can enabled my email server ?,
[13:16] <outoftime> also, IMHO manjaro uses 5.15
[13:17] <webchat47> Yeah
[13:18] <arraybolt3[m]> webchat47: Don't know who you're answering or what answer.
[13:19] <webchat47_laptop> arraybolt3[m]: I'm trying to uninstall all nividia drivers
[13:19] <arraybolt3[m]> Did you get them from the main repositories?
[13:20] <webchat47_laptop> I think they were downloaded from software & updates
[13:20] <arraybolt3[m]> Really, though, I don't know what to do to fix that error, I just think that maybe someone botched something and that's what's causing it.
[13:22] <webchat47_laptop> I don't know, I'll try bring everything back to how it was before
[13:22] <webchat47_laptop> Sorry, I feel bad for wasting your time. I'll buy a new webcam.
[13:23] <arraybolt3[m]> Don't feel bad! We're here for a reason, and trying to wrangle stuff like this is the reason!
[13:23] <tomreyn> Necm: which ubuntu version are you asking about? do you mean to run a mail server yourself, or access your email from ubuntu desktop?
[13:23] <arraybolt3[m]> Just because this particular problem was tougher than expected doesn't mean it was a waste.
[13:25] <outoftime> webchat47_laptop: do you have proper separation on /boot / and /home in fstab?
[13:25] <webchat47_laptop> outoftime No, that was the mistake I made while installing Ubuntu.
[13:26] <arraybolt3[m]> outoftime: Ubuntu usually plops everything in /.
[13:26] <oerheks> ubuntu installs in one partition, nowadays.
[13:26] <webchat47_laptop> Later I found out it would save myself from such troubles by just reinstalling the OS
[13:26] <oerheks> including swapfile, instead of swap partition
[13:27] <webchat47_laptop> I have an external HDD, shall I take my files back up and install fresh?
[13:28] <outoftime> oerheks: I do use swap file, btw
[13:30] <webchat47_laptop> If I take a backup of home directory, I get all files right?
[13:30] <webchat47_laptop> except OS and other changes?
[13:32] <outoftime> webchat47: all configurations of DE and user's software goes into $HOME.
[13:33] <webchat47> Ohh, then I'll take its backup
[13:34] <outoftime> I suppose you can make / and /home for now and, install ubuntu into / and just add line in fstab for /home
[13:34] <outoftime> ... after install
[13:34] <webchat47> Are there any Softwares that make backup and restore easy?
[13:34] <outoftime> tar
[13:34] <oerheks> filemanager is awesome
[13:35] <outoftime> webchat47: can you make new partition and move your files there?
[13:35] <webchat47> I have dual boot so Ubuntu is running from single partition.
[13:36] <webchat47> I'm planning to move $HOME to my external SSD
[13:36] <webchat47> HDD*
[13:37] <outoftime> Not the best idea
[13:37] <outoftime> Better to move $HOME/Video and $HOME/Audio to HDD
[13:37] <outoftime> $HOME dir have a lot of configuration file you don't wont to wait to get access to
[13:38] <outoftime> e.g. chromium stores a lot of info in $HOME/.config
[13:38] <ravage> also your laptop will not work without that external drive anymore at all
[13:38] <outoftime> ravage: will, but not specific user
[13:38] <ravage> i think 99% of desktop users have exactly one
[13:51] <varaindemian> anything wrong wit hadding debs like this? https://github.com/doomedraven/Tools/blob/8e537f2ff6216330e1db72233e90d9e757a526b8/Sandbox/cape2.sh#L608
[13:51] <varaindemian>     wget -qO - https://www.mongodb.org/static/pgp/server-${MONGO_VERSION}.asc | sudo apt-key add -
[13:51] <varaindemian>     echo "deb [ arch=amd64 ] https://repo.mongodb.org/apt/ubuntu $(lsb_release -cs)/mongodb-org/${MONGO_VERSION} multiverse" | sudo tee /etc/apt/sources.list.d/mongodb.list
[13:56] <oerheks> sudo apt-key add -  is depreciated
[13:56] <oerheks> https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html
[13:56] <oerheks> wget -O- <https://example.com/key/repo-key.gpg> | gpg --dearmor | sudo tee /usr/share/keyrings/<myrepository>-archive-keyring.gpg
[13:59] <tomreyn> varaindemian: generally speaking, it's fine to use third party apt repositories if they are compatible to your ubuntu release. it's not supported, though, unless the repository provider also provides support.
[14:11] <outoftime> arraybolt3[m]: I'm using gentoo because of amount of control you have over your system and if you messed up like webchat47 with drivers you can fix it without reinstalling distribution. I changed my ubuntu 14.04/16.04 just because of that reason. Debian looked like much more stable but it haven't saved me from very same problem. Gentoo is way for "harder" but it only in terms of docs to read. Still one
[14:11] <outoftime> can argue that any Debian user have to read manual, but have to doens't mean "will". In case of gentoo have to means you have no choice (:
[14:11] <oerheks> ...
[14:11] <webchat47> I uninstalled all Nvidia drivers and restarted.. now the boot screen is stuck on Blinking cursor
[14:12] <webchat47> I'm able to enter terminal by pressing ctrl+alt+F3
[14:12] <ravage> webchat47, check if all nvidia packages are gone. then do "sudo ubuntu-drivers install"
[14:13] <webchat47> Dpkg is giving error
[14:14] <ravage> the error message would be very helpful
[14:14] <webchat47> Sure I'll send
[14:14] <webchat47> Laptop is connected to my wifi
[14:14] <webchat47> I'm just missing GUI
[14:15] <webchat47> How do I start desktop environment?
[14:15] <ravage> not at all at the moment i guess
[14:15] <ravage> what is the dpkg error?
[14:15] <webchat47> Ohh
[14:15] <webchat47> I'm taking photo on my phone and sharing
[14:16] <ravage> you can use termbin if you are online
[14:16] <ravage> apt list --installed|grep nvidia | nc termbin.com 9999
[14:16] <ravage> for example
[14:16] <ravage> will show if any nvidia packaged are still installed
[14:17] <ravage> apt list --installed|grep nvidia | tee nc termbin.com 9999
[14:17] <ravage> ok that does not work
[14:17] <ravage> ignore the last command :P
[14:18] <ravage> in general adding "| nc termbin.com 9999" to your command will generate a link with the outpur
[14:19] <webchat47> Okay
[14:19] <student> hi
[14:19] <student> anyone here
[14:20] <ravage> !ask | student
[14:20] <webchat47> termbin.com/3nah
[14:20] <ravage> ok. so we have to get rid of those packages
[14:21] <ravage> sudo apt remove --purge nvidia-340 nvidia-opencl-icd-340 nvidia-settings
[14:22] <webchat47> Running that command now
[14:24] <webchat47> Now all Nvidia packages are removed
[14:24] <webchat47> What should I do next?
[14:24] <ravage> now: sudo ubuntu-drivers install
[14:25] <webchat47> Okay
[14:25] <webchat47> I got an error
[14:26] <webchat47> I'll send wait
[14:27] <webchat47> termbin.com/z61a
[14:28] <webchat47> These get installed by Ubuntu but installation breaks in between
[14:29] <ravage> i need the error. not the installed packages
[14:30] <ravage> also "lspci|grep VGA|grep NVIDIA|nc termbin.com 9999" please
[14:32] <oerheks> ravage +1, what nvidia gpu indeed
[14:32] <oerheks> maybe it is so old, it needs the 340
[14:33] <ravage> maybe it really works better with nouveau
[14:34] <ravage> we will see if he returns :)
[14:44] <webchat47> How do I connect to this IRC from Android app?
[14:44] <webchat47> I'm using revolution IRC
[14:45] <ravage> https://libera.chat/guides/connect
[14:45] <llanhmod> webchat47: most use irccloud or some other web client
[14:45] <webchat47> Ohh
[14:46] <webchat47> I'll download
[14:46] <ravage> you can connect with revolution IRC
[14:46] <ravage> i use it too
[14:46] <ravage> just enter the server information
[14:46] <rrr> hello all. I get an error when I try to upgrade because mysql isn't configure, so the mysql server fails with an error 22 (invalid argument) - I cannot seem to uninstall mysql-server-8.0 because of this? Is there a remedy, either to configure it or uninstall it?
[14:47] <ravage> rrr, upgrade from which Ubuntu version to which one? what is the exact error message you get?
[14:51] <rrr> I meant to say update. I forget these things, I'll pastebin the error message.  https://nn2.us/pastebin/2zz9/ it suggests I check the error log. I don't know which one yet.
[14:51] <transhumanist> if this isnt the right channel to figure out what the issue it with a debian deboostrap running from ubuntu, then let me know--sorry in advance (debian folks sent me here) . https://bpa.st/JTOQ << any idea what causes this seems a loop of symbolic links and might be why I cant properly dismount a chroot
[14:53] <transhumanist> /usr/sbin/debootstrap --arch amd64 --variant minbase buster buster-uml http://deb.debian.org/debian   << is the deboostrap command in my script
[14:53] <rrr> ravage: the mysql error log says "Failed to initialize DD Storage Engine" and suggests Log file ./ib_logfile1 is of diferent size 0 bytes than other log files. http://nn2.us/pastebin/6411
[14:54] <alkisg> transhumanist: what command did you use, and what's the file system of /root?
[14:54] <alkisg> E.g. if you're in a container with overlayfs etc, you should mention it
[14:54] <ravage> rrr, do you need the sql server and its data?
[14:54] <rrr> ravage, no. I would just uninstall if I cannot fix.
[14:54] <transhumanist> not sure what you mean an overlayfs? can you clarify?
[14:55] <ioria> rrr, using zfs or lxc ?
[14:55] <rrr> zfs
[14:55] <ioria> it's a bug
[14:55] <darshan> Hello, I'm connecting from my mobile app
[14:56] <ioria> rrr,  ls -l /var/lib/mysql/ib_logfile*
[14:56] <lotuspsychje> welcome darshan
[14:56] <darshan> I'm webchat47
[14:56] <transhumanist> alkisg: I rsynced it to an img file and chroot in the image file , shouldnt affect the original deboostrap
[14:57] <darshan> I was asking about removing all Nvidia drivers and reinstalling them
[14:57] <ravage> rrr, you could try to locate the postrm script for the package that fails in var/lib/dpkg/info/
[14:57] <ravage> put "exit 0" in there as the first command
[14:58] <rrr> ravage, I'll check that.. There are two log files ib_logfile0 and ib_logfile1 http://nn2.us/pastebin/a72w
[14:58] <darshan> I can't boot into gui, I'm able to enter terminal using ctrl+alt+f3
[14:58] <ioria> rrr,  truncate -s 128M /var/lib/mysql/ib_logfile*
[14:58] <ravage> rrr, if you dont care about the data i would not mess around with the actual data files
[14:59] <ravage> just get rid of the server :)
[14:59] <lotuspsychje> darshan: sudo lshw -C video, to see wich driver your card picked up or not
[14:59] <ravage> you can cleanup /var/lib/mysql manually afterwards
[14:59] <rrr> I can't seem to uninstall it.
[15:00] <ioria> rrr, did you run the cmd ?
[15:01] <darshan> lotuspsychje: checking
[15:01] <rrr> that did work
[15:01] <rrr> oops, the exit 0 in the postrm file technique worked.
[15:01] <rrr> ioria the truncate -s 128M command didn't
[15:02] <ravage> see if "apt autoremove" wants to clean anything up
[15:02] <alkisg> transhumanist: rsync can fail in many ways if the proper parameters aren't used. I'd suggest to use tar or mksquashfs to transfer the image
[15:02] <ravage> then you can delete the /var/lib/mysql directory if you dont need the data
[15:03] <transhumanist> so rsync will affect the orginal deboostrap?
[15:03] <darshan> lotuspsychje:  I see two display, nvidia and intel both are unclaimed
[15:03] <transhumanist> ah yes I see, your right ! thanks
[15:03] <ravage> rrr, if you want to use mysql again maybe use mariadb next time
[15:03] <rrr> ok, I chose to use mongodb for my url shortener
[15:03] <alkisg> transhumanist: also when rsyncing, you shouldn't include the special directories like /dev if they're mounted
[15:03] <lotuspsychje> darshan: unclaimed means the driver didnt load properly, so try switching to whatever you tryed last
[15:04] <transhumanist> rsync -raHAXS  buster-uml/ root_fs/   << this is what I was using
[15:04] <darshan> lotuspsychje: I need to install nvidia drivers that I removed previously
[15:05] <alkisg> transhumanist: and was buster-uml running (with /run mounted) etc when you used that command, or was it offline?
[15:05] <rrr> ravage, ioria: thank you, for your assistance today.
[15:05] <darshan> Ubuntu-driver install is using cached drivers, how to clear them and download fresh?
[15:06] <transhumanist> hmm, it SHOULD be offline, looking at my script unless there is a lock by the original deboostrap command
[15:06] <ravage> rrr, no problem :)
[15:06] <ioria> https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1969247
[15:06] <darshan> ravage: hey, you had sent an command to install nvidia drivers, could you please send that again?
[15:07] <lotuspsychje> darshan: could you share your dmesg in a paste please so the volunters can see whats going on, not loading your graphics drivers?
[15:07] <darshan> I can't copy from CLI
[15:07] <darshan> Mouse is not working
[15:08] <darshan> How can I share?
[15:08] <arraybolt3[m]> darshan: A picture of the pastebin URL is enough, or you can type it if you prefer.
[15:08] <arraybolt3[m]> darshan: You can make a paste by doing "dmesg | nc termbin.com 9999"
[15:09] <darshan> arraybolt3[m]: thanks doing it now
[15:10] <darshan> https://termbin.com/lfsp
[15:11] <darshan> I don't know what is happening
[15:12] <arraybolt3[m]> The nVidia driver doesn't appear to be loading.
[15:12] <darshan> Yeah there's no driver, I've removed them all
[15:12] <arraybolt3[m]> I don't see any nVidia errors, either.
[15:13] <darshan> Now I'm not able to install driver
[15:14] <arraybolt3[m]> darshan: Can you do "ls /var/cache/apt/archives | nc termbin.com 9999" and give us the URL to that? Note that this will probably tell us a lot about the software you previously installed, so don't run that command if you aren't comfortable with that.
[15:14] <ravage> darshan, "lspci|grep VGA|grep NVIDIA|nc termbin.com 9999"
[15:14] <arraybolt3[m]> darshan: This will tell us if the nVidia drivers are cached in apt or not (I suspect they are).
[15:14] <lotuspsychje> yeah its weird dmesg doesnt show any nvidia info at all
[15:14] <darshan> Yes yes they are cached arraybolt3[m]
[15:14] <transhumanist> thanks guys trying some different options as recommended....
[15:15] <arraybolt3[m]> OK. Let me see if I can find a cache clear command.
[15:15] <transhumanist> bbl after a reboot since my sys and proc are borked now
[15:16] <arraybolt3[m]> darshan: Try "apt-get clean".
[15:16] <arraybolt3[m]> That will clear your cache.
[15:16] <darshan> Okay done
[15:17] <arraybolt3[m]> darshan: Great, you should be able to install your nVidia drivers now. "apt install nvidia-driver-470" is what I would try first.
[15:17] <darshan> Trying
[15:18] <gpkumar> I currently have a laptop which only has intel hd620 graphics, god knows how many issues I will face when I update my hardware and buy nvidia cards
[15:19] <arraybolt3[m]> gpkumar: What's odd is, for me, I installed an nVidia card in my system, installed the drivers, and everything just worked and so far has stayed that way. My desktop is chugging along with nVidia right now.
[15:19] <darshan> arraybolt3[m]: it's downloading driver
[15:20] <arraybolt3[m]> So I dunno why nVidia can be SO FINICKY for some systems. Apparently the HP Z220 SFF Workstation is happy with Linux and nVidia. 🤷
[15:21] <gpkumar> arraybolt3[m]: that's nice, hope the driver won't get too picky, since some cards driver source is public
[15:21] <darshan> Everything was working properly till I tried to install driver for my webcam manually and everything started falling apart after that.. 😅
[15:22] <arraybolt3[m]> gpkumar: Yeah, saw that with the 3000 series cards. I, however, upgraded my system to a 1050 Ti. (It was the best it would take, and hey, it was cheap. Had to literally use wirecutters on my system to get it to fit, but it worked. 👌
[15:22] <lotuspsychje> darshan: you also might wanna check if you have bios updates for your machine
[15:22] <gpkumar> 😀
[15:23] <arraybolt3[m]> darshan: Hold off on BIOS updates until you do research.
[15:23] <darshan> lotuspsychje: I'll check by booting windows later. I don't know how to update ghkse things on Ubuntu
[15:23] <arraybolt3[m]> lotuspsychje: Someone messed up their system the other day with a BIOS update - their system had a CPU that worked with the older BIOS, but not with the newer one. So the BIOS upgrade really threw a wrench in the works, and I dunno if they ever got it fixed.
[15:23] <darshan> those*
[15:24] <darshan> Yeah if everything is working fine then I don't touch it
[15:24] <lotuspsychje> arraybolt3[m]: this was not the same user here i assume?
[15:25] <arraybolt3[m]> lotuspsychje: True. But the fact that a BIOS vender could do something that potentially damaging makes me think that one should always research a BIOS update carefully before just applying it, to avoid something haywire like that happening.
[15:26] <darshan> arraybolt3[m]: I think it got installed
[15:26] <darshan> It completed and no errors
[15:26] <lotuspsychje> arraybolt3[m]: thats a bit of weird thinking, but lets save that for another channel to discuss
[15:26] <darshan> Should I restart now?
[15:26] <arraybolt3[m]> darshan: I think so.
[15:27] <darshan> reboot is the command right?
[15:27] <darshan> From terminal
[15:27] <outoftime> webchat47: are you ok now?
[15:27] <arraybolt3[m]> Yep.
[15:27] <darshan> I'm webchat47
[15:27] <darshan> I logged in from my mobile
[15:28] <darshan> outoftime: fixing nvidia
[15:31] <darshan> Hi, driver seems to be installed
[15:32] <darshan> But I still don't have GUI
[15:32] <darshan> What could be the issue?
[15:32] <arraybolt3[m]> darshan: Try running "sudo systemctl restart sddm".
[15:33] <genii> I think you might want sddm.service there
[15:33] <darshan> genii: not found
[15:33] <gpkumar> are you using ubuntu?
[15:33] <darshan> Yes
[15:33] <darshan> 20.04
[15:33] <gpkumar> sudo systemctl restart gdm.service
[15:35] <darshan>   gpkumar it is trying to start, I got nvidia prompt
[15:35] <oerheks> kernel update 5.15.0-39
[15:36] <darshan> gpkumar: it's back to same terminal, it didn't restart
[15:37] <arraybolt3[m]> gpkumar: Oh my gosh, you're right. I'm used to Kubuntu and Ubuntu Studio, where we use sddm... 🤦‍♂️
[15:37] <arraybolt3[m]> darshan: Any error messages on the screen? Also, can you check /var/log/syslog for anything suspicious?
[15:38] <darshan> Nothing on screen.. checking sys log
[15:39] <darshan> It is printing from get very beginning, how do I just check last few log
[15:39] <arraybolt3[m]> darshan: try "tail /var/log/syslog"
[15:42] <ioria> darshan, check if you have a previous  xorg.conf   : most probably in /usr/share/X11/  ; you can use this cdm : sudo updatedb && locate  xorg.conf
[15:43] <darshan> https://termbin.com/9r83g syslog tail 100
[15:43] <genii> darshan: If you want to see the last specific number of lines, add the -n option to tail, like tail -n25 /var/log/whateverfile ..to see the last 25 lines
[15:43] <darshan> Yeah did
[15:44] <darshan> I've sent the output
[15:44] <mirotalk_> test msg
[15:44] <ioria> darshan, modprobe: ERROR: could not insert 'nvidia': No such device
[15:45] <oerheks> The NVIDIA GeForce 610M GPU installed in this system is supported through the NVIDIA 390.xx Legacy drivers.
[15:45] <oerheks> The 470.129.06 NVIDIA driver will ignore...
[15:45] <darshan> Yeah, it's an old laptop
[15:45] <gpkumar__> The 470.129.06 NVIDIA driver will ignore Continuing probe... No NVIDIA GPU found.
[15:45] <gpkumar__> what
[15:46] <oerheks> 340 or 390..
[15:46] <ioria> darshan, what nvidia driver have you installed ?
[15:46] <darshan> 470 latest
[15:46] <gpkumar> ubuntu doesn't even boot darshan?
[15:46] <oerheks> Now you have your fix
[15:46] <ioria> darshan, ubuntu-drivers list | nc termbin.com 9999
[15:47] <darshan> gpkumar: nope, I can only access terminal with ctrl+alt+F3
[15:47] <oerheks> i wondered, why your system took the 340 driver, now we know why.
[15:47] <ravage> we tried to get that information 2 hours ago oerheks but i gave up after asking 3 times :)
[15:48] <oerheks> ravage, i know..
[15:48] <arraybolt3[m]> Appears that I was wrong about the 470 driver then. Sigh. I didn't know that it was something that could be googled for. I guess purge the 470 driver, autoremove, then install the right ones.
[15:48] <ioria> darshan, if you run the cmd i sent you we'll know something more
[15:48] <oerheks> sudo ubuntu driver install 390
[15:50] <darshan> ioria: it gives output as
[15:50] <darshan> nvidia-340
[15:50] <darshan> bcmwl-kernel-source
[15:50] <ioria> ok, 340 has a bug and might be better not install it
[15:50] <enigma9o7[m]> nvidia-340 doesnt work with recent kernel without patch
[15:50] <ioria> the second is wifi, we don't care
[15:50] <ioria> but
[15:50] <darshan> Wifi is working
[15:51] <darshan> It's connected in background
[15:51] <ioria> !info nvidia-graphics-drivers-340 focal
[15:51] <stealthrecon> Does anyone know if there is a problem with installing and using network-manager on 22.04? I am not finding any information about it online.
[15:51] <ioria> darshan, can you please run   apt-cache policy nvidia-graphics-drivers-340
[15:52] <darshan> Okay
[15:52] <ioria> nvm
[15:52] <enigma9o7[m]> You must use https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy if you want to use nvidia-340 on 22.04
[15:52] <enigma9o7[m]> or on 20.04 with hwe kernel
[15:52] <ioria> good
[15:52] <oerheks> stealthrecon, installing network-manager? it is part of your desktop already?
[15:53] <ioria> darshan, but first we need to purge the old ones again
[15:53] <oerheks> ioria, he can use the 390, see the error log
[15:53] <ioria> oerheks, 390 ?
[15:53] <darshan> I'll try 390
[15:53] <darshan> Can anyone send command for that?
[15:53] <darshan> is it nvidia-390 ?
[15:53] <ioria> darshan, why 390 ?
[15:54] <oerheks> The NVIDIA GeForce 610M GPU installed in this system is supported through the NVIDIA 390.xx Legacy drivers. The 470.129.06 NVIDIA driver will ignore...
[15:54] <darshan> Yeah
[15:54] <darshan> So that's the last supported version
[15:54] <darshan> I guess
[15:55] <ioria> ok, we can try :   darshan  : dpkg -l | grep nvidia | nc termbin.com 9999
[15:55] <stealthrecon> oerheks, This is on server.  Netplan works fine, but network-manager does not seem to install right.
[15:56] <darshan> https://termbin.com/0my3 ioria
[15:56] <oerheks> use netplan, or remove it and install network-manager
[15:56] <ioria> darshan, sudo apt purge nvidia-driver-470
[15:57] <darshan> Doing now
[15:58] <darshan> Should I run autoremove after that?
[15:58] <ioria> darshan, sudo apt autopurge
[15:58] <darshan> Okay
[16:01] <stealthrecon> oerheks. I can definitely try that. In previous versions of Ubuntu I have always installed network-manager side by side and migrated over from netplan. In the yaml file you just change the renderer to NetworkManager. network-manager does not appear to install the service in 22.04.
[16:01] <darshan> ioria: it's done
[16:02] <ioria> darshan  : dpkg -l | grep nvidia | nc termbin.com 9999
[16:02] <darshan> It's empty
[16:03] <ioria> darshan, sudo updatedb && locate  xorg.conf | nc termbin.com 9999
[16:04] <darshan> Updatedb not found
[16:05] <ioria> darshan, ls  /usr/share/X11/  | nc termbin.com 9999
[16:06] <darshan> https://termbin.com/zwk9
[16:06] <ioria> darshan, try a reboot
[16:06] <darshan> Okay
[16:08] <jhutchins> What's the command to update to 22.04 now and not waitn for .1?
[16:08] <lotuspsychje> !ltsupgrade | jhutchins
[16:11] <darshan> ioria: restart done
[16:11] <darshan> I'm back to same terminal
[16:11] <ioria> darshan, you mean you don't get the login screen ?
[16:12] <darshan> No GUI
[16:12] <darshan> It was showing _
[16:12] <darshan> I had to enter tty3
[16:12] <ioria> darshan, lspci -nnk | nc termbin.com 9999
[16:14] <darshan> ioria: https://termbin.com/srp0
[16:14] <ioria> darshan, you have nouveau blacklisted somewhere
[16:14] <darshan> I don't know
[16:16] <ioria> darshan,  sudo find / -name xorg.conf* | nc termbin.com 9999
[16:16] <jchittum> do-release-upgrade -d won't work moving from 18.04 to 22.04 right now. 1. by default, you'll get a prompt saying LTS only. you'll need to update /etc/update-manager/release-upgrades. 2: if you set it to "normal" isntead of "lts" you get "Upgrades to the development release are only available from the latest supported release"
[16:16] <jchittum> to move from 18.04 to 22.04 you must move stepwise
[16:17] <oerheks> jchittum, it works for 20.04 lts
[16:17] <jchittum> yes, because that's stepwise LTS -> LTS
[16:17] <oerheks> he did not mention 18.04
[16:17] <darshan> ioria: there is a power cut right now, I think it'll be back in 5 mins.. my external monitor turned off and laptop monitor is not detected
[16:17] <jchittum> I'm just filling in the statement for 18.04 for anyone following along
[16:17] <jchittum> and the limitations
[16:18] <darshan> I'll send it's output soon
[16:18] <ioria> darshan,  ok, but i might be gone sy; btw, look at /etc/modprobe.d
[16:18] <darshan> What should I check in that?
[16:19] <ioria> darshan,  a nouveau blacklisting file
[16:19] <darshan> I remember running sudo depmod -a command today, did that cause any issue?
[16:20] <ioria> probably not
[16:21] <darshan> How to I resolve that if nouveau is blacklisted?
[16:23] <enigma9o7[m]> rm
[16:23] <jhutchins> darshan: Remove the blacklist entry.
[16:24] <Bugies> the module is already in use  Kernel modules: nvidiafb, nouveau !
[16:30] <ioria> Bugies, look better
[16:30] <ioria> Bugies, you need to check the 'Kernel driver in use'  line
[16:32] <ioria> darshan,  still waiting for this : sudo find / -name xorg.conf* | nc termbin.com 9999
[16:33] <darshan> It's taking time to run
[16:33] <ioria> ok
[16:35] <darshan> I get this message after running
[16:35] <darshan> find: 'run/user/1000/gvfs' : Permission denied
[16:35] <darshan> but it still running I guess
[16:35] <ioria> darshan,  that's not normal
[16:36] <darshan> I can break it with ctrl + C
[16:36] <ioria> darshan,  you should have at leat one entry  as /usr/share/doc/xserver-xorg-video-intel/xorg.conf
[16:37] <darshan> I'll try to check that folder wait
[16:37] <ioria> why don't you install mlocate ?
[16:38] <darshan> sudo apt install mlocate?
[16:38] <enigma9o7[m]> can you suggest some possible reasons?
[16:38] <ioria> yes
[16:39] <ioria> darshan,  after installing, run    sudo updatedb
[16:39] <darshan> Can I override nvidia and make it only use iGPU ?
[16:40] <darshan> Intel HD Graphics 3000
[16:40] <darshan> Initializing mlocate database is taking time
[16:41] <jhutchins> darshan: Right.  It's actually doing something, scanning the locations of the files it's indexing.
[16:41] <libraleon> hi, this is the output of dh -h on my vps: https://pastebin.com/pyZSyTRe -- why is /dev/sdb1 mentioned twice and since the second line has only 1% used, does it mean I still have 30 gb free disk space?
[16:42] <darshan> jhutchins: okay
[16:44] <ioria> darshan,  do you have this file ? : /etc/modprobe.d/blacklist-nouveau.conf
[16:45] <ravage> libraleon: that should not be possible and will lead to serious filesystem problems. did you mount /mnt manually? are you in some rescue environment or chroot?
[16:45] <darshan> ioria: I checked that folder it is not there
[16:46] <ioria> darshan,  do you have this file ? : /etc/modprobe.d/blacklist-nouveau.conf
[16:46] <libraleon> ravage: no I didnt mount it manually, and I'm on regular ssh but some scripts run on the server stopped working because of no more disk space
[16:46] <jhutchins> Having a 100% full root filesystem is likely to cause lots of unanticipated problems.
[16:47] <darshan> mlocate looks stuck at 60%, should I break it ?
[16:47] <oerheks> libraleon, contact your vps vendor?
[16:47] <jhutchins> darshan: Just leave it, do something else while it works.
[16:47] <ioria> darshan,  nope, but that means that you have removed xserver-xorg-video-intel
[16:47] <jhutchins> darshan: Do you see disk activity?
[16:47] <oerheks> they will say; buy more !
[16:47] <darshan> it got completed
[16:47] <ravage> libraleon: reboot that server and make sure your rootfs only gets mounted one time
[16:48] <ioria> darshan,  locate xorg.conf | nc termbin.com 9999
[16:48] <darshan> cqqk
[16:49] <darshan> ioria: https://termbin.com/cqqk
[16:50] <ioria> darshan,  sudo mv  /usr/share/X11/xorg.conf.d/10-nvidia.conf   /home/$USER
[16:51] <darshan> done
[16:51] <ioria> darshan,  sudo mv  /usr/share/X11/xorg.conf.d/11-nvidia-offload.conf   /home/$USER
[16:52] <libraleon> ravage: hm I'm unable to delete some files because of "sudo: unable to resolve host mima14: Temporary failure in name resolution
[16:52] <darshan> Done
[16:52] <ioria> darshan,  ls   /lib/modprobe.d  /etc/modprobe.d/ | nc termbin.com 9999
[16:53] <libraleon> ravage: I'm just really terrified of losing data if I reboot :D
[16:53] <ravage> libraleon, whatever scripts you executed really messed up your system. if your provider offers a backup then create one before you continue to do anything
[16:54] <darshan> https://termbin.com/kq60
[16:55] <libraleon> ravage: hmmm there shouldnt be running anything that messed up the system, just a script was saving data into mysql database and it stopped working because of no more disk space
[16:55] <ioria> darshan,  sudo mv  /lib/modprobe.d/nvidia-graphics-drivers.conf   /home/$USER
[16:57] <darshan> Done
[16:57] <ravage> libraleon, your root filesystem is somehow mounted twice. as i said that will or has cause a lot of problems. so you have to resolve that first. make sure you have a backup/snapshot og the current state of your VPN. check /etc/fstab if it only lists your root partition once. then reboot
[16:57] <ioria> darshan,  sudo mv  /lib/modprobe.d/nvidia-kms.conf   /home/$USER
[16:57] <darshan> Done
[16:58] <ravage> libraleon, normal reboot may fail. so you will have to do a hard reset probably
[16:58] <ioria> darshan,  grep blacklist /etc/modprobe.d/* | grep nouveau
[16:58] <libraleon> ravage: this is /etc/fstab: https://pastebin.com/XQLgi2HZ - is it ok? it's just the default one
[16:59] <ravage> libraleon, comment the line with /mnt
[16:59] <darshan> ioria: no output
[16:59] <ravage> libraleon, that looks weird. but i have no idea how azure works really.
[16:59] <ioria> darshan,  ok; sudo update-initramfs -u -k all
[17:01] <darshan> Executing
[17:02] <darshan> ioria: done
[17:02] <ioria> darshan,  dpkg -l | grep nouveau | nc termbin.com 9999
[17:03] <KBar> fyi, dpkg -l accepts globbing patterns, so no need for extra pipes
[17:03] <darshan> rfqg
[17:03] <darshan> https://termbin.com/rfqg
[17:04] <ioria> darshan,  what's this libdrm-nouveau2:i386  ?
[17:04] <darshan> I don't know
[17:05] <KBar> could be one of steam's 32-bit libraries
[17:05] <ioria> darshan,  do you have steam installed ?
[17:05] <darshan> I have i3 2nd gen processor
[17:05] <ioria> steam is a software
[17:05] <darshan> no
[17:05] <darshan> Not installed
[17:06] <oerheks> but this should be a fresh install, no?
[17:06] <ioria> ok... it's installed by nvidia
[17:06] <ioria> darshan,  purge it : sudo apt purge libdrm-nouveau2:i386
[17:06] <kveremitz> is anyone available to help me sort out packaging this package for debian/ubuntu - https://github.com/graysky2/anything-sync-daemon? granted I can build it from source, but I'd like to figure out how to build debs, and possibly set up a build system for it
[17:06] <darshan> Okay
[17:07] <ioria> darshan,  don't remove the amd64; just the i386
[17:07] <KBar> kveremitz join MOTY
[17:07] <darshan> Okay
[17:07] <darshan> I'm just executing your command same
[17:07] <ioria> ok
[17:07] <kveremitz> KBar: where?! :D
[17:08] <enigma9o7[m]> kveremitz: there is #packaging on oftc
[17:08] <KBar> kveremitz: start off from here: https://packaging.ubuntu.com/
[17:08] <kveremitz> aha thanks!
[17:08] <KBar> read debian policy and debmake-doc
[17:08] <KBar> join #ubuntu-motu
[17:08] <darshan> ioria: done
[17:08] <ioria> darshan,  cat /etc/default/grub | nc termbin.com 9999
[17:09] <darshan> heo3
[17:09] <ioria> ok
[17:09] <darshan> https://termbin.com/heo3
[17:09] <kveremitz> 👍
[17:09] <ioria> darshan,  sudo apt update
[17:10] <KBar> kveremitz: some relevant parts: https://packaging.ubuntu.com/html/packaging-new-software.html & https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages
[17:10] <kveremitz> KBar: reading now .. :D
[17:10] <ioria> darshan,  see if you have some updates pending
[17:11] <darshan> Okay
[17:12] <libraleon> ravage: seesm to be working normally after reboot, this is df -h now after I uncommented the line you told me https://pastebin.com/bSv4Yqn9
[17:12] <KBar> kveremitz: good! gonna be a long read :)
[17:12] <KBar> best of luck
[17:12] <darshan> ioria: yeah few updates are available
[17:13] <ioria> darshan,  sudo apt full-upgrade
[17:13] <kveremitz> KBar: I'll just refill my coffee .. ;)
[17:13] <ravage> libraleon: yep looks ok
[17:13] <darshan> Okay
[17:13] <libraleon> ravage: what I found very interesting/weird now and I didnt notice before, there's a folder
[17:14] <libraleon> /bin/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11/X11$
[17:14] <libraleon> yes this is the whole path, really
[17:14] <libraleon> lol
[17:14] <arraybolt3[m]> libraleon: That's a symlink loop.
[17:14] <libraleon> arraybolt3[m]: what does it mean?
[17:14] <arraybolt3[m]> libraleon: /bin/X11 is a symlink to /bin, which contains a symlink called X11, which links to /bin... you see where I'm going with this. Thus the /bin/X11......... thing.
[17:15] <KBar> ?
[17:15] <libraleon> arraybolt3[m]: but why so many?
[17:15] <oerheks> a symlink to itself
[17:15] <arraybolt3[m]> libraleon: It means that some piece of software probably expects there to be a folder called /bin/X11, but whatever used to be in /bin/X11 is now in /bin, so the /bin/X11 symlink leads to /bin for compatibility reasons. That's what I would guess.
[17:15] <arraybolt3[m]> The reason there's so many is because it's a recursive loop. It's like this:
[17:15] <arraybolt3[m]>  /bin contains a symlink called X11.
[17:16] <arraybolt3[m]>  /bin/X11 points to /bin.
[17:16] <arraybolt3[m]>  So when you go to /bin/X11, you enter /bin/X11, but you're still looking at the contents of /bin.
[17:16] <arraybolt3[m]> And since /bin contains a symlink called /bin/X11, therefore /bin/X11 also contains a symlink to /bin/X11.
[17:16] <KBar> isnt there a limit to symlink recursion at the kernel?
[17:16] <KBar> *level
[17:16] <libraleon> arraybolt3[m]: so this is basically harmless? :)
[17:17] <arraybolt3[m]> And traveling that symlink takes you to /bin/X11/X11, which points to /bin, which contains a symlink called X11...
[17:17] <oerheks> KBar, i think 40 ?
[17:17] <arraybolt3[m]> Yeah.
[17:17] <arraybolt3[m]> libraleon: Yes, harmless.
[17:17] <KBar> oerheks: yeah either 40 or 50
[17:18] <oerheks> https://www.baeldung.com/linux/too-many-levels-of-symlinks
[17:18] <libraleon> arraybolt3[m]: ok tnx :) now I just need to find out how to mount a new disk on my vps :D
[17:18] <darshan> ioria: its updating still, PostgreSQL and edge downloads are very slow
[17:18] <ioria> ok
[17:29] <gpkumar> why edge? any good feature over chrome or brave?
[17:29] <ioria> edge on linux is the new toy
[17:30] <darshan> gpkumar: I had to install it for VSCode, It allowed broswer previews for only edge
[17:30] <darshan> ioria: Updates got installed
[17:30] <ioria> darshan, echo $XDG_SESSION_TYPE
[17:31] <gpkumar> 🤔okay, I don't use vscode
[17:31] <darshan> ioria: tty
[17:31] <ioria> oh, sorry
[17:31] <ioria> darshan, reboot please
[17:31] <darshan> Okay
[17:32] <libraleon> hi, just one more question: I think I have successfully mounted a new 128gb disk into /newdisk .. but let's say I neeed data for mysql database which is I believe stored in /var/lib/mysql ..
[17:33] <libraleon> LabMonkey: so if my /dev/sda is full, how can I use free disk place at /dev/sdc ?
[17:34] <arraybolt3[m]> libraleon: You can bind-mount in a folder from /newdisk. That would be an easy way.
[17:34] <Treskjeg> I have an HP Envy Pro 6452 connected to my Ubuntu desktop via USB (network printing in this printer is a bugger). It seems to be working well now through USB, except for one issue: when I print 1 job, the printer won't finish the last cm of the print job until I queue up another print job. Also, it won't print the second print job at all. So: in order to print anything, I have to queue up two print jobs, the first gets printed,
[17:34] <Treskjeg> the second spits out the first. What gives?
[17:35] <arraybolt3[m]> libraleon: You might also be able to use an overlayfs or something similar. Or if you wanted to get really complicated, you could try your hand with LVM, but that could be really tricky and might not even be an option in your situation.
[17:35] <libraleon> arraybolt3[m]: so can I use something like mount --bind /newdisk / ?
[17:36] <darshan> ioria: I still didn't get the login screen.. but now both of my monitors are working
[17:36] <arraybolt3[m]> mount --bind /newdisk/sparespace /var/lib/mysql/putmyspacehere
[17:36] <darshan> Both are showing same screen
[17:36] <arraybolt3[m]> Anything saved in /var/lib/mysql/putmyspacehere will then be saved onto /newdisk/sparespace. It's sorta like a symbolic link.
[17:37] <ioria> darshan, sudo systemctl restart gdm
[17:38] <libraleon> arraybolt3[m]: well but would that mean I need to do this for every folder I need free disk space for? what if /home/user needs free space and /home/user2 too etc?
[17:39] <darshan> ioria: it didn't work, it's back to tty
[17:39] <arraybolt3[m]> Then you'd need to bind-mount in more folders wherever you needed them.
[17:39] <bomb> hi, anyone using Ubuntu Linux in this channel?
[17:40] <libraleon> arraybolt3[m]: but I mean what if I do it for / ? wouldn't cover everything?
[17:40] <ioria> darshan, apt -s autopurge | nc termbin.com 9999
[17:40] <arraybolt3[m]> bomb: Lots of us, it's the official Ubuntu support channel.
[17:40] <bomb> arraybolt3[m] nice! can you pastebin your >>   ulimit -l   << output. I really need it?
[17:40] <arraybolt3[m]> One moment...
[17:41] <darshan> https://termbin.com/eoiu
[17:41] <arraybolt3[m]> bomb: I'm getting "unlimited" on my Ubuntu Studio box.
[17:41] <oerheks> bomb,  mint is not ubuntu, they have their own channel?
[17:42] <arraybolt3[m]> libraleon: I think it would cover everything, if it worked at all. A bind mount beams one folder to another.
[17:42] <ioria> darshan, sudo apt  autopurge
[17:42] <darshan> Okay
[17:42] <oerheks> you might get weird answers that does not fit your install
[17:42] <bomb> arraybolt3[m] thank you! I've installed a program (Harrison Mixbus) that modified ulimit values, I suspect they might be the reason of constant freezes on my old computer
[17:43] <bomb> it's a Kubuntu 22.04 with latest updates
[17:43] <arraybolt3[m]> bomb: Yeah, sure. oerheks advice is good if you're not using an official Ubuntu flavour, but FWIW, my Chrome OS Linux development environment also gives me "unlimited" in responce to "ulimit -l".
[17:44] <howudodat> dns question.  my laptop gets dns from my firewall which runs unbound.  unbound is configed for peter.home to resolve all my internal addresses and forward the rest to 8.8.8.8.  So far so good.  I have one company that I connect to using pulse secure on my laptop.  they overwrite my resolv.conf (icky) but I can block that. However I'd like to set up DNS on my laptop (or my dns server / firewall) that forwards company.com to their
[17:44] <howudodat> DNS servers.  Not quite sure how
[17:45] <howudodat> I tried a forward zone in unbound, but that wont work since the firewall doesn't have the tunnel, only my laptop
[17:45] <darshan> ioria: I got an error
[17:45] <darshan> rmdir: failed to remove '/lib/modules/5.13.0-44-generic' : Directory not empty
[17:45] <bomb> arraybolt3[m] I see. gotta look elsewhere, then
[17:45] <ioria> darshan, it's ok; reboot again (sorry)
[17:45] <darshan> okay
[17:45] <arraybolt3[m]> bomb: I have Kubuntu, too, I can look for it.
[17:46] <transhumanist> Can anyone look this lsof error after building deboostrap directly to img file and subsequently mounting it : https://bpa.st/JPTA  NOTE: most of the script is not executed at this stage I early exited the script right after building the deboostrap
[17:46] <bomb> arraybolt3[m] oh I'd appreciate it! ulimit -a
[17:46] <bomb> arraybolt3[m] because I think Ubuntu Studio might have the same modifications that Mixbus/Ardour suggests
[17:47] <arraybolt3[m]> bomb: OK. It'll take a bit for me to get it since I'm going to install Kubuntu afresh into a VM, but it shouldn't take too long.
[17:47] <transhumanist> crap I have to go , I will come back and repost later, sorry...
[17:47] <bomb> arraybolt3[m] oh, a live CD would do?
[17:48] <bomb> arraybolt3[m] I think I can boot into a live CD as well. please don't spend your time for me :)
[17:49] <arraybolt3[m]> bomb: It's not a hassle. I do so many installs, this is quick and easy. I've even got a tool to make it fast, and it's not a live CD, it's a full install.
[17:49] <arraybolt3[m]> So it's more likely to be correct.
[17:49] <bomb> arraybolt3[m] thank you, then. I appreciate it :)
[17:50] <darshan> ioria: I got Ubuntu loading screen graphics and it ended to launch login screen but failed I think and now it's back to tty screen
[17:51] <darshan> any issue with ubuntu-desktop?
[17:52] <KBar> bomb: darshan sounds like a pam issue
[17:52] <ioria> darshan, i' am running out of ideas : lspci -nnk | nc termbin.com 9999
[17:52] <KBar> darshan: check journalctl
[17:52] <KBar> it usually spits out
[17:52] <KBar> everything wrong at gui initiation phase
[17:54] <darshan> https://termbin.com/39at
[17:54] <ioria> darshan, good Kernel driver in use: nouveau
[17:55] <ioria> darshan, we're  almost there
[17:55] <darshan> How to start desktop ui?
[17:55] <ioria> darshan, both nouveau and i915 are loaded now
[17:55] <ioria> darshan, you know : sudo systemctl restart gdm
[17:56] <darshan> It runs and ends up in the same screen with blinking _. Then I have to enter tty
[17:56] <arraybolt3[m]> darshan: journalctl | nc termbin.com 9999
[17:57] <darshan> Okay
[17:57] <KBar> darshan: dont do that
[17:57] <KBar> it will give you logs from january or worse
[17:57] <darshan> Oky
[17:57] <ioria> darshan, journalctl -b 0
[17:58] <darshan> Yeah it's quite large
[17:58] <arraybolt3[m]> KBar, Sorry, didn't know that, I did "jounalctl | cat" to see how long it was and it seemed reasonable on my system... 😬
[17:58] <ioria> use  it with -b 0
[17:59] <KBar> darshan: journalctl -b --no-pager
[17:59] <KBar> it will open in less by default
[17:59] <KBar> just pipe that --no-pager output to termbin
[18:00] <arraybolt3[m]> bomb: ulimit -l from Kubuntu 22.04 is 502492.
[18:00] <darshan> https://termbin.com/71p9
[18:00] <bomb> arraybolt3[m] ah, interesting. how about ulimit -a
[18:00] <ioria> darshan, after that, paste this :   apt list --installed | grep ',local\]$' | nc termbin.com 9999
[18:01] <arraybolt3[m]> bomb: Pastebinning...
[18:01] <arraybolt3[m]> bomb: https://termbin.com/yu8r
[18:02] <darshan> https://termbin.com/3s0g
[18:02] <ioria> Unable to run X server  is not a good sign
[18:03] <bomb> arraybolt3[m] thank you very much! looks like my "max locked memory" is set to unlimited, and "real-time priority" is 95
[18:03] <KBar> darshan: it errored out on loading libglx.so
[18:04] <darshan> KBar: it's related to nvidia I guess
[18:04] <bomb> arraybolt3[m] and... they're set by audio.conf found in /etc/security/limits.d/
[18:05] <ioria> darshan, you have purged nvidia, right ?
[18:05] <KBar> darshan: i wasnt here from the start, but have you tried with ubuntu-drivers
[18:05] <mpe1> hi quick help please: is there a way with gimp to select a portion of an image say in the middle (selecting it entirely horizontally, but not vertically) and trimming it so that the part above the selection and the part below the selection get stitched together and the image automatically resized (with reduced height)
[18:05] <KBar> or whatever the command was
[18:05] <darshan> ioria: yes
[18:05] <KBar> to install optimal drivers for you card
[18:05] <arraybolt3[m]> bomb: I don't have anything in my VMs /etc/security/limits.d.
[18:05] <ioria> darshan,  apt list --installed | grep ',local\]$' | nc termbin.com 9999
[18:06] <KBar> mpe1:  #gimp might help you. sorry, this is Ubuntu-specific support channel
[18:06] <ioria> KBar, ubuntu-drivers suggest -340, but there a severe bug about it
[18:06] <ioria> 's
[18:06] <KBar> ioria: ah, i see. well. nvidia socks as per usual then
[18:07] <ioria> yep
[18:07] <bomb> arraybolt3[m] me neither, not anymore! thank you, again; you saved me a lot of trouble :)
[18:07] <darshan> ioria: https://termbin.com/3s0g
[18:07] <ioria> darshan,  moved by desperation, you can install 340 from the legacy ppa , but i'd rathen find the cause
[18:08] <lotuspsychje> maybe he can try lubuntu 20.04
[18:08] <darshan> Can I install any other desktop environments?
[18:08] <darshan> I mean to test
[18:09] <lotuspsychje> sure, but purging might get you in more trouble
[18:09] <ioria> darshan,  your system crashes  at the login screen or when you try to log in  ?
[18:09] <darshan> Gnome environment is not launching
[18:09] <arraybolt3[m]> darshan: Almost all of them will use the X server, which is the part that's going wonky.
[18:09] <mpe1> KBar: i'm using ubuntu
[18:09] <MMZF_> Hello there
[18:09] <KBar> mpe1: well yes, but GIMP is not part of the Ubuntu repositories. It's an Open Source world and software comes from various sources.
[18:10] <KBar> I mean its not one of Canonical's projects.
[18:10] <darshan> ioria: there is no login screen, all I get is a Loading screen with Ubuntu logo at the bottom and then it goes to blinking _ instead of login
[18:10] <mpe1> ok
[18:10] <KBar> darshan: there is a login screen. gdm starts successfully
[18:10] <KBar> the module just fails and it kicks you out
[18:11] <darshan> Ohh but it's not visible
[18:11] <KBar> it even opens FDs for your video driver successfully
[18:11] <Bugies> darshan, do you have installed xserver-xorg-video-nouveau ?
[18:11] <oerheks> !nomodeset
[18:12] <darshan> Bugies: how do I check?
[18:12] <KBar> darshan: `dpkg -l PKG_NAME`
[18:12] <darshan> Ohh should I try recovery mode then?
[18:12] <KBar> or `dpkg -s` (too verbose)
[18:12] <MMZF_> I am using u ubuntu 22.xx on desktop I installed mate desktop environment then removed it with apt remove —autoremove ubuntu-mate-desktop after reboot i was shown terminal no de was loaded, I installed cinnamon from tasksel and reboot now the system is not starting stuck at could not boot due to start job running for hold
[18:12] <ioria> darshan,  oerheks has a good idea, use nomodeset
[18:13] <MMZF_> I am on hp probook 6570b uefi and esc key for recovery does not work for me it gives my laptop bios menu
[18:13] <darshan> Bugies: it is installed
[18:13] <KBar> MMZF_: well. this is why you don't mix DEs
[18:13] <KBar> MMZF_: once you install a desktop environment, there is no going back. Purging doesn't help.
[18:14] <ioria> darshan,  you know how to use nomodeset ?
[18:14] <MMZF_> KBar ikr, my internet got disconnected somehow which made this issue much worse
[18:14] <KBar> MMZF_: back everything up and install afresh
[18:14] <darshan> ioria:  no never tried it
[18:14] <ioria> darshan, reboot in Recovery Mode and then choose 'resume'
[18:15] <MMZF_> KBar: other than that?
[18:15] <darshan> ioria: recovery mode for same kernel version right?
[18:15] <MMZF_> Is there any fix to make it boot
[18:15] <darshan> There are other operator as well
[18:15] <KBar> MMZF_: yes. Reinstall.
[18:15] <MMZF_> Lol
[18:16] <KBar> MMZF_: hold on a second.
[18:16] <MMZF_> Thats the issue i dont have usb now
[18:16] <KBar> MMZF_: here, don't take my word for it: https://ubuntuforums.org/showthread.php?t=2415676
[18:16] <arraybolt3[m]> MMZF_: What? All your USB ports don't work?
[18:17] <ioria> darshan, yes
[18:17] <KBar> arraybolt3[m]: they probably meants as in no physical USB drive/stick
[18:18] <arraybolt3[m]> MMZF_: Oh. What you can do it hit Esc to get into your UEFI boot menu, then select ubuntu, then immediately hit Esc again and see if that gets you into GRUB.
[18:18] <arraybolt3[m]> MMZF_: If that works, you can enter recovery mode, and potentially be able to copy your files to some other external device (maybe free up a USB drive while you're at it).
[18:19] <darshan> ioria: looks like it crashed at that resume page
[18:19] <arraybolt3[m]> MMZF_: If you need to buy new USB drives, I had good success with TeamGroup 32GB C175 3.2 drives from Newegg.
[18:19] <ioria> darshan, there's something really wrong there
[18:19] <KBar> i think we should implement some type of a warning before a user tries to install new desktop environments
[18:20] <darshan> It is now exiting from recovery mode screen
[18:21] <ioria> darshan, when you can, login again in tty
[18:21] <darshan> I can login in tty
[18:22] <ioria> darshan, sudo dkms status
[18:23] <MMZF_> arraybolt3[m]: ports do work but the usb i used is not with me anymore
[18:24] <darshan> Should I install try sudo apt install nvidia-driver-390 ?
[18:24] <darshan> It's available
[18:24] <ioria> darshan, sudo dkms status
[18:24] <transhumanist> back again, Can anyone look this lsof error after building deboostrap directly to img file and subsequently mounting it : https://bpa.st/JPTA  NOTE: most of the script is not executed at this stage I early exited the script right after building the deboostrap
[18:24] <darshan> Okay
[18:25] <ioria> darshan, if you got output,  sudo dkms status | nc termbin.com 9999
[18:26] <MMZF_> arraybolt3[m]: the method you told did work to get in recovery mode lets see what i can do now
[18:27] <darshan> https://termbin.com/luvg
[18:28] <ioria> nvidia still there
[18:28] <darshan> I tried installing Nvidia 390 then my both monitors showed up
[18:29] <darshan> I don't know that if it's completely installed or not
[18:30] <ioria> darshan, you installed 390, before i asked you 'dkms status' ?
[18:30] <darshan> Yeah
[18:31] <darshan> I'll remove and purge it in a minute
[18:31] <darshan> If that's required
[18:31] <ioria> darshan, ok; but the point was why your system dos not work with nouveau, but ok
[18:31] <MMZF_> arraybolt3[m]: changed to gdm and boot successful thanks
[18:32] <arraybolt3[m]> MMZF_: 🎉
[18:32] <ioria> darshan, no need to purge; reboot and see if you can login
[18:32] <darshan> Yeah trying
[18:32] <darshan> Should I install 340 as well?
[18:32] <ioria> nope
[18:35] <darshan> ioria: https://imgur.com/a/6EgC3ev I get this screen
[18:35] <darshan> And it won't go to login screen
[18:36] <gpkumar> press any key, you will see some output
[18:36] <ioria> darshan, press Esc
[18:36] <darshan> Instead stays on blinking _
[18:36] <MMZF_> darshan: oh tape on the camera 👍
[18:36] <darshan> ioria: during that screen?
[18:36] <ioria> yep
[18:36] <darshan> Okay I'll try
[18:37] <ioria> neither 390 is working, then
[18:39] <oerheks> 390 was advised.. but his reinstall automatic gave 340..
[18:39] <oerheks> weird
[18:39] <oerheks> so, that ancient 610 needs 340?
[18:39] <ioria> i doubt it
[18:40] <arraybolt3[m]> Hey, is it possible we're missing some of the nvidia stuff? A command I found on AskUbuntu for purging nvidia was "sudo apt-get purge nvidia*". Maybe we're making a motly driver soup on accident?
[18:41] <ioria> arraybolt3[m], we asked for dpkg -l | grep nvidia and it was empty, but his system was still having leftovers (even after autopurge)
[18:43] <eax_> @darsahn & @ioria: i may be jumping in late here, but what is the output of sudo ubuntu-drivers autoinstall | nc termbin 9999
[18:43] <ioria> eax_, 340
[18:43] <ioria> eax_, i asked for ubuntu-drivers list   to be correct
[18:44] <darshan> ioria: https://imgur.com/a/1Yq0Jl3 it stops at that line
[18:44] <eax_> @ioria: oh i c
[18:44] <ioria> darshan, log in in tty
[18:45] <darshan> Yeah logged in
[18:45] <ioria> darshan, cat /etc/gdm/custom.conf | nc termbin.com 9999
[18:46] <darshan> there's no gdm
[18:46] <darshan> gdm3 exist
[18:46] <ioria> darshan, sorry: cat /etc/gdm3/custom.conf
[18:47] <darshan> https://termbin.com/b9v4
[18:49] <ioria> darshan, uncomment   #WaylandEnable=false
[18:49] <darshan> Okay
[18:51] <darshan> Done
[18:51] <darshan> Should I try reboot?
[18:51] <ioria> darshan, sudo systemctl restart gdm
[18:51] <darshan> Okay
[18:52] <ioria> this is the journal log, if someone wants to jump in : https://termbin.com/71p9
[18:53] <darshan> ioria: didn't work, it goes back to blinking _ screen
[18:53] <ioria> darshan, i really need to go, maybe someone else can help, or come back tomorrow
[18:54] <arraybolt3[m]> Oddly enough, gdm3 is trying to manually insert the nvidia driver, which is resulting in an error. I wonder...
[18:54] <darshan> It's okay, thankyou very much ioria
[18:55] <darshan> arraybolt3[m]: is there any way to ignore nvidia and use intel graphics instead?
[18:55] <arraybolt3[m]> darshan: "echo /etc/modules | nc termbin.com 9999" not sure if we did this already but might be handy to see
[18:56] <arraybolt3[m]> darshan: If only I knew... on my system, having an nvidia card plugged in causes the Intel graphics to be entirely disabled, even on the BIOS boot screen.
[18:57] <darshan> arraybolt3[m]:  it gives same output /etc/modules
[18:57] <ravage> arraybolt3[m], you mean cat and not echo
[18:58] <arraybolt3[m]> ravage: Right, my bad. darshan "cat /etc/modules | nc termbin.com 9999"
[18:58] <darshan> termbin.com/igez
[18:59] <Bugies> darshan, the nvidia driver won’t get called for a given GPU if the nouveau driver has already claimed it
[19:00] <arraybolt3[m]> Hey, your nVidia drivers aren't being loaded at boot, possibly. Can you try "sudo su -", then "echo nvidia >> /etc/modules"? Also we may need to blacklist nouveau.
[19:00] <darshan> Append nvidia to modules?
[19:00] <arraybolt3[m]> To blacklist nouveau: https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver
[19:00] <ravage> is nouveau loaded right now?
[19:01] <darshan> ravage: don't know
[19:01] <arraybolt3[m]> darshan: That's what I'd try. And also do the nouveau blacklist to make sure that it doesn't get in the way.
[19:01] <ravage> lsmod|grep nouveau
[19:02] <darshan> https://termbin.com/nhpm
[19:03] <ravage> ok. and nvidia-390 is currently installed?
[19:04] <ravage> if yes:
[19:04] <ravage> sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
[19:04] <ravage> sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf"
[19:04] <ravage> sudo update-initramfs -u
[19:04] <arraybolt3[m]> darshan: Don't do my thing with appending nvidia to /etc/modules, my system with working nvidia doesn't have that.
[19:06] <darshan> arraybolt3[m]: okay I'm done for today..I'll check it  tomorrow.. it's almost 1 AM here and I haven't moved from my desk for almost 14 hours 😅  I'll get some sleep
[19:06] <darshan> Again thanks you all for helping and answering my very basic questions
[19:06] <oerheks> Yes, this was a long ubuntu support issue
[19:06] <arraybolt3[m]> darshan: OK. Sorry about this mess.
[19:07] <arraybolt3[m]> If nothing else, baackup and reinstall will almost certainly do the trick.
[19:07] <darshan> No it's fine, tomorrow I'll try to take backup and think try reinstalling
[19:07] <ravage> try 22.04 then
[19:09] <darshan> Sure I'll give it a try.. I just need this laptop for 4 more weeks. My new laptop is still not built and might take 4 more weeks to deliver..
[19:10] <eax_> @darshan: you have no nvidia drivers (in this case an incorrect one) installed. I fyou go through your journal log output. It is telling you what the issue is. The nouvaeu drivers are taking over the actual NVDIA drivers
[19:11] <eax_> @darshan: therefore, try disabling your noauvaeu drivers if you are confident that you have installed the actual NVDIA drivers: https://linuxconfig.org/how-to-disable-blacklist-nouveau-nvidia-driver-on-ubuntu-20-04-focal-fossa-linux
[19:12] <gpkumar> why not try linux mint too, in the live session
[19:12] <darshan>  eax_: If that doesn't work out then I'll be still able to login to tty right?
[19:13] <darshan> gpkumar: yeah I'll try to make live usb tomorrow
[19:13] <darshan> Can we able to access current file system through live boot?
[19:13] <ravage> yes
[19:14] <darshan> Then that will solve my problem.. I'll just live boot for next few days
[19:15] <eax_> @darshan: @ravage: it is. check his journal log (he pasted it earlier)
[19:15] <eax_> @darshan: you'll always have the tty.
[19:16] <darshan> I don't know why the opensource driver isn't working, it was set as default when I install Ubuntu on this machine
[19:17] <eax_> @darshan: i also suggest that you install your NVDIA drivers w/ `sudo ubuntu-drivers autoinstall`
[19:17] <darshan> It will install nvidia 340 driver
[19:17] <eax_> @darshan: and your card is 390? correct
[19:17] <darshan> No no, 😅 610M
[19:18] <darshan> It's an old laptop
[19:19] <eax_> @darshan: have you enabled NVDIA's ppa. They'll have the binary for such an old card
[19:19] <darshan> Earlier there were multiple drivers installed on my machine
[19:19] <darshan> Yeah I think I have enabled
[19:22] <eax_> @darshan: run this cmd `add-apt-repository --list` and ensure that it's actually in your sources dircectory
[19:23] <eax_> @darshan: if you  dont have that script. then just grep it. `grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*`
[19:24] <eax_> i think the --list flag option got deprecated
[19:25] <darshan> It's not there
[19:25] <eax_> @darshan: add it ( sudo add-apt-repository ppa:graphics-drivers/ppa) and suo apt update
[19:27] <eax_> @darshan: then install your actual drivers; blacklist nouveau and reboot
[19:27] <darshan> Okay I'll give it a try
[19:41] <eax_> gn folks. mov eax, 0
[20:10] <transhumanist> I filed a bug report, thanks
[20:51] <banshi> hello all. I've just installed ubuntu focal on my netbook. And I'm getting into GRUB 2.04 - Minimal BASH-like line editing is supported. If I do 'set root=(hd0,gpt2); set prefix=(hd0,gpt2)/boot/grub ; insmod normal; normal' then OS boots. But how do I automate it all? I've tried 'grub-install /dev/mmcblk0', 'grub-install /dev/mmcblk0p1', 'grub-install /dev/mmcblk0p2' with 'update-grub', but have no success
[20:58] <EriC^^> banshi: type 'sudo efibootmgr -v | nc termbin.com 9999' paste link here
[21:06] <banshi> EriC^^, https://termbin.com/vdtq
[21:06] <EriC^^> banshi: type "sudo ls -lR /boot/efi | nc termbin.com 9999"
[21:10] <banshi> https://termbin.com/27s2
[21:10] <banshi> EriC^^, ^
[21:11] <EriC^^> banshi: type 'sudo tail-v /boot/efi/efi/{ubuntu,lxle}/grub.cfg | nc termbin.com 9999'
[21:23] <banshi> EriC^^, https://termbin.com/i8qe
[21:23] <EriC^^> banshi: sudo blkid | nc termbin.com 9999
[21:25] <banshi> https://termbin.com/ohxq
[21:25] <banshi> EriC^^, ^
[21:27] <EriC^^> banshi: type "sudo sed -i 's@1a3ebd03-fce5-4d84-9600-b8fca31ba2e8@0427d6fa-13e2-4372-bba4-d8720b67d40d@' /boot/efi/efi/ubuntu/grub.cfg"
[21:28] <banshi> that should fix it?
[21:28] <EriC^^> yeah
[21:28] <banshi> I'll try right now
[21:32] <banshi> EriC^^, OMG! You are WIZARD! Thank you very much!
[21:32] <EriC^^> banshi: no problem
[21:32] <oerheks> !cookie | EriC^^
[21:32] <EriC^^> :D
[21:34] <ravage> but why would the installer choose the wrong uuid?
[21:35] <ravage> isnt that exactly what the unique ID was suppsed to fix?
[21:36] <EriC^^> it's a complicated bug i think, it's actually not supposed to use ubuntu/grub.cfg, in efibootmgr current boot was the lxle dir
[21:37] <EriC^^> i think ubuntu is defaulting in the .efi file itself to look for efi/ubuntu/ instead of using the dir of the .efi file
[21:38] <EriC^^> probably he installed ubuntu earlier, then lxle and the bug ensued
[21:38] <EriC^^> thus the different fs/uuid
[21:38] <ravage> ok. that makes sense
[21:38] <ravage> should not affect that many people then really
[21:39] <ravage> maybe still worth a bug report?
[21:39] <EriC^^> it's uncommon, it first appeared maybe 2-3 years ago, i think ive only seen 3-4 people have it
[21:39] <EriC^^> yeah for sure
[22:15] <xrandr> Hello! I was wondering if it was possible to create an S3 filesystem on a linux server. I see tools to mount an amazon s3 bucket, but if i wanted to create buckets out of my hdd, is this possible?
[22:19] <ravage> https://linuxhint.com/installing_minio_ubuntu/
[22:21] <matsaman> xrandr: isn't it a fairly well documented API/system?
[22:22] <xrandr> matsaman: ravage's answer was what I needed. :)
[22:22] <xrandr> it helps with what I am looking to do. I am sure it is a fairly well documented system. Sometimes it is more efficient to just ask though :)
[22:22] <matsaman> 👍
[22:40] <jhutchins> xrandr: Is there any indication that S3 is an open filesystem with a published spec?
[23:14] <howudodat> I am trying to get systemd to set certain parameters when my tun0 interface comes up.  so I created /etc/systemd/network/10-tun0.network and put in [match]tun0 with [network]DNS and Gateway parameters as a test, but they are not getting set
[23:29] <Sbur3> I need help with an id card problem.  In eid-voewer, the id card is read correctly and displayed. But on the government web site I use it on every year, it doesn't work.
[23:29] <arraybolt3[m]> Sbur3: What web browser are you using? Also Ubuntu version would be helpful.
[23:30] <Sbur3> Ubuntu 22.04. Web browser Firefox ... recen t
[23:31] <Sbur3> To be exact, Ubuntu Studio 22.04
[23:31] <arraybolt3[m]> Sbur3: Ah, 22.04. Then you might be running into Snap issues. Let me see if I can look up how to fix this.
[23:32] <MMzF> Which ubuntu version would be great for Hp Probook 6570b with i7 3rd gen cpu and 4 gb ram?
[23:32] <Sbur3> But eid-viewer works
[23:33] <Sbur3> CSAM doesn't
[23:33] <arraybolt3[m]> Sbur3: Right, but Firefox might not have permissions to access your ID card.
[23:33] <matsaman> MMzF: the latest one
[23:33] <arraybolt3[m]> MMzF: With 4 GB of RAM, you might get away with Kubuntu, but Lubuntu would be better.
[23:34] <arraybolt3[m]> matsaman: I think he means flavour.
[23:34] <Sbur3> I installed the add on with Firefox
[23:34] <matsaman> MMzF: if you mean flavor, it doesn't matter at all
[23:35] <arraybolt3[m]> Sbur3: So, Snap packages are each put into their own little sandbox, and can only access hardware that Snap lets them access. So if Snap won't let Firefox read the ID card, no amount of Firefox extensions will fix that. But you may be able to change the Snap permissions, which is what I'm going to look up.
[23:35] <Sbur3> And I did sudo pcscd
[23:35] <arraybolt3[m]> matsaman: In my experience, Lubuntu worked quite well with 4 GB RAM, while Ubuntu (with the GNOME desktop) was too heavy.
[23:35] <MMzF> [ arraybolt3[m] ]: i'll try to get 8gb ram.
[23:35] <matsaman> arraybolt3[m]: graphics would matter more than ram
[23:36] <MMzF> [ matsaman ]: i want to use webgl on linux so i was trying to figure out what will give more performance
[23:36] <matsaman> GNOME is accelerated by default these days
[23:36] <Sbur3> MMzF: Do you have a virtual machine (virtualbox) to test it on?  Or via livecd?
[23:36] <arraybolt3[m]> matsaman: Heh, tell that to the multiple times I got thrashed to a total halt. :-(
[23:36] <matsaman> okay
[23:36] <MMzF> i've tested default ubuntu de, mate, cinnamon but see freezes and drop in performance
[23:37] <MMzF> [ Sbur3 ]: i'll go with live usb
[23:37] <matsaman> MMzF: if you want a more stable product, I would suggest Xfce
[23:37] <Sbur3> MMzF: for starters to see if it works
[23:37] <MMzF> but i do have currently installed ubuntu 22.04
[23:37] <matsaman> MMzF: but I'd also suggest Debian over Ubuntu
[23:37] <MMzF> hmm
[23:38] <Sbur3> lspci
[23:39] <MMzF> "(<<Sbur3>>) MMzF: for starters to see if it works"
[23:39] <MMzF> what do you mean?
[23:40] <arraybolt3[m]> Sbur3: It does indeed appear that smart card usage in Snapped Firefox is difficult or impossible. I would recommend backing up your personal data (bookmarks, passwords, etc.) out of Firefox, downloading the Firefox tarball from Mozilla, then uninstalling Firefox snap and installing the tarball.
[23:40] <matsaman> you should be able to install it from a deb, not a snap, without having to use some random upstream tarball
[23:40] <matsaman> if not, definitely find another distro
[23:40] <matsaman> and maybe do that anyway
[23:40] <matsaman> snaps, lawl
[23:41] <arraybolt3[m]> matsaman: You can install it from a PPA, but PPAs are not guaranteed to be maintained. The upstream Firefox tarball is, and it doesn't appear to act in a way that will totally mangle the package manager AFAIK.
[23:41] <Sbur3> arraybolt3[m]: I will try that.  I don't have anything impactful on Firefox, so it wouldn't be a problem
[23:41] <arraybolt3[m]> Sbur3: I'll find the instructions for installation real quick.
[23:41] <matsaman> anything that isn't installed by the package manager is going to mangle your system at some point
[23:42] <matsaman> arraybolt3[m]: isn't the PPA from the same upstream?
[23:42] <arraybolt3[m]> matsaman: People compile software all the time, that doesn't kill package managers. You just have to stay out of the deep system directories.
[23:42] <Sbur3> matsaman: How would installing something outside of snap screw something up?
[23:42] <matsaman> arraybolt3[m]: no, it kills your system
[23:42] <arraybolt3[m]> matsaman: I think so, but I'm not positive, and I think it's a testing PPA or something like that.
[23:42] <matsaman> Sbur3: outside of the package manager I said
[23:43] <arraybolt3[m]> Sbur3: It's complicated - it's not installing it outside of Snap, it's outside of Snap and apt.
[23:43] <Sbur3> matsaman: Ok.  I don't know the nuances of that distinction
[23:43] <matsaman> https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04
[23:43] <arraybolt3[m]> matsaman: I'm sorry, but I've copied scripts into /usr/local/bin and my system is working just fine.
[23:43] <matsaman> Sbur3: snaps, as idiotic as they are, are at least still a package management system
[23:43] <arraybolt3[m]> matsaman: Maybe look at the Mozilla instructions before you declare it a system killer?
[23:44] <matsaman> Sbur3: the normal Debian, and therefore Ubuntu, package management system is dpkg/apt/.deb files
[23:44] <arraybolt3[m]> https://support.mozilla.org/en-US/kb/install-firefox-linux
[23:44] <matsaman> arraybolt3[m]: pass
[23:44] <arraybolt3[m]> matsaman: They're just untarring it into /opt, making a symlink to /usr/local/bin, and plopping a desktop file in. I don't see how that's going to ever throw a wrench in the works.
[23:45] <arraybolt3[m]> If they were putting stuff in /usr/bin, or in /lib, or something, then I'd be worried.
[23:45] <matsaman> " Install from your distribution package manager (Recommended)"
[23:45]  * matsaman rolls eyes
[23:45] <arraybolt3[m]> (And if there was a sudo make install involved, then I'd be really worried. But there's not.)
[23:45] <matsaman> why do people link to thinks they haven't read
[23:45] <arraybolt3[m]> matsaman: Yeah, that's Snap. And it's not working for Sbur3.
[23:46] <matsaman> arraybolt3[m]: it's actually dpkg more than snap, even for Ubuntu, even now
[23:46] <matsaman> they have a whole other entry for snap
[23:46] <arraybolt3[m]> matsaman: I did read it. Recommended and working can be two very different things. Panasonic recommends Windows for their Toughbooks, does that mean we should keep away from Linux when handling Panasonic stuff?
[23:46] <matsaman> it is their 3rd recommendation
[23:46] <matsaman> you did not read it, and still haven't
[23:46] <matsaman> and I'm done talking with you about it =P
[23:46] <arraybolt3[m]> matsaman: Yes, but Ubuntu made the Snap and the package manager method one and the same thing. You do know that Ubuntu 22.04 packages Firefox as a Snap, right?
[23:47] <arraybolt3[m]> Anyway, no need to prolong the argument. Sorry if I'm being annoying.
[23:51] <Sbur3> matsaman: arraybolt3[m] But I still need to install the add on after replacing the snap firefox by the other one?
[23:52] <arraybolt3[m]> Sbur3: I don't know for sure, but you should be able to determine by trial and error (if the smart card doesn't work without the extension, try it with the extension).
[23:53] <Sbur3> But the thing that bugged me is that eid-viewer worked but not in firefox
[23:53] <matsaman> should be pretty straightforward to try it with a non-snap version of firefox, anyway
[23:56] <Sbur3> arraybolt3[m]: matsaman Hats off to you both for your help (and anyone else who I might not have seen).  It works. Thanks
[23:57] <matsaman> well I don't know if I helped you at all, but well done