[smpeg] Newbie

Steven Webb steve at badcheese.com
Mon Feb 9 17:21:51 EST 2004


Actually, it's an X thing and a linux kernel thing.  SMPEG dumps tons of
video to the screen as fast as possible - DRI is the "Direct Rendering
I<something>".  8)

In your /etc/X11/XF86Config-4 file make sure there's a line in the
"Module" section that says:

Load "dri"

Add that line and re-start X.  Should be good-to-go unless you're running
a super-old version of X, your kernel doesn't support DRI or your video
card is a very old one.

There is a DRI FAQ here: http://dri.sourceforge.net/doc/DRIbeginner.html

- Steve

On Mon, 9 Feb 2004, Chunky Kibbles wrote:

> Date: Mon, 9 Feb 2004 17:17:40 -0500
> From: Chunky Kibbles <chunky at icculus.org>
> Reply-To: smpeg at icculus.org
> To: smpeg at icculus.org
> Subject: Re: [smpeg] Newbie
>
> On Mon, Feb 09, 2004 at 05:09:10PM -0500, Manuel Arguelles wrote:
> > thanx :)
> >
> > now I'm getting this error:
> > Xlib:  extension "XFree86-DRI" missing
> > is this a module of XFree or something? I can't find it :(
>
> Guh. glmovie requires [you guessed it!] openGL. Either set up openGL
> on the box you're developing on, or you can change the init code like:
>
> Index: glmovie.c
> ===================================================================
> RCS file: /cvs/cvsroot/smpeg/glmovie.c,v
> retrieving revision 1.7
> diff -u -b -B -u -r1.7 glmovie.c
> --- glmovie.c   3 Jan 2004 03:49:50 -0000       1.7
> +++ glmovie.c   9 Feb 2004 22:16:27 -0000
> @@ -40,7 +40,7 @@
>      /* Grab the mouse and input and set the video mode */
>      SDL_ShowCursor(0);
>      //SDL_WM_GrabInput(SDL_GRAB_ON);
> -    screen = SDL_SetVideoMode(640, 480, 0, SDL_OPENGL); //|SDL_FULLSCREEN);
> +    screen = SDL_SetVideoMode(640, 480, 0, SDL_FULLSCREEN);
>      if ( !screen ) {
>         fprintf( stderr, "glmovie: Couldn't set 640x480 GL video mode: %s\n", SDL_GetError());
>          SDL_Quit();
>
> Gary (-;
>
> > ----- Original Message -----
> > Chunky Kibbles wrote:
> > > On Mon, Feb 09, 2004 at 05:00:38PM -0500, Manuel Arguelles wrote:
> > > > Ok, what about the compilation/linking flags? (please don't tell me
> > > > to get them from the Makefile) :p
> > >
> > > For which bit?
> > > It requires SDL, so at a guess I'd say your project needs:
> > > CFLAGS+=`sdl-config --cflags` `smpeg-config --cflags`
> > > LDFLAGS+=`sdl-config --ldflags` `smpeg-config --ldflags`
> > >
> > > Just a thought
> > > Gary (-;
> > >
> > >
> >
> >
>

--
EMAIL: (h) steve at badcheese.com  WEB: http://badcheese.com/~steve
       (w) swebb at rap.ucar.edu
           stevewebb at mail.com




More information about the smpeg mailing list