• 1 Post
  • 43 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle






  • I started with C++ too, and then ended up finding a job writing firmware pretty much all in C. There really hasn’t been anything we’ve run into that’s made us consider switching to C++; being able to (and needing to) have complete control over your memory means you can do some pretty fancy stuff with the tiny amounts of memory on our ASICs.

    We’ve been eyeballing switching to rust a little bit, but really only for other applications; the root of our main code base is over 25 years old at this point and a rewrite would take a Herculean effort.









  • Doombot1@lemmy.onetolinuxmemes@lemmy.worldA broken man
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    Huh, that’s certainly interesting! The hacky solution ended up having to do with power states which is kinda annoying - I have to set the GPU to use max power state because if it goes into the min state and then I walk away for 5-10 mins, it drops out of the PCIe slot and I need to reboot. SSH still works but you can’t reattach it w/o a reboot. I’m running a PCIe gen 5 mobo though and I heard about some potential problems with that, so maybe that was related. Could also be the fact that I ran a Quadro RTX 4000 on the same system/OS for a year or so and didn’t want to do a full reinstall, so it probably had somewhat to do with leftover drivers and crap


  • I set up my 4070 TS (the brand new one) on Ubuntu 22.04 about two months ago and my god was it a pain in the ass. Took like two days to do and even after that it would still hit a screen freeze issue every thirty minutes that took another week to find a half-assed solution for…



  • Easiest GitHub install I have ever done - works well on both Linux and windows per my own testing. Go onto the Automatic1111 stable-diffusion-webui github and find the git clone link, and then, from a command shell, use “cd” to get into your directory of choice and then do a “git clone <link>”. After that, go into said folder and literally just run the webui.bat/.sh file (might be called webui or might be called setup, can’t remember). That’s it - it should install all of the packages and python stuff and everything for you, and from there, honestly just fuck around with it for a while. On Linux, I had to install a few extra things/screw around a bit to get it working fully, but it wasn’t too tough. I highly recommend also installing the “dynamic prompts” extension and playing around with wildcards and such. Civitai has some great models and LoRAs you can play around with, too - Dreamshaper is a great one. If you’ve not got a 4000-series GPU, I would suggest editing the webui-user.bat/sh file and adding “—medvram” or “—lowvram” to help you get higher res images at the cost of a little bit of speed. Let me know if you’ve got any more questions! If nothing else, it’s honestly just a lot of fun to use.