klain Posted March 12, 2010 Share Posted March 12, 2010 hey guys. i have installed a version of debian in my laptop besides windows xp. i login in command line (without starting the X). i'm trying to run prboom from there without starting the X server (for my own reasons ) and here is the error i get: =======================| DirectFB 1.0.1 |======================= © 2001-2007 The DirectFB Organization (directfb.org) © 2000-2004 Convergence (integrated media) GmbH ------------------------------------------------------------ (*) DirectFB/Core: Single Application Core. (2008-08-18 12:36) (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed --> No such file or directory (!) DirectFB/FBDev: Error opening framebuffer device! (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable. (!) DirectFB/Core: Could not initialize 'system' core! --> Initialization error! Could not initialize SDL [DirectFBCreate: Initialization error!] prboom v2.5.0 (http://prboom.sourceforge.net/) I_SetAffinityMask: manual affinity mask is 1 Could not initialize SDL [DirectFBCreate: Initialization error!] any ideas how to solve this ? i get the same error while trying to run stella atari 2600 emulator from command line. if i start X it runs ok. sorry for my bad english Quote Link to comment Share on other sites More sharing options...
fsck Posted March 12, 2010 Share Posted March 12, 2010 klain, try turning on a framebuffer: http://en.tldp.org/HOWTO/Framebuffer-HOWTO.html http://www.digitalhermit.com/linux/hiresconsole.html Quote Link to comment Share on other sites More sharing options...
klain Posted March 12, 2010 Author Share Posted March 12, 2010 fsck, the easy solution was to start debian with vga=773 in grub menu.lst it starts with larger screen and prboom works fine i tried to change screen resolution while i was in the simple text mode. i had a strange feeling that my monitor will explode first install the fbset. aptitude install fbset then load the module for my vaio laptop modprobe intelfb a new file is created /etc/fb.modes with screen modes grep ^mode /etc/fb.modes : mode "640x480-60" mode "640x480-72" mode "640x480-75" mode "640x480-90" mode "640x480-100" mode "768x576-75" mode "800x600-48-lace" mode "800x600-56" mode "800x600-60" mode "800x600-70" mode "800x600-72" mode "800x600-75" mode "800x600-90" mode "800x600-100" mode "1024x768-43-lace" mode "1024x768-60" mode "1024x768-70" mode "1024x768-72" mode "1024x768-75" mode "1024x768-90" mode "1024x768-100" mode "1152x864-43-lace" mode "1152x864-47-lace" mode "1152x864-60" mode "1152x864-70" mode "1152x864-75" mode "1152x864-80" mode "1280x960-75-8" mode "1280x960-75" mode "1280x960-75-32" mode "1280x1024-43-lace" mode "1280x1024-47-lace" mode "1280x1024-60" mode "1280x1024-70" mode "1280x1024-74" mode "1280x1024-75" mode "1600x1200-60" mode "1600x1200-66" mode "1600x1200-76" fbset 640x480-60 open /dev/fb0: No such file or directory i googled this and and then try to install the makedev package. debian's udev (something like that) didn't let makedev to be installed. another day i'll try to figure this out. for now: vga=773 :P Quote Link to comment Share on other sites More sharing options...
klain Posted March 12, 2010 Author Share Posted March 12, 2010 in basic it would be zuper simple. screen 1:width 40 ? "boom!!!!!!!" cls screen 2 ? "doom!!!!!" Quote Link to comment Share on other sites More sharing options...
fsck Posted March 12, 2010 Share Posted March 12, 2010 Glad it is working for you. Using "vga=773" as a kernel parameter is actually turning the framebuffer on, by the way. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.