Go to advanced search

by Vanfanel
Tue Jun 23, 2020 11:42 pm
Forum: Advanced users
Topic: Moving Linux Kernel to 5.4
Replies: 342
Views: 43845

Re: Moving Linux Kernel to 5.4

Make sure the monitor is plugged into HDMI0 and that it correctly reports audio via it's edid. eg install the edid-decode package and then run edid-decode /sys/class/drm/card1-HDMI-A-1/edid you should see an audio block like this Audio data block Linear PCM, max channels 2 Supported sample rates (k...
by Vanfanel
Tue Jun 23, 2020 10:51 am
Forum: Advanced users
Topic: Moving Linux Kernel to 5.4
Replies: 342
Views: 43845

Re: Moving Linux Kernel to 5.4

So, is the new KMS HDMI audio device supposed to work in 64bit mode? Or maybe not yet? Thanks! Should do. Make sure you don't have any additional alsa config files. I think the desktop control creates them when switching output device. If you have a "~/.asoundrc" try removing it. I don't have a des...
by Vanfanel
Mon Jun 22, 2020 11:03 pm
Forum: Advanced users
Topic: Moving Linux Kernel to 5.4
Replies: 342
Views: 43845

Re: Moving Linux Kernel to 5.4

@dom: I have come back to Rasperry OS (64bit) after a LONG time using my own custom Debian AARCH64 systems. So, I was surprised that the audio was at last taken to the ARM side too! I have seen that you talk about the new KMS audio driver here: https://www.raspberrypi.org/forums/viewtopic.php?t=2697...
by Vanfanel
Thu May 07, 2020 6:42 pm
Forum: Graphics, sound and multimedia
Topic: Run Application with dispman and EGL without X server on Raspberry Pi 4
Replies: 2
Views: 272

Re: Run Application with dispman and EGL without X server on Raspberry Pi 4

My aim is to write an application which uses EGL and is shown on Rasperry Pi 4 without X server. There are examples how to use EGL with Mesa drivers and fake KMS driver but they use X11 library (XOpenDisplay and DefaultRootWindow methods to get a display and a window) and do not work without X serv...
by Vanfanel
Tue Apr 21, 2020 10:57 am
Forum: General discussion
Topic: Raspberry Pi 4 2GB 1.2 version
Replies: 25
Views: 1643

Re: Raspberry Pi 4 2GB 1.2 version

Thanks for your responses, guys.
Yes, we need them for a project where power supply is not going to be the official one.
So, isnt board version printed in the board itself? That was the case for previous Pis.
by Vanfanel
Mon Apr 20, 2020 3:13 pm
Forum: General discussion
Topic: Raspberry Pi 4 2GB 1.2 version
Replies: 25
Views: 1643

Raspberry Pi 4 2GB 1.2 version

Hi there, Long time Pi user here. I have been patiently waiting to get the Pi4 since last year because I do NOT need 4GB (I build my own GNU/Linux systems from scratch and do not use Xorg, which leaves out any of the programs depending on it), I just need a certain quantity of Rpi4 2GB version board...
by Vanfanel
Tue Jul 02, 2019 3:15 pm
Forum: Raspberry Pi OS
Topic: Building a kernel without vc4-hdmi ALSA card
Replies: 0
Views: 180

Building a kernel without vc4-hdmi ALSA card

Hi there, As I have reported, vc4-hdmi does not seem to work with baremetal ALSA (it has NOTHING to do with 64bit kernels, look: https://github.com/Debian/raspi3-image-spec/issues/12 ), so I want to build my own kernel without it, since it seems that it is not possible to disable it via config.txt, ...
by Vanfanel
Wed Mar 13, 2019 3:22 am
Forum: Troubleshooting
Topic: Waking up HDMI audio at boot
Replies: 2
Views: 311

Re: Waking up HDMI audio at boot

There is a option in raspi-config under advanced options that can set audio to HDMI or jack (options 7/4) Not sure if that will help or not (come to that it maybe what you have already done :oops: ) Thanks for trying to help me, but that answer has nothing to do with what I'm trying to get here. I ...
by Vanfanel
Mon Mar 11, 2019 1:26 pm
Forum: Troubleshooting
Topic: Waking up HDMI audio at boot
Replies: 2
Views: 311

Waking up HDMI audio at boot

Hi there! I have noticed that adding these to config.txt, I no longer have the lost 1-2 seconds of audio when an audio playback begins: config_hdmi_boos=4 force_hdmi_open=1 However, I am still missing these 1-2 seconds for the FIRST audio playback on the system when I reboot. Is there config.txt com...
by Vanfanel
Mon Mar 11, 2019 10:31 am
Forum: Raspberry Pi OS
Topic: Is the BCM2835 module needed for vc4_hdmi audio to work?
Replies: 0
Views: 377

Is the BCM2835 module needed for vc4_hdmi audio to work?

Hi there, I have been trying to get the vc4_hdmi audio to work in my own aarch64 debian system with the latest raspberrypi kernel sources built for aarch64. I am using the vc4 overlay (dtoverlay=vc4-kms-v3d). aplay -l lists the vc4hdmi card as card 0, and if I set dtparam=audio=on on config.txt, the...
by Vanfanel
Fri Feb 08, 2019 1:18 pm
Forum: Raspberry Pi OS
Topic: VC4 and secondary sound card: Set ALSA card ordering
Replies: 0
Views: 325

VC4 and secondary sound card: Set ALSA card ordering

Hi there! I'be been trying for a year to fix this issue. Thing is, I have an Hifiberry card on my Pi setup, where I use the open source VC4 driver stack. That gives me two ALSA cards: snd_rpi_hifiberry_dacplus and vc4-hdmi. It works almost fine, but sometimes alsa-restore.service fails on boot becau...
by Vanfanel
Fri Sep 07, 2018 6:26 pm
Forum: Gaming
Topic: I want to play sims4 wit pi
Replies: 2
Views: 3059

Re: I want to play sims4 wit pi

When I see this kind of posts, I get the impression that the OP doesn't even know what a Raspberry Pi is :(
by Vanfanel
Mon Jul 16, 2018 7:19 pm
Forum: Raspberry Pi OS
Topic: VC4 and MPV accelerated video playback, already possible?
Replies: 0
Views: 648

VC4 and MPV accelerated video playback, already possible?

Hi there, I updated a year ago or so to the VC4 driver and never looked back. However, I need to use accelerated video playback on a project, and I don't want to go back to the closed BRCM stack! So I have built latest MESA (18.1.4 as of today), I am using the latest rpi-update kernel (4.14.54-v7+ a...
by Vanfanel
Thu Jul 12, 2018 1:01 pm
Forum: Troubleshooting
Topic: No connection until I do a PING, with Pi3+ (doesn't happen in Pi3)
Replies: 4
Views: 901

Re: Strange ethernet problem with Pi3+ (doesn't happen in Pi3)

DHCP and dhcpcd.conf are 2 different things, note the extra "cd " in the second one. dhcpcd.conf is were the static IP in now set up on a pi. Dhcpcd is a dhcp client. I don't need it to have a static IP on my GNU/Linux systems. I believe you are trying to help, and I thank you for that, but pointin...
by Vanfanel
Thu Jul 12, 2018 9:18 am
Forum: Troubleshooting
Topic: No connection until I do a PING, with Pi3+ (doesn't happen in Pi3)
Replies: 4
Views: 901

Re: Strange ethernet problem with Pi3+ (doesn't happen in Pi3)

@DougieLawson: Assigning the same IP on both machines? No, of course not. They have been 192.168.5.7 (Laptop PC running Lubuntu GNU/Linux) and 192.168.5.8 (Raspberry Pi) for years. Also, there's no router involved here. I am talking about direct PC<->Pi ethernet cable connection. It has been working...
by Vanfanel
Wed Jul 11, 2018 11:46 pm
Forum: Troubleshooting
Topic: No connection until I do a PING, with Pi3+ (doesn't happen in Pi3)
Replies: 4
Views: 901

No connection until I do a PING, with Pi3+ (doesn't happen in Pi3)

Hi there, I have been using my Pi3 happily for years now. Then I recently decided to update some projects to Pi3b+ boards in search of that small CPU power advantage, but I am finding a very annoying problem regarding ethernet connection. I am using the same sd card on both the Pi3 and the Pi3b+. I ...
by Vanfanel
Sat Jun 09, 2018 10:56 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 2180

Re: Where can I find latest libgbm sources?

DougieLawson wrote:
Sat Jun 09, 2018 4:22 pm
Source code here: https://mesa3d.org/download.html
Now that's what I was looking for! Seems that libgbm is included with MESA, so building and installin latest MESA also builds and installs latest libgbm! Thanks!
by Vanfanel
Sat Jun 09, 2018 4:20 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 2180

Re: Where can I find latest libgbm sources?

fruitoftheloom wrote:
Sat Jun 09, 2018 10:47 am


Raspbian Stretch

libgbm1 13.0.6-1

Raspbian Buster & Sid

libgbm1 18.0.5-1


FYI libgbm-dev has libgbm1 as a dependency as per link above...
But I need the sources for the latest libgbm1, not debian's install package for Buster. Do you know where those sources are?
by Vanfanel
Sat Jun 09, 2018 9:18 am
Forum: Raspberry Pi OS
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 2180

Re: Where can I find latest libgbm sources?

That's libgbm-dev, not libgbm...
by Vanfanel
Tue Jun 05, 2018 5:48 pm
Forum: Raspberry Pi OS
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 2180

[SOLVED] Where can I find latest libgbm sources?

Hi there; While investigating some strange problems with the KMSDRM driver on SDL2 I have been dealing with for months, I tried to build libgbm from sources. Latest version I could find is this one on Robclark's repo: https://github.com/robclark/libgbm But it's outdated, last commits being from 2012...
by Vanfanel
Sat Apr 07, 2018 10:03 pm
Forum: C/C++
Topic: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?
Replies: 11
Views: 2540

Re: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?

I have some updates on this. Your ideas are good, jahboater, but these segfaults on quit (on delete[] and free functions) seem to be happening on X86_64 too if I use the same SDL2 driver, KMSDRM, which I sent for merging... https://github.com/spurious/SDL-mirror/tree/master/src/video/kmsdrm The prob...
by Vanfanel
Mon Apr 02, 2018 9:54 am
Forum: C/C++
Topic: What C/CXX FLAGS does -march=native activate on a Rpi3?
Replies: 5
Views: 1531

Re: What C/CXX FLAGS does -march=native activate on a Rpi3?

Thanks, solved. It seems default 6.3.0 it's still using Pi1 flags...
by Vanfanel
Mon Apr 02, 2018 12:05 am
Forum: C/C++
Topic: What C/CXX FLAGS does -march=native activate on a Rpi3?
Replies: 5
Views: 1531

What C/CXX FLAGS does -march=native activate on a Rpi3?

That's about it. I am building some software on the Pi3 with the latest Raspbian/GCC combination, and I need to know what GCC flags does -march=native produce on the Pi3. I take it should be something like "-O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard", but I am starting to suspect it's...
by Vanfanel
Fri Mar 30, 2018 9:40 pm
Forum: C/C++
Topic: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?
Replies: 11
Views: 2540

Re: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?

@jahboater: This Valgrind stuff is really crazy. I am running it on X86_64 because the Pi won't start the game in 10 minutes... Too slow for it. ECWolf causes SO MANY warnings that it won't show them all! ==5361== ==5361== More than 10000000 total errors detected. I'm not reporting any more. ==5361=...
by Vanfanel
Fri Mar 30, 2018 5:24 pm
Forum: C/C++
Topic: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?
Replies: 11
Views: 2540

Re: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?

@jamesh: ok, before I go try Valgrind, do you have an indea on what could be wrong on ARM vs X64 on a delete call? There's no threading involved to my knowledge, at least in ECWolf.

Go to advanced search