Go to advanced search

by pik33
Fri Nov 26, 2021 9:34 pm
Forum: General discussion
Topic: Will we ever get rid of the vc4-kms-v3d soup and go full VC6?
Replies: 9
Views: 579

Re: Will we ever get rid of the vc4-kms-v3d soup and go full VC6?

Any ideas on what is going on, why and if there is any thing that can be done to alleviate it? Also (Much) too many memory copy operations. As the RPi is going in the direction of standard Linux and its software and libraries, nothing can be done, except RPi 5 Maybe Vulkan libraries can make things...
by pik33
Mon Oct 18, 2021 8:32 am
Forum: General discussion
Topic: Pi 3B+ SOLD OUT Worldwide
Replies: 17
Views: 1050

Re: Pi 3B+ SOLD OUT Worldwide

Pi4 - all memory version - and Pi3B+ are sold out in Poland except single pieces of RPi4B+ 8GB available in Kamami. As several of our university projects are based on RPis, including bare metal programmed 3B+, this is a disaster.
by pik33
Mon Mar 01, 2021 7:29 am
Forum: General
Topic: pico as a USB Host
Replies: 3
Views: 4128

Re: pico as a USB Host

Can you explain what and how did you connect to the Pico? In this example https://github.com/raspberrypi/pico-examples/blob/master/usb/host/host_hid/host_hid.c it does printf - where the printf goes? My guess is: - connect the Pico via nicro-usb to USB A cable to the keyboard - connect the Pico's pi...
by pik33
Mon Jan 04, 2021 3:19 pm
Forum: Troubleshooting
Topic: Blank screen when using HQ camera (worked around, but is it normal?)
Replies: 2
Views: 116

Re: Blank screen when using HQ camera (worked around, but is it normal?)

The code is, the simplest example from raspberrypi.org, with the resolution and framerate set from picamera import PiCamera from time import sleep camera = PiCamera() camera.resolution = (4056, 3040) camera.framerate = 5 camera.start_preview() sleep(5) camera.capture('/home/pi/Desktop/image.png') ca...
by pik33
Mon Jan 04, 2021 1:47 pm
Forum: Troubleshooting
Topic: Blank screen when using HQ camera (worked around, but is it normal?)
Replies: 2
Views: 116

Blank screen when using HQ camera (worked around, but is it normal?)

I tried to use HQ camera with 3B+ using a simple Python example on a fresh RPi OS installed. In config_txt set gpu_mem=256 and start_x=1 Camera works if the resolution is low. When the camera is set at the full resolution and 5 fps, the RPi hanged up displaying a blank screen. At lower resolutions s...
by pik33
Tue Nov 03, 2020 5:23 pm
Forum: Raspberry Pi 400
Topic: The Raspberry Pi 400 thread!
Replies: 1075
Views: 119732

Re: The Raspberry Pi 400 thread!

A question about analog audio... as there is no jack and there are possibilities like splitters, i2s, usb dongle to work around this problem... is there any place on the board where the analog audio signal (=audio PWM outputs) is available and can be soldered to? ---------------------- The GPIO now ...
by pik33
Sun Oct 11, 2020 12:29 pm
Forum: Beginners
Topic: Windows title and UI elements text color - how to change?
Replies: 0
Views: 107

Windows title and UI elements text color - how to change?

In Appearance settings - System you can change only highlighted text color.

The absolute beginner question: how to change non-highlighted text color? (to black)
by pik33
Thu Oct 01, 2020 7:21 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Raspberry Pi Desktop how to run 64-bit
Replies: 6
Views: 1780

Re: Raspberry Pi Desktop how to run 64-bit

As the system is a hybrid between 32 and 64 bit and developing for x86-64 is difficult using it... I have installed it as a toy on a virtual machine.

When they release this system in full 64-bit mode I will immediately install it on my PCs.
by pik33
Fri Jun 05, 2020 11:07 am
Forum: Troubleshooting
Topic: Audacity doesn't see any audio devices in new RPi OS
Replies: 22
Views: 3191

Audacity doesn't see any audio devices in new RPi OS

Both 32- and 64-bit OS.

The symptom is: Audacity can see only dmix device and dosen't output any audio via headphone jack, while any other program I tested so far plays audio without problems.
by pik33
Wed May 27, 2020 9:42 am
Forum: Graphics programming
Topic: Garbled screen with latest 5.4 firmware and fkms
Replies: 3
Views: 771

Re: Garbled screen with latest 5.4 firmware and fkms

I returned to the old firmware.

It looked like a set of horizontal strips of rainbow colored pixels, several pixels wide, with black gaps between them.

As if something was wrong with the pitch.
by pik33
Wed May 27, 2020 6:44 am
Forum: Graphics programming
Topic: Garbled screen with latest 5.4 firmware and fkms
Replies: 3
Views: 771

Re: Garbled screen with latest 5.4 firmware and fkms

Yesterday I tried to rpi-update to the latest firmware. Then the Atari ST emulator, Hatari, displayed garbage instead of full screen graphics. After some playing with it I discovered that the fullscreen is OK if I switch the "vsync" option in Hatari off. I returned to the stable firmware v...
by pik33
Mon May 25, 2020 4:24 pm
Forum: Troubleshooting
Topic: CPU Freq applet shows incorrect frequency when OC RPi4
Replies: 0
Views: 228

CPU Freq applet shows incorrect frequency when OC RPi4

I tried to extremally overclocking RPi4. I set it to 2100 MHz with 750 MHz GPU

Then the frequency applet (in the taskbar) shows 2294 MHz while vcgencmd shows correctly 2100 MHz

My own program which reads from '/sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq' also shows 2294 MHz.
by pik33
Wed Apr 08, 2020 6:54 am
Forum: Bare metal, Assembly language
Topic: A bootloader over serial for bare metal rpi development
Replies: 5
Views: 1452

Re: A bootloader over serial for bare metal rpi development

Is there a version of such a loader which if theere is no communication on the serial port (timeout), loads a predefined kernel file from the SD card?
by pik33
Thu Feb 27, 2020 8:22 pm
Forum: Bare metal, Assembly language
Topic: RPi4 4GB: Kernel Space Memory Addressing
Replies: 4
Views: 1465

Re: RPi4 4GB: Kernel Space Memory Addressing

RPI4 GPU RAM (for the legacy stuff left in the firmawre) still has to be allocated in the first GB and this causes the memory split. And it is still allocated from the 1st GB boundary down.
by pik33
Fri Jan 24, 2020 1:27 pm
Forum: Bare metal, Assembly language
Topic: Understanding BCM2835 memory map
Replies: 2
Views: 3926

Re: Understanding BCM2835 memory map

7E address range is the hardware address. For example if you program the DMA chip to send data to the hardware register (for example PWM) you have to use 7E based address as a destination address in the DMA description block 20/3F address range is what ARM processor can see so if you want to put dat...
by pik33
Wed Jan 22, 2020 12:21 pm
Forum: Bare metal, Assembly language
Topic: Support for audio in the USB driver?
Replies: 1
Views: 853

Re: Support for audio in the USB driver?

SimpleAudio is the audio driver for the audio jack only. It doesn't support any other audio devices (USB, I2S, HDMI).
by pik33
Fri Dec 20, 2019 8:51 am
Forum: OpenGLES
Topic: Understanding glxgears performance on Pi4
Replies: 7
Views: 2185

Re: Understanding glxgears performance on Pi4

The keyword is: RAM bandwidth. Theoretical maximum RAM bandwidth in RPi4 should be 12.8 GBps. In reality you have to send commands to the RAM, etc, and the real bandwidth will be much less. For the ARM on RPi4 maximum it can do is something more than 4 GBps but less than 5 GBps (this is what I measu...
by pik33
Tue Nov 19, 2019 7:35 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 325
Views: 114582

Re: Circle - C++ bare metal environment (with USB)

Hello, As i mentioned in an other post i am porting the PreenFM2-Synth to baremetal RaspberryPi with the Circle-Framework, and so far it seems to work! its really ugly but if anybody wants to try it out: https://github.com/styro2000/RasPreenFM2/ Now am am trying to optimize things to get an better ...
by pik33
Sun Oct 13, 2019 9:54 am
Forum: OpenGLES
Topic: Web shader toys don't work - too advanced for RPi4?
Replies: 3
Views: 3372

Re: Web shader toys don't work - too advanced for RPi4?

A strange thing.

The shader I linked in the first post works on RPi3 and doesn't work (displaying a black screen) on RPi4
by pik33
Sat Oct 12, 2019 8:41 am
Forum: General programming discussion
Topic: Programming languages support
Replies: 37
Views: 7139

Re: Programming languages support

and the ONLY other camera library I know about is in Python.
I made this for Ultibo: https://github.com/pik33/SimpleCamera
by pik33
Sat Oct 12, 2019 7:00 am
Forum: Bare metal, Assembly language
Topic: Bare metal à la Arduino...
Replies: 7
Views: 2637

Re: Bare metal à la Arduino...

You may have a look at Circle. Wow, you have RPi4 supported - to be tested :) although c++ is not my favourite language. I saw RPi4 audio there at PWM#1... so I have questions (I didn't manage to find it in the code - where to search this?): - the clock source address for PWM1 - is it the same or a...
by pik33
Wed Oct 09, 2019 9:11 am
Forum: Bare metal, Assembly language
Topic: Bare metal à la Arduino...
Replies: 7
Views: 2637

Re: Bare metal à la Arduino...

Yes, the Ultibo is a customized Lazarus. You can do sudo apt-get lazarus, but I had some problems with this version on Raspbian (and PC debian too) so I built my own Lazarus for Raspbian from sources. In Windows, simply get a Lazarus from here https://www.lazarus-ide.org and install it Lazarus is a ...
by pik33
Wed Oct 09, 2019 7:34 am
Forum: Bare metal, Assembly language
Topic: Bare metal à la Arduino...
Replies: 7
Views: 2637

Re: Bare metal à la Arduino...

Yes, we have. With libraries for almost everything (no wifi yet, but vc4/omx/opengl is there) Works with RPi 0/1/2/3 (no RPi4 yet because of the new hardware - work in progress) The environment is called Ultibo "Normal" mode of operation is: install Ultibo on Windows, create a project, com...
by pik33
Sat Oct 05, 2019 4:00 pm
Forum: Graphics programming
Topic: Questions about fkms, gbm and color alpha channel
Replies: 6
Views: 2807

Re: Questions about fkms, gbm and color alpha channel

I also didn't manage to get any transparency/alpha channel using RPi4/FKMS. What I tried to achieve was an OpenGL window with a transparent background, so only 3D objects are visible. Using Lazarus, as it is multiplatform environment, and its OpenGL context component to start OpenGL, setting alpha b...

Go to advanced search