Go to advanced search

by dom
Tue May 02, 2017 7:07 pm
Forum: Advanced users
Topic: HOWTO: Dim the display like the kodi screensaver
Replies: 3
Views: 452

Re: HOWTO: Dim the display like the kodi screensaver

Kodi applies an alpha layer over the screen to dim it. You could get a similar effect by creating a semi-transparent dispmanx layer in front of console framebuffer. Have a look at hello_dispmanx for example code. Make the resource the size of screen and set to black (just remove the FillRect calls)....
by dom
Mon May 01, 2017 11:19 am
Forum: Troubleshooting
Topic: DMT Mode 47 Not Working After Upgrade
Replies: 2
Views: 178

Re: DMT Mode 47 Not Working After Upgrade

I can't think of a reason. Creating an issue here might be best and we can try to track down exactly when it broke:
https://github.com/raspberrypi/firmware/issues
by dom
Sun Apr 23, 2017 11:55 am
Forum: General discussion
Topic: Perf/temp differences between Pi2B V1.1/V1.2 and Pi3B V1.2
Replies: 30
Views: 2097

Re: Perf/temp differences between Pi2B V1.1/V1.2 and Pi3B V1

Edmor wrote:I'm wondering about why Pi2 Model B V1.2 have the same CPU as Pi3 model B V1.2.
Because buying BCM2836 in the very small quantities required for Pi2 is more expensive than slightly increasing the quantity of BCM2837 and using that.
by dom
Tue Apr 18, 2017 12:26 pm
Forum: General discussion
Topic: Perf/temp differences between Pi2B V1.1/V1.2 and Pi3B V1.2
Replies: 30
Views: 2097

Re: Perf/temp differences between Pi2B V1.1/V1.2 and Pi3B V1

i486 wrote:Can I slow down the clock of Pi3 to 900Mhz and avoid overheat problem?
Sure. Add "arm_freq=900" to config.txt and your Pi will run cooler and slower.
by dom
Sun Apr 16, 2017 11:37 am
Forum: Advanced users
Topic: Extra 16M memory on Pi2/Pi3
Replies: 32
Views: 14855

Re: Extra 16M memory on Pi2/Pi3

A friend has bought a pi0W, so lent me his previous 0, which has the camera interface. Reverting to total_mem=1024 seems to be the only setting where pi0 at least tries to display a stream, fixed settings of gpu_ram just giving a black screen. It is unusable like this of course, but interesting non...
by dom
Sun Apr 16, 2017 11:34 am
Forum: Advanced users
Topic: Extra 16M memory on Pi2/Pi3
Replies: 32
Views: 14855

Re: Extra 16M memory on Pi2/Pi3

cjan wrote:in my case Rpi2, kodi need gpu_mem=160 to play hd-dvb youtube 720p-video and better mouse moving...etc.
That won't make any difference for video playback in chromium.

For kodi, then sure, more gpu memory is useful (256MB is recommended for Pi2/Pi3).
by dom
Wed Apr 12, 2017 5:43 pm
Forum: Advanced users
Topic: Extra 16M memory on Pi2/Pi3
Replies: 32
Views: 14855

Re: Extra 16M memory on Pi2/Pi3

If it happens that said buffer is allocated such that its last word is the last word in a a writable allocation of memory (or maybe the last word of actual addressable memory) then certain bitblt operations that involve read-modify-write-back can attempt to touch the next address (part of some opti...
by dom
Wed Apr 12, 2017 4:51 pm
Forum: Advanced users
Topic: Extra 16M memory on Pi2/Pi3
Replies: 32
Views: 14855

Extra 16M memory on Pi2/Pi3

The Pi has a 30-bit (1024MB) address space (the top two bits are used for caching aliases). A small amount of one of the aliases is used for gpu peripheral access. The arm accesses gpu memory space through a coarse MMU that allows 64 blocks of 16M to be mapped in. On Pi0/Pi1 we use 32 of these block...
by dom
Sun Apr 09, 2017 1:05 pm
Forum: Troubleshooting
Topic: OSMC for RPI no longer works
Replies: 14
Views: 1952

Re: OSMC for RPI no longer works

You should report OSMC issues here:
https://discourse.osmc.tv/

NOOBS will just link to an OSMC image hosted by OSMC.
It is possible the latest version of that is bad and they will need to fix it.
But they won't know about it unless they are told.
by dom
Thu Apr 06, 2017 5:29 pm
Forum: The Staffroom
Topic: Stabilizing RPi3 speed for my classes
Replies: 10
Views: 2720

Re: Stabilizing RPi3 speed for my classes

An alternative method would be to change the cpufreq governor which handles the switching to turbo mode: echo powersave | sudo tee /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor powersave mode will run at the lower frequency (600MHz) always. ondemand will dynamically switch performance will r...
by dom
Thu Apr 06, 2017 2:34 pm
Forum: General discussion
Topic: omxplayer and .MOV files from dashcam
Replies: 4
Views: 428

Re: omxplayer and .MOV files from dashcam

Are you running raspbian jessie? If so it should be set up correctly. It should look like: pi@domnfs:~ $ ls -l /dev/vchiq crw-rw---- 1 root video 246, 0 Apr 5 20:17 /dev/vchiq and user pi should be in the video group: pi@domnfs:~ $ groups pi adm dialout cdrom sudo audio video plugdev games users inp...
by dom
Wed Apr 05, 2017 4:10 pm
Forum: General discussion
Topic: omxplayer and .MOV files from dashcam
Replies: 4
Views: 428

Re: omxplayer and .MOV files from dashcam

Do you have enough gpu_mem allocated?
(Try with gpu_mem=128 to be sure, although 64 is enough for most files).
by dom
Wed Apr 05, 2017 10:55 am
Forum: OpenMAX
Topic: is real-time decoding possible?
Replies: 23
Views: 8579

Re: is real-time decoding possible?

sbakke wrote: Tried creating a pipeline with just decoder and render (removed scheduler and clock) but nothing is ever displayed. Is there more we need to do?
hello_video_simple is a working version of what you are describing. Might be worth a look.
by dom
Fri Mar 31, 2017 11:51 am
Forum: Troubleshooting
Topic: Compiling based on a .config from a PiZero W
Replies: 3
Views: 267

Re: Compiling based on a .config from a PiZero W

Pi0W uses the same kernel as Pi0 and Pi1. The config extracted from a running kernel will exactly match the corresponding bcmrpi_defconfig. Most options in the kernel config are modules (=m) so don't cost much if you don't use them (no ram, just some sdcard storage). You could always delete them fro...
by dom
Thu Mar 30, 2017 2:21 pm
Forum: Troubleshooting
Topic: Compiling based on a .config from a PiZero W
Replies: 3
Views: 267

Re: Compiling based on a .config from a PiZero W

Why are you trying to use a 4.4 kernel config to build a 4.9 kernel when we provide a 4.9 kernel config? If you must do this route, after you have run olddefconfig, run: ARCH=arm CROSS_COMPILE=${CCPREFIX} make -j3 savedefconfig That will produce a defconfig file comparable to arch/arm/configs/bcmrpi...
by dom
Tue Mar 28, 2017 12:03 pm
Forum: Advanced users
Topic: New experimental GL driver configuration
Replies: 11
Views: 8170

Re: New experimental GL driver configuration

hanzelpeter wrote:So I looks like I need to remove overscan. Is it the culprit of a problem?
Yes, the config.txt overscan settings are not compatible with arm side vc4 driver and should be disabled.
by dom
Mon Mar 27, 2017 1:45 pm
Forum: Troubleshooting
Topic: Pi 3 and Slow, Jerky Video when streaming
Replies: 4
Views: 916

Re: Pi 3 and Slow, Jerky Video when streaming

Playing through a browser with flash won't make use of the hardware video decoder.

Try using Kodi (e.g. with LibreELEC or OSMC) and check for addons for the content you want.
There appears to be a CBS addon: http://forum.kodi.tv/showthread.php?tid=222072
by dom
Sat Mar 25, 2017 2:34 pm
Forum: General discussion
Topic: Controlling LAN LEDs individually
Replies: 25
Views: 11140

Re: Controlling LAN LEDs individually

mcduman wrote:anybody tried this with the rpi3? I cannot get it to work.
Yes, works for me on Pi3.
I ran:

Code: Select all

tar xf llctl.tgz 
make
sudo ./llctl f0 l0 d0
and the LEDs went off.
by dom
Wed Mar 22, 2017 3:30 pm
Forum: Beginners
Topic: Chromium Auto Refresh
Replies: 5
Views: 4102

Re: Chromium Auto Refresh

There are chrome addons that can do this. Does this work?
https://chrome.google.com/webstore/deta ... njkc?hl=en
by dom
Wed Mar 22, 2017 11:50 am
Forum: General discussion
Topic: Pi3 internet browsing and Youtube performance
Replies: 29
Views: 72224

Re: Pi3 internet browsing and Youtube performance

Most apps under raspbian do not use gpu memory - only apps that support gpu acceleration. Video decode in chromium benefits from having 80M. Higher will make no difference (and if you go too high the arm may suffer when running multiple applications, or with many tabs). omxplayer can need more than ...
by dom
Mon Mar 20, 2017 11:40 am
Forum: Linux Kernel
Topic: Continued support for Linux 4.4 LTS on Raspberry Pi
Replies: 4
Views: 1225

Re: Continued support for Linux 4.4 LTS on Raspberry Pi

Just to clarify the default branch of raspberrpi/linux is 4.9. The master branch of raspberrypi/firmware (which includes pre-built linux kernel) contains 4.9 kernel. This is what you get from current rpi-update and will get from a future apt-get (when we next bump apt repo). The stable branch of ras...
by dom
Sun Mar 19, 2017 12:49 pm
Forum: General discussion
Topic: Pi3 internet browsing and Youtube performance
Replies: 29
Views: 72224

Re: Pi3 internet browsing and Youtube performance

treeHouse wrote:I have 2 rp3's, one on a 720p tv and the other on a 1080p.
The latest chromium does full screen youtube very well on the 720, but choppily on the 1080.
Increasing GPU memory (e.g. through raspi-config) does help fullscreen video decode in Chromium a little. 80M should be enough.
by dom
Sun Mar 19, 2017 11:44 am
Forum: General discussion
Topic: New Open GL Driver, Bug report thread
Replies: 94
Views: 30657

Re: New Open GL Driver, Bug report thread

ric96 wrote:So needed some clearance with the difference between the kms and fkms dtoverlay, and is it related to full kms and fake kms option recently introduced in the raspi-config?
Did you you read the linked post? It describes the differences.
Yes, fkms is referred to as fake kms in raspi-config.
by dom
Sat Mar 18, 2017 8:45 pm
Forum: General discussion
Topic: New Open GL Driver, Bug report thread
Replies: 94
Views: 30657

Re: New Open GL Driver, Bug report thread

I have the vc4-kms-v3d driver specified in config.txt. I see the login prompt and command line console on the hdmi monitor, but when I try to run omxplayer, I see the text output of the program but no video. Correct. vc4-kms-v3d will disable any gpu features that drive the display. You can use the ...
by dom
Sat Mar 18, 2017 12:59 pm
Forum: General programming discussion
Topic: Native graphical RPI/ARM disassembler / monitor
Replies: 4
Views: 708

Re: Native graphical RPI/ARM disassembler / monitor

gdb is the standard linux debugger. It will allow you to disassemble, see registers and step through code.
It is a textual tool, although the TUI (textual user interface) mode is a bit more friendly.
There are GUI tools that wrap around gdb, but I've never tried them on Pi.

Go to advanced search