nanogui: error in graphics mode


Previous by date: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Gil Glass
Next by date: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Jordan Crouse
Previous in thread: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Gil Glass
Next in thread: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Jordan Crouse

Subject: Re: [nanogui] error in graphics mode
From: Gil Glass ####@####.####
Date: 2 Sep 2005 14:45:40 +0100
Message-Id: <OFB00FE28B.59D7C116-ON85257070.00493D4E-85257070.004B8A95@acterna.com>

Hello Tan,

I may be getting a bit out of my element here so I welcome any input from 
other lurkers.

Regarding the xconfigure utility, sorry for the confusion, I didn't 
realize it was something that came with Nano-X.

The error that you are encountering appears to be generated by Nano-X's 
frame buffer driver code (that talks to the Linux frame buffer????).  I'm 
running 0.91, and I recommend that you do the same, and in my setup, the 
file .../src/drivers/scr_fb.c, line 233 is where the error is occurring. 
Here's the code snippet:

#if HAVETEXTMODE
    /* open tty, enter graphics mode*/
    tty = open ("/dev/tty0", O_RDWR);
    if(tty < 0) {
        EPRINTF("Error can't open /dev/tty0: %m\n");
        goto fail;
    }
    if(ioctl (tty, KDSETMODE, KD_GRAPHICS) == -1) {
        EPRINTF("Error setting graphics mode: %m\n");
        close(tty);
        goto fail;
    }
    close(tty);
#endif

This is why I asked you about text mode.  It looks like the system is 
successfully opening the TTY device but the ioctl for switching to 
graphics mode is failing.  I'm going to go out on a limb and suggest that 
you try setting HAVETEXTMODE to N.  I'm not promising that it will work, 
but it might tell you something.

Gil Glass
Telecom Field Services
JDSU
Germantown, MD, USA
+1-240-404-2551

<MESSAGE TRUNCATED TO APPEASE NANOGUI!!!>

Previous by date: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Gil Glass
Next by date: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Jordan Crouse
Previous in thread: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Gil Glass
Next in thread: 2 Sep 2005 14:45:40 +0100 Re: error in graphics mode, Jordan Crouse


Powered by ezmlm-browse 0.20.