eroll7897
December 9, 2023, 16:51

Pi Camera 120FPS

Hi! I am trying to get a Raspberry Pi V2 camera to work at 1280x720 pixels @ 120 FPS - cropped to full resolution, but I can't get it to work at over 90. Has anyone had any experience in this area?
Kieran
December 9, 2023, 16:46

Pi zero 2 w performance question

I’m looking to host pivpn and adguard home dns on 2 separate pi zero 2w’s. Is there anything that would be a major problem using pi zeros for these tasks? Pivpn is used by 7 devices And adguard is used by at least 13 devices
jannik44
December 9, 2023, 17:07

my Phone battery decreased by 7% of its capacity in the first month?

i bought around the end of November a new phone that phone battery should have a capacity of 5Ah but now, after a bit more than 1 month of heavy use the battery reports a capacity of 4651mAh, that equals a 7,5% loss! can that be true or is it just displaying a wrong value?
sniperx07
December 9, 2023, 16:45

Pivpn not working,internet does not work on mobile with vpn

made a dns with freedns,added to machine with ddmpm client. pivpn -d shows that everything is cool but yeah tried it with mobile and wireguard and it doesnt work at all
eriklavr
December 9, 2023, 16:42

My RPI 4 Froze

So i was Running an MC Server but Couldn't get on the Server so i wanted to turn it Of but just Froze i dont know how to fix it but pls help (Ping me if you can help)
getsakd
December 9, 2023, 16:40

NAS server install won’t work

it just gave me back a another line
lupine3rd
December 9, 2023, 16:40

Problems installing wireless drivers

Hello World, I'm trying to install a netis WF2190 wireless USB adapter to my Raspberry Pi 4b with the 64-bit Raspberry Pi OS installed and it's been a while since I've played with drivers in Linux and I'm having some problems. When I plug in the adapter and run 'lsusb', I see:
Bus 001 Device 006: ID 0bda:8812 Realtek Semiconductor Corp. RTL8812AU 802.11a/b/g/n/ac 2T2R DB WLAN Adapter
When I run 'lsmod', I do not see the drivers for it, so I tried installing the vendor-supplied drivers for Ubuntu 16.04 for it, located at https://www.netis-systems.com/Suppory/downloads/dd/1/img/443 but I've run into some errors. When I install per their instructions, I get the following error:
make ARCH=aarch64 CROSS_COMPILE= -C /lib/modules/5.15.76-v8+/build M=/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108  modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.76-v8+'
Makefile:709: arch/aarch64/Makefile: No such file or directory
make[1]:  No rule to make target 'arch/aarch64/Makefile'.  Stop.
make[1]: Leaving directory '/usr/src/linux-headers-5.15.76-v8+'
make:  [Makefile:1656: modules] Error 2
I gather this is because of 'ARCH=aarch64', so I did some searching and manually edited the Makefile to indicate: 'ARCH=arm64' per someone else's recommendation for a similar problem (here: https://github.com/Mange/rtl8192eu-linux-driver/issues/228) but now I am receiving the following error:
make ARCH=arm64 CROSS_COMPILE= -C /lib/modules/5.15.76-v8+/build M=/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108  modules
make[1]: Entering directory '/usr/src/linux-headers-5.15.76-v8+'
  CC [M]  /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.o
In file included from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service.h:41,
                 from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/drv_types.h:32,
                 from /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.c:22:
/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h:273:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  273 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/include/osdep_service_linux.h:274:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  274 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
cc1: some warnings being treated as errors
make[2]:  [scripts/Makefile.build:289: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108/core/rtw_cmd.o] Error 1
make[1]:  [Makefile:1900: /home/pi/RTL8812AU_WF2190_WF2561/RTL8812AU_linux_v4.3.20_16317_20160108/driver/rtl8812AU_linux_v4.3.20_16317.20160108] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.76-v8+'
make: * [Makefile:1658: modules] Error 2
Could someone perhaps recommend a different driver package for the 8812au wireless chipset for my OS, or otherwise help me figure out the issue with manually specifying 'ARCH=arm64' with the vendor-supplied drivers? Thank you so much! 🙂
clin6355
December 9, 2023, 16:41

RaspberryPi 4B Won’t Boot on 32GB SanDisk Ultra UHS-1 class 10 microSDHC

Hello, My RaspberryPi 4B was purchased July 2022. The microSDHC card was purchased a couple years ago, but had remained unopened until today. This microSDHC works for other purposes such as photography. RaspberryPi Imager is able to flash the card. However, when I put it into my RaspberryPi and power on, it fails to boot (I am setting up headless). When using an older 8GB card, the RaspberryPi successfully boots. The only problem is that it writes very slowly and I want to switch to my larger 32GB microSD, but this one won’t boot. I have updated EEPROM using the working microSD and tried recovering it using the RaspberryPi Imager boot loader option. Is anyone able to help? Thank you in advance!
dan2623
December 9, 2023, 16:38

VNC connection does not work - error getting private key from registryBigNumReadF

Hi, I run in to the problem and I have tried everything what I could find in the google and my VNC still does not work. I am having error that says error getting private key from registry BigNumReadF. Any idea how to tackle that? Cheers Dan
lsolrac2
December 9, 2023, 16:39

Pi 4 boots then enters Halt Mode

Hello. I am trying to install an OS to a Pi 4B (1gb ram). I started with the official guide and used the RPi-Imager. I also pre-configured the SSID and enabled ssh to simplify things after. Once powered on it boots seemingly normal, act intermittent quick flashes, however it then seemingly reboots (red/power light goes out) and then the Act light blinks 9 or 10 times, a possible HALT mode. This happens every time the pi is powered on, on both, I later learned this happens with Raspbian Lite 64bit and Raspbian Lite Legacy
jimbob_7
December 9, 2023, 16:36

Error openinng file bootconfig.txt when saving


PPJ
December 9, 2023, 16:38

1080p video lagging without full screen on VLC

Hi, I making one application using ElectronJS. On that app my video getting lagging/freezing. For testing purpose I tried play that video on Chrome browser same issue facing in Chrome also. I tried with VLC, If I keep full-screen video is running proper but if it is not full-screen it getting lagging. Any idea how to fix? Is there any way increase performance of a specific application?
andy_s
December 9, 2023, 16:35

Raspbery Pi 3B+ the USB ports don't work, and ethernet does not work

Said cam is then probably faulty and would blow other pcs.
eternalliving
December 9, 2023, 16:34

OpenVPN issues

<@661594563919740967> Thought I would move the conversation here as it’s getting lost in the general thread. Have you rebooted your pi since installing OpenVPN? This is a required step to be able to install the tunnel device that OpenVPN uses. Also, you will need to get or set a new IP address on the vpn tunnel.
ronaknikam
December 9, 2023, 16:42

air and sound pollution monitoring system using raspberry with (P10 Matrix)

so we're making project to monitor air and sound pollution on raspberry and we want to display the sensor data(real time) on P10 LED Matrix i need exact instructions on how to do it and also which components and sensors to use to make it possible
redttg
December 9, 2023, 16:33

DietPi & nextcloud large file semi-crashes it

I don't exact cause of issue, which is why I need help. I feel like it's because of large files or something about overloading, but it doesn't seem to crash syncing small stuff, but when it's a gigabyte on my phone especially but also on my pc sometimes, it just kinda crashes, hard drive is still blinking, internet is also blinking, no response from ssh nor nextcloud server, it just times out, I have to unplug the system which is a risk and let it boot again to fix this issue. What could it be, please help, I don't think it could be a problem with the router, but idk
robertnotfound
December 9, 2023, 18:50

Window too big

the windows is too big to display i try to run an opencv road sign detection import cv2 # Stop Sign Cascade Classifier xml stop_sign = cv2.CascadeClassifier('cascade_stop_sign.xml') cap = cv2.VideoCapture(0) while cap.isOpened(): _, img = cap.read() gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) stop_sign_scaled = stop_sign.detectMultiScale(gray, 1.3, 5) # Detect the stop sign, x,y = origin points, w = width, h = height for (x, y, w, h) in stop_sign_scaled: # Draw rectangle around the stop sign stop_sign_rectangle = cv2.rectangle(img, (x,y), (x+w, y+h), (0, 255, 0), 3) # Write "Stop sign" on the bottom of the rectangle stop_sign_text = cv2.putText(img=stop_sign_rectangle, text="Stop Sign", org=(x, y+h+30), fontFace=cv2.FONT_HERSHEY_SIMPLEX, fontScale=1, color=(0, 0, 255), thickness=2, lineType=cv2.LINE_4) cv2.imshow("img", img) key = cv2.waitKey(30) if key == ord('q'): cap.release() cv2.destroyAllWindows() break
Miguee_CryptsPAD
December 9, 2023, 16:46

I am new with RaspBerry PI 4 and have many questions, could you please help me with this?

I installed Ubuntu 20.04 on this RaspBerry but when I try to download a program, like Google Chrome or whatever program I think about and try to install it, it says that the architecture (amd64) is not the one that I can run (arm64). I do not really know what this means.
illegitimate_egg
December 9, 2023, 18:49

7-segment display has a stroke when it hits a number higher than 9

Here's the code that the arduino is running, I wrote it myself:
arduino
#define latchPin 5
#define clockPin 6
#define dataPin 4
#define outputEnable 3
#define disp1 7
#define disp2 8
#define disp3 9
#define disp4 10

char *seg = (char []) {B11111100, B01100000, B11011010, B11110010, B01100110, B10110110, B10111110, B11100000, B11111110, B11110110};

byte leds = 0;
int num = 0;

void setup() {
  pinMode(latchPin, OUTPUT);
  pinMode(dataPin, OUTPUT);  
  pinMode(clockPin, OUTPUT);
  pinMode(outputEnable, OUTPUT);
  pinMode(disp1, OUTPUT);
  digitalWrite(disp1, HIGH);
  pinMode(disp2, OUTPUT);
  digitalWrite(disp2, HIGH);
  pinMode(disp3, OUTPUT);
  digitalWrite(disp3, HIGH);
  pinMode(disp4, OUTPUT);
  digitalWrite(disp4, HIGH);

  cli();
  
  TCCR1A = 0;
  TCCR1B = 0;
  
  TCCR1B |= B00000100;
  TIMSK1 |= B00000010;

  OCR1A = 31250;
  sei();
}

ISR(TIMER1_COMPA_vect) {
  TCNT1 = 0;
  num++;
}

void loop() {
    writeDisplay(num);
}

void writeDisplay(int x) {
  for (int i = 0; i < 4; i++) {
    switch (i) {
      case 0:
        leds = seg[x & 0xFF];
        updateShiftRegister();
        digitalWrite(disp1, LOW);
        delay(1);
        digitalWrite(disp1, HIGH);
        break;
      case 1:
        leds = seg[(x >> 8) & 0xFF];
        updateShiftRegister();
        digitalWrite(disp2, LOW);
        delay(1);
        digitalWrite(disp2, HIGH);
        break;
      case 2:
        leds = seg[(x >> 16) & 0xFF];
        updateShiftRegister();
        digitalWrite(disp3, LOW);
        delay(1);
        digitalWrite(disp3, HIGH);
        break;
      case 3:
        leds = seg[(x >> 24) & 0xFF];
        updateShiftRegister();
        digitalWrite(disp4, LOW);
        delay(1);
        digitalWrite(disp4, HIGH);
        break;  
    }
  }
}

void updateShiftRegister() {
  digitalWrite(outputEnable, HIGH);
  digitalWrite(latchPin, LOW);
  shiftOut(dataPin, clockPin, LSBFIRST, leds);
  digitalWrite(latchPin, HIGH);
  digitalWrite(outputEnable, LOW);
}
dum8
December 9, 2023, 16:33

im having great problems with booting my rpi

I just downloaded the default rpi systen onto my SD card and when i put it in my pi everything goes great until the welcome screen flashes for about a second and then my rpi starts shining red and the screen turns off. Please help.
zenbybosatsu
December 9, 2023, 16:32

(solved)OpenWRT using a wifi access port instead of onboard wifi.

So, I’m gonna try and turn my Pi into a router using OpenWRT. But I want to use a WAP instead of built in wifi chip or wifi dongle. Would you just connect it to the WAP with a Ethernet cable, then connect the WAP to your main router? Anddd, how would you even setup OpenWRT to use the Ethernet cable to send/receive data?
vortexen
December 9, 2023, 18:53

Trying to get usb webcam stream on website

Hi, im trying to make a small LAN website that i can easily modify, ive already gotten a small webpage up using ssh, apache, and filezilla which makes everything run smooth rn. I want to add a livestream of a usb webcam that shows a 720p ~30fps vid of my 3d printer. Ive researched a lot and found no results that allow me to do the same where i can edit server files using filezilla or smth similar to that (if someone could find me a solution like that, i would appreciate it. Anyways another solution i thought of is streaming my usb webcam to yt and embedding it on the site, so far i watched this tutorial: https://youtu.be/cRycXUIK07g and its exactly what i need BUT i dont have a raspberry pi cam. how could i get it to work for a usb webcam?
raspivid -o - -t 0 -vf -hf -fps 30 -b 6000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/(stream key)
Im using a rpi 1 but have multiple rpi 1s if running both tasks is to much for the rpi 1. i unfortunately though dont have anything more recent or better. any help is appreciated, ty! ^^
dum8
December 9, 2023, 17:31

Is this just an SD card problem?

Does this just mean the SD card is broken, or my rpi?
jannik44
December 9, 2023, 18:49

(solved) how to power a picoPSU?

I noticed that my current psu isnt the most efficient option (need only up to 70watts output) so i have read a lot about picoPSUs and im planning to take a closer look to this one: https://gzhls.at/blob/ldb/9/a/7/5/ad5c00ea50547fd8c56a92034a57dbf34a65.pdf of course i need a 12V power brick for those, but the connector is different than the normal barrel connectors, what is this connector called and where can i find a power brick/adapter for that?