Hello Markus,

what puzzles me in your log is the following.

On Thu, May 15, 2014 at 09:00:36PM +0200, [email protected] wrote:
> No protocol specified
> No protocol specified

Searching the internet hints libsdl video could not be initialized.
Please apply the attached patch to the Genode sources and try to run
the demo again.

Regards
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
 os/src/drivers/framebuffer/sdl/fb_sdl.cc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/os/src/drivers/framebuffer/sdl/fb_sdl.cc b/os/src/drivers/framebuffer/sdl/fb_sdl.cc
index 15bb575..ea03499 100644
--- a/os/src/drivers/framebuffer/sdl/fb_sdl.cc
+++ b/os/src/drivers/framebuffer/sdl/fb_sdl.cc
@@ -148,6 +148,10 @@ extern "C" int main(int, char**)
 
 	Genode::size_t bpp = Framebuffer::Mode::bytes_per_pixel(scr_format);
 	screen = SDL_SetVideoMode(scr_width, scr_height, bpp*8, SDL_SWSURFACE);
+	if (!screen) {
+		PERR("SDL_SetVideoMode failed");
+		return -3;
+	}
 	SDL_ShowCursor(0);
 
 	Genode::printf("creating virtual framebuffer for mode %dx%d@%zd\n",
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to