Video processing causes program crashes on 64 bits kernel

Open
#4,551 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
linux

Research direction

Start by reproducing the failure on a Raspberry Pi 4 with the reported Linux 5.10.52-v7+ kernel, comparing 32-bit support with arm_64bit=1 in /boot/config.txt. Check whether the overclock and over_voltage settings affect the result, then use the Firefox video crash and game AI failure as the observable cases. Done means the crashes and AI failures no longer occur under the reported 64-bit configuration.

Written by the indexing model from the issue text.

Description

Describe the bug
Trying to do a fresh install of RPI OS and to activate the 64 bits support on the kernel.
Firefox just crashes when trying to play any video and other programs like Minecraft-Pi or Soccer will crash or the enemy AI just stops working. Chromium manages sometimes to play videos after loading for 3-4 minutes.

Beside adding arm_64bit=1 in the /boot/config.txt for enabling support I also overclocked to 2Ghz and an over_voltage set to 6.
I only installed firefox-esr and neofetch, beside the packages that come in apt update and full-upgrade

After the crash i rolled back to only 32 bits support by deleting the arm_64bit rule ( still overclocked ) and i rebooted; the problem disappeared. I don't think the over clocking caused any issue on this matter.

To reproduce
Install a fresh copy of the pi os (in my case the full version)
Run apt update and install firefox-esr, reboot.
After reboot run apt full-upgrade and enable 64 bits support for kernel in the config.txt file
(I also overclocked to 2Ghz in the same time).
Reboot.
Start firefox and try to play a video (on youtube in my case); the youtube tab should crash.
Any other game like Soccer or Poing that includes opponent AI should stop working (the AI).

Expected behaviour
Clean play of any video.

System
Model: Raspberry Pi 4 Model B Rev 1.2
OS: Raspbian GNU/Linux 10 (buster)
Firmware version: version 40787ee5905644f639a2a0f6e00ae12e517a2211 (clean) (release) (start)
Kernel: Linux raspberrypi 5.10.52-v7l+ #1441 SMP Tue Aug 3 18:11:56 BST 2021 armv7l GNU/Linux

Dominant language
C
Stars
13.2k
Forks
5.5k
Avg merge
2d 21h
Merged PRs (30d)
21

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/linux

All issues in raspberrypi/linux

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.