2001-07-05 02:47:36

by Justin Guyett

[permalink] [raw]
Subject: 2.4.[56] kernel + xfree 4.1.0

After upgrading to xfree 4.1.0, after switching back to the console after
starting X, suspending, and resuming, the text-mode terminals are corrupt
(but look like they're in text mode). There were some messages in the
XFree lists about X no longer restoring previous graphics state (since it
has no real way of knowing what graphics state the console you're
switching to is in), but I was hoping this was an Xserver bug with my
graphics chipset (savage ix) writing someplace it shouldn't.

I just compiled framebuffer support in, though, and when switching to a
console, it's initially corrupt (similar pretty impressionistic graphics
that look like they're in the correct video mode for the
framebuffer/console), but within a half a second the framebuffer fixes
itself.

Also with framebuffer in use, after a suspend and resume from X 4.1.0, the
mouse cursor is replaced by a large block. With regular text-mode
consoles, this doesn't happen. Switching away and back to X restores the
cursor properly. This may be completely X's fault though.

Allegedly it's supposed to be bad to run non-framebuffer X-servers with
framebuffer console, is this really not considered stable or am I
mistaken? If X isn't going to restore previous graphics modes, it doesn't
seem to matter what mode the console was in, framebuffer or not, it still
needs to be fixed regardless.

I'm presuming then that this is something the regular console driver needs
to deal with?


justin


2001-07-05 11:09:33

by Alan

[permalink] [raw]
Subject: Re: 2.4.[56] kernel + xfree 4.1.0

> mistaken? If X isn't going to restore previous graphics modes, it doesn't
> seem to matter what mode the console was in, framebuffer or not, it still
> needs to be fixed regardless.
>
> I'm presuming then that this is something the regular console driver needs
> to deal with?

All XFree86 problems. The kernel intentionally does not want to know about all
the things XFree knows about video cards. Possibly the kernel needs an ioctl
so XFree can ask 'and what do you think the display is right now' but thats
all, and its something I've so far seen no request for

2001-07-05 18:44:41

by Jussi Laako

[permalink] [raw]
Subject: Re: 2.4.[56] kernel + xfree 4.1.0

Justin Guyett wrote:
>
> After upgrading to xfree 4.1.0, after switching back to the console after
> starting X, suspending, and resuming, the text-mode terminals are corrupt

2.4.x and XFree86 4.1.0 is first combination that doesn't mess up my text
console and crash if there are graphics updates in X when console is in text
mode. XF 3.3.6 was just deadlocking my machine (I used Accelerated-X before
XFree86 4.x). I haven't tested the framebuffer in this machine.

GDA is Voodoo3 2000 PCI (SDRAM).

- Jussi Laako

--
PGP key fingerprint: 161D 6FED 6A92 39E2 EB5B 39DD A4DE 63EB C216 1E4B
Available at PGP keyservers