|
I'm making a backup of my RetroPie image on windows 10. There's two partitions, one's the boot and one's rest of the filesystem or whatever. Do I need to back both of these up separately, and then when restoring do I need to write two separate partitions to the new SD card? Ok using win32diskimager. Edit: ah nevermind, I just picked the boot one and it backed up the whole thing. A Proper Uppercut fucked around with this message at 16:49 on Dec 24, 2021 |
# ? Dec 24, 2021 14:54 |
|
|
# ? Apr 25, 2024 14:09 |
|
Anyone using Xbox game pass on a rpi4? If so, what os works best?
|
# ? Dec 26, 2021 00:09 |
|
What? Isn’t all that stuff just tied up in the Windows Store or whatever? Do you mean the Xbox controller?
|
# ? Dec 27, 2021 04:49 |
|
Warbird posted:What? Isn’t all that stuff just tied up in the Windows Store or whatever? Do you mean the Xbox controller? No, you can stream games using chrome.
|
# ? Dec 27, 2021 05:10 |
|
Harminoff posted:Anyone using Xbox game pass on a rpi4? If so, what os works best? https://pimylifeup.com/raspberry-pi-xbox-cloud-gaming/ Stock raspberry pi os works fine
|
# ? Dec 27, 2021 09:43 |
|
I’ve been trying to find some information on this but does anyone know the best way to output from a pi zero 2 W to a CRT television with scart or composite????
|
# ? Dec 28, 2021 21:04 |
|
Gaz2k21 posted:I’ve been trying to find some information on this but does anyone know the best way to output from a pi zero 2 W to a CRT television with scart or composite???? You ain't doing that one without soldering. Do you need it to be a Zero 2W?
|
# ? Dec 28, 2021 21:18 |
|
Gaz2k21 posted:I’ve been trying to find some information on this but does anyone know the best way to output from a pi zero 2 W to a CRT television with scart or composite???? Looks like you solder to these pads for composite: From this guy's reddit post about it: https://www.reddit.com/r/raspberry_pi/comments/qq6ep9/composite_video_on_pi_zero_w_2/
|
# ? Dec 28, 2021 21:20 |
|
Ahhhh nice thanks I don’t mind a bit of soldering thanks guys Looking at that post that sorts the video side of things out now I just need to figure out audio. Gaz2k21 fucked around with this message at 21:32 on Dec 28, 2021 |
# ? Dec 28, 2021 21:27 |
|
I'm kicking myself for not switching to PiVPN+Wireguard sooner from OpenVPN on my router. Managing it is so much easier, especially with the QR codes it can generate.
|
# ? Dec 28, 2021 21:50 |
|
Check out Tailscale if you’re into WireGuard-based VPNs.
|
# ? Dec 29, 2021 04:36 |
|
My primary VPN use case is to securely access stuff on my internal network when I'm away from home. Would there be much benefit in Tailscale if the devices I have on me aren't going to be communicating with each other all that much? Right now I'm trying to learn how to build a LineageOS kernel with the Wireguard module built in for those sweet sweet performance gains and battery savings on my Pixel 2. I have no idea what I'm doing but I have some free time over the winter break so I figured why not give it a shot.
|
# ? Dec 29, 2021 05:16 |
|
Man did I get scammed with a fake 128GB SD card? Freshly imaged, takes like 60 seconds to respond after pw to ssh login on a 4B 8GB. Formatting it took like five hours.
|
# ? Jan 4, 2022 20:06 |
|
What the hell kind of format did you do?
|
# ? Jan 4, 2022 20:20 |
|
Cojawfee posted:What the hell kind of format did you do? Just a full format in Windows.
|
# ? Jan 4, 2022 20:33 |
|
AlternateAccount posted:Just a full format in Windows. lol yeah that would take hours to a SD card. and will mess up your performance for quite some time. a non-quick format writes zeros to the whole drive. never do that to flash devices.
|
# ? Jan 4, 2022 20:35 |
|
Never do a full format. Always do a quick format.
|
# ? Jan 4, 2022 20:40 |
|
If you bought sandisk they have a page to confirm the serial number markings are authentic (which could also be counterfeited, but it's a place to start). There's also a tool out there to confirm the reported storage capacity is accurate.. htest or something like that.
|
# ? Jan 4, 2022 20:48 |
|
As an explainer, the full format fucks up performance of flash storage because it writes data to the whole drive. It's all zeros that aren't real data, but the drive is agnostic about this type of thing -- to it writes are writes. You're basically starting from the position of a "full" drive which is worst-case performance for solid state. On a real SSD this would get fixed pretty fast by the OS sending TRIM commands to let the SSD know that all those blocks full of zeros are junk it can forget about. Or you could fix it instantly using the ATA Secure Erase function, causing it to erase its mapping table, erase / regenerate its encryption key, and reset the drive to uninitialized. (Some SSDs also do nifty things like apply voltage across the entire flash in a way that zeros out the cells all at once.) On a SD card, uh... they don't support TRIM or Secure Erase. Googling a bit, it looks like you can use blkdiscard in linux to discard sectors in a flash-friendly way (and in practice means wiping the card). That should restore it to fresh state. Some people on the internet say fstrim works with their SD card device, but I just tried on my Pi and it says "operation not permitted". And the other option is to wait for garbage collection to slowly do the job.
|
# ? Jan 4, 2022 23:16 |
|
Gaz2k21 posted:Ahhhh nice thanks I don’t mind a bit of soldering thanks guys Get a hat or a USB sound card because built-in Pi analog audio is god awful.
|
# ? Jan 5, 2022 00:22 |
|
Klyith posted:As an explainer, the full format fucks up performance of flash storage because it writes data to the whole drive. It's all zeros that aren't real data, but the drive is agnostic about this type of thing -- to it writes are writes. You're basically starting from the position of a "full" drive which is worst-case performance for solid state. Couldn't you just fill the card up agaon and then delete it all?
|
# ? Jan 5, 2022 00:47 |
|
PBCrunch posted:Get a hat or a USB sound card because built-in Pi analog audio is god awful. I'll second this. I was ready to chuck my Pi in the trash trying to get the analog audio working through GPIO, I finally did and it sounded like total poo poo. Either get a I2S DAC or a USB sound card.
|
# ? Jan 5, 2022 02:11 |
|
Rand Brittain posted:Couldn't you just fill the card up agaon and then delete it all? Not really. When you delete stuff in the OS, you're just changing the file system to remove the files. That's why you can use data recovery software to undelete things. TRIM is how you tell a SSD that some space is free and it doesn't have to keep it any more. But SD cards don't have TRIM. All of this stems from the fact that file systems are kinda built on top of a hard drive system of doing things (which us the same as floppies before them). SSDs are not at all like hard drives, but it was much easier to make SSDs that pretend to store data just like a HDD, rather than make all-new file systems. Internally, they don't store data like a HDD and keep a map table for where things really are in their flash vs where the pretend-HDD location is. TRIM didn't exist before SSDs, and in fact the first SSDs didn't have it either. They only had garbage collection, and had problems just like AlternateAccount's sd card. People used to recommend partitioning a SSD to only use 80% of its total space. It's still a bad idea to fill a modern SSD to near-100% full, even though they're much better.
|
# ? Jan 5, 2022 02:26 |
|
Klyith posted:Not really. When you delete stuff in the OS, you're just changing the file system to remove the files. That's why you can use data recovery software to undelete things. TRIM is how you tell a SSD that some space is free and it doesn't have to keep it any more. But SD cards don't have TRIM. Okay, what? Hard drives long predate floppies, though they were called drum storage back then, and were drum shaped. Because in most* hard drives, a write operation and an overwrite operation take the exact same amount of time, it was easier to keep deletes as quick as possible so the hard drives limited seek ability was available to the user as much as possible. So, a deleted file was flagged as such in the file systems allocation table, but left 'on disk'. When the space was eventually needed, there was no penalty to overwriting the data at that instant, so this worked fine. With SSD's, a write and an overwrite operation take very different amounts of time, with an overwrite frequently an order of magnitude slower than a write. Telling the drive about deleted data ahead of time lets it clear that used space, and prepare it for a new write operation. Trim was used here to pass that knowledge from the file system to the SSD controller. Trim as a concept/function long predates SSD's. Whenever you had storage provided by a controller combining multiple storage sources (eg: RAID, but also NFS/SAN), it was helpful to tell the controller you were 'done' with some data, so it could eject that data from future redundancy calculations and overwrite it the next time the opportunity came up. Trim exists in the NTFS standard from the first version, though it wasn't enabled until consumer SSD's became common enough to make it a performance/longevity enhancement. (* SMR type hard drives also need to prepare 'write space' ahead of time, and have similar overwrite penalties as SSD's) EoRaptor fucked around with this message at 03:17 on Jan 5, 2022 |
# ? Jan 5, 2022 03:14 |
|
EoRaptor posted:(* SMR type hard drives also need to prepare 'write space' ahead of time, and have similar overwrite penalties as SSD's) gently caress SMR drives forever
|
# ? Jan 5, 2022 03:41 |
|
EoRaptor posted:Okay, what? EoRaptor posted:Trim as a concept/function long predates SSD's. Whenever you had storage provided by a controller combining multiple storage sources (eg: RAID, but also NFS/SAN) I did not know this -- I have only ever heard of TRIM in the context of SSDs, and as far as I knew did not predate them. (Though in fact, looking at wikipedia it says that the TRIM command became part of the ATA standard in 2009. And SCSI UNMAP wasn't earlier either. I know nothing about pro-grade RAID systems, so if there is some similar thing I can see that would make sense. But it's not common knowledge, and I've never seen tech articles reference it before. Is there a doc with more info about this? Sounds interesting.)
|
# ? Jan 5, 2022 03:44 |
|
Klyith posted:Flash thumb drives are a better than sd cards for the scenario where you have power loss during writes, but no better for endurance.
|
# ? Jan 5, 2022 16:59 |
|
Maybe a weird request, but does anyone know of a ribbon cable for the regular pi (40 pin header) that goes to a much smaller connector on the other side? Looking at using RPis to control development boards in pcie form factor and would be nice to have something a bit denser so to not take up as much real estate. Realistically all that is required are the SPI, I2C, UART and a couple more gpios. Been looking all over with no luck so far. Alternatively something like a compute module with the dense b2b connectors but with power input and an RJ45 ethernet jack on the board would be cool too The RockPi S looks interesting for something small.
|
# ? Jan 7, 2022 04:19 |
|
Use individual female to female headers, then hot glue them into whatever square configuration you like. Your request seems nebulous, as in, you don't quite know exactly what you want yet, so there won't really be any products that fit the bill.
|
# ? Jan 7, 2022 04:21 |
|
ante posted:Use individual female to female headers, then hot glue them into whatever square configuration you like. Well, we know the interfaces we want but it's still in the spec design phase so form factor is open. Would probably get a cable custom made if there's no good options. It's the classic development card that has to have everything and the kitchen sink on it but also be able to sell it to customers as a reference design so can't stick too much on the board, otherwise I would just push for a compute module and then put the RJ45 on the main board. Simplest solution is just use a RPi 4B, 40 pin header with female header on the pcie and plug the card in directly (like a really big hat) but not sure yet if we'll have the space for that.
|
# ? Jan 7, 2022 07:08 |
|
AlternateAccount posted:Just a full format in Windows. NEVER FORMAT A SD CARD USING NORMAL FORMAT TOOLS!! It will take ages spinning the wheels at best or cook the sd card at worst. Always use the SD format tools from https://www.sdcard.org/downloads/formatter/
|
# ? Jan 7, 2022 09:53 |
|
priznat posted:Well, we know the interfaces we want but it's still in the spec design phase so form factor is open. Would probably get a cable custom made if there's no good options. It's the classic development card that has to have everything and the kitchen sink on it but also be able to sell it to customers as a reference design so can't stick too much on the board, otherwise I would just push for a compute module and then put the RJ45 on the main board. 3.5 IDE to 2.5 IDE cable? , though I have no idea if the pins on the Pi line up with the 3.5 IDE spacing.
|
# ? Jan 7, 2022 13:09 |
|
SlowBloke posted:It will take ages spinning the wheels at best or cook the sd card at worst. sorry I'm not doubting this statement but can you cite a source or give a iittle more detail? I've never really given it a second thought -- really curious what is detrimental about Windows formatting a card vs a bespoke utility, and whether it could explain some or any of my lovely SD card experiences over the years. e: Oh the link actually might answer: quote:SD/SDHC/SDXC Cards have a “Protected Area” for SD Card security purposes. The SD Memory Card Formatter does not format the protected area in the SD/SDHC/SDXC Cards. The protected area shall be formatted by an appropriate PC application or SD host devices that provide SD security function. some kinda jackal fucked around with this message at 19:27 on Jan 7, 2022 |
# ? Jan 7, 2022 14:54 |
|
Martytoof posted:sorry I'm not doubting this statement but can you cite a source or give a iittle more detail? I've never really given it a second thought -- really curious what is detrimental about Windows formatting a card vs a bespoke utility, and whether it could explain some or any of my lovely SD card experiences over the years. Windows makes lovely filesystem decisions for SD cards, because it treats them like any other device. Linux-side you get more control so you can get the settings right, it's just that it's a bunch of lovely math. SD association's formatter is a lot easier. You recognize poo poo going real bad by massive write amplification and half the expected read speed.
|
# ? Jan 7, 2022 19:48 |
|
If that’s the symptom it definitely sounds familiar.
|
# ? Jan 8, 2022 00:24 |
|
Martytoof posted:sorry I'm not doubting this statement but can you cite a source or give a iittle more detail? I've never really given it a second thought -- really curious what is detrimental about Windows formatting a card vs a bespoke utility, and whether it could explain some or any of my lovely SD card experiences over the years. Most sd reader chips won’t expose the drive as thin/trim aware, meaning it will do write amplification if it does windows format ops. SD formatter will do the equivalent of a trim aware format/opal wipe, meaning it will scrap the mbr/gpt and crypto key while not stressing the nand cells.
|
# ? Jan 8, 2022 16:50 |
|
SlowBloke posted:Most sd reader chips won’t expose the drive as thin/trim aware, meaning it will do write amplification if it does windows format ops. SD formatter will do the equivalent of a trim aware format/opal wipe, meaning it will scrap the mbr/gpt and crypto key while not stressing the nand cells. This ain't it.
|
# ? Jan 8, 2022 17:10 |
|
endlessmonotony posted:This ain't it. SD formatter won’t touch the cells unless explicitly told so, the quick format will just destroy the current partitions by regenerating the mbr/gpt table and making a new fat/fat32/exfat partition. Which is far less damaging to the overall device lifetime by zeroing wildly as windows format tools will do.
|
# ? Jan 8, 2022 18:55 |
|
SlowBloke posted:SD formatter won’t touch the cells unless explicitly told so, the quick format will just destroy the current partitions by regenerating the mbr/gpt table and making a new fat/fat32/exfat partition. Which is far less damaging to the overall device lifetime by zeroing wildly as windows format tools will do. Barely relevant. The big deal is partition alignment and having the right formatting options.
|
# ? Jan 8, 2022 19:10 |
|
|
# ? Apr 25, 2024 14:09 |
|
Looking for literally any Pi model to make a PiHole but stock is wiped out, anyone have a Pi shop they like that has good stock notifications?
|
# ? Jan 9, 2022 12:32 |