Questions tagged [sdl]

19 questions
5
votes
1 answer

SDL without X (dosbox on console of old notebook)

I am trying to run dosbox on low memory (512MB - 32MB video RAM) notebook without x windows for fun. It's not working out of the box and I am getting "can't init SDL no available video device" error. Dosbox usse SDL for rendering and according to…
andrej
  • 452
4
votes
2 answers

How can I install pygame on python with cygwin?

I cannot install pygame on cygwin properly. I tried to follow that old doc , http://msdl.cs.mcgill.ca/people/tfeng/svmsccdoc/node49.html, but it doesn't work. Worse issue is SDL not be able to install correctly Any helps are welcomed as I've been…
Andy K
  • 392
4
votes
2 answers

Linux joystick seems mis-calibrated in an SDL game (Freespace 2 Open)

I have a USB joystick (Saitek Cyborg 3D) which shows up on my recently installed Ubuntu 9.04 box as /dev/input/js0, and jstest is showing values in the range +-32767 as I would expect. I just dug up a copy of FreeSpace Open, a game which uses SDL…
4
votes
2 answers

How to boot linux direct to application on console with no login

I have a need to start an application on bootup on the linux console and I do not have a need for any type of login or security. I do not need any ALT-F1,F2,etc virtual consoles but I would like to allow SSH access via the network port for…
amanda
3
votes
0 answers

In ffmpeg, how to keep SDL output realtimely for the live-view?

When used alone in ffmpeg command line, SDL provide exellent live-view display with nearly no delay in video stream except for audio stream. like this. ffmpeg -f dshow -video_size 1920x1080 -rtbufsize 2G -framerate 59.94 -i "Directshow A/V capture…
Thm Lee
  • 163
2
votes
1 answer

KVM/QEMU SDL output to framebuffer

I want a KVM guest with SDL graphics on a host that does not run X. From what I've read, SDL supports output to the framebuffer, but I can't find much on the topic.
Mike
  • 121
2
votes
1 answer

Installing ffmpeg + dependencies on AWS Linux AMI (repo issues)

I'm installing ffmpeg to run on an Amazon linux AMI, and have added the rpmforge repo and the dag repo. Here are some guidelines I'm using for reference: TWoZaO and Razuna The rpmforge repo has ffmpeg, but if you try to install it then it will…
HdN8
  • 121
2
votes
1 answer

SDL Program not opening on Xming

I'm running the Ubuntu app on my windows 10 computer and I'm having trouble getting a SDL program to display with Xming. Here is the error I get: Xlib: extension "MIT-SHM" missing on display ":0". Xlib: extension "MIT-SHM" missing on display…
Axl
  • 21
2
votes
0 answers

How to cross-compile ffplay for Android on Ubuntu?

I'm trying to obtain an ffplay binary to use it in my Android app. But when I run my configure script, it says that sdl2 in not found although I cross-compiled it too and put its headers and library flags to --extra-cflags and --extraldflags. If I…
1
vote
1 answer

what did libsdl2 bring vis-a-vis libsdl 1.2 specifically towards graphics?

From what little I understand libsdl2 made it lot better to do gaming than libsdl 1.2 . But I have not understood the changes they have bought. I am not a programmer but an end-user. Could someone explain to me how SDL2 would benefit me as a gamer…
shirish
  • 499
1
vote
3 answers

Cannot open SDL support on Qemu

When I compile qemu for arm platform, I configure as follows: ./configure --cross-prefix=arm-linux-gnueabi- --target-list=arm-softmmu --enable-kvm --enable-sdl --static But get errors below: ERROR: User requested feature sdl ERROR: configure was…
Himiko
  • 13
1
vote
0 answers

FFMPEG on Buildroot

I am new to linux and trying to install Ffmpeg on buildroot which I've installed in raspberrypi 3. My main goal is to display uvc camera on display But whenever I'm trying to execute ffplay /dev/videoO. It shows error " could not initialize SDL -…
1
vote
1 answer

How to get an old Windows binary (Jump 'n Bump; win32) to work on modern Windows?

I understand that this question is grasping at straws, but here goes: I was downloading various games for my Fedora laptop to keep my son from dying of boredom during a train ride - one of the things that I found was a proper blast from the past -…
azzid
  • 531
1
vote
1 answer

Navit in FB causes SDL init -1

I'm trying to compile Navit for Rpi3 with Buildroot image (WPE Framework included). There is only WPE Framework running on startup (no x server) therefore I would like to display Navit using framebuffer. I know there is support for this. I have…
user976928
  • 11
  • 1
0
votes
1 answer

Cant compile SDL source file with gcc

i downloaded a manual of introduction to graphics programming with SDL, so i tried to compile my first source and it logged the next error the command to compile it was: $ gcc helloWorld.c [-o helloWorld] $(sdl-config --cflags --libs) and the log…
1
2