=== julian is now known as Guest1698 === COMMUNINJA is now known as RMOTAO === kaiseisei1 is now known as kaiseisei === amurray_ is now known as amurray [01:33] Can i running vsti plugin use wine in orangepi zero? [01:36] 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] I see running in raspberry pi [01:43] 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. === kaiseisei1 is now known as kaiseisei === NeoFAT32_ is now known as NeoFAT32 [05:39] ok I feel stupid [05:39] in Ubuntu software it says there is an update for snap store [05:39] I go to update it and it tells me to close it [05:40] I close it and it wont update [05:40] I open terminal and snap refresh says everything is up to date [05:40] what the heck do I do??? [05:41] Maybe silly, but can you just try "sudo snap refresh snap-store"? [05:42] it says its running [05:42] software center is closed [05:42] kill 1877 did it [05:42] * Guest0 hugs arraybolt3[m] thanks mate [05:42] cheers [05:57] heya people [05:59] 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? === zeroes_ is now known as zeroes [06:27] routebee: hmmm. I haven't done that since my RHEL certification 6 or 7 years ago [06:28] iirc the man pages were more or less all one needed. What kind of sysadmin experience do you have? [06:33] 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] does ubuntu makes modifications to mutter in it's distro? [06:46] !info mutter [06:46] mutter (42.1-0ubuntu1, jammy): Example window manager using GNOME's window manager library. In component universe, is extra. Built by mutter. Size 104 kB / 233 kB [06:47] Well it doesn't sync it from Debian, that's for sure [07:12] 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] https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules [07:13] 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] I don't know that is causing that error [07:17] Ack, I can't tell that you did anything wrong either! [07:17] It looks like a kernel incompatibility, or a driver bug to me. [07:20] You might be able to fix it by switching from the HWE kernel to the stock kernel. [07:20] 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] What webcam are you using? [07:22] Hikvision DS-U02 https://www.hikvision.com/en/products/Turbo-HD-Products/Turbo-HD-Cameras/webcam-series/ds-u02/ [07:24] I managed to find your bug report regarding the camera failure, you managed to get the camera to work once? [07:24] 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 === GSMarquis77 is now known as GSMarquis [07:25] Yes, It worked when connected to USB 2.0 port [07:25] not working when connected to USB 3.0 ports [07:26] But now it doesn't work even in a USB 2 port now, right? [07:27] 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] It's working on usb 2.0, but have to restart system to make it working again [07:28] 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] Thanks, I'll check now [07:36] 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] 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] is there any way to force refresh the connected devices list ? [07:41] 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] https://github.com/torvalds/linux/commit/2ddf7617d568fdcbd3cc454bb4849fa6d3398c86 [07:41] Commit 2ddf761 in torvalds/linux "usb: remove third argument of usb_maxpacket()" [07:42] Can I upgrade the kernel on my current system running Ubuntu 20.04 LTS? [07:44] How do I download older UVC Driver supported by my kernel from their git repository? [07:44] https://git.linuxtv.org/media_tree.git [07:44] looking closer though, it was deprecated before that, so it may not require that new a version [07:46] my current Kernel version is 5.13.0-48-generic [07:47] deprecated in april https://github.com/torvalds/linux/commit/0f08c2e7458e25c967d844170f8ad1aac3b57a02 [07:47] Commit 0f08c2e in torvalds/linux "usb: deprecate the third argument of usb_maxpacket()" [07:47] in practice that means you need 5.19 or newer [07:48] Ohh [07:49] webchat47: yes, you need to extract config and build new kernel with it [07:51] geirha: 5.19 looks insane, even gentoo haven't stabilized anything higher then 5.15 [07:52] outoftime I don't know how, are there any instructions or documentation for that? [07:54] 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] 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] What is the kernel version for ubuntu testing? [07:56] 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] my current Kernel version is 5.13.0-48-generic [07:57] webchat47: ubuntu 2020 looks like LTS, not testing [07:57] Launchpad bug 3007 in Launchpad itself "'Currently Published Elsewhere' pointer to the other string" [Medium, Fix Released] [duplicate: 2020] https://launchpad.net/bugs/3007 [07:57] !testing [07:57] To test your hardware, you can use the packages memtest86+ (for memory, can be started from the !GRUB boot menu), smartmontools (for hard drives), cpuburn (which MIGHT damage your processor if cooling is not adequate!). Additionally, lm-sensors can be useful to monitor temperatures and fan speeds - See also !benchmark [07:58] from what I can tell, 5.15 is the newest ubuntu has touched at all [07:59] webchat47: sorry, I have no DE right now (building qtwebengine will take a long time) [07:59] 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] geirha: maybe make downgrade patch? [08:02] geirha: have you figured out what 3rd param used for ? It is required or there are saine default value? [08:04] 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] 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] should I just edit that line in that file? [08:05] I'll try that now [08:05] geirha: so 3rd argument should be somewhere in the function's body then. [08:06] 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] webchat47: wait, do not write something, just to write. [08:06] hey,what are you talking about [08:07] Which argument should I remove? [08:07] webchat47: You don't remove one, you add one. [08:08] where are you from,everybody [08:08] 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] Hany I'm trying to build the UVC Driver on my system but getting this error https://paste.ubuntu.com/p/hmvFRc6CFn/ [08:08] 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] changing usb_maxpacket(dev, pipe) -> usb_maxpacket(dev, pipe, usb_pipeout(pipe)) should work if I read the commit correctly [08:09] webchat47: ^^^ [08:09] I'll try it now [08:09] 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] (I know C#, so I can kinda get the gist of some C code.) [08:10] arraybolt3[m]: C specs are the easiest (250+ pages or so) [08:11] Webchat47 Sorry, I haven't heard of this [08:12] outoftime: Quick C programming = security vulnerability. I don't like that. [08:12] From where do I import usb_pipeout? [08:13] webchat47: do you have compilation error? [08:13] It's in the same file; linux/usb.h [08:13] webchat47: That doesn't exactly make sense to me, can you pastebin the new error, if you're getting one? [08:14] Oh, wait a minute, I get it, nevermind. [08:14] I edited the file, now shall I run ./build? [08:14] Sounds good, give it a go! [08:14] okay [08:14] didn't it use make? [08:15] if so, just run make [08:16] geirha: You're right. webchat47: Not sure what ./build is, try just running "make". [08:16] webchat47: follow build instructions from the driver's providers [08:16] It downloads few files when I run ./build [08:17] Actually, you're right. Man, I'm frazzled, sorry. geirha, outoftime: The build instructions say to use "./build". [08:17] aha, ok. Maybe ./build does all the wget-ing and untaring then finally runs make [08:18] geirha: you are right, he needs to make now [08:18] webchat47: you have edited sources, try 'grep make build' [08:19] 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] webchat47: "grep make build" will show you exact execution like for making driver by the script file, at least it has to [08:21] It is running build right now, halfway done till it reaches that last error line [08:22] I just typed ./build, should I cancel it and run grep make build again? [08:22] I'd let it run, and if it fails, then try again and try something else. [08:23] okay, it might take another 2 minutes [08:23] (Canceling stuff can sometimes have surprising consequences...) [08:23] webchat47: you can open another terminal window, no need to iterupt [08:23] ctrl+shift+t for gnome terminal [08:24] okay, in new terminal should I run grep make build? [08:26] webchat47: that build will likely fail, so yes you'd like to figure out how make is executed by "build system" [08:27] probably you can comment everything up to first make (or make that fails) [08:27] after 200 lines it might fail [08:27] I'm comparing last output from my pastebin with this current execution [08:28] webchat47: you can comment all lines from 'build' script up to the point when make executed and run ./build again [08:28] Ohh, I didn't know that was possible [08:28] It is creating those device files again [08:29] webchat47: can you link me your driver's sources tar ball? [08:29] yes [08:29] I'll grab it from earlier in the chat. [08:29] https://git.linuxtv.org/media_tree.git [08:30] heh, build script is perl [08:30] 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] geirha: do you know perl? [08:31] ah well, there's a Makefile at top level, so just run make next time [08:31] Hi, I got the same error again [08:31] webchat47: Then ./build probably overwrote your code change. Is it on the exact same line? [08:31] Looks like it reverted my changes in that file [08:31] yes [08:31] webchat47: If so, edit the file again and just run "make" rather than "./build". [08:31] okay [08:33] webchat47: have you cloned that repository? What branch are you in? [08:33] master I guess [08:33] Latest repo === kaiseisei1 is now known as kaiseisei [08:33] 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] "Basic" User's Approach [08:34] I've changed that file again, should I run grep make ? [08:34] or just make [08:34] I think just "make". [08:34] okay [08:36] Update: It solved that error for that file, and threw an error for same function at another file [08:36] I will change that function parameters in another file as well [08:36] grep -rw usb_maxpacket . [08:36] should list all occurances [08:36] webchat47: grep [08:36] will list all files you need to change (hopefuly) [08:37] yes it did, thanks [08:37] those files are device files  for some third party cameras [08:38] https://paste.ubuntu.com/p/nhcQdtd22K/ [08:39] 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] changing now [08:40] And it's quite plausible that the driver code is configured to build EVERYTHING. [08:40] hi all [08:40] humanface: Hi! [08:40] webchat47: you can add -n flag to show line numbers or [08:40] you can use 'sed utility to do it for you' [08:40] 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] or live cd will have restricted hardware usages? [08:41] I've never used sed before [08:41] 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] I mean for example on live cd I could use only half of the power of my machine, or something like that [08:41] ok I have way too much ram, so that's not a problem [08:41] Hello guys. Is there a way to disable auto-update on ubuntu? [08:42] but other than that, will it restrict my hardware or not? [08:42] arraybolt3[m] [08:42] I have this computer I use rarely and every time I turn it on it offers me large updates [08:42] 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] mithrin: Is there a particular reason you need to do that? It's a security risk to disable automatic updates. [08:42] sed -i 's/usb_maxpacket\(dev, pipe\)/usb_maxpacket\(dev, pipe, usb_pipeout\(pipe\)\)/' something like this, \ before each ( or ) [08:43] ok [08:43] arraybolt3[m], it annoys me and this computer is only used for one thing so no risk in it [08:43] 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] that won't catch all of them [08:44] and \( is incorrect [08:44] mithrin: OK, looking for directions. [08:44] found it already [08:44] 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] 's/usb_maxpacket(\([^,]*\), \([^,]*\))/usb_maxpacket(\1, \2, usb_pipeout(\2))/' [08:44] 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] 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] outoftime we will see, but dualboot is like a forbidden and dangerous magic [08:45] 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] (By "handy" I meant "not annoying"...) [08:46] humanface: who said that? [08:46] outoftime I'm saying that [08:46] I would need to read hours about the topic, and I don't even have 20 minutes to do that [08:46] humanface: I used dual boot almost 10 years, have no idea what you are talking about. [08:46] 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] outoftime I don't even know how to setup things to use dualboot... without damaging my existing drives datas [08:47] arraybolt3[m]: thank's God I'm gentoo user now.. [08:47] arraybolt3[m] right [08:48] I changed that function in all files and now running make [08:49] you just set GRUB_DISABLE_OS_PROBER=false and then re run grub-mkconfig -o /boot/grub/grub.cfg as root [08:49] mithrin: Hmm, this looks trickier than I thought. [08:49] on the other hand you can install os-prober and grub should just figure out that it is present and work out [08:49] arraybolt3[m], leave it. I'll figure it out. I managed to turn off those gui updates [08:49] outoftime I don't even know what is os-prober or grub, so.... [08:49] thank you [08:49] outoftime that's why I said... I don't have hours to read about these things [08:50] grub -> is the bootloader [08:50] os-prober -> probes whether your system has any other OS'es installed [08:50] gpkumar you know making dualboot won't be easier with knowing this info, right? [08:50] humanface: sad, linux is about reading things (unless flatpack) [08:51] humanface: you literally need to execute 3 commands [08:51] humanface: did you install windows after linux? [08:51] gpkumar: I think he has Widnows because he is asking about live cd linux [08:52] just wanted to confirm, does running make command will resume execution from where it threw the error last time? [08:52] 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] webchat47: no, but make is part of the build process, so yes, you will make one step from build process [08:53] 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] gpkumar I don't even understand what are you talking about... "if it's ubuntu" what is ubuntu? my current os? [08:54] 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] outoftime I don't really have choice, I'm not a normal user, I'm a programmer... [08:55] and I need to test out my app on linux [08:55] virtualbox [08:55] done [08:55] why not use vm [08:55] yep [08:55] virtualbox..... nope.... [08:55] 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] on virtualbox I had 2 fps during ingame [08:56] webchat47: I don't think so, I believe it will restart the build from scratch. [08:56] humanface: wsl? [08:56] gpkumar virtualbox can't be used for this [08:56] outoftime I have no idea what is wsl [08:56] Oh okay [08:56] humanface: then invest your time in dualboot [08:56] install wsl2 on windows [08:56] hi [08:57] i have problem with my bracket app for html [08:57] gpkumar but what is wsl? the same like virtualbox? [08:57] because if yes, I can't use that [08:57] humanface: Or install Ubuntu to an external drive. [08:57] my bracket doesn't work at live mode [08:58] wizard1: What is "bracket"? Is it an application you're trying to use? [08:58] yes it's somthing like vscode [08:58] arraybolt3[m] do you know what wsl is? [08:58] but it's for html [08:58] is it the same as virutalbox? === kaiseisei1 is now known as kaiseisei [08:58] humanface: Not really. I know it's sorta like a VM, let me find a link... [08:59] It might have better graphical performance, I don't know. [08:59] is here any one who can help me [08:59] https://docs.microsoft.com/en-us/windows/wsl/about [08:59] 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] at least [08:59] wizard1: How did you try to install bracket? [09:00] 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] with apt [09:00] humanface: Really, the best way I can think of to do this, is install Ubuntu to an external drive. [09:00] humanface: Get two USB drives, one with the Ubuntu ISO, one blank. Boot from the live USB. [09:01] 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] #html [09:01] 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] 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] 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] and the game I would use would have the same performance? [09:02] 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] 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] do you know this app ? [09:03] i will tell you [09:03] wizard1: Can you open a terminal with Ctrl+Alt+T, and then try to run bracket from the terminal? [09:03] outoftime: People kill their systems with dualboot sometimes. It's a legitimate concern he has. [09:03] yes [09:03] 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] 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] 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] humanface: Almost without question. [09:04] wow [09:04] I would have never thought that [09:04] i can run it from terminal [09:04] it's open now [09:04] but my problem is that live mode of this app doesn't work [09:05] 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] wizard1: Can you try to put the app in live mode and see if any errors get spit out onto the terminal? [09:05] yes iam donig [09:06] it gave this one [09:06] (in order for live preview to connect. chrome needs to be relaunched with remote debugging enavled [09:06] ) [09:07] wizard1: Is Brackets installed as a snap package? [09:07] i don't know [09:07] i don't remember actual [09:07] y [09:07] and it gave me one link for info [09:07] wizard1: Oh wait, you said you used apt, nevermind. I'm searching for solutions. [09:07] is it use full [09:07] ? [09:08] thanks [09:08] for more info it gave me a link [09:08] is it usefull for you [09:08] ? === kaiseisei1 is now known as kaiseisei [09:10] wizard1: Sure, send the link. [09:10] Update: Build is still running and for few files, its showing this "Skipping BTF generation" https://paste.ubuntu.com/p/K9YcqfYndt/ [09:11] 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] wizard1: what do you mean "not working" ? [09:11] 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] hey man [09:12] i solved it [09:12] thanks for your help [09:12] my problem was that i was using proxy [09:13] what is vmlinux? During build it's showing Skipping BTF generation due to unavailability of vmlinux , for few files. [09:13] wizard1: Glad it's solved! [09:14] webchat47: I wouldn't worry about that, if the build isn't failing. [09:18] Here is the output of the build https://paste.ubuntu.com/p/ghRMR2Wx9Y/ [09:18] 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] do you think the the make command completed the build? [09:18] how to invoke the "safely remove" option in nautilus for USB device from the CLI? [09:18] outoftime: Resize an NTFS partition, something glitches, data dead. [09:18] webchat47: Looks good! [09:19] outoftime: I just about nuked a perfectly good installation doing dualboot during the partition wrangling process. [09:19] webchat47: vmlinux is a linux kernel itself. BTF is a debug "feature" to debug kernel. [09:19] outoftime: I, personally, will never do dualboot again unless I have no other choice. It was too close to disaster. [09:19] I think ubuntu installer option "install alongside windows" works as expected. [09:20] 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] I see [09:22] now I should run "make install" right? [09:22] webchat47: If that's what the instructions say to do. [09:22] yes [09:22] webchat47: build log complain about debug symbols, not more [09:22] webchat47: WAIT [09:22] okay [09:23] 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] after doing make, I think there will be a binary mode that can be executed by ./ [09:23] webchat47: OK, install "checkinstall" via apt, then run "sudo checkinstall" rather than "sudo make install". [09:23] gpkumar: I believe this is a driver. [09:24] ok, I'll install checkinstall [09:24] 😮 [09:24] last time I did a driver install was on ubuntu 16.04 [09:24] gpkumar: I guess it could be manually modprobe'd in, but that might be complicated. [09:24] 👍 yep [09:28] Before I do " sudo checkinstall" should I remove old UVC driver from my system? [09:28] One moment please... [09:28] remove it before modprobing [09:28] or it will do an automatic upgrade? [09:29] webchat47: I believe the instructions say to reboot. [09:29] webchat47: after instalation you need to "enable" module (whithout reboo) so you have time to eject web cam wire [09:29] 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] Is it like first I will run sudo checkinstall, and then reboot the system ? [09:30] outoftime: Looking at the directions, I think that the system handles that automatically? [09:31] webchat47: sudo checkinstall && reboot [09:31] I don't know what modprobing means [09:31] webchat47: reboot is easier [09:31] webchat47: I don't think you need to worry about that, the reboot should handle it. [09:31] okay, I'll do reboot then. [09:32] outoftime: Yep. [09:32] Should I disconnect my webcam before running checkinstall ? [09:33] 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] got it, thanks outoftime [09:35] 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] It is still running installation [09:37] I'll share the logs once it finishes [09:37] it failed to install the package [09:37] gentoo has "wgetpaste" to share log from command execution. Debian recommends to use "command | nc termbin.com 9999' [09:38] also you can just redirect "command &> full-output.log" [09:38] Error log https://paste.ubuntu.com/p/G8SKcW4pCz/ [09:40] Checkinstall output https://paste.ubuntu.com/p/WtZrTpSdc8/ [09:41] 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] I hope it has not messed up other files during install [09:42] I'm afraid that it might end up corrupting my laptop [09:43] webchat47: you definitely will. [09:43] webchat47: Nope, that's why we used checkinstall. Anything that goes wrong can be fixed. [09:43] webchat47: make modules backup [09:43] webchat47: Had you used "sudo make install" and then something like this happened, then we'd be in a pickle. [09:43] does checkinstall reverts the changes if it fails to install? [09:44] webchat47: It aborted the installation. [09:44] 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] So nothing has been changed right? I'm afraid to reboot my laptop right now '=D [09:45] arraybolt3[m]: I mean he has no choice, just to use bare make install, but he needs to backup first [09:45] How can I backup those modules? [09:46] webchat47: no need, I started to give you instruction set for # make install [09:46] webchat47: You should be fine to reboot, but the drivers won't be installed. [09:46] 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] arraybolt3[m]: true [09:46] on focal how do you enable automatic link-local ipv6 address for an interface "eno1"? [09:47] 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] I would like to see neighbours if a cable is connected [09:47] mncheck: You're using Ubuntu Desktop, or Ubuntu Server? [09:48] arraybolt3[m]: it work the same. Problem in order of operations and dependency conflict are common for all distros. [09:48] So this webcam is never working again then !? [09:48] 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] webchat47: No, we'll probably figure it out. We just don't want to nuke your system. [09:48] webchat47: We're discussing solutions. [09:49] ice9: how large? [09:49] 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] outoftime, 80G [09:50] I downloaded DKMS because it was required to run OBS Virtual Camera [09:50] ice9: cp or rsync? === kaiseisei1 is now known as kaiseisei [09:51] I don't know what that module can do. [09:51] 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] 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] outoftime, cp [09:52] webchat47: You could give Manjaro a shot using a live USB. [09:52] I'll try that now [09:53] 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] arraybolt3[m]: webchat47: have you searched private PPAs before all this mess? [09:54] arraybolt3[m], this is desktop [09:54] outoftime: 🤦‍♂️That's a great idea, I should have thought of that. Thank you! [09:55] No I couldn't find any resources for my webcam model [09:55] On their website, they have mentioned it would work on Linux kernel 4.14 and above. [09:55] arraybolt3[m], currently I have inet6 fe80::1234:5678:1234:5678/64 scope link noprefixroute in ip -6 a show dev eno1 [09:56] Manjaro website is down for maintainence [09:56] 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] arraybolt3[m], in /etc/network/interfaces I have "auto lo" and "iface lo inet loopback" and interfaces.d is empty. [09:57] webchat47, not an ubuntu issue, is it? [09:57] webchat47: Wow. That's... 😢 [09:57] oerheks: Yes, ubuntu issue. [09:57] 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] 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] mncheck: which ubuntu version are you running there, and is it ubuntu desktop or ubuntu server? [09:58] mncheck: That sounds right. [09:58] tomreyn: 20.04 Desktop. [09:58] thank you [09:58] arraybolt3[m]: how do you know about desktop? [09:59] tomreyn: They said so earlier. [09:59] oh right, sorry [09:59] arraybolt3[m], can I force ipv6 neighbour discovery on the interface? do I need to? [09:59] mncheck: tomreyn [09:59] webchat47: have you searches for PPA's with required driver? [09:59] (Sorry, missed your message) [09:59] outoftime: I believe they did. [10:00] outoftime yes, there weren't any available [10:00] tomreyn, can I force ipv6 neighbour discovery on the interface? do I need to? [10:00] outoftime: It's a great idea, but sadly all the PPAs are for ancient Ubuntu releases. [10:01] I was able to find a bug report for a similar webcam model posted by someone else. There was no solution. [10:01] which version of Manjaro should I download? [10:01] 22? [10:01] webchat47: Eh? Hold on, let me look... [10:02] stable, I suppose, and latest [10:02] mncheck: how do you mean "force"? you can ping ff02::1 or ff02::2 [10:02] mncheck: https://wiki.archlinux.org/title/IPv6#Neighbor_discovery [10:02] webchat47: if you are going to give a try to manjaro, google for arch/manjaro for the same driver first [10:02] webchat47: What page are you on? I'm on https://manjaro.org/download/ [10:03] I'll google the driver versions. [10:03] 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] mncheck: ok? [10:05] arraybolt3[m] I'm downloading from the same page, going to download Gnome Desktop Minimal [10:06] tomreyn, ip -6 neigh show dev eno1 says cb3d is stale [10:06] 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] webchat47: IMHO, if you have no reasons to use "minimal" use full [10:06] outoftime: It's just for testing, the minimal should work fine for that. it's not a distrohop, just a test. [10:07] my bad [10:07] " Yes, It worked when connected to USB 2.0 port not working when connected to USB 3.0 ports" so it works, but just not on usb3 .???? [10:08] i think testing an other linux does not make a difference, be happy it works [10:08] mncheck: that's normal, but at least they're now being listed there [10:08] Not all devices are backwards compatible. [10:08] The new laptop that I ordered doesn't have a USB 2.0 port.. [10:09] 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] 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] oerheks: The camera also only works the first time you use it, then you have to reboot... [10:09] yes [10:09] outoftime: That is GENIUS! Man, maybe I should learn Gentoo... [10:10] webchat47: outoftime just had a great idea. I don't think you need to test Manjaro at all. [10:10] tomreyn, ...or should just I expect the cb3d address to persist? [10:10] mncheck: depends on how it gets its address assigned, i guess [10:11] arraybolt3[m]: I'm very bad, or just a "pro"grammer, so better to ask #linux about how to do it [10:11] tomreyn, so if the device runs raspbian then it depends on the rasbian configuration right? [10:11] mncheck: i don't think LL guarantees static assignment [10:12] outoftime: Is there a way to get modprobe to do what you're saying, or should insmod be used instead? [10:12] tomreyn, would slaac with privacy extension be static? [10:12] arraybolt3[m]: see, I felt this question [10:13] 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] i think you really want #networking [10:13] tomreyn, thank you [10:14] arraybolt3[m]: maybe find -name '*.ko' for modules first [10:14] How do I modprobe with previously complied driver? [10:15] webchat47: how many of *.ko you have? [10:18] outoftime 698 files https://paste.ubuntu.com/p/XMXfBnYgwQ/ [10:19] I need only one file for my webcam right? [10:22] 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] webchat47: irssi [10:23] thanks, downloading now [10:23] try hexchat [10:23] pidgin? [10:23] irssi is too difficult for noobs [10:23] which has good gui? [10:23] hexchat [10:23] pidgin [10:23] webchat47: I used to use Quassel and Konversation. [10:23] And WeeChat. There's so many, just pick one and try it. [10:23] Konversation was the best IMO. [10:24] okay I'll download [10:24] run them all at once [10:24] LOL wow, that got messy fast. [10:24] dsc_ LOL wow that would be chaos [10:24] hexchat, hands down [10:24] 🫂 [10:24] webchat47: some of those are for dvd player, so yes, looks like you definitely don't need all of them [10:25] I'm using Element right now (Matrix chat, bridged to IRC). [10:25] or you can even use web.libera.chat [10:25] outoftime: There's even a warning in the instructions that loading ALL of the modules is a bad idea. [10:26] gpkumar: > I'm connected through the browser it keeps clearing chat history every time I refresh the page [10:26] arraybolt3[m]: IMHO v4l is what is needed [10:28] outoftime: Since they've mentioned UVC a few times, I think it's ./v4l/uvcvideo.ko [10:28] outoftime: v4l... well no kidding but which one?! 🤣 [10:30] 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] outoftime: I think that might be a bit over their head... I know it mostly flew over mine. [10:31] @out [10:31] outoftime I'll check now [10:32] doosboox, I have no meaningful experience [10:32] webchat47: no spaces here "<(" it is redirect from FD [10:33] I worked in network support in the 90's and then scitzed and started hearing voices [10:34] i just started a medication that has cured me and I'm starting a computer science degree next month [10:34] routebee: voices of Stolman and Linus? [10:34] hah [10:35] routebee: don't mind me, but maybe you really heard them, just have thought they are in your head [10:35] no i believe that its telepathy [10:35] holly Stolman [10:35] my shrinks dont accept that that is a possibility [10:36] and its a bad line [10:36] its great not to have them anymore though [10:36] its given me a new lease on life [10:36] I have these files https://paste.ubuntu.com/p/jygbRkz9Y9/ in /lib/modules/ [10:37] 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] OK, I'll diff them real quick. [10:38] I'm not sure where I can find that in build folder [10:38] arraybolt3[m]: you can 'sed "<"d' to clear all lined from left of right side [10:38] webchat47: you already posted them [10:38] webchat47: Uhh, that's not the right data. That tells me what all kernels you have, but no the modules within. [10:38] oh those ko files? [10:39] webchat47: yes, *.ko inside /lib/modules/ [10:39] there aren't nay [10:39] any* [10:39] outoftime: You're gonna love this, but Ubuntu does have the modules in /lib/modules... [10:39] s/does/doesn't [10:40] Did I do anything wrong? [10:40] I mean delete those files? [10:40] Nope. Just different systems working different ways. [10:40] NO DON'T DO THAT. [10:40] okay [10:41] What files were you going to delete? [10:42] I meant to delete all those .ko files except one with uvcvideo.ko [10:42] No, I don't think that's necessary. [10:42] webchat47: are they hurting you? let them be for a while [10:42] No no [10:43] I don't change anything [10:43] webchat47: right now you can try to load that uv something module [10:43] arraybolt3[m]: do you know where modules are in ubuntu? [10:43] Sorry I don't know [10:43] Still looking, I think I'm almost there though. [10:44] Oh wait I found them. I've been looking in ancient kernel module leftover directories. [10:44] webchat47: can you show us lsmod ? [10:44] okay [10:44] They're in /lib/modules/$(uname -r) . [10:45] /lib/modules/$(uname -r)/kernel I mean [10:45] https://paste.ubuntu.com/p/4kDvbdBFYj/ lsmod output [10:45] arraybolt3[m]: find will find them , prefix is corrent, brah [10:46] Here's where the uvcvideo.ko driver is: /usr/lib/modules/$(uname -r)/kernel/drivers/media/usb/uvc/ [10:48] 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] webchat47: try modprobe -r uvcvideo [10:48] 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] outoftime okay trying [10:49] webchat47: echo > file [10:49] weedmic: echo > file [10:49] weedmic: printf "\n" > file [10:50] modprobe -r uvcvideo > file.txt ? [10:50] trying echo [10:50] webchat47: not for you, sry [10:50] webchat47: No, they accidentally misdirected their message. [10:50] ohh okay [10:50] arraybolt3[m]: I'm he pls [10:50] outoftime: Absolutely. [10:51] (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] Should I use sudo for modproble? [10:51] modprobe: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'uvcvideo': Operation not permitted [10:51] webchat47: Yes. [10:51] okay [10:52] it ran without giving any output [10:52] 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] webchat47: ok, you have unloaded uvcvideo module [10:53] and I'm not in that directory as well [10:53] webchat47: not you need to load your custom one [10:53] okay [10:53] *now [10:53] outoftime: Oh, you did -r, sorry [10:53] yes [10:54] how to load new driver? [10:55] webchat47: cp path/to/uvcvideo.ko /lib/modules/$(uname -r)/unvcideo2.ko [10:55] trying echo atm [10:56] weedmic: what is that task for? [10:56] webchat47: misstyped module name, I meant v2 for module name to resolve naming colision [10:57] okay [10:57] webchat47: then modprobe and unplug/plug camera [10:57] and open tail -f dmseg somewhere [10:57] tried this - echo {"site":"groupalpha","broker": {"url":"tls://broker.jonkheer.network"}} >>/opt/shield/shield.new , but did not work file is empty [10:58] weedmic: do you have rights for /opt? [10:58] weedmic, likely you need root priv for that folder. [10:58] weedmic: try with sudo echo [10:58] weedmic: or sudo -u echo... [10:59] i have all rights, but the connection method is basically line in line out - no dialogue [10:59] weedmic: On Ubuntu, sudo echo will probably fail, you may need to do "sudo -E bash" and then echo.) [10:59] i am root - sudo is not an option as one cannot input a password [10:59] it's not bash [10:59] Ah. [10:59] then you are not root. [11:00] weedmic: can you lauch bash/sh? what do you have ? Any shell interpreter? [11:00] i think echo would work, but... it's not just text [11:00] @out [11:00] no i am root [11:00] outoftime modprobe uvcvideo2 ? [11:00] weedmic: do you have vi/nano? [11:00] created file w touch [11:00] weedmic: yes, v2 [11:00] it's stdin stdout only [11:00] okay [11:01] if i put \{ like things might the echo work? i don't knwo much about echo :( [11:01] the quotes are probably very bad for it [11:01] weedmic: do you mean your connection or server inter proccess communication can not do both stdin/out ? [11:01] outoftime modprobe: FATAL: Module uvcvideo2 not found in directory /lib/modules/5.13.0-48-generic [11:02] webchat47: verify paths [11:02] I think it is inside /lib/modules/$(uname -r)/uvcvideo2.ko [11:02] webchat47: ls /lib/modules/$(uname -r)/ [11:02] outoftime: no i mean i can do a command in and see the result, no boustrophendic connection like a konsole [11:02] webchat47: use tab for compleation [11:03] cannot answer prompts - things like that [11:03] okay [11:03] 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] weedmic: what cat $SHELL says? [11:03] modprobe /lib/modules/5.13.0-48-generic/uvcvideo2.ko ? [11:04] weedmic: I mean echo $SHELL [11:04] webchat47: no, only name without .ko [11:05] webchat47: just verify you spell it correctly [11:05] 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] weedmic: echo $PATH ? [11:07] 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] "modprobe: FATAL: Module uvcvideo2 not found in directory /lib/modules/5.13.0-48-generic" But the file is present [11:07] weedmic: echo ';asldfj;asdlfjas;dlfjk;}///' > file <<< single quote here is a wraper [11:07] $ ls /lib/modules/$(uname -r)/uvcvideo2.ko [11:08] it gives the correct path [11:08] webchat47: uname -r gives same kernel version? [11:08] yes [11:08] will try that - i just creatd the file and was about to upload it fia ftp _if that is possible [11:09] https://paste.ubuntu.com/p/yTxTy75qjC/ paths are correct [11:10] webchat47: try insmod $PWD/path/to/ [11:11] okay [11:13] "insmod: ERROR: could not insert module /lib/modules/5.13.0-48-generic/uvcvideo2.ko: Unknown symbol in module" [11:14] modprobe expects an up-to-date modules.dep.bin file as generated by the [11:14] corresponding depmod utility shipped along with modprobe [11:17] grr - ftp is not an option either - i'm going to try with just the word test [11:17] how to update modules.dep.bin ? [11:19] sudo depmod -a [11:20] will have to retrieve the computer and do it via uart [11:20] tks 4 the effort/ideas [11:21] 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] driver works on usb2, he thinks a better driver works on usb3 too.. i doubt a driver can fix this hardware issue. [11:23] outoftime "modprobe: ERROR: could not insert 'uvcvideo2': Invalid argument" '=( [11:24] Hikvision DS-U02 .. not much info or bugreports about this device [11:25] webchat47: have you tried depmod before modprobe ? [11:25] no [11:25] i tried modproble uvcvideo2 first then it gave invalid path. [11:26] Then I executed sudo depmod -a [11:26] and modprobe again [11:26] Now modprobe uvcvideo2 is giving different error [11:27] outoftime that should fix the symbol if used with corect kernel headers [11:27] webchat47: show pls [11:27] modprobe: ERROR: could not insert 'uvcvideo2': Invalid argument [11:29] 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] seriously.. built for 5.19 ? [11:30] oerheks: yes [11:30] Yeah [11:31] Now, where can I find distros with 5.19 kernel to try that latest driver '=( '=( [11:31] I'll resume manjaro download [11:32] 5.19 is in development, i think you are way off [11:33] and ... driver works on usb2 .. i doubt a new driver can fix this hardware issue. [11:33] webchat47: can you link once more the docs you've been following to build source code? [11:33] no need [11:34] https://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers#Installing_the_Compiled_Driver_Modules [11:34] webchat47: again, who tald you to install new drivers? [11:37] outoftime Hikvision technical support [11:38] 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] Here is their email https://imgur.com/a/I02nGsE [11:40] outoftime yeah [11:41] webchat4786, Special case: If your system uses compressed kernel modules: (eg. unknown symbol or unknown parameter). [11:41] I don't know about that [11:41] It is running Ubuntu 20.04 LTS [11:43] webchat4786, . If the system attempts to concurrently load both sets into memory, you are bound to run into modprobe insertion errors [11:45] I guess this webcam won't work, Next time I'll buy a compatible webcam [11:45] https://www.hikvision.com/europe/products/Turbo-HD-Products/Turbo-HD-Cameras/webcam-series/ds-u02/ there are some firmware [11:47] There's a .img file in that [11:47] yes [11:47] I don't know how to use that [11:48] dfu-util ? [11:48] webchat4786: can you modprobe then tail -f dmesg and plug web cam? [11:49] okay [11:49] webchat4786: https://wiki.ubuntu.com/Kernel/Firmware [11:50] modprobe: ERROR: could not insert 'uvcvideo': Invalid argument [11:50] Its not working for removed module [11:53] webchat4786: can you reboot ? [11:54] okay [11:58] webchat4786: after reboot look at dmesg for errors, and "$ dmesg --follow-new # same as -W" then plug web cam [12:02] 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] arraybolt3[m]: he is rebooting for a very long time... [12:03] 10 m already [12:03] doesn't looks like brand new notebook at all [12:04] Hi,  I just reboot my laptop.. [12:04] webchat4786: after reboot look at dmesg for errors, and "$ dmesg --follow-new # same as -W" then plug web cam [12:05] This have changed, my external monitor resolution dropped to 720p and laptop monitor is not detected [12:05]  Checking dmesg [12:09] webchat47: remove that v2.ko from /lib/modules/ (mv ... /tmp) [12:09] https://paste.ubuntu.com/p/7Qrg29nRYz/ after connecting webcam [12:09] 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] I'm removing that v2 file now [12:10] webchat47_laptop: Looks like it was recognized. [12:12] It get's recognized but doesn't work [12:12] webchat47_laptop: define "doens't work" pls [12:12] webchat47_laptop: can you launch "cheese" app ? [12:12] Hi all [12:12] I mean, I won't be able to access that webcam anywhere [12:13] cheese works just for internal camera [12:14] webchat47_laptop: have you tried it now? [12:14] Failed to set UVC probe control : -110 (exp. 26). I get that error in dmesg [12:14] I just did [12:14] Internal camera is working fine but not external [12:15] webchat47_laptop: what lspci says? [12:15] 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] lspci [12:16] https://paste.ubuntu.com/p/RMjxw4pRSK/ [12:16] webchat47_laptop: yes, I'm conserned about nvidia too [12:17] I'll restart my laptop again [12:17] to see if it works [12:18] webchat47_laptop: have you done # depmod ? [12:19] Yes [12:20] I just removed v2 from /lib/modules and running depmod again [12:20] I'm restarting my laptop now, I'm also connected via my phone to this chat [12:21] webchat47: I'll reboot too [12:21] Okay [12:31] HDMI Port stopped working 😬 [12:31] External monitor has no signal [12:32] ctrl+alt+f1-5 (delay few seconds why trying) [12:32] webchat47: Wow, great. This is a mess. Can you pastebin the output of "apt list --installed | grep nvidia"? [12:32] Yeah 1 min === jesopo is now known as jess [12:37] https://paste.ubuntu.com/p/k8bb8WHBhS/ [12:38] too many drivers === zeroes_ is now known as zeroes [12:39] Shall I set one from settings? [12:40] webchat47_laptop, i suggest to purge that all, reboot and install just one [12:40] purge, install, restart [12:41] How do I purge? [12:41] webchat47_laptop, what's your problem exactly ? [12:42] sudo apt purge nvidia-driver-450 nvidia-driver-460 nvidia-driver-470 && sudo apt autoremove && sudo apt install nvidia-driver-470 && reboot [12:42] instead of autoremove, i'd say 'sudo apt autopurge' [12:42] 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] arraybolt3[m], webcam driver ? [12:44] ioria: Autopurge is a thing? Didn't know that. Cool. [12:44] yeah, it's new [12:44] 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] ah [12:45] 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] yeah, i remember it's a kernel problem, i guess ; he needs a different (newest) one [12:46] Yeah after restart Nvidia stopped [12:46] webchat47, what's your kernel ? [12:46] 5.13 Ubuntu 20.04 lts [12:46] webchat47: "uname -r" will tell you that. [12:48] 5.13.0-48-generic [12:48] webchat47, i posted you this, the other day : https://lore.kernel.org/all/33efe80e-9667-ffd0-49cc-541ebd9ff586@freezy.cz/T/ [12:48] 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] ioria the vendor told me to install latest uvc driver [12:49] if you dont mess around with any manual driver installs for nvidia you open "additional drivers", select it and it works [12:50] webchat47_laptop, the latest is probably in the latest kernel, i'am afraid [12:50] webchat47_laptop, so 5.13 is NOT the latest [12:51] webchat47_laptop, i don't know if i'am making sense for you .... you need another kernel [12:51] 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] also, did you try the 22.04 live usb? === gpkumar__ is now known as gpkumar [12:52] he need something above 51.6 [12:52] Downloading now [12:52] 5.16 [12:54] what's your laptop model? [12:54] Removed Nvidia drivers and selected open-source driver and rebooting now [12:55] i'am not sure it's an nvidia problem [12:55] ioria +1 [12:55] it's a kernel problem [12:56] at least it is not a webcam issue. [12:56] ioria: He's dealing with two issues - one is the webcam, the other is his video's gone crazy. [12:56] While making changes for webcam, settings got messed up [12:56] oh, i see [12:56] ok [12:57] oerheks: LOL lets hope, if even Manjaro doesn't let the webcam work, it might be the webcam that's the problem! [12:57] My laptop is detecting only one display [12:57] What could be the issue? [12:57] arraybolt3[m], that we already found out, it is not backwards compatible with usb3 [12:58] webchat47, you probably need again nvidia: dpkg -l | grep nvidia | nc termbin.com 9999 [12:58] 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] oerheks: I thought even with USB2 it was having issues. [12:59] IIRC, the camera would work the first time over USB2, but then not work anymore until the system was rebooted. [12:59] 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] look for a FN + screen key combo, or go into settings > displays [13:00] 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] webchat47, dpkg -l | grep nvidia | nc termbin.com 9999 [13:01] Installing nvidia driver from software & updates [13:05] https://termbin.com/8f8t0 [13:06] bad, leftovers and broken package [13:06] ?! That's one motley mess of driver soup. I think you may not have purged everything. [13:06] should I remove them all? [13:06] I'll do it now [13:12] I can't uninstall those drivers https://paste.ubuntu.com/p/PD67DHP4YQ/ [13:15] hi [13:15] Where did you get those driver from? The main repositories, or the graphics drivers PPA? [13:15] i have a problem about email server [13:15] how i can enabled my email server ?, === atol-71 is now known as atol71 [13:16] also, IMHO manjaro uses 5.15 [13:17] Yeah [13:18] webchat47: Don't know who you're answering or what answer. [13:19] arraybolt3[m]: I'm trying to uninstall all nividia drivers [13:19] Did you get them from the main repositories? [13:20] I think they were downloaded from software & updates [13:20] 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] I don't know, I'll try bring everything back to how it was before [13:22] Sorry, I feel bad for wasting your time. I'll buy a new webcam. [13:23] Don't feel bad! We're here for a reason, and trying to wrangle stuff like this is the reason! [13:23] 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] Just because this particular problem was tougher than expected doesn't mean it was a waste. [13:25] webchat47_laptop: do you have proper separation on /boot / and /home in fstab? [13:25] outoftime No, that was the mistake I made while installing Ubuntu. [13:26] outoftime: Ubuntu usually plops everything in /. [13:26] ubuntu installs in one partition, nowadays. [13:26] Later I found out it would save myself from such troubles by just reinstalling the OS [13:26] including swapfile, instead of swap partition [13:27] I have an external HDD, shall I take my files back up and install fresh? [13:28] oerheks: I do use swap file, btw [13:30] If I take a backup of home directory, I get all files right? [13:30] except OS and other changes? [13:32] webchat47: all configurations of DE and user's software goes into $HOME. [13:33] Ohh, then I'll take its backup [13:34] I suppose you can make / and /home for now and, install ubuntu into / and just add line in fstab for /home [13:34] ... after install [13:34] Are there any Softwares that make backup and restore easy? [13:34] tar [13:34] filemanager is awesome [13:35] webchat47: can you make new partition and move your files there? [13:35] I have dual boot so Ubuntu is running from single partition. [13:36] I'm planning to move $HOME to my external SSD [13:36] HDD* [13:37] Not the best idea [13:37] Better to move $HOME/Video and $HOME/Audio to HDD [13:37] $HOME dir have a lot of configuration file you don't wont to wait to get access to [13:38] e.g. chromium stores a lot of info in $HOME/.config [13:38] also your laptop will not work without that external drive anymore at all [13:38] ravage: will, but not specific user [13:38] i think 99% of desktop users have exactly one [13:51] anything wrong wit hadding debs like this? https://github.com/doomedraven/Tools/blob/8e537f2ff6216330e1db72233e90d9e757a526b8/Sandbox/cape2.sh#L608 [13:51] wget -qO - https://www.mongodb.org/static/pgp/server-${MONGO_VERSION}.asc | sudo apt-key add - [13:51] 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] sudo apt-key add - is depreciated [13:56] https://www.linuxuprising.com/2021/01/apt-key-is-deprecated-how-to-add.html [13:56] wget -O- | gpg --dearmor | sudo tee /usr/share/keyrings/-archive-keyring.gpg [13:59] 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] 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] 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] ... [14:11] I uninstalled all Nvidia drivers and restarted.. now the boot screen is stuck on Blinking cursor [14:12] I'm able to enter terminal by pressing ctrl+alt+F3 [14:12] webchat47, check if all nvidia packages are gone. then do "sudo ubuntu-drivers install" [14:13] Dpkg is giving error [14:14] the error message would be very helpful [14:14] Sure I'll send [14:14] Laptop is connected to my wifi [14:14] I'm just missing GUI [14:15] How do I start desktop environment? [14:15] not at all at the moment i guess [14:15] what is the dpkg error? [14:15] Ohh [14:15] I'm taking photo on my phone and sharing [14:16] you can use termbin if you are online [14:16] apt list --installed|grep nvidia | nc termbin.com 9999 [14:16] for example [14:16] will show if any nvidia packaged are still installed [14:17] apt list --installed|grep nvidia | tee nc termbin.com 9999 [14:17] ok that does not work [14:17] ignore the last command :P [14:18] in general adding "| nc termbin.com 9999" to your command will generate a link with the outpur [14:19] Okay [14:19] hi [14:19] anyone here [14:20] !ask | student [14:20] student: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [14:20] termbin.com/3nah [14:20] ok. so we have to get rid of those packages [14:21] sudo apt remove --purge nvidia-340 nvidia-opencl-icd-340 nvidia-settings [14:22] Running that command now [14:24] Now all Nvidia packages are removed [14:24] What should I do next? [14:24] now: sudo ubuntu-drivers install [14:25] Okay [14:25] I got an error [14:26] I'll send wait [14:27] termbin.com/z61a [14:28] These get installed by Ubuntu but installation breaks in between [14:29] i need the error. not the installed packages [14:30] also "lspci|grep VGA|grep NVIDIA|nc termbin.com 9999" please [14:32] ravage +1, what nvidia gpu indeed [14:32] maybe it is so old, it needs the 340 [14:33] maybe it really works better with nouveau [14:34] we will see if he returns :) [14:44] How do I connect to this IRC from Android app? [14:44] I'm using revolution IRC [14:45] https://libera.chat/guides/connect [14:45] webchat47: most use irccloud or some other web client [14:45] Ohh [14:46] I'll download [14:46] you can connect with revolution IRC [14:46] i use it too [14:46] just enter the server information [14:46] 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] rrr, upgrade from which Ubuntu version to which one? what is the exact error message you get? === another is now known as hfiuhseuoid === atol-71 is now known as atol71 [14:51] 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] 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] /usr/sbin/debootstrap --arch amd64 --variant minbase buster buster-uml http://deb.debian.org/debian << is the deboostrap command in my script [14:53] 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] transhumanist: what command did you use, and what's the file system of /root? [14:54] E.g. if you're in a container with overlayfs etc, you should mention it [14:54] rrr, do you need the sql server and its data? [14:54] ravage, no. I would just uninstall if I cannot fix. [14:54] not sure what you mean an overlayfs? can you clarify? [14:55] rrr, using zfs or lxc ? [14:55] zfs [14:55] it's a bug [14:55] Hello, I'm connecting from my mobile app [14:56] rrr, ls -l /var/lib/mysql/ib_logfile* [14:56] welcome darshan [14:56] I'm webchat47 [14:56] alkisg: I rsynced it to an img file and chroot in the image file , shouldnt affect the original deboostrap [14:57] I was asking about removing all Nvidia drivers and reinstalling them [14:57] rrr, you could try to locate the postrm script for the package that fails in var/lib/dpkg/info/ [14:57] put "exit 0" in there as the first command [14:58] ravage, I'll check that.. There are two log files ib_logfile0 and ib_logfile1 http://nn2.us/pastebin/a72w [14:58] I can't boot into gui, I'm able to enter terminal using ctrl+alt+f3 [14:58] rrr, truncate -s 128M /var/lib/mysql/ib_logfile* [14:58] rrr, if you dont care about the data i would not mess around with the actual data files [14:59] just get rid of the server :) [14:59] darshan: sudo lshw -C video, to see wich driver your card picked up or not [14:59] you can cleanup /var/lib/mysql manually afterwards [14:59] I can't seem to uninstall it. [15:00] rrr, did you run the cmd ? [15:01] lotuspsychje: checking [15:01] that did work [15:01] oops, the exit 0 in the postrm file technique worked. [15:01] ioria the truncate -s 128M command didn't [15:02] see if "apt autoremove" wants to clean anything up [15:02] 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] then you can delete the /var/lib/mysql directory if you dont need the data [15:03] so rsync will affect the orginal deboostrap? [15:03] lotuspsychje: I see two display, nvidia and intel both are unclaimed [15:03] ah yes I see, your right ! thanks [15:03] rrr, if you want to use mysql again maybe use mariadb next time [15:03] ok, I chose to use mongodb for my url shortener [15:03] transhumanist: also when rsyncing, you shouldn't include the special directories like /dev if they're mounted [15:03] darshan: unclaimed means the driver didnt load properly, so try switching to whatever you tryed last [15:04] rsync -raHAXS buster-uml/ root_fs/ << this is what I was using [15:04] lotuspsychje: I need to install nvidia drivers that I removed previously [15:05] transhumanist: and was buster-uml running (with /run mounted) etc when you used that command, or was it offline? [15:05] ravage, ioria: thank you, for your assistance today. [15:05] Ubuntu-driver install is using cached drivers, how to clear them and download fresh? [15:06] hmm, it SHOULD be offline, looking at my script unless there is a lock by the original deboostrap command [15:06] rrr, no problem :) [15:06] https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1969247 [15:06] Launchpad bug 1969247 in zfs-linux (Ubuntu Jammy) "fallocate with FALLOC_FL_ZERO_RANGE produces zero-size files on zfs in Jammy" [Undecided, Fix Committed] [15:06] ravage: hey, you had sent an command to install nvidia drivers, could you please send that again? [15:07] 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] I can't copy from CLI [15:07] Mouse is not working [15:08] How can I share? [15:08] darshan: A picture of the pastebin URL is enough, or you can type it if you prefer. [15:08] darshan: You can make a paste by doing "dmesg | nc termbin.com 9999" [15:09] arraybolt3[m]: thanks doing it now [15:10] https://termbin.com/lfsp [15:11] I don't know what is happening [15:12] The nVidia driver doesn't appear to be loading. [15:12] Yeah there's no driver, I've removed them all [15:12] I don't see any nVidia errors, either. [15:13] Now I'm not able to install driver [15:14] 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] darshan, "lspci|grep VGA|grep NVIDIA|nc termbin.com 9999" [15:14] darshan: This will tell us if the nVidia drivers are cached in apt or not (I suspect they are). [15:14] yeah its weird dmesg doesnt show any nvidia info at all [15:14] Yes yes they are cached arraybolt3[m] [15:14] thanks guys trying some different options as recommended.... [15:15] OK. Let me see if I can find a cache clear command. [15:15] bbl after a reboot since my sys and proc are borked now [15:16] darshan: Try "apt-get clean". [15:16] That will clear your cache. [15:16] Okay done [15:17] 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] Trying [15:18] 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] 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] arraybolt3[m]: it's downloading driver [15:20] 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] arraybolt3[m]: that's nice, hope the driver won't get too picky, since some cards driver source is public [15:21] Everything was working properly till I tried to install driver for my webcam manually and everything started falling apart after that.. 😅 [15:22] 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] darshan: you also might wanna check if you have bios updates for your machine [15:22] 😀 [15:23] darshan: Hold off on BIOS updates until you do research. [15:23] lotuspsychje: I'll check by booting windows later. I don't know how to update ghkse things on Ubuntu [15:23] 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] those* [15:24] Yeah if everything is working fine then I don't touch it [15:24] arraybolt3[m]: this was not the same user here i assume? [15:25] 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] arraybolt3[m]: I think it got installed [15:26] It completed and no errors [15:26] arraybolt3[m]: thats a bit of weird thinking, but lets save that for another channel to discuss [15:26] Should I restart now? [15:26] darshan: I think so. [15:27] reboot is the command right? [15:27] From terminal [15:27] webchat47: are you ok now? [15:27] Yep. [15:27] I'm webchat47 [15:27] I logged in from my mobile [15:28] outoftime: fixing nvidia [15:31] Hi, driver seems to be installed [15:32] But I still don't have GUI [15:32] What could be the issue? [15:32] darshan: Try running "sudo systemctl restart sddm". [15:33] I think you might want sddm.service there [15:33] genii: not found [15:33] are you using ubuntu? [15:33] Yes [15:33] 20.04 [15:33] sudo systemctl restart gdm.service === Forza_ is now known as Forza [15:35] gpkumar it is trying to start, I got nvidia prompt [15:35] kernel update 5.15.0-39 [15:36] gpkumar: it's back to same terminal, it didn't restart [15:37] gpkumar: Oh my gosh, you're right. I'm used to Kubuntu and Ubuntu Studio, where we use sddm... 🤦‍♂️ [15:37] darshan: Any error messages on the screen? Also, can you check /var/log/syslog for anything suspicious? [15:38] Nothing on screen.. checking sys log [15:39] It is printing from get very beginning, how do I just check last few log [15:39] darshan: try "tail /var/log/syslog" [15:42] 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] https://termbin.com/9r83g syslog tail 100 [15:43] 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] Yeah did [15:44] I've sent the output [15:44] test msg [15:44] darshan, modprobe: ERROR: could not insert 'nvidia': No such device [15:45] The NVIDIA GeForce 610M GPU installed in this system is supported through the NVIDIA 390.xx Legacy drivers. [15:45] The 470.129.06 NVIDIA driver will ignore... [15:45] Yeah, it's an old laptop [15:45] The 470.129.06 NVIDIA driver will ignore Continuing probe... No NVIDIA GPU found. [15:45] what [15:46] 340 or 390.. === gpkumar__ is now known as gpkumar [15:46] darshan, what nvidia driver have you installed ? [15:46] 470 latest [15:46] ubuntu doesn't even boot darshan? [15:46] Now you have your fix [15:46] darshan, ubuntu-drivers list | nc termbin.com 9999 [15:47] gpkumar: nope, I can only access terminal with ctrl+alt+F3 [15:47] i wondered, why your system took the 340 driver, now we know why. [15:47] we tried to get that information 2 hours ago oerheks but i gave up after asking 3 times :) [15:48] ravage, i know.. === atol-71 is now known as atol71 [15:48] 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] darshan, if you run the cmd i sent you we'll know something more [15:48] sudo ubuntu driver install 390 [15:50] ioria: it gives output as [15:50] nvidia-340 [15:50] bcmwl-kernel-source [15:50] ok, 340 has a bug and might be better not install it [15:50] nvidia-340 doesnt work with recent kernel without patch [15:50] the second is wifi, we don't care [15:50] but [15:50] Wifi is working [15:51] It's connected in background [15:51] !info nvidia-graphics-drivers-340 focal [15:51] Package nvidia-graphics-drivers-340 does not exist in focal [15:51] 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] darshan, can you please run apt-cache policy nvidia-graphics-drivers-340 [15:52] Okay [15:52] nvm [15:52] You must use https://launchpad.net/~kelebek333/+archive/ubuntu/nvidia-legacy if you want to use nvidia-340 on 22.04 [15:52] or on 20.04 with hwe kernel [15:52] good [15:52] stealthrecon, installing network-manager? it is part of your desktop already? [15:53] darshan, but first we need to purge the old ones again [15:53] ioria, he can use the 390, see the error log [15:53] oerheks, 390 ? [15:53] I'll try 390 [15:53] Can anyone send command for that? [15:53] is it nvidia-390 ? [15:53] darshan, why 390 ? [15:54] 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] Yeah [15:54] So that's the last supported version [15:54] I guess [15:55] ok, we can try : darshan : dpkg -l | grep nvidia | nc termbin.com 9999 [15:55] oerheks, This is on server. Netplan works fine, but network-manager does not seem to install right. [15:56] https://termbin.com/0my3 ioria [15:56] use netplan, or remove it and install network-manager [15:56] darshan, sudo apt purge nvidia-driver-470 [15:57] Doing now [15:58] Should I run autoremove after that? [15:58] darshan, sudo apt autopurge [15:58] Okay [16:01] 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] ioria: it's done [16:02] darshan : dpkg -l | grep nvidia | nc termbin.com 9999 [16:02] It's empty [16:03] darshan, sudo updatedb && locate xorg.conf | nc termbin.com 9999 [16:04] Updatedb not found [16:05] darshan, ls /usr/share/X11/ | nc termbin.com 9999 [16:06] https://termbin.com/zwk9 [16:06] darshan, try a reboot [16:06] Okay [16:08] What's the command to update to 22.04 now and not waitn for .1? [16:08] !ltsupgrade | jhutchins [16:08] jhutchins: Regular upgrades from the last but one LTS release to the latest LTS release, 22.04 "Jammy Jellyfish", are enabled days or weeks after 22.04.1 is released. This delay helps to ensure that any lingering issues are resolved before people upgrade production systems. If you'd prefer to upgrade now, use sudo do-release-upgrade -d [16:11] ioria: restart done [16:11] I'm back to same terminal [16:11] darshan, you mean you don't get the login screen ? [16:12] No GUI [16:12] It was showing _ [16:12] I had to enter tty3 [16:12] darshan, lspci -nnk | nc termbin.com 9999 [16:14] ioria: https://termbin.com/srp0 [16:14] darshan, you have nouveau blacklisted somewhere [16:14] I don't know [16:16] darshan, sudo find / -name xorg.conf* | nc termbin.com 9999 [16:16] 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] to move from 18.04 to 22.04 you must move stepwise [16:17] jchittum, it works for 20.04 lts [16:17] yes, because that's stepwise LTS -> LTS [16:17] he did not mention 18.04 [16:17] 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] I'm just filling in the statement for 18.04 for anyone following along [16:17] and the limitations [16:18] I'll send it's output soon [16:18] darshan, ok, but i might be gone sy; btw, look at /etc/modprobe.d [16:18] What should I check in that? [16:19] darshan, a nouveau blacklisting file [16:19] I remember running sudo depmod -a command today, did that cause any issue? [16:20] probably not [16:21] How to I resolve that if nouveau is blacklisted? [16:23] rm [16:23] darshan: Remove the blacklist entry. [16:24] the module is already in use Kernel modules: nvidiafb, nouveau ! === ostap-tymchenko is now known as lemongrasscap [16:30] Bugies, look better [16:30] Bugies, you need to check the 'Kernel driver in use' line [16:32] darshan, still waiting for this : sudo find / -name xorg.conf* | nc termbin.com 9999 [16:33] It's taking time to run [16:33] ok [16:35] I get this message after running [16:35] find: 'run/user/1000/gvfs' : Permission denied [16:35] but it still running I guess [16:35] darshan, that's not normal [16:36] I can break it with ctrl + C [16:36] darshan, you should have at leat one entry as /usr/share/doc/xserver-xorg-video-intel/xorg.conf [16:37] I'll try to check that folder wait [16:37] why don't you install mlocate ? [16:38] sudo apt install mlocate? [16:38] can you suggest some possible reasons? [16:38] yes [16:39] darshan, after installing, run sudo updatedb [16:39] Can I override nvidia and make it only use iGPU ? [16:40] Intel HD Graphics 3000 [16:40] Initializing mlocate database is taking time [16:41] darshan: Right. It's actually doing something, scanning the locations of the files it's indexing. [16:41] 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] jhutchins: okay [16:44] darshan, do you have this file ? : /etc/modprobe.d/blacklist-nouveau.conf [16:45] 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] ioria: I checked that folder it is not there [16:46] darshan, do you have this file ? : /etc/modprobe.d/blacklist-nouveau.conf [16:46] 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] Having a 100% full root filesystem is likely to cause lots of unanticipated problems. [16:47] mlocate looks stuck at 60%, should I break it ? [16:47] libraleon, contact your vps vendor? [16:47] darshan: Just leave it, do something else while it works. [16:47] darshan, nope, but that means that you have removed xserver-xorg-video-intel [16:47] darshan: Do you see disk activity? [16:47] they will say; buy more ! [16:47] it got completed [16:47] libraleon: reboot that server and make sure your rootfs only gets mounted one time [16:48] darshan, locate xorg.conf | nc termbin.com 9999 [16:48] cqqk [16:49] ioria: https://termbin.com/cqqk [16:50] darshan, sudo mv /usr/share/X11/xorg.conf.d/10-nvidia.conf /home/$USER [16:51] done [16:51] darshan, sudo mv /usr/share/X11/xorg.conf.d/11-nvidia-offload.conf /home/$USER [16:52] ravage: hm I'm unable to delete some files because of "sudo: unable to resolve host mima14: Temporary failure in name resolution [16:52] Done [16:52] darshan, ls /lib/modprobe.d /etc/modprobe.d/ | nc termbin.com 9999 [16:53] ravage: I'm just really terrified of losing data if I reboot :D [16:53] 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] https://termbin.com/kq60 [16:55] 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] darshan, sudo mv /lib/modprobe.d/nvidia-graphics-drivers.conf /home/$USER [16:57] Done [16:57] 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] darshan, sudo mv /lib/modprobe.d/nvidia-kms.conf /home/$USER [16:57] Done [16:58] libraleon, normal reboot may fail. so you will have to do a hard reset probably [16:58] darshan, grep blacklist /etc/modprobe.d/* | grep nouveau [16:58] ravage: this is /etc/fstab: https://pastebin.com/XQLgi2HZ - is it ok? it's just the default one [16:59] libraleon, comment the line with /mnt [16:59] ioria: no output [16:59] libraleon, that looks weird. but i have no idea how azure works really. [16:59] darshan, ok; sudo update-initramfs -u -k all [17:01] Executing [17:02] ioria: done [17:02] darshan, dpkg -l | grep nouveau | nc termbin.com 9999 [17:03] fyi, dpkg -l accepts globbing patterns, so no need for extra pipes [17:03] rfqg [17:03] https://termbin.com/rfqg [17:04] darshan, what's this libdrm-nouveau2:i386 ? [17:04] I don't know [17:05] could be one of steam's 32-bit libraries [17:05] darshan, do you have steam installed ? [17:05] I have i3 2nd gen processor [17:05] steam is a software [17:05] no [17:05] Not installed [17:06] but this should be a fresh install, no? [17:06] ok... it's installed by nvidia [17:06] darshan, purge it : sudo apt purge libdrm-nouveau2:i386 [17:06] 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] Okay [17:07] darshan, don't remove the amd64; just the i386 [17:07] kveremitz join MOTY [17:07] Okay [17:07] I'm just executing your command same [17:07] ok [17:07] KBar: where?! :D [17:08] kveremitz: there is #packaging on oftc [17:08] kveremitz: start off from here: https://packaging.ubuntu.com/ [17:08] aha thanks! [17:08] read debian policy and debmake-doc [17:08] join #ubuntu-motu [17:08] ioria: done [17:08] darshan, cat /etc/default/grub | nc termbin.com 9999 [17:09] heo3 [17:09] ok [17:09] https://termbin.com/heo3 [17:09] 👍 [17:09] darshan, sudo apt update [17:10] kveremitz: some relevant parts: https://packaging.ubuntu.com/html/packaging-new-software.html & https://wiki.ubuntu.com/UbuntuDevelopment/NewPackages [17:10] KBar: reading now .. :D [17:10] darshan, see if you have some updates pending [17:11] Okay [17:12] 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] kveremitz: good! gonna be a long read :) [17:12] best of luck [17:12] ioria: yeah few updates are available [17:13] darshan, sudo apt full-upgrade [17:13] KBar: I'll just refill my coffee .. ;) [17:13] libraleon: yep looks ok [17:13] Okay [17:13] ravage: what I found very interesting/weird now and I didnt notice before, there's a folder [17:14] /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] yes this is the whole path, really [17:14] lol [17:14] libraleon: That's a symlink loop. [17:14] arraybolt3[m]: what does it mean? [17:14] 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] ? [17:15] arraybolt3[m]: but why so many? [17:15] a symlink to itself [17:15] 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] The reason there's so many is because it's a recursive loop. It's like this: [17:15] /bin contains a symlink called X11. [17:16] /bin/X11 points to /bin. [17:16] So when you go to /bin/X11, you enter /bin/X11, but you're still looking at the contents of /bin. [17:16] And since /bin contains a symlink called /bin/X11, therefore /bin/X11 also contains a symlink to /bin/X11. [17:16] isnt there a limit to symlink recursion at the kernel? [17:16] *level [17:16] arraybolt3[m]: so this is basically harmless? :) [17:17] And traveling that symlink takes you to /bin/X11/X11, which points to /bin, which contains a symlink called X11... [17:17] KBar, i think 40 ? [17:17] Yeah. [17:17] libraleon: Yes, harmless. [17:17] oerheks: yeah either 40 or 50 [17:18] https://www.baeldung.com/linux/too-many-levels-of-symlinks [17:18] arraybolt3[m]: ok tnx :) now I just need to find out how to mount a new disk on my vps :D [17:18] ioria: its updating still, PostgreSQL and edge downloads are very slow [17:18] ok [17:29] why edge? any good feature over chrome or brave? [17:29] edge on linux is the new toy [17:30] gpkumar: I had to install it for VSCode, It allowed broswer previews for only edge [17:30] ioria: Updates got installed [17:30] darshan, echo $XDG_SESSION_TYPE [17:31] 🤔okay, I don't use vscode [17:31] ioria: tty [17:31] oh, sorry [17:31] darshan, reboot please [17:31] Okay [17:32] 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] LabMonkey: so if my /dev/sda is full, how can I use free disk place at /dev/sdc ? [17:34] libraleon: You can bind-mount in a folder from /newdisk. That would be an easy way. [17:34] 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] the second spits out the first. What gives? [17:35] 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] arraybolt3[m]: so can I use something like mount --bind /newdisk / ? [17:36] ioria: I still didn't get the login screen.. but now both of my monitors are working [17:36] mount --bind /newdisk/sparespace /var/lib/mysql/putmyspacehere === auronandace is now known as ThinkT510 [17:36] Both are showing same screen [17:36] Anything saved in /var/lib/mysql/putmyspacehere will then be saved onto /newdisk/sparespace. It's sorta like a symbolic link. [17:37] darshan, sudo systemctl restart gdm [17:38] 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] ioria: it didn't work, it's back to tty [17:39] Then you'd need to bind-mount in more folders wherever you needed them. [17:39] hi, anyone using Ubuntu Linux in this channel? [17:40] arraybolt3[m]: but I mean what if I do it for / ? wouldn't cover everything? [17:40] darshan, apt -s autopurge | nc termbin.com 9999 [17:40] bomb: Lots of us, it's the official Ubuntu support channel. [17:40] arraybolt3[m] nice! can you pastebin your >> ulimit -l << output. I really need it? [17:40] One moment... [17:41] https://termbin.com/eoiu [17:41] bomb: I'm getting "unlimited" on my Ubuntu Studio box. === Forza_ is now known as Forza [17:41] bomb, mint is not ubuntu, they have their own channel? [17:42] libraleon: I think it would cover everything, if it worked at all. A bind mount beams one folder to another. [17:42] darshan, sudo apt autopurge [17:42] Okay [17:42] you might get weird answers that does not fit your install [17:42] 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] it's a Kubuntu 22.04 with latest updates [17:43] 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] 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] DNS servers. Not quite sure how [17:45] I tried a forward zone in unbound, but that wont work since the firewall doesn't have the tunnel, only my laptop [17:45] ioria: I got an error [17:45] rmdir: failed to remove '/lib/modules/5.13.0-44-generic' : Directory not empty [17:45] arraybolt3[m] I see. gotta look elsewhere, then [17:45] darshan, it's ok; reboot again (sorry) [17:45] okay [17:45] bomb: I have Kubuntu, too, I can look for it. [17:46] 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] arraybolt3[m] oh I'd appreciate it! ulimit -a [17:46] arraybolt3[m] because I think Ubuntu Studio might have the same modifications that Mixbus/Ardour suggests [17:47] 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] crap I have to go , I will come back and repost later, sorry... [17:47] arraybolt3[m] oh, a live CD would do? [17:48] arraybolt3[m] I think I can boot into a live CD as well. please don't spend your time for me :) [17:49] 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] So it's more likely to be correct. [17:49] arraybolt3[m] thank you, then. I appreciate it :) [17:50] 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] any issue with ubuntu-desktop? [17:52] bomb: darshan sounds like a pam issue [17:52] darshan, i' am running out of ideas : lspci -nnk | nc termbin.com 9999 [17:52] darshan: check journalctl [17:52] it usually spits out [17:52] everything wrong at gui initiation phase [17:54] https://termbin.com/39at [17:54] darshan, good Kernel driver in use: nouveau [17:55] darshan, we're almost there [17:55] How to start desktop ui? [17:55] darshan, both nouveau and i915 are loaded now [17:55] darshan, you know : sudo systemctl restart gdm [17:56] It runs and ends up in the same screen with blinking _. Then I have to enter tty [17:56] darshan: journalctl | nc termbin.com 9999 [17:57] Okay [17:57] darshan: dont do that [17:57] it will give you logs from january or worse [17:57] Oky [17:57] darshan, journalctl -b 0 [17:58] Yeah it's quite large [17:58] 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] use it with -b 0 [17:59] darshan: journalctl -b --no-pager [17:59] it will open in less by default [17:59] just pipe that --no-pager output to termbin [18:00] bomb: ulimit -l from Kubuntu 22.04 is 502492. [18:00] https://termbin.com/71p9 [18:00] arraybolt3[m] ah, interesting. how about ulimit -a [18:00] darshan, after that, paste this : apt list --installed | grep ',local\]$' | nc termbin.com 9999 [18:01] bomb: Pastebinning... [18:01] bomb: https://termbin.com/yu8r [18:02] https://termbin.com/3s0g [18:02] Unable to run X server is not a good sign [18:03] arraybolt3[m] thank you very much! looks like my "max locked memory" is set to unlimited, and "real-time priority" is 95 [18:03] darshan: it errored out on loading libglx.so [18:04] KBar: it's related to nvidia I guess [18:04] arraybolt3[m] and... they're set by audio.conf found in /etc/security/limits.d/ [18:05] darshan, you have purged nvidia, right ? [18:05] darshan: i wasnt here from the start, but have you tried with ubuntu-drivers [18:05] 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] or whatever the command was [18:05] ioria: yes [18:05] to install optimal drivers for you card [18:05] bomb: I don't have anything in my VMs /etc/security/limits.d. [18:05] darshan, apt list --installed | grep ',local\]$' | nc termbin.com 9999 [18:06] mpe1: #gimp might help you. sorry, this is Ubuntu-specific support channel [18:06] KBar, ubuntu-drivers suggest -340, but there a severe bug about it [18:06] 's [18:06] ioria: ah, i see. well. nvidia socks as per usual then [18:07] yep [18:07] arraybolt3[m] me neither, not anymore! thank you, again; you saved me a lot of trouble :) [18:07] ioria: https://termbin.com/3s0g [18:07] darshan, moved by desperation, you can install 340 from the legacy ppa , but i'd rathen find the cause [18:08] maybe he can try lubuntu 20.04 [18:08] Can I install any other desktop environments? [18:08] I mean to test [18:09] sure, but purging might get you in more trouble [18:09] darshan, your system crashes at the login screen or when you try to log in ? [18:09] Gnome environment is not launching [18:09] darshan: Almost all of them will use the X server, which is the part that's going wonky. [18:09] KBar: i'm using ubuntu [18:09] Hello there [18:09] 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] I mean its not one of Canonical's projects. [18:10] 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] ok [18:10] darshan: there is a login screen. gdm starts successfully [18:10] the module just fails and it kicks you out [18:11] Ohh but it's not visible [18:11] it even opens FDs for your video driver successfully [18:11] darshan, do you have installed xserver-xorg-video-nouveau ? [18:11] !nomodeset [18:11] Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there. [18:12] Bugies: how do I check? [18:12] darshan: `dpkg -l PKG_NAME` [18:12] Ohh should I try recovery mode then? [18:12] or `dpkg -s` (too verbose) [18:12] 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] darshan, oerheks has a good idea, use nomodeset [18:13] 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] Bugies: it is installed [18:13] MMZF_: well. this is why you don't mix DEs [18:13] MMZF_: once you install a desktop environment, there is no going back. Purging doesn't help. [18:14] darshan, you know how to use nomodeset ? [18:14] KBar ikr, my internet got disconnected somehow which made this issue much worse [18:14] MMZF_: back everything up and install afresh [18:14] ioria: no never tried it [18:14] darshan, reboot in Recovery Mode and then choose 'resume' [18:15] KBar: other than that? [18:15] ioria: recovery mode for same kernel version right? [18:15] Is there any fix to make it boot [18:15] There are other operator as well [18:15] MMZF_: yes. Reinstall. [18:15] Lol [18:16] MMZF_: hold on a second. [18:16] Thats the issue i dont have usb now [18:16] MMZF_: here, don't take my word for it: https://ubuntuforums.org/showthread.php?t=2415676 [18:16] MMZF_: What? All your USB ports don't work? [18:17] darshan, yes [18:17] arraybolt3[m]: they probably meants as in no physical USB drive/stick [18:18] 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] 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] ioria: looks like it crashed at that resume page [18:19] MMZF_: If you need to buy new USB drives, I had good success with TeamGroup 32GB C175 3.2 drives from Newegg. [18:19] darshan, there's something really wrong there [18:19] i think we should implement some type of a warning before a user tries to install new desktop environments [18:20] It is now exiting from recovery mode screen [18:21] darshan, when you can, login again in tty [18:21] I can login in tty [18:22] darshan, sudo dkms status [18:23] arraybolt3[m]: ports do work but the usb i used is not with me anymore === bert2trs is now known as bertptrs [18:24] Should I install try sudo apt install nvidia-driver-390 ? [18:24] It's available [18:24] darshan, sudo dkms status [18:24] 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] Okay [18:25] darshan, if you got output, sudo dkms status | nc termbin.com 9999 [18:26] arraybolt3[m]: the method you told did work to get in recovery mode lets see what i can do now [18:27] https://termbin.com/luvg [18:28] nvidia still there [18:28] I tried installing Nvidia 390 then my both monitors showed up [18:29] I don't know that if it's completely installed or not [18:30] darshan, you installed 390, before i asked you 'dkms status' ? [18:30] Yeah [18:31] I'll remove and purge it in a minute [18:31] If that's required [18:31] darshan, ok; but the point was why your system dos not work with nouveau, but ok [18:31] arraybolt3[m]: changed to gdm and boot successful thanks [18:32] MMZF_: 🎉 [18:32] darshan, no need to purge; reboot and see if you can login [18:32] Yeah trying [18:32] Should I install 340 as well? [18:32] nope [18:35] ioria: https://imgur.com/a/6EgC3ev I get this screen [18:35] And it won't go to login screen [18:36] press any key, you will see some output [18:36] darshan, press Esc [18:36] Instead stays on blinking _ [18:36] darshan: oh tape on the camera 👍 [18:36] ioria: during that screen? [18:36] yep [18:36] Okay I'll try [18:37] neither 390 is working, then [18:39] 390 was advised.. but his reinstall automatic gave 340.. [18:39] weird [18:39] so, that ancient 610 needs 340? [18:39] i doubt it [18:40] 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] 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] @darsahn & @ioria: i may be jumping in late here, but what is the output of sudo ubuntu-drivers autoinstall | nc termbin 9999 [18:43] eax_, 340 [18:43] eax_, i asked for ubuntu-drivers list to be correct [18:44] ioria: https://imgur.com/a/1Yq0Jl3 it stops at that line [18:44] @ioria: oh i c [18:44] darshan, log in in tty [18:45] Yeah logged in [18:45] darshan, cat /etc/gdm/custom.conf | nc termbin.com 9999 [18:46] there's no gdm [18:46] gdm3 exist [18:46] darshan, sorry: cat /etc/gdm3/custom.conf [18:47] https://termbin.com/b9v4 [18:49] darshan, uncomment #WaylandEnable=false [18:49] Okay [18:51] Done [18:51] Should I try reboot? [18:51] darshan, sudo systemctl restart gdm [18:51] Okay [18:52] this is the journal log, if someone wants to jump in : https://termbin.com/71p9 [18:53] ioria: didn't work, it goes back to blinking _ screen [18:53] darshan, i really need to go, maybe someone else can help, or come back tomorrow [18:54] Oddly enough, gdm3 is trying to manually insert the nvidia driver, which is resulting in an error. I wonder... [18:54] It's okay, thankyou very much ioria [18:55] arraybolt3[m]: is there any way to ignore nvidia and use intel graphics instead? [18:55] darshan: "echo /etc/modules | nc termbin.com 9999" not sure if we did this already but might be handy to see [18:56] 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] arraybolt3[m]: it gives same output /etc/modules [18:57] arraybolt3[m], you mean cat and not echo [18:58] ravage: Right, my bad. darshan "cat /etc/modules | nc termbin.com 9999" [18:58] termbin.com/igez [18:59] darshan, the nvidia driver won’t get called for a given GPU if the nouveau driver has already claimed it [19:00] 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] Append nvidia to modules? [19:00] To blacklist nouveau: https://askubuntu.com/questions/841876/how-to-disable-nouveau-kernel-driver [19:00] is nouveau loaded right now? [19:01] ravage: don't know [19:01] 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] lsmod|grep nouveau [19:02] https://termbin.com/nhpm [19:03] ok. and nvidia-390 is currently installed? [19:04] if yes: [19:04] sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" [19:04] sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf" [19:04] sudo update-initramfs -u [19:04] darshan: Don't do my thing with appending nvidia to /etc/modules, my system with working nvidia doesn't have that. [19:06] 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] Again thanks you all for helping and answering my very basic questions [19:06] Yes, this was a long ubuntu support issue [19:06] darshan: OK. Sorry about this mess. [19:07] If nothing else, baackup and reinstall will almost certainly do the trick. [19:07] No it's fine, tomorrow I'll try to take backup and think try reinstalling [19:07] try 22.04 then [19:09] 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] @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 === _KaszpiR__ is now known as _KaszpiR_ [19:11] @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] why not try linux mint too, in the live session [19:12] eax_: If that doesn't work out then I'll be still able to login to tty right? [19:13] gpkumar: yeah I'll try to make live usb tomorrow [19:13] Can we able to access current file system through live boot? [19:13] yes [19:14] Then that will solve my problem.. I'll just live boot for next few days [19:15] @darshan: @ravage: it is. check his journal log (he pasted it earlier) [19:15] @darshan: you'll always have the tty. [19:16] 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] @darshan: i also suggest that you install your NVDIA drivers w/ `sudo ubuntu-drivers autoinstall` [19:17] It will install nvidia 340 driver [19:17] @darshan: and your card is 390? correct [19:17] No no, 😅 610M [19:18] It's an old laptop [19:19] @darshan: have you enabled NVDIA's ppa. They'll have the binary for such an old card [19:19] Earlier there were multiple drivers installed on my machine [19:19] Yeah I think I have enabled [19:22] @darshan: run this cmd `add-apt-repository --list` and ensure that it's actually in your sources dircectory [19:23] @darshan: if you dont have that script. then just grep it. `grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*` [19:24] i think the --list flag option got deprecated [19:25] It's not there [19:25] @darshan: add it ( sudo add-apt-repository ppa:graphics-drivers/ppa) and suo apt update [19:27] @darshan: then install your actual drivers; blacklist nouveau and reboot [19:27] Okay I'll give it a try [19:41] gn folks. mov eax, 0 [20:10] I filed a bug report, thanks [20:51] 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] banshi: type 'sudo efibootmgr -v | nc termbin.com 9999' paste link here === root is now known as Guest574 [21:06] EriC^^, https://termbin.com/vdtq [21:06] banshi: type "sudo ls -lR /boot/efi | nc termbin.com 9999" [21:10] https://termbin.com/27s2 [21:10] EriC^^, ^ [21:11] banshi: type 'sudo tail-v /boot/efi/efi/{ubuntu,lxle}/grub.cfg | nc termbin.com 9999' [21:23] EriC^^, https://termbin.com/i8qe [21:23] banshi: sudo blkid | nc termbin.com 9999 [21:25] https://termbin.com/ohxq [21:25] EriC^^, ^ [21:27] banshi: type "sudo sed -i 's@1a3ebd03-fce5-4d84-9600-b8fca31ba2e8@0427d6fa-13e2-4372-bba4-d8720b67d40d@' /boot/efi/efi/ubuntu/grub.cfg" [21:28] that should fix it? [21:28] yeah [21:28] I'll try right now [21:32] EriC^^, OMG! You are WIZARD! Thank you very much! [21:32] banshi: no problem [21:32] !cookie | EriC^^ [21:32] EriC^^: Wow! You're such a great helper, you deserve a cookie! [21:32] :D [21:34] but why would the installer choose the wrong uuid? [21:35] isnt that exactly what the unique ID was suppsed to fix? [21:36] 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] 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] probably he installed ubuntu earlier, then lxle and the bug ensued [21:38] thus the different fs/uuid [21:38] ok. that makes sense [21:38] should not affect that many people then really [21:39] maybe still worth a bug report? [21:39] it's uncommon, it first appeared maybe 2-3 years ago, i think ive only seen 3-4 people have it [21:39] yeah for sure === sonOfRa_ is now known as sonOfRa === genius3k is now known as genius3000 === jchittum_ is now known as jchittum === mmx_in_orbit_ is now known as mmx_in_orbit === decobus_ is now known as decobus === nicolasbock_ is now known as nicolasbock === Jeremy31_ is now known as Jeremy31 === seanh_ is now known as seanh === h00k_ is now known as h00k === bluesabre_ is now known as bluesabre === Thumpxr9 is now known as Thumpxr === realivanjx4 is now known as realivanjx === tofran555 is now known as tofran55 === Olfodr_ is now known as Olfodr === KnownSyntax_ is now known as KnownSyntax === aaguhagegaooeg is now known as westor === westor is now known as Guest5501 === Kobaz_ is now known as Kobaz [22:15] 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] https://linuxhint.com/installing_minio_ubuntu/ [22:21] xrandr: isn't it a fairly well documented API/system? [22:22] matsaman: ravage's answer was what I needed. :) [22:22] 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] 👍 === octav1a_ is now known as octav1a [22:40] xrandr: Is there any indication that S3 is an open filesystem with a published spec? [23:14] 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] 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] Sbur3: What web browser are you using? Also Ubuntu version would be helpful. [23:30] Ubuntu 22.04. Web browser Firefox ... recen t [23:31] To be exact, Ubuntu Studio 22.04 [23:31] 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] Which ubuntu version would be great for Hp Probook 6570b with i7 3rd gen cpu and 4 gb ram? [23:32] But eid-viewer works [23:33] CSAM doesn't [23:33] Sbur3: Right, but Firefox might not have permissions to access your ID card. [23:33] MMzF: the latest one [23:33] MMzF: With 4 GB of RAM, you might get away with Kubuntu, but Lubuntu would be better. [23:34] matsaman: I think he means flavour. [23:34] I installed the add on with Firefox [23:34] MMzF: if you mean flavor, it doesn't matter at all [23:35] 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] And I did sudo pcscd [23:35] matsaman: In my experience, Lubuntu worked quite well with 4 GB RAM, while Ubuntu (with the GNOME desktop) was too heavy. [23:35] [ arraybolt3[m] ]: i'll try to get 8gb ram. [23:35] arraybolt3[m]: graphics would matter more than ram [23:36] [ matsaman ]: i want to use webgl on linux so i was trying to figure out what will give more performance [23:36] GNOME is accelerated by default these days [23:36] MMzF: Do you have a virtual machine (virtualbox) to test it on? Or via livecd? [23:36] matsaman: Heh, tell that to the multiple times I got thrashed to a total halt. :-( [23:36] okay [23:36] i've tested default ubuntu de, mate, cinnamon but see freezes and drop in performance [23:37] [ Sbur3 ]: i'll go with live usb [23:37] MMzF: if you want a more stable product, I would suggest Xfce [23:37] MMzF: for starters to see if it works [23:37] but i do have currently installed ubuntu 22.04 [23:37] MMzF: but I'd also suggest Debian over Ubuntu [23:37] hmm [23:38] lspci [23:39] "(<>) MMzF: for starters to see if it works" [23:39] what do you mean? [23:40] 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] you should be able to install it from a deb, not a snap, without having to use some random upstream tarball [23:40] if not, definitely find another distro [23:40] and maybe do that anyway [23:40] snaps, lawl [23:41] 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] arraybolt3[m]: I will try that. I don't have anything impactful on Firefox, so it wouldn't be a problem [23:41] Sbur3: I'll find the instructions for installation real quick. [23:41] anything that isn't installed by the package manager is going to mangle your system at some point [23:42] arraybolt3[m]: isn't the PPA from the same upstream? [23:42] 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] matsaman: How would installing something outside of snap screw something up? [23:42] arraybolt3[m]: no, it kills your system [23:42] matsaman: I think so, but I'm not positive, and I think it's a testing PPA or something like that. [23:42] Sbur3: outside of the package manager I said [23:43] Sbur3: It's complicated - it's not installing it outside of Snap, it's outside of Snap and apt. [23:43] matsaman: Ok. I don't know the nuances of that distinction === COMMUNINJA is now known as RMOTAO [23:43] https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04 [23:43] matsaman: I'm sorry, but I've copied scripts into /usr/local/bin and my system is working just fine. [23:43] Sbur3: snaps, as idiotic as they are, are at least still a package management system [23:43] matsaman: Maybe look at the Mozilla instructions before you declare it a system killer? [23:44] Sbur3: the normal Debian, and therefore Ubuntu, package management system is dpkg/apt/.deb files [23:44] https://support.mozilla.org/en-US/kb/install-firefox-linux [23:44] arraybolt3[m]: pass [23:44] 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] If they were putting stuff in /usr/bin, or in /lib, or something, then I'd be worried. [23:45] " Install from your distribution package manager (Recommended)" [23:45] * matsaman rolls eyes [23:45] (And if there was a sudo make install involved, then I'd be really worried. But there's not.) [23:45] why do people link to thinks they haven't read [23:45] matsaman: Yeah, that's Snap. And it's not working for Sbur3. [23:46] arraybolt3[m]: it's actually dpkg more than snap, even for Ubuntu, even now [23:46] they have a whole other entry for snap [23:46] 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] it is their 3rd recommendation [23:46] you did not read it, and still haven't [23:46] and I'm done talking with you about it =P [23:46] 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] Anyway, no need to prolong the argument. Sorry if I'm being annoying. [23:51] matsaman: arraybolt3[m] But I still need to install the add on after replacing the snap firefox by the other one? [23:52] 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] But the thing that bugged me is that eid-viewer worked but not in firefox [23:53] should be pretty straightforward to try it with a non-snap version of firefox, anyway [23:56] 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] well I don't know if I helped you at all, but well done