Go to advanced search

by asavah
Mon Mar 30, 2020 11:18 pm
Forum: Python
Topic: Error trying to load psycopg2
Replies: 4
Views: 91

Re: Error trying to load psycopg2

Full postgresql server install is a massive overkill if you are just going to access a remote psql server. sudo apt install libpq5 should be enough. If you install psycopg2 via apt (which you should unless you really need bleeding edge features) it should pull in the required dependencies. sudo apt ...
by asavah
Thu Mar 26, 2020 3:45 pm
Forum: General discussion
Topic: How many would be interested in a "real" App Store?
Replies: 36
Views: 1237

Re: How many would be interested in a "real" App Store?

Heh, review bombing anyone? Let's get vi vs emacs vs nano war started on this hypothetical review-appstore. Now seriously - IMO this is a really bad idea that's not going to work. I would like to read a review of sed, grep, aww, iproute2 or gcc from a random kid who just got their pi for Christmas/b...
by asavah
Thu Mar 12, 2020 8:47 pm
Forum: Troubleshooting
Topic: [SOLVED] calling ffmpeg located in ramdisk = command not found
Replies: 4
Views: 129

Re: calling ffmpeg located in ramdisk = command not found

That's a correct and expected behavior, tmpfs is mounted noexec by default.

How did you create your tmpfs?

using something like this should work

Code: Select all

sudo mount -t tmpfs -o exec,size=512m tmpfs /usr/ramDisk
by asavah
Sun Jan 19, 2020 6:45 pm
Forum: Advanced users
Topic: Max resolution for stereo?
Replies: 12
Views: 579

Re: Max resolution for stereo?

AFAIK ARM don't sell a video encode IP block, so you can't easily buy one off the shelf and plug it to your chip. I believe they do as part of their Mali video blocks, and AIUI they're available as IP cores for integration. 10b 8Kp30 HEVC / H.264 / VP[89] at the top end, apparently. 8K seems ambiti...
by asavah
Mon Jan 06, 2020 12:58 am
Forum: General discussion
Topic: 64bit and hardware accelerated video?
Replies: 31
Views: 2704

Re: 64bit and hardware accelerated video?

- I have 4 GB memory and the 32 bit environment only supports 3 GB (don't want to throw away 1 GB memory) - Now days 32 bit environments are legacy environments. Ubuntu offers only 64 bit installer, Arch dropped support for 32 bit and others are to follow. Your reasons are wrong because of your ign...
by asavah
Sun Dec 08, 2019 4:43 pm
Forum: General discussion
Topic: Asterisk on a Raspberry Pi
Replies: 7
Views: 537

Re: Asterisk on a Raspberry Pi

Short answer: you can not.
by asavah
Thu Oct 17, 2019 10:46 pm
Forum: Troubleshooting
Topic: USB WiFi adapter discrepancy
Replies: 11
Views: 572

Re: USB WiFi adapter discrepancy

This adapter apparently is the Realtek rt3070, which actually works with the rPi using the mt7601u modules /drivers. Try to get your stuff straight first. If it's using mt7601 drivers it can't be realtek. "mt" stands for MediaTek. Don't let "rt" fool yourself, "rt" stands for Ralink Technologies wh...
by asavah
Mon Sep 23, 2019 4:01 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 14188

Re: RPI4: Why is everything still 32-bit?

So, to all those people this idiot is trying to talk to, please consider he is just one person (albeit one with an over exaggerated sense of self importance), and we have sold over a million Pi4, and over 28M Pi's in total. And we continue to sell at a very high rate. So, think to yourself, is this...
by asavah
Thu Sep 19, 2019 6:56 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 1091

Re: ARMv8 32-bit mode and 64-bit division

Just out of curiosity I tried this test on my own aarch64 OS running on rpi4 4GB glibc-2.30 gcc-9.2.0 gcc -mcpu=cortex-a72+crc+fp+simd -O3 -DINT=uint64_t prime.c -lm -o prime64 strip prime64 time ./prime64 Found a total of 664579 primes (64-bit) real 0m1.842s user 0m1.826s sys 0m0.011s -march=native...
by asavah
Wed Sep 18, 2019 12:55 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 13
Views: 11821

Re: Installing Visual Studio Code

W. H. Heydt wrote:
Tue Sep 17, 2019 11:23 pm
If I'm not mistaken, Visual Studio is a Microsoft product for MS Windows. As such, it is written for a different operating system that run on a different--and incompatible--hardware architecture.

Visual Studio Code != Visual Studio
by asavah
Mon Sep 16, 2019 11:03 am
Forum: General discussion
Topic: speedtest difference Windows-RPi4
Replies: 12
Views: 1218

Re: speedtest difference Windows-RPi4

Now resolved, even though one might like the raspbian repository maintainers to update apt to get a newer version of speedtest-cli.... That's not as easy as you might think. Raspbian is just debian rebuilt for armv6 (pi1 + pizero) plus additional repo provided by RPT with raspberry pi specific stuf...
by asavah
Sun Sep 15, 2019 7:01 pm
Forum: Beginners
Topic: gpio button works on pi3 but not pi4... but LEDs on pi4 works?.....
Replies: 14
Views: 564

Re: can't get super simple gpio button tutorial to work

I don't think you need resistors for push buttons.
by asavah
Sun Sep 15, 2019 8:49 am
Forum: General discussion
Topic: speedtest difference Windows-RPi4
Replies: 12
Views: 1218

Re: speedtest difference Windows-RPi4

The version of speedtest-cli provided via apt is old and has a bug with uploads.
Uninstall apt version and try installing speedtest-cli with pip3.
by asavah
Fri Sep 13, 2019 3:10 pm
Forum: General discussion
Topic: Third party OS using pi 4
Replies: 16
Views: 1677

Re: Third party OS using pi 4

I was wondering when using a supported 64 bit os would the GPIO work, If every related software packages are built and installed properly - everything will work like a charm. I have my own GNU/Linux based OS (pet project, not published) which surprisingly works very nicely on pi4, it's a full aarch...
by asavah
Thu Sep 12, 2019 2:56 pm
Forum: Troubleshooting
Topic: woeful throughput on pi as raspbian router
Replies: 23
Views: 1098

Re: woeful throughput on pi as raspbian router

That's not a router configuration at all.

You receive the packet on eth0, nat it and forward it on the same eth0 to your main router ... what's the point?
What exactly are you trying to achieve?
by asavah
Thu Sep 12, 2019 2:39 pm
Forum: Troubleshooting
Topic: woeful throughput on pi as raspbian router
Replies: 23
Views: 1098

Re: woeful throughput on pi as raspbian router

Way too many unknowns. Please state clearly: What kind of internet connection you have? How the networking is done? How many interfaces you have? Provide the output of 'ip addr sh' and 'ip ro sh' (mask your macs and last 2 "groups" of your public ip to avoid privacy issues) Provide the output of 'et...
by asavah
Thu Sep 12, 2019 1:27 pm
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 114
Views: 25959

Re: VLI firmware v2.0 - powersaving features enabled

PhilE wrote:
Thu Sep 12, 2019 11:45 am
The utility contains VIA proprietary information so is closed source, but for greater portability I've updated the archive with a statically linked build.
Thanks!
Works nicely on aarch64 without any fiddling.
by asavah
Thu Sep 12, 2019 10:06 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 114
Views: 25959

Re: VLI firmware v2.0 - powersaving features enabled

Is vl805 utility itself closed source (proprietary)? Are its sources available anywhere? Closed source. I'm not sure who wrote it. The VL805 documentation is only available under NDA and the vl805 tool does do some undocumented register twiddling so there might be a problem releasing it. You need t...
by asavah
Thu Sep 12, 2019 1:46 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 114
Views: 25959

Re: VLI firmware v2.0 - powersaving features enabled

Is vl805 utility itself closed source (proprietary)? Are its sources available anywhere? I'm asking because I have full aarch64 os (my own project) happily running without any arm 32 bit support. I was able to get vl805 to run successfully by grabbing armhf libs from raspbian mirror and patching rpa...
by asavah
Sun Sep 01, 2019 4:16 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 559
Views: 179139

Re: Raspberry Pi 4 usb boot?

If the EEPROM is writable and accessible it is hackable. To make use of "hackable" EEPROM on the pi4 one would need to: 1a) hack the os remotely and gain root access. or 1b) have local physical access 2) Have deep knowledge of VC4/6 hardware and software architecture and have knowledge of and acces...
by asavah
Fri Aug 09, 2019 8:59 pm
Forum: Advanced users
Topic: Weston/Mesa fails on v3d/rpi4 - works on vc4/rpi3
Replies: 3
Views: 708

Re: Weston/Mesa fails on v3d/rpi4 - works on vc4/rpi3

-Dgallium-drivers="vc4,v3d" is not enough.

Code: Select all

-Dgallium-drivers="swrast,vc4,v3d,kmsro"
kmsro is needed for render-only gpus like mali, vivante, vc4, v3d etc
swrast is a fallback.
You may want to use
dtoverlay=vc4-fkms-v3d
on pi4, thats what raspbian uses.
by asavah
Mon Jun 03, 2019 10:56 pm
Forum: General discussion
Topic: Good News for the Raspberry Pi!
Replies: 32
Views: 2622

Re: Good News for the Raspberry Pi!

It's amazing how much negativity and raw jealousy a well-written, insightful post can generate! LOL Honestly I don't find your post insightful, well written or even slightly useful. Some years ago google had an internal ubuntu-based distro, did the actual ubuntu get something useful from it? The an...
by asavah
Wed May 15, 2019 12:49 am
Forum: General discussion
Topic: Remove Code Execution CVE-2019-11815
Replies: 4
Views: 469

Re: Remove Code Execution CVE-2019-11815

Should I be worried? Are you running RDS services exposed to the internet? https://linux.die.net/man/7/rds While the vulnerability is marked as remotely exploitable several researchers from Ubuntu https://people.canonical.com/~ubuntu-security/cve/2019/CVE-2019-11815.html , Suse and some others poin...
by asavah
Wed Oct 17, 2018 12:58 am
Forum: Advanced users
Topic: Moving Linux kernel to 4.19 [Already moved for many months now (in january 2020)]
Replies: 283
Views: 102241

Re: Moving Linux kernel to 4.19

Code: Select all

apt install libssl-dev
by asavah
Fri Aug 24, 2018 10:35 pm
Forum: General discussion
Topic: VLC with HW acceleration
Replies: 7
Views: 980

Re: VLC with HW acceleration

In your vlc source dir there will be a file - config.log.
Upload it to a pastebin-like site and post a link here (don't post the file itself here, it maybe too large), it will tell what's wrong.

Go to advanced search