Go to advanced search

by dom
Tue Sep 10, 2019 12:06 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

(1) Have I missed something or does the G2 GL (Fake KMS) option limit video resolution to HD such that 4K is not supported. This arises when installing the 64-bit kernel as per here and then following the January 29/Sakaki recipe for using systemd/nspawn to get a 64-bit userland to go with the kern...
by dom
Mon Sep 09, 2019 3:25 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

MrQ wrote:
Mon Sep 09, 2019 12:42 pm

Code: Select all

kernel=kernel8.img
arm_64bit=1
Shouldn't need the kernel=kernel8.img line. That is the default kernel name with arm_64bit=1.
by dom
Mon Sep 09, 2019 11:37 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

I managed to cross-compile on my pi4 by following this guide https://www.tal.org/tutorials/raspberry-pi3-build-64-bit-kernel + PI4 specific commands from official manual https://www.raspberrypi.org/documentation/linux/kernel/building.md , just used the lastest binutils and gcc versions. Build was s...
by dom
Mon Sep 09, 2019 11:33 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

Since we are talking about `rpi-update` and the 64-bit kernel... I suppose I should ask something I’ve yet to find an answer for with all my searching... how does one get the kernel headers for the kernel install via rpi-update? I would assume those people willing to something closer to bleeding ed...
by dom
Fri Sep 06, 2019 1:47 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

I want to build my own 64 bit kernel. What are the differences in building procedure between 32 and 64 bit ? https://www.raspberrypi.org/documentation/linux/kernel/building.md Main one is replace ARCH=arm with ARCH=arm64. CROSS_COMPILE=aarch64-linux-gnu- rather than CROSS_COMPILE=arm-linux-gnueabih...
by dom
Fri Sep 06, 2019 11:00 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

Doesn't work for me. Raspberry Pi 4. If I set either arm_64bit=1 or kernel=kernel8.img then the screen goes black after the daemon load screen and the desktop never appears. The green light is out on the Pi. Only the red light on with no other sign of activity. I think an error message flashed quic...
by dom
Wed Sep 04, 2019 2:32 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

Interestingly running rpi-update in a chroot on a V7 system gets You appear to be using a custom kernel file. Skipping installation of new kernel, as bundled dtb files may be incompatible with your kernel. Do you still have "kernel=xxx" set? That is what triggers this. It shouldn't be required now.
by dom
Wed Sep 04, 2019 1:18 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

- Mathematica and Wolfram are not showing up :( If you are daring, edit /opt/Wolfram/WolframEngine/12.0/Executables/mathematica find lines: armv?l) SystemIDList="Linux-ARM";; and add after: aarch64) SystemIDList="Linux-ARM";; You can also make a comparable change to /opt/Wolfram/WolframEngine/12.0/...
by dom
Wed Sep 04, 2019 12:20 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

Re: Pi4 64-bit raspbian kernel for testing

dom wrote:
Wed Sep 04, 2019 11:36 am
The requirement for kernel=kernel8.img was mentioned in first post.
I'm just building a firmware that will go out later that make that no longer necessary.
Firmware pushed. arm_64bit=1 is all you need to enable 64-bit kernel on Pi3 too now.
by dom
Wed Sep 04, 2019 11:41 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

I'd already got the revision codes. What I was trying to work out (aka remember) was which are 64-bit (kernel=kernel8.img) capable. You need BCM2837 (PI3/Pi3+) or BCM2838 (Pi4). Later models of Pi2 switched to using BCM2837, but the majority sold will be BCM2836 (so no 64-bit capability) The revisi...
by dom
Wed Sep 04, 2019 11:36 am
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

Re: Pi4 64-bit raspbian kernel for testing

DougieLawson wrote:
Wed Sep 04, 2019 10:41 am
This doesn't work on a 3A+ with

Code: Select all

arm_64bit=1
but does work OK with

Code: Select all

kernel=kernel8.img
.
The requirement for kernel=kernel8.img was mentioned in first post.
I'm just building a firmware that will go out later that make that no longer necessary.
by dom
Tue Sep 03, 2019 11:56 pm
Forum: Advanced users
Topic: Pi4 64-bit raspbian kernel for testing - Focus on Pi4
Replies: 198
Views: 24496

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

As the 64-bit kernel is getting more functional, I've decided to build it as part of rpi-update kernel to allow more users to test it under raspbian. This is for bleeding edge testers. Things may not work. Backing up, or using a fresh sdcard is a wise precaution. To get the kernel run the usual sudo...
by dom
Tue Sep 03, 2019 1:48 pm
Forum: General discussion
Topic: Raspberry Pi 4 Heatsink vs Fan vs Flirc Case
Replies: 68
Views: 17345

Re: Raspberry Pi 4 Heatsink vs Fan vs Flirc Case

Thinkcat wrote:
Tue Sep 03, 2019 1:26 pm
I just want to verify: Was there a difference in the height of the chips between versions of Pi 4? Or are all cooling solutions for Pi 4 for 1 GB, 2 GB and 4 GB versions equally?
No difference in height of sdram chip for 1GB/2GB/4GB.
by dom
Thu Aug 29, 2019 4:56 pm
Forum: Raspbian
Topic: Are there different versions of bootcode.bin?
Replies: 5
Views: 492

Re: Are there different versions of bootcode.bin?

rpdom wrote:
Thu Aug 29, 2019 4:52 pm
As I understand it, the Pi 4's equivalent of bootcode.bin in in the EEPROM, not on the SD card. The SD card is only used by earlier models.
Correct.
by dom
Thu Aug 29, 2019 3:39 pm
Forum: OpenGLES
Topic: OpenGL ES using GBM/DRM without root
Replies: 4
Views: 998

Re: OpenGL ES using GBM/DRM without root

Did you check this thread?
https://www.raspberrypi.org/forums/view ... 7#p1499181

The example code there runs without root.
by dom
Wed Aug 28, 2019 5:03 pm
Forum: Raspbian
Topic: VLC hard crashes
Replies: 49
Views: 3598

Re: VLC hard crashes

I have pi4 4gb new, raspbian updated. The only way to play video via VLC correctly is to set gpu_mem_1024=16. Adding more memory to gpu lead to crash, blank screen et. depends on type of video. Is there a possibility to give more memory to gpu, as recommended, today or wait for next update? As I sa...
by dom
Fri Aug 23, 2019 3:49 pm
Forum: General discussion
Topic: RasPi 4 is on RDP slower than the RasPi 3
Replies: 20
Views: 1897

Re: RasPi 4 is on RDP slower than the RasPi 3

Can you try disabling fkms driver on Pi4 (or enabling it on Pi3)?
by dom
Thu Aug 22, 2019 12:14 pm
Forum: Graphics programming
Topic: MMAL video playback into DRM planes.
Replies: 7
Views: 1747

Re: MMAL video playback into DRM planes.

Oh. Just to be sure: any 90/270 rotation, even on older Pis went through an extra buffer? I'm wondering because I never noticed any performance difference when rotating through the video_render component compared to what I observed when using display_rotate=1/3 in /boot/config.txt. I think the latt...
by dom
Wed Aug 21, 2019 10:35 am
Forum: Raspbian
Topic: VLC hard crashes
Replies: 49
Views: 3598

Re: VLC hard crashes

Does switching desktop to 1080p make it more reliable?
I wonder if you are running out of (some sort of) memory.
Try adding cma=512M to the end of cmdline.txt
by dom
Tue Aug 20, 2019 9:40 pm
Forum: Graphics, sound and multimedia
Topic: [UPDATE] Kodi 18.4 Leia for Raspberry Pi 4
Replies: 164
Views: 32228

Re: Kodi 18.3 Leia for Raspberry Pi 4

My understanding was that with the Pi 4, you should never see the thermometer icon because the Pi would actively manage the CPU frequency to keep the temperature out of the danger zone. If that's wrong, I suppose I wasn't seeing thermal throttling? That is wrong. No throttling will occur below 80'C...
by dom
Tue Aug 20, 2019 6:10 pm
Forum: Raspbian
Topic: VLC hard crashes
Replies: 49
Views: 3598

Re: VLC hard crashes

@Danegeld Can you be very clear. If you install a fresh buster image (e.g. Raspbian Buster with desktop 2019-07-10) and the first thing you do is launch VLC you see problems? I'd prefer to concentrate on the case without a custom skin if possible. Also ignore the disabling vc4-fkms-v3d "fix" - we wa...
by dom
Tue Aug 20, 2019 11:28 am
Forum: Raspbian
Topic: VLC hard crashes
Replies: 49
Views: 3598

Re: VLC hard crashes

Someone needs to explain how to reproduce the problem. I (and others here) cannot reproduce the issue. Ideally start with a fresh buster sdcard image and note the minimum operations needed to provoke the issue. e.g. something like: vlc -f https://download.blender.org/peach/bigbuckbunny_movies/big_bu...
by dom
Wed Aug 14, 2019 1:34 pm
Forum: Troubleshooting
Topic: Video files not played/freezed when forcing 1080i50 - Raspberry Pi 4
Replies: 5
Views: 293

Re: Video files not played/freezed when forcing 1080i50 - Raspberry Pi 4

Are you saying your video switcher doesn't support 1080p50/60 ? I can reproduce the omxplayer issue, but running on Pi4 without fkms is legacy use and isn't high on the priority list. Getting fkms to support interlace might be an option, but I'm not sure how much support linux generally has for inte...
by dom
Wed Aug 14, 2019 12:18 pm
Forum: Troubleshooting
Topic: Video files not played/freezed when forcing 1080i50 - Raspberry Pi 4
Replies: 5
Views: 293

Re: Video files not played/freezed when forcing 1080i50 - Raspberry Pi 4

Can you post what you've added to config.txt to force the reolution and what you type in to launch omxplayer (or ffmplay)
Ideally reproduce the problem with a publicly available sample video file.
by dom
Mon Aug 05, 2019 1:05 pm
Forum: Graphics programming
Topic: Help grabbing Omxplayer video frames using OMX.broadcom.video_splitter
Replies: 5
Views: 1177

Re: Help grabbing Omxplayer video frames using OMX.broadcom.video_splitter

That is the correct layout. Note, it only works for nicely aligned size.width, size.height (multiples of 16 or 32). 1280x720 should be okay. Otherwise you need to use aligned_width and aligned_height from component in the formula and treat width and height as crop values (pixels between width and al...

Go to advanced search