[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755739: VGA-mode newcons very slow



Am 25.07.2014 um 20:42 schrieb Ed Maste:
>> On 22/07/14 19:58, Jan Henke wrote:
>>> I am experiencing a strange problem with the current kFreeBSD weekly
>>> image. Whenever the system is writing to the screen in text mode (e.g.
>>> directly after selecting one entry in GRUB: "Copyright....") you can
>>> literally watch every single character printed to the screen one after
>>> the other. So it takes ages before you even get into the Debian
>>> installer. I am running inside a Hyper-V VM. I have double checked
>>> against FreeBSD (the upstream one), which does not show this behaviour.
> Jan, can you clarify which upstream FreeBSD version and console you
> compared against?  I suspect you had (text-mode) syscons in the
> FreeBSD VM.  If graphics-mode vt(4) has wildly different performance
> between Debian kFreeBSD and FreeBSD then something very strange is
> going on, and we'll want to track it down.
>
> In both FreeBSD-CURRENT and stable/10 we can now switch between
> syscons and vt at boot time, with sc as the default.  The console and
> mode can be set via loader tunables:
>
> syscons, text mode:
> kern.vty=sc
>
> vt(4), text mode:
> kern.vty=vt
> hw.vga.textmode=1
>
> vt(4), graphics mode:
> kern.vty=vt
> hw.vga.textmode=0
>
> It should be possible to start with hw.vga.textmode=1 and then have
> i915kms take over once X starts, giving graphics-mode consoles from
> that point on.
>
> On 22 July 2014 17:12, Steven Chamberlain <steven@pyro.eu.org> wrote:
>> I've seen the exact same thing under plain Qemu:  newcons in VGA mode
>> seems very slow (but not as serious as you describe in Hyper-V).
> Can you quantify "very slow?"  I've been testing vt(4) in QEMU on my
> FreeBSD host (so no KVM involved), and it's acceptably performant on
> my 8-core i7-3770 desktop.
Hi Ed,

very simple, I compared the default out-of-the-box experience. You find
the output of uname -a in the attached screenshot. I do not know where
on FreeBSD the kernel build configuration is stored (that is why I
prefer to use the Debian/kFreeBSD, I just want the kernel with the
familiar userland).

On kFreeBSD it works if I manually add the "set
kFreeBSD.hw.vga.textmode=1" to the grub entry. Otherwise, as mentioned,
the output becomes really slow and the system is not really usable.

I assume kFreeBSD uses the newcons by default and the FreeBSD kernel
still used the old implementation.
-- 
Best regards
Jan

Attachment: FreeBSD-Version.png
Description: PNG image

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: