/srv/irclogs.ubuntu.com/2022/08/28/#ubuntu-discuss.txt

lotuspsychjegood morning02:47
=== rs200918 is now known as rs2009
jailbreakAfternoon πŸ˜€β˜ΊοΈ12:07
wezEvening12:35
jailbreakAfternoon, yes. 12:38
wezevening indeed12:39
jailbreakNo. 12:43
jailbreakAnyway πŸ˜›πŸ˜œ12:44
jailbreakI'm hungry 😭 been awake since 4am and it's 2pm now. 12:44
jailbreakOops. Bye πŸ‘‹πŸ˜Ž12:47
arraybolt3[m]Morning!13:31
webchat78Can i run a vm without hardware virtualization13:55
webchat78I have an 8 core cpu with 4 gb ram13:56
murmelwebchat78: yes. but don't expect any performance13:56
webchat78Like what13:56
murmelslow as molasses13:56
murmelyou can just try it ;)13:56
webchat78Can i allocate 4 cpus to my vm13:57
murmelsure13:57
webchat78Can i allocate 2 gb ram13:57
murmelas long as the number is smaller than what you actually have on the host13:57
webchat78I have 4 gb on my host13:58
webchat78Can i use KVM13:58
murmelyes13:58
murmelyou can also use 128 megs in your vm, if the OS runs :P13:59
webchat78With13:59
murmelwith?13:59
webchat78Can i use kvm13:59
webchat78Without hardware virtualization13:59
arraybolt3murmel: I don't think all of what you're saying is accurate.14:00
arraybolt3webchat78: Without hardware virtualization, the /dev/kvm device will not exist, so no, KVM won't work.14:00
webchat78Then what can I use14:00
arraybolt3KVM is the accelerator, QEMU is the emulator. KVM absolutely depends on hardware virtualization. QEMU does not.14:00
arraybolt3You *can* try to use QEMU all by itself, but the performance is going to be so absolutely horrible that it probably won't be worth using.14:01
arraybolt3How old is your hardware? Chances are, if you can run Ubuntu at all, hardware virtualization can be enabled.14:01
webchat78So what can I select instead of kvm14:01
murmelarraybolt3: ahh you are right. kvm is definitely the accelerator14:01
webchat78When using qemu14:02
arraybolt3webchat78: You *might* be able to use Xen, depending on your use case.14:02
webchat78On qemu right14:02
arraybolt3webchat78: If you only intend on running Linux in your VMs, Xen can run paravirtualized VMs without hardware virt, and you can use it with QEMU as well.14:03
arraybolt3(Note that I've never done this, so YMMV.)14:03
webchat78Ok14:03
webchat78Here's another question not related to the first one14:04
webchat78Can i run Ubuntu Armin an android phone14:04
murmelvery unlikely14:04
webchat78ARM*14:04
arraybolt3webchat78: Ubuntu Touch does exist as a mobile OS for phones, but it only works on very specific phones.14:05
murmelas the kernels on android are heavily patched so that no mainline kernel works (as the drivers are blobs)14:05
arraybolt3webchat78: If you want to run Linux on your phone, I'd look into the Termux app.14:05
webchat78What about Ubuntu server ARM14:05
arraybolt3webchat78: Probably not.14:06
webchat78And why is that isn't it ARM based14:06
arraybolt3webchat78: Well, it's a long story. Short version, the world of ARM systems is very fragmented. You don't just have the CPU compatibility to deal with, you have all the little details of how the system works, how it boots, what weird hardware is included, etc. to deal with.14:08
arraybolt3webchat78: PCs are far more standardized and so most any PC will run Linux, but phones and other ARM devices, not so much so.14:08
webchat78So is it better to buy a pc14:09
murmelyes14:09
arraybolt3If you want to run Linux on your hardware, yes.14:09
webchat78Ok thanks14:09
arraybolt3If you are OK with a somewhat limited Linux container, though, you *can* run Linux... kinda... on Android using Termux.14:09
webchat78No I will buy a pc14:10
murmelarraybolt3: he, this kinda reminds me of linux on iPhones (vm)14:10
arraybolt3murmel: They did that? Hmph, TIL!14:10
murmelarraybolt3: ishell if I remember correctly, alpine linux14:10
murmelahh iSH 14:10
murmelit's emulating a x86 device afair14:11
* arraybolt3 shudders at the thought of how bad that must perform14:11
murmelarraybolt3: on my 6 it was running fine. you can even do X stuff14:12
arraybolt3Termux didn't bother with virtualization at all, it was just a chroot-ish thing.14:12
murmeloh 6S orry14:12
murmelarraybolt3: yeah the dev went x86 as it was running the same speed as arm6414:13
arraybolt3Odd. I wonder if that had something to do with Apple Silicon's fancy design, sorta like how Rosetta 2 can run x86 apps on Apple Silicon (ARM) almost as fast or maybe even faster than x86 could.14:13
murmeliphone 6S? I think that's too early for rosetta hw stuff14:14
arraybolt3Well, right, but I mean, maybe Apple was doing things back then that made x86 just as fast, because I can't fathom... oh wait, he probably wasn't using hardware virtualization on ARM with the ARM version...14:14
arraybolt3Nevermind, I'm probably totally off track.14:14
murmelyeah I assume he has to virtualize as nothing else would work (like a chroot or so)14:15
murmelI can still remember back in the day he had to include a small repo in the app as apple had to verify everything that you could also install in the linux OS. but nowadays it's shipping with the official repos14:16
arraybolt3Maybe it would have worked if he had containerized NetBSD instead?14:16
arraybolt3(With a container I mean)14:16
murmelI mean changing a text file is "hard"14:16
murmelarraybolt3: I wonder, as I assume the sandbox will definitely interfere14:16
arraybolt3Well the iPhone apps have to talk to the rest of iOS somehow.14:17
murmelsure14:17
murmelbut not hw virtualization ;)14:17
arraybolt3And IIUC iOS is a BSD derivative.14:17
arraybolt3murmel: Right, I meant containerization (chroot).14:17
murmelarraybolt3: way less than you think14:17
murmelas it's still based on the mach kernel, but freebsd userspace14:17
arraybolt3So, like, containerizing Linux on iOS might not work, but NetBSD might have worked. I mean, people can run OpenSSH on a jailbroken iPhone I believe.14:18
murmelyes14:18
murmeldid that back in the day14:18
murmelarraybolt3: but that was the linux version14:19
murmelhe I mean the dev used apt xD14:19
arraybolt3murmel: o_O Not the BSD version?14:19
murmel^14:19
murmelno14:19
arraybolt3Wait, I'm getting confused, the Linux version of OpenBSD was running on a jailbroken iPhone?14:19
murmeloO? openssh not openbsd14:20
arraybolt3Right, sorry, typo.14:20
murmelbut yes14:20
* arraybolt3 throws away everything I thought I knew about the guts of Apple hardware14:20
arraybolt3That sounds as silly as saying that someone managed to get a DOS app that was originally written for OS/2 running on Windows 11.14:20
murmelarraybolt3: I mean apple even supports the asahi team from the background (because of antitrust reason imo)14:21
arraybolt3s/hardware/software/14:22
arraybolt3(Wow, let's see how many other things I can misphrase or typo this late/early. I've not gone to bed yet, I should probably do that.)14:22
murmelarraybolt3: aus?14:22
arraybolt3Nope, US night owl.14:22
murmelahh14:23
arraybolt3I'm usually awake at the same time as Austraila, though :P14:23
murmelso not working for a aus company xD?14:23
arraybolt3LOL no.14:23
murmelman, why does compiling take that much time :(14:23
arraybolt3murmel: What's your hardware?14:24
murmeli7 8650U :(14:24
arraybolt3Man, what are you compiling o_O14:24
murmelbinutils14:24
arraybolt3I'm able to build Calamares in about 20 minutes on my 3rd gen Core i5.14:24
murmelno idea about calamares14:25
murmelarraybolt3: but idk enough about disabling other arches, so it compiles also cross compilation debs14:26
murmelarraybolt3: https://github.com/ish-app/ish for your interest :P14:37
arraybolt3murmel: Cool! I don't have any Apple devices, but that still looks neat.14:38
arraybolt3LOL "Long-term exposure to this code may cause loss of sanity, nightmares about GAS macros and linker errors, or any number of other debilitating side effects. This code is known to the State of California to cause cancer, birth defects, and reproductive harm."14:38
murmelI mean you don't mess with the state of california14:39
arraybolt3I see he used a special trick to avoid pure emulation, that explains why it's bearably fast. Nice!14:39
murmeljust why oh why has the a380 an extra power connector :(15:02
Jeremy31The Airbus A380?15:02
murmelJeremy31: YES! https://www.phoronix.com/review/intel-arc-a380-linux15:03
murmelwhy didn't michael add performace/dollar as intel was always pointing out that it will be a steal for the performance (so they get a bigger market share)15:06
=== mort0 is now known as mort
=== ravage_ is now known as ravage
=== pizzaiolo is now known as pizza
=== jelly-home is now known as jelly
=== lotuspsychje_ is now known as lotuspsychje
=== leamas1 is now known as leamas
=== ledeni_ is now known as ledeni

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