Go to advanced search

by pica200
Tue Sep 17, 2019 4:14 pm
Forum: Advanced users
Topic: RPI 4 Exact ARM Version Please ?
Replies: 4
Views: 2894

Re: RPI 4 Exact ARM Version Please ?

"-march=armv8-a+crc+simd -mtune=cortex-a72" With AArch64 gcc "+simd" is not needed since it's the default.
by pica200
Tue Sep 17, 2019 3:41 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

I just tried this temporarily renaming the Sys folder and indeed, it suddenly runs around 80% ingame. Could not figure out what fixes the textures though (either it's a driver/mesa bug or it's a Dolphin master branch issue. Did not try 5.0.). It's noteworthy that he still had texture glitches in oth...
by pica200
Tue Sep 17, 2019 3:08 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

Yeah, it's near fullspeed for him because he deletes the per game settings (Sys folder) and enables pretty much every speed hack Dolphin offers ;) As for the texture issues maybe it's one of the options he changed fixing them. And the sound is ok here. He probably has an older build of Gentoo withou...
by pica200
Mon Sep 16, 2019 7:24 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

Just recompiled Dolphin from the latest commits. With overclock and lto it took 29 minutes now. In Super Mario Sunshine the title screen reaches ~80 fps now but ingame it's still 2-3 fps. I was running around in the first level a bit watching the slide show ( :roll: ) only to be surprised by a nice ...
by pica200
Mon Sep 16, 2019 5:22 pm
Forum: General discussion
Topic: Possible to add GLES EXT_buffer_storage driver support to Videocore VI on the Pi4?
Replies: 34
Views: 6294

Re: Possible to add GLES EXT_buffer_storage driver support to Videocore VI on the Pi4?

Speaking of small rendering issues: https://www.raspberrypi.org/forums/view ... 0#p1533299

I dunno what the bug is here but this "stripe" effect should not be there. It's messing up textures all over the place.
by pica200
Sun Sep 15, 2019 7:06 pm
Forum: General discussion
Topic: Should you buy an A2 performance rated SD card?
Replies: 30
Views: 8466

Re: Should you buy an A2 performance rated SD card?

I saw this thread only now as it was bumped and i agree with not getting A2 cards until they are supported. One thing i don't agree with is this: (due to the misleading way storage companies measure capacity) The only one wrong here is Microsoft because they display misleading units. Kilo-/Mega-/Gig...
by pica200
Sun Sep 15, 2019 3:39 pm
Forum: Advanced users
Topic: Raspberry Pi 4 Cooling Testing
Replies: 29
Views: 6842

Re: Raspberry Pi 4 Cooling Testing

If you want to try and get rid of the adhesive from the cheap pads you can try isopropyl alcohol. It dissolves it but it takes a bit. Acetone may be faster but unsure if the pad survives it.
by pica200
Sun Sep 15, 2019 8:06 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 357
Views: 158039

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

+1
You want people to do something benefiting the whole community for a bounty. These benchmarks are not useful except for comparing differences. Polishing existing code to work better on AArch64 is a good idea.
by pica200
Sat Sep 14, 2019 5:19 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 26
Views: 5659

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

There are proof of concepts out there but they run directly for you to test if your CPU is vulnerable. If an attacker can already execute code on your machine you have a more serious problem. As far as i know there is no browser based proof of concept yet and all major browsers have workarounds to m...
by pica200
Sat Sep 14, 2019 4:33 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 26
Views: 5659

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

Output on Manjaro ARM is the same (updated 1-2h ago): [blub@raspi4 Schreibtisch]$ cat /proc/cpuinfo processor : 0 BogoMIPS : 108.00 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd08 CPU revision : 3 processor : 1 BogoMIPS : 108.00 F...
by pica200
Sat Sep 14, 2019 3:34 pm
Forum: General discussion
Topic: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?
Replies: 26
Views: 5659

Re: Is the new Raspberry Pi 4 vulnerable to Meltdown and Spectre attacks?

If i had to guess this may be a result of Raspian running a 32 bit kernel and reporting the wrong CPU as a result but dunno. Yes, the A72 is definitely vulnerable to Spectre but not Meltdown. Unless you store sensitive data or do online banking or similar with multiple tabs open you don't need to wo...
by pica200
Thu Sep 12, 2019 4:24 pm
Forum: General discussion
Topic: New received pi4 with possible defect
Replies: 9
Views: 765

Re: New received pi4 with possible defect

I mean this is an easy fix. But as soon as you solder on the board the warranty is gone and it doesn't count as new anymore but repaired instead. If i would get such a Pi i would probably take the risk and repair it instead of going through the hasle of sending it back. The resellers could also not ...
by pica200
Thu Sep 12, 2019 4:17 pm
Forum: General discussion
Topic: Easily run 64-bit Debian Buster packages on a Raspbian system: new RPi4 / RPi3 image released (systemd-nspawn, LXDE)
Replies: 176
Views: 53781

Re: Easily run 64-bit Debian Buster packages on a Raspbian system: new RPi4 / RPi3 image released (systemd-nspawn, LXDE)

Yeah, it's definitely working on both full 64 bit distros and modified Raspian with 64 bit kernel. Probably need to "bodge" that a bit for the time beeing with newer mesa.
by pica200
Thu Sep 12, 2019 10:22 am
Forum: General discussion
Topic: New received pi4 with possible defect
Replies: 9
Views: 765

Re: New received pi4 with possible defect

Technically it's a defect but the Pi will still be functional even if these LEDs are broken. It's up to you if you want to replace it.
by pica200
Tue Sep 10, 2019 11:05 pm
Forum: General discussion
Topic: Still confused, what is better for my SD card?
Replies: 19
Views: 2120

Re: Still confused, what is better for my SD card?

SD cards do report the erase block size in the CSD (card specific data) so that's not a problem. Whenever erase is slow or fast depends on the card, yes. At least i had no SD card yet where blkdiscard on the whole card took longer than 15 seconds (with up to 128 GB capacity). That shows also that th...
by pica200
Tue Sep 10, 2019 1:23 pm
Forum: General discussion
Topic: Still confused, what is better for my SD card?
Replies: 19
Views: 2120

Re: Still confused, what is better for my SD card?

Yes. I don't know if the drivers of the older Pi models can do erase commands but the Pi 4 definitely can as using the "fstrim" tool succeeds. On the SanDisk A1 rated card i have this made it a little faster. Another nice side effect is if you have a PCIe based card reader on your PC you can wipe th...
by pica200
Tue Sep 10, 2019 10:21 am
Forum: General discussion
Topic: Still confused, what is better for my SD card?
Replies: 19
Views: 2120

Re: Still confused, what is better for my SD card?

You don't want to do more writes than necessary! Just leave the controller alone doing wear leveling for you. There is a rule of thumb to leave at least 10% of the capacity free to avoid slowdowns and early failure. If you need more space it's time for an upgrade. Another thing you can do is add the...
by pica200
Mon Sep 09, 2019 1:31 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

Good news: Your mesa build works. Bad news: It doesn't fix anything. You can see this same stripe effect here. I bet this is a driver bug because Dolphin is motorious for making poor driver implementations visible. https://dl.dropboxusercontent.com/s/dwqosliunhh1zkt/Bildschirmfoto_2019-09-09_13-49-1...
by pica200
Sun Sep 08, 2019 5:58 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 273
Views: 43153

Re: Why moving to 64bit?

fread() does a bit of caching internally aswell if i recall correctly. read(), which is basically just a syscall wrapper only goes through the fs cache of the kernel. You could use read() and give the kernel hints that you want non-cached reads for repeated, realistic results.
by pica200
Sun Sep 08, 2019 12:43 pm
Forum: General discussion
Topic: Why moving to 64bit?
Replies: 273
Views: 43153

Re: Why moving to 64bit?

There is another factor. Your code easily fits in the L2 cache and partly in the L1 cache bypassing the overhead of loading the code again from the slug DRAM. It also caches a good chunk of the input data. For small programs working with small data sets this works fine but the L2 cache is way to sma...
by pica200
Sat Sep 07, 2019 4:26 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

Not every game is the same though. If I run around the first level of Super Mario Sunshine with the null renderer it's consistently 100%. I'm not even overclocking, although currently that is the norm for Dolphin Pi4 demos on YouTube. Note to test CPU emulation + sound without rendering overhead--o...
by pica200
Fri Sep 06, 2019 9:06 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 357
Views: 158039

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

What's the -mcpu=? -mtune=? -march=? -mfp=? options for gcc on RPi4B that you're using? Same question for RPI3B, RPi3B+ & RPi3A+. Because https://gcc.gnu.org/onlinedocs/gcc-8.3.0/gcc/ARM-Options.html#ARM-Options is just a weeny bit confusing. Do I need anything special in the way of libraries (or d...
by pica200
Fri Sep 06, 2019 8:34 pm
Forum: General discussion
Topic: Raspberry pi 4 operating systems
Replies: 8
Views: 52176

Re: Raspberry pi 4 operating systems

If you use Manjaro you currently have to fiddle a bit to get the GPU driver running: https://forum.manjaro.org/t/manjaro-arm-19-08-released/99031/30 After you did that disable compositing in the window tweaks settings in xfce which speeds up graphics by a lot. Also in case you have sound issues: htt...
by pica200
Fri Sep 06, 2019 7:49 pm
Forum: Gaming
Topic: How to setup Dolphin on a Pi 4 with Raspbian Buster
Replies: 32
Views: 29865

Re: How to setup Dolphin on a Pi 4 with Raspbian Buster

Compiled Dolphin to try and see for myself. Compilation took 35 minutes building from a RAM disk. With the GC game i tried it reached only 60% average with ~70% max. htop reveals why. One core is sitting almost always at 99%. So if the AArch64 JIT is not getting miraculously much more efficient this...
by pica200
Thu Sep 05, 2019 7:55 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 357
Views: 158039

Re: Pi4 64-bit raspbian kernel for testing - Focus on Pi4

Ah, finally some 64 bit love! Thank you :) Technically i have been using this kernel already since weeks as part of a different distro (they are just building it from the linux fork on Github) and did not notice any kernel bug yet but the drivers are still pretty rough at the edges.

Go to advanced search