data1701d (He/Him)

“Life forms. You precious little lifeforms. You tiny little lifeforms. Where are you?”

- Lt. Cmdr Data, Star Trek: Generations

  • 9 Posts
  • 601 Comments
Joined 2 years ago
cake
Cake day: March 7th, 2024

help-circle

  • Dual boot isn’t that bad if you just use separate drives; the issue is only with Windows and Linux on one drive.

    It’s not possible on all devices, but my laptop has dual NVMe slots, and I used to boot Linux off an SATA SSD and Windows off an NVMe on my desktop before getting rid of Windows and moving my Linux install to the NVMe drive. Never had a problem.

    The only hiccup you’ll probably run into is exorbitant storage prices, although you can probably opt for less storage (256GB or 512GB), you can still get well below $100 and have it be perfectly fine.


  • It might be possible, depending on if the screen is connected to the dGPU or iGPU (I’d guess iGPU). I wouldn’t know because I did my setup on a desktop with two dGPUs. I would think it’s possible, but you might need an external monitor (?). I don’t know how Optimus laptops are wired.

    Where I started for GPU passthrough, which got me ~90% of the way there, is https://github.com/bryansteiner/gpu-passthrough-tutorial . Gives you the shell scripts, XML, etcetera needed to do it; I had to modify some bits (some of which you can see in issues), but this is my preferred tutorial. Basically, try it, get really frustrated, take a break for a while, get back to it and keep tinkering with it (check permissions, logs, PCIe driver binds, etcetera), and eventually, you’ll figure it out.

    https://github.com/mysteryx93/GPU-Passthrough-with-Optimus-Manager-Guide is linked in one of the issues and specifically concerns your kind of laptop.

    I might be able to send over some of my XML to get you started, but I don’t know how helpful that will actually be over the tutorial, as our systems are completely different, and the AMD GPU I use has different bugs/quirks when doing this than Nvidia ones. The truth of the matter on why there’s not really a single-click, easy way to do GPU passthrough is because each system is unique, from the motherboard PCIe implementation to bugs in GPU firmware. That doesn’t mean you shouldn’t try, but it takes a bit of ingenuity.



  • The Adobe installer doesn’t run on Wine; someone got a recent version of Photoshop running once, but it’s a pirated version and it’s super buggy.

    You can’t use Windows as a Docker container. Docker containers are not running full operating systems; they just run software on top of the current kernel but isolated from the main userspace, making it look to programs inside the container as if it’s a separate system. Anything that claims to be a “Windows Docker container” is just running a VM in a Docker container, which falls into the same pitfalls.


  • Unlike what others say, a bog standard VM might be the wrong choice depending on which features you use due to lack of graphics acceleration in said VM.

    You might be able to get GPU passthrough working on a VM, which I have, with both a Windows and macOS VM that can use the GPU (not at the same time); however, this is really complex (took me ages the first time, though I’ve since discovered tricks to make it a bit easier), and you have to have dual GPUs. Single GPU passthrough is technically possible, but then you can’t use your Linux DE while using the VM. I will say, though, that once it’s set up, it’s a better experience than dual-booting; you get to run graphics-intensive Windows apps quite snappily on one monitor (or monitor input) and use your Linux desktop on the other.





  • I feel like it was more than the package manager whining; I think xorg literally wouldn’t start after the update, although it’s been so long now that I could be misremembering.

    Honestly, I probably could have salvaged the install if I’d wanted to without too much difficulty, but it was just a VM for testing distro packaging rather than a daily driver device.

    Still, what you say is good to know, and perhaps I should hold back on the Pacman slander. I’ve just been using Debian for around 4 years now and had pretty good reliability; then again, Debian (and most distros, with their pitiful documentation) would probably be very hard to use without Archwiki.







  • I like to use pythonz in this case; it’s a tool to manage Python installs, and it puts the installs in a directory under your home directory, not affecting anything in the system.

    It does build each version from source, which introduces some quirks; I’ve found compilation for some Python versions works better with clang, and sometimes, you need to enable build options.

    Still, I think this is a good way to do things; just start whichever Python version you want, and then create a venv with it.



  • No, I don’t want to spend weeks to learn GDB inside-out, so I don’t have to search online for 15-30 minutes on an AI infested internet every time I want to use it, for each feature I’m using it for that day.

    1. Search “gdb cheatsheet” and bookmark it. This looks good, but you have plenty of choices. When you find one you like, you probably almost never have to go to the internet again.
    2. Unfortunately, you can’t avoid a search engine while programming; you’re not going to get very far. All you can do is develop your search skills to avoid the slop.
    3. If you’re using a statically typed language (C, C++, Rust, etc.) already, basic GDB is comparatively simple. For these languages, not knowing GDB is a bit like an electrician not knowing how to use a multimeter; it’s a matter of necessity rather than “gatekeeping”.

    No, I don’t want to gatekeep Linux from “normies”, by making it as user-unfriendly as possible, so I can keep the Linux community a frat club for slur saying techbros.

    For your sake, I must emphasize that insulting the people you want help from is not an effective tactic for obtaining help. There are certainly jerks in the broader Linux community, but effectively accusing anyone in this community unable to give you exactly what you want of being a “slur saying techbro” (unless I misunderstand you) is, no offense, an incredibly entitled view to have.

    If you wish to make valuable use of internet forums, I would request you take heed of this: www.catb.org/~esr/faqs/smart-questions.html

    Anyhow, I wish you luck in your endeavors.