Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 2003 11:49:38 -0500 (EST)
From:      "Marius M. Rex" <marius@malkav.snowmoon.com>
To:        questions@Freebsd.org
Subject:   dgen-sdl gives only blank sceen
Message-ID:  <20030120110112.D57486-100000@malkav.snowmoon.com>

next in thread | raw e-mail | index | archive | help

Has anyone had luck with dgen-sdl?  All I have ever gotten with it is a
blank screen.  I have tried it a number of times under several recent
versions of FreeBSD, and it is always the same blank screen.  A blank
screen with no sound.  (but sound is a secondary issue.)  I have searched
thr archives of questions and see no refernce to this problem.

The port compiles fine, as far as I can tell.  It seems to run fine when
it is invoked, except for the blank screen.  I can start it up or quit
dgen without obvious error.  I can press 'tab' to 'reset' the game, the
function keys work, all with little text feedback from the otherwise blank
screen.  A ktrace of the process shows that dgen is indeed loading the
ROM.  (One of the ROMs that I have has a text intro, and that shows up
just fine in the kdump.  The process smoothly moves on beyond that.  I
think the ROM is loading fine.)

Granted I only have tested dgen-sdl with a few ROMs, but since all of them
give the same response, I believe that I simply have something
misconfigured.  Other sdl games work fine.  I do not think it is a case of
old packages, as I have a subscription to FreeBSD and often simply do a
fresh install for major upgrades instead of just a
buildworld.  So more then once I have built the port from scratch with all
current packages for a given branch.

While I have had the same experience with various versions of FreeBSD and
thus different port builds of dgen-sdl, but here is the current setup:

# uname -a
FreeBSD sutolux.ny.home 4.7-STABLE FreeBSD 4.7-STABLE #6: Fri Dec 20
13:00:45 EST 2002     root@sutolux.ny.home:/usr/src/sys/compile/SUTOLUX
i386

with:
esound-0.2.29
libaudiofile-0.2.3
libiconv-1.8_2
gettext-0.11.5_1
gmake-3.80
imake-4.2.0_1
libgnugetopt-1.2
libtool-1.3.4_4
nasm-0.98.33,1
pkgconfig-0.13.0
sdl-1.2.4_1
Mesa-3.4.2_2
aalib-1.4.r5_1
svgalib-1.4.2_1
freetype2-2.1.2_1
expat-1.95.5
XFree86-libraries-4.2.1_4
dgen-sdl-1.22_1

cat /etc/X11/XF86Config

Section "Module"
    Load        "dbe"   # Double buffer extension
    Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/share/AbiSuite/fonts"
EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
   Identifier  "Keyboard1"
    Driver      "Keyboard"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"   "xfree86"
    Option "XkbModel"   "pc101"
    Option "XkbLayout"  "us"

EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "auto"
    Option "Device"      "/dev/sysmouse"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier  "laptopscreen"
    HorizSync   31.5 - 57.0
    VertRefresh 50-70
EndSection

Section "Device"
    Identifier  "Standard VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Driver     "vga"
EndSection

Section "Device"
    Identifier  "builtin"
    Driver      "neomagic"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "builtin"
    Monitor     "laptopscreen"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1152 900
    EndSubsection
EndSection

Section "ServerLayout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

-------------------------------------------------------------------------
Marius M. Rex

NeXT is most Goth of all computers.  It's all black.  It's
obscure and arcane.  It's obstinate, and at times annoying.  Most of all,
it's a fetish which one can only defend by resorting to emotional arguments
because there is no rational basis for involvement with it any longer.  (Not
 only that, but many no longer work, and occasionally smoke.)


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030120110112.D57486-100000>