Go to advanced search

by otah007
Tue Jun 19, 2018 8:31 am
Forum: Bare metal, Assembly language
Topic: VC stops responding to property mailbox requests after 8 requests
Replies: 2
Views: 601

Re: VC stops responding to property mailbox requests after 8 requests

I had already tried what you suggested, however! On closer inspection there was a bug in my mailRead function which would cause it to fail if the response message was not 0: mailRead_wait: LDR R2, [R1, #MAILBOX_READ_STATUS] TST R2, #MAILBOX_STATUS_FULL BNE mailRead_wait LDR R2, [R1, #MAILBOX_READ] A...
by otah007
Mon Jun 18, 2018 10:16 pm
Forum: Bare metal, Assembly language
Topic: VC stops responding to property mailbox requests after 8 requests
Replies: 2
Views: 601

VC stops responding to property mailbox requests after 8 requests

I am attempting double buffering by creating a framebuffer twice the height of the target resolution, then using the bottom half as a back buffer while the top half is the front buffer, and vice versa. This requires regular communication to the VC via the property mailbox to request that the y-posit...
by otah007
Thu Jun 07, 2018 12:19 pm
Forum: Bare metal, Assembly language
Topic: VideoCore returning 1 on framebuffer request
Replies: 4
Views: 906

Re: VideoCore returning 1 on framebuffer request

Problem solved! I had not been using a linker script! I can only assume the program binary was dumped somewhere unreasonable since I didn't specify a location. My previous programs all worked but they never talked to the VC so I assume that must also be part of the problem. Thank you for the help re...
by otah007
Thu Jun 07, 2018 9:43 am
Forum: Bare metal, Assembly language
Topic: VideoCore returning 1 on framebuffer request
Replies: 4
Views: 906

Re: VideoCore returning 1 on framebuffer request

I have found out a few things. It seems that the size of the buffer is exactly 1920*64 bytes, regardless of the requested resolution or bit depth. Incidentally, my monitor has 1920x1200 resolution. Incrementing the value I write by one each time I write a byte draws a strange pattern, unfortunately ...
by otah007
Thu Jun 07, 2018 9:01 am
Forum: Bare metal, Assembly language
Topic: VideoCore returning 1 on framebuffer request
Replies: 4
Views: 906

Re: VideoCore returning 1 on framebuffer request

Thanks for your help, however the program still does not work properly. I have added the stack pointer initialisation and modified where the status is read from when writing to the mailbox. However, I still get a return value of 1 after requesting a framebuffer. Ignoring this and writing anyway, I g...
by otah007
Thu Jun 07, 2018 1:21 am
Forum: Bare metal, Assembly language
Topic: VideoCore returning 1 on framebuffer request
Replies: 4
Views: 906

VideoCore returning 1 on framebuffer request

I have been trying to get something to display on the screen using assembly and an RPI model B. Through much trial and error, the best I have managed is to draw a broken blue line horizontally across the centre of the screen. I have only succeeded in colouring the screen completely once, and resetti...
by otah007
Thu Jul 04, 2013 4:38 pm
Forum: Troubleshooting
Topic: OMXplayer has no audio - tried absolutely everything
Replies: 20
Views: 29831

Re: OMXplayer has no audio - tried absolutely everything

I did -o about a gazillion times, using hdmi AND local - again, no use.
by otah007
Fri May 31, 2013 5:40 pm
Forum: Media centres
Topic: XBMC black screen when trying to access internet
Replies: 2
Views: 773

Re: XBMC black screen when trying to access internet

I am using XBMC 12.2 on the latest Raspbian version.
by otah007
Fri May 31, 2013 5:20 pm
Forum: Media centres
Topic: XBMC black screen when trying to access internet
Replies: 2
Views: 773

XBMC black screen when trying to access internet

Hi Pi lovers! I have a problem wih XBMC - every time I try to access a internet - based menu (downloading addons, changing weather provider, etc.) I get a black screen. The mouse disappears after a few seconds of inactivity (as normal) and I can press ESC to go back to the previous screen (as normal...
by otah007
Thu May 30, 2013 4:59 pm
Forum: Troubleshooting
Topic: OMXplayer has no audio - tried absolutely everything
Replies: 20
Views: 29831

Re: OMXplayer has no audio - tried absolutely everything

I've tries MP4 files to no avail. Also I've downloaded XBMC but for some reason it can't connect to the internet - whenever I click something that accesses the internet the screen goes black and the mouse disappears after a few seconds of inactivity (as normal). All I can do is press ESC to go back....
by otah007
Sat May 25, 2013 8:16 am
Forum: Troubleshooting
Topic: OMXplayer has no audio - tried absolutely everything
Replies: 20
Views: 29831

Re: OMXplayer has no audio - tried absolutely everything

I have rebooted multiple times, and I have changed the amount of memory for the GPU too, to no avail. However I was not aware you could download XBMC on Raspbian - I will try that instead.
by otah007
Thu May 23, 2013 2:16 pm
Forum: Troubleshooting
Topic: OMXplayer has no audio - tried absolutely everything
Replies: 20
Views: 29831

Re: OMXplayer has no audio - tried absolutely everything

Thanks gkreidl for the quick reply. I have 128mb reserved for GPU and 128mb for CPU.

Also I have corrected an error in my initial post - it seems my video file is an AVI.
I will test an MP4 soon and post the results.
by otah007
Wed May 22, 2013 10:05 pm
Forum: Troubleshooting
Topic: OMXplayer has no audio - tried absolutely everything
Replies: 20
Views: 29831

OMXplayer has no audio - tried absolutely everything

I've been trying to enable sound in OMXplayer for a few hours now and nothing I can do works. I am playing an AVI file with 2 MP3 audio channels and it's not working. I have tried the following: - Installed the latest sound programs via apt-get (modprobe and that stuff) - Done the 'hello_sound.bin' ...
by otah007
Sat Feb 16, 2013 10:53 pm
Forum: Gaming
Topic: Half-Life
Replies: 16
Views: 11028

Re: Half-Life

Just thinking about HL not being open source, the Black Mesa project have released the original game, updated to use the Source engine (ie look like HL2 etc) with updated physics, textures and enhanced story ....for FREE! So I can't see why a Pi version couldn't at least be attempted. :mrgreen: I c...
by otah007
Sat Feb 16, 2013 10:49 pm
Forum: Gaming
Topic: Minecraft: Pi Edition - Strange windows and no sound
Replies: 18
Views: 12494

Re: Minecraft: Pi Edition - Strange windows and no sound

I've tried disabling overscan, and it works - but it's hardly usable as there is a large portion of the display out of the screen. Thanks for the tip though! :D
by otah007
Tue Feb 12, 2013 3:19 pm
Forum: Gaming
Topic: Minecraft: Pi Edition - Strange windows and no sound
Replies: 18
Views: 12494

Minecraft: Pi Edition - Strange windows and no sound

I've just run Minecraft: Pi Edition and everything seems to be working... except that when I run it, it generates two windows - one like a regular window, with the name and the 'x' in the corner, etc., and then it opens another window offset from the first one with the actual game in it. It's as if ...

Go to advanced search