Re: Running SVGALib programs from X Windows

Search this archive.

From: James Wright (james@jigsawdezign.com)
Date: Wed 10 Jul 2002 - 16:19:32 IDT


How did it work under 1.4.3 then???



On Wed, 10 Jul 2002 05:26:28 -0700
sseeger@stellartec.com (Steven Seeger) wrote:

> I would think that is obvious...X-window (not windows) is already
> controlling the video card. SVGALib can only interface directly to the video
> memory, and that's already in use. X-window wasn't made to dispatch small
> pieces of memory for the video card for svgalib and handle accesses to it
> not to mention svgalib wanting to change resolutions and timings and all
> that stuff. You aren't going to be able to do that on a per-window basis.
> 
> Steve
> 
> >-----Original Message-----
> >From: linux-svgalib-admin@svgalib.org
> >[mailto:linux-svgalib-admin@svgalib.org]On Behalf Of James Wright
> >Sent: Wednesday, July 10, 2002 4:48 AM
> >To: linux-svgalib@svgalib.org
> >Subject: Running SVGALib programs from X Windows
> >
> >
> >Hello,
> >
> >   I`ve just installed SVGALib 1.9.15 over my existing 1.4.3
> >version, as I really like the idea of
> >having the /dev/svga device to allow normal users to run SVGA
> >programs without becoming root or
> >setting the program to SUID root. Everything seems ok, and I
> >have recompiled all my graphics
> >libs with no real problems. I have setup the /dev/svga and
> >/dev/console devices to be owned by a
> >group called "video". I have placed my normal user ID into
> >this group, and this works fine, except
> >that when I try and launch a program from X Windows I get the
> >following error:
> >
> >JDraw - Initialising Video.                            <<--
> >my own gfx lib debug message
> >Not running in a graphics capable console,             <<--
> >Seems like it can`t create a new VC?
> >and unable to find one.
> >Using nvidia driver, 32768KB, Type: GeForce (NV11).
> >Not running in a graphics capable console,
> >and unable to find one.
> >svgalib 1.9.15
> >svgalib: Failed to initialize mouse.                  <<--- I
> >know whats wrong with this.
> >Not running in a graphics capable console,
> >and unable to find one.
> >
> >
> >Thanks,
> >James
> >
> >------------------------------------------------------------------
> >Unsubscribe:  To:   listbot@svgalib.org
> >              Body: unsubscribe linux-svgalib
> 

------------------------------------------------------------------
Unsubscribe:  To:   listbot@svgalib.org
              Body: unsubscribe linux-svgalib


This archive was generated by hypermail 2.1.4 : Wed 21 Jan 2004 - 22:10:25 IST