Go to advanced search

by Vanfanel
Mon Jul 16, 2018 7:19 pm
Forum: Raspbian
Topic: VC4 and MPV accelerated video playback, already possible?
Replies: 0
Views: 60

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: 167

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: 167

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: 167

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: Raspbian
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 263

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: Raspbian
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 263

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: Raspbian
Topic: [SOLVED] Where can I find latest libgbm sources?
Replies: 6
Views: 263

Re: Where can I find latest libgbm sources?

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

[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: 849

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: 420

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: 420

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: 849

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: 849

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.
by Vanfanel
Fri Mar 30, 2018 4:46 pm
Forum: C/C++
Topic: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?
Replies: 11
Views: 849

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

@jamesh: I used GDB already to determine the locations where the Pi-only segfaults happen. How could Valgrind help here? I never used it, only GDB to do C programming.
by Vanfanel
Fri Mar 30, 2018 12:18 pm
Forum: C/C++
Topic: Segfaults that only happen on Raspberry Pi and not in X64. What's going on here?
Replies: 11
Views: 849

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

Hi there, I usually build some game engines for the Raspberry Pi, and I have noticed that some code segfaults on the Pi only. In all cases, the code is for deleting C++ objects or freeing memory, and is called on program's exiting code. In ECWolf, for example, there are A LOT of delete[] calls causi...
by Vanfanel
Tue Mar 20, 2018 9:50 am
Forum: Gaming
Topic: Fuse-sdl = blank screen in Raspbian Stretch
Replies: 2
Views: 363

Re: Fuse-sdl = blank screen in Raspbian Stretch

Stop using outdated and bit-rotten libs like SDL1. Use an SDL2 version of FUSE, if such a thing exists, build your own SDL2 from the latest stable sources (2.0.8) and it WILL work.
Ideally, skip SDL and use the FUSE core for libretro instead. End of mistery.
by Vanfanel
Thu Jan 11, 2018 3:47 pm
Forum: Advanced users
Topic: Raspberry Pi 3 CPU powersave feature question
Replies: 4
Views: 489

Re: Raspberry Pi 3 CPU powersave feature question

DougieLawson wrote:
Thu Jan 11, 2018 3:31 pm
None of the Raspberries have any power saving feature. It's not needed when it costs less than £5.00 per year to run one 24/365.
Thanks, Dougie. I thought the ARM cores would have these states implemented anyway, since they are used in mobile setups, etc.
by Vanfanel
Wed Jan 10, 2018 10:50 am
Forum: Advanced users
Topic: Raspberry Pi 3 CPU powersave feature question
Replies: 4
Views: 489

Raspberry Pi 3 CPU powersave feature question

Hi, As you may know, at least on the X86 world CPUs enter so-called c-states to save power when they are idle. Hence passing "idle=poll" to the kernel config parameters disables this option (some people do it to improve system jittering). So, do the ARM cores on a Pi3 have this feature? Can it also ...
by Vanfanel
Fri Nov 24, 2017 11:01 am
Forum: Gaming
Topic: Looking for a Nes Emulator for direct CLI Run
Replies: 3
Views: 850

Re: Looking for a Nes Emulator for direct CLI Run

You just need to build and install RetroArch and a NES core, like FCeumm or Nestopia. The sourcesfor both things are here: https://github.com/libretro My advice is that you do it as a learning exercise and take notes to be able to do it as many times as needed. If you do it right, you can end having...
by Vanfanel
Sat Nov 04, 2017 9:59 pm
Forum: Gaming
Topic: ZXBaremulator v2.0
Replies: 3
Views: 697

Re: ZXBaremulator v2.0

This, sir, is an awesome piece of emulation I currently use on my Pi, along with some RetroArch cores and ADFFS... Thanks A LOT for this!!
by Vanfanel
Mon Oct 16, 2017 5:12 pm
Forum: Gaming
Topic: Retropie vs. SNES Classic
Replies: 6
Views: 7902

Re: Retropie vs. SNES Classic

The Pi runs the Snes Classic Mini emulator (the emulator that the Snes Classic Mini uses, because the Snes Mini is an ARM computer running an emulator) with no problems:
(Well, there's a small problem with the sram files, but it should be easy to fix)

https://board.byuu.org/viewtopic.php?f=16&t=1823
by Vanfanel
Wed Oct 04, 2017 11:03 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 120
Views: 29683

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

SDL2 running on Circle would be AWESOME. Or libretro/retroarch. Just imagine all the software automatically available as baremetal by porting those!! @rst: after how FAR you have taken this enviroment, have you thought about adding a simple commanline interface (single-process of course) where one c...
by Vanfanel
Thu Sep 28, 2017 5:55 pm
Forum: Gaming
Topic: The best way to play Laserdisc games on the Raspberry Pi 3
Replies: 2
Views: 864

Re: The best way to play Laserdisc games on the Raspberry Pi 3

Otto wrote:
Thu Sep 28, 2017 7:47 am
Thank you again Vanfanel, keep up the good work!
Test, report, and have fun in the process! :D
by Vanfanel
Tue Sep 26, 2017 7:26 pm
Forum: Gaming
Topic: The best way to play Laserdisc games on the Raspberry Pi 3
Replies: 2
Views: 864

The best way to play Laserdisc games on the Raspberry Pi 3

Hi there! I have fixed Hypseus, a Daphne port to SDL2, so it works on the Pi (it didn't work before because it was doing some gl calls outside the thread where the main window was created, lacked overlays which now work, etc...) You can get the sources here: https://github.com/vanfanel/hypseus Don't...
by Vanfanel
Tue Jun 27, 2017 2:46 pm
Forum: Gaming
Topic: Megadrive emulation on original RPi
Replies: 6
Views: 1752

Re: Megadrive emulation on original RPi

MegaDrive Emulation is fine on the Original Pi which negates the need for a Pi Zero. I would advise a version of PicoDrive which is the best overall MegaDrive/Genesis Emulator available for the Pi. Check the Emulation sticky for info - Link - https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=...

Go to advanced search