SDL No available video device (sdl12 installed)

Andrey Fesenko f0andrey at gmail.com
Fri Feb 8 00:43:56 UTC 2013


Hello,
do not run the game using sdl.

% uname -a
FreeBSD x220.local 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r246229: Sat
Feb  2 17:42:00 UTC 2013
andrey at x220.local:/usr/obj/usr/src/sys/W_BOOK  amd64

# cat /etc/make.conf
WITH_NEW_XORG=true
WITH_KMS=true

X.Org X Server 1.10.6
Release Date: 2012-02-10
intel(0): Integrated Graphics Chipset: Intel(R) Sandybridge Mobile (GT2+)

# pkg info | grep ^sdl
sdl-1.2.15_2,2                 Cross-platform multimedia development API
sdl_gfx-2.0.23                 SDL graphics drawing primitives and
other support functions
sdl_image-1.2.12_1             A simple library to load images of
various formats as SDL surfaces
sdl_mixer-1.2.12_2             A sample multi-channel audio mixer library
sdl_net-1.2.8                  A small sample cross-platform networking library
sdl_pango-0.1.2_7              SDL_Pango is the SDL API to the Pango
text rendering engine of GNOME 2.x
sdl_ttf-2.0.11                 A library to use TrueType fonts to
render text in SDL applications

% sdl-config --version
1.2.15
% sdl-config --libs
-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread
% sdl-config --cflags
-I/usr/local/include/SDL -I/usr/local/include -D_GNU_SOURCE=1 -D_REENTRANT

% ufo
...
------- video initialization -------
Video SDL_Init failed: No available video device

% openttd -I OpenGFX -S OpenSFX -M OpenMSX
Error: Couldn't find any suitable video driver
% openttd -I OpenGFX -S OpenSFX -M OpenMSX -v sdl
Error: Unable to load driver 'sdl'. The error was: No available video device


More information about the freebsd-current mailing list