Re: Fujitsu Lifebook E751 (iGPU: HM65): distorted console with UEFI boot

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Mon, 3 Dec 2018 09:26:14 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Fri, 30 Nov 2018 23:14:07 +0900
Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp> schrieb:

> On Wed, 28 Nov 2018 19:39:21 +0100
> "O. Hartmann" <ohartmann_at_walstatt.org> wrote:
> 
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA512
> > 
> > Am Wed, 28 Nov 2018 15:00:42 +0100
> > Emmanuel Vadot <manu_at_bidouilliste.com> schrieb:
> >   
> > >  Hi,
> > > 
> > > On Wed, 28 Nov 2018 10:51:11 +0100
> > > "O. Hartmann" <ohartmann_at_walstatt.org> wrote:
> > >   
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA512
> > > > 
> > > > I ran into some trouble booting off a Fujitsu Lifebook E751 (firmware is latest,
> > > > r1.22 from 2013). The E751 is of model series S26391-K326-V100 and equipted with
> > > > a Core i5-2520M CPU and supposed to be also equipted with a iGPU HM65 according
> > > > to the techniscal specifications from Fujitsu.
> > > > 
> > > > Trying to boot off 12-PRERELEASE/12-RC2 and/or 13-CURRENT (most recent I could
> > > > grap from the download page), the screen becomes distorted immediately after the
> > > > kernel has loaded and initialised/booted. The screen is at the loader's all right
> > > > so far.
> > > > 
> > > > Trying to disable graphics mode via escaping to the loader's prompt and setting 
> > > > 
> > > > set hw.vga.textmode=1
> > > > 
> > > > subsequently loading the kernel and then booting, doesn't help. The screen is
> > > > distorted again. The notebook seems UEFI only and doesn't boot off from MBR
> > > > partioned devices (i.e. NanoBSD I used to use).
> > > > 
> > > > Loading /boot/kernel/i915kms.ko
> > > > 
> > > > after manually having loaded /boot/kernel/kernel (and not booted yet) doesn't
> > > > change anything either.
> > > > 
> > > > Booting off and installing Linux (Ubuntu, Mint so far, most revent verions I can
> > > > get my hands on) is no problem. The console works fine from the beginning and so
> > > > the graphics.
> > > > 
> > > > Is there a chance to get a FreeBSD booting the easy way? 
> > > > 
> > > > The provided boot images do not contain any of the
> > > > graphics/drm-stable|next|legacy-kmod stuff, I tried to load i915kms.ko off
> > > > from /boot/modules/ (were those modules from the ports are supposed to reside)
> > > > but no chance.
> > > > 
> > > > Before starting investigating this issue further I'd like to ask wether there is a
> > > > general support provided or is that type of notebook dead matter for FreeBSD of
> > > > the modern kind?
> > > > 
> > > > Thanks in advance,
> > > > 
> > > > oh
> > > > 
> > > > p.s. please CC me, I'm not subscribing all lists.
> > > > 
> > > > - -- 
> > > > O. Hartmann
> > > > -----BEGIN PGP SIGNATURE-----
> > > > 
> > > > iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCW/5lKgAKCRDS528fyFhY
> > > > lMhRAf4yv4MqmHYVZIKo+TE1VACuHpXSv8ad4JzVKMG/S9uGcLLDfLgSM9699FDP
> > > > /QhIMCCHJ1hGAtXACdwGCsyZ5LmiAf93JHFU0W+GJWdXJI+sRcWvEZrzQlb5Czhf
> > > > vaM5QZ+3n0ermbe5/Ibvo/yzhL5YyonG7/lEqvnf7GAA+snv+Dvg
> > > > =XD7b
> > > > -----END PGP SIGNATURE-----    
> > > 
> > >  Could you post a picture somewhere ?
> > > 
> > >  I have a laptop which have efifb problem, what I need to do is (at
> > > loader prompt) :
> > > 
> > >  gop set 4 (to switch to a different mode)
> > >  gop set 0 (switch to the correct mode)
> > > 
> > >  You can gop list (iirc) to checks the available mode.
> > > 
> > >  The problem is that we are mixing serial and gop in loader.efi and
> > > when you set one mode in serial (or for SIMPLE_TEXT_PROTOCOL) is can
> > > mess the graphical mode.
> > >   
> > 
> > Sorry, I have no upload place to put some screenshots. 
> > 
> > The natural resolution of the display is 1280x800 pixel.
> > 
> > When existing to the loader and issuing as recommended the command "gop list", I get
> > three modes:
> > 
> > mode 0: 1024x768x32, stride=1024
> > mode 1: 640x480x32, stride=640
> > mode 2: 800x600x32, stride=800
> > 
> > Setting mode 1 and 2 via gop set X solves the problem and the screen is, at least
> > during a live session of the latest 12-PRE USB image, readable and looking normal.
> > 
> > As soon as I have an installation media, I'll check whether the screen is operable
> > after installation (and, of course, loader settings as required), or not.  
> 
> Hi.
> 
> So you can try
>     efi_max_resolution="800x600"
> or
>     efi_max_resolution="640x480"
> in /etc/loader.conf.
> 
> See /etc/defaults/loader.conf for more info.
> The loader.conf man page doesn't show what's the default value.
[...]

Thank you very much.

Setting those values in loader.conf (800x600, 1024x768 fails and leaves me with a
distorted screen) make the console work again also for a installed FreeBSD 12+ (UEFI
boot).

The "distortion" can be described as follows (maybe a hint): the screen seems "chunked",
means  there are ideas of rows and columns, and the square the intersections define, have
horizontal and vertical lines, like a "line coursor". This may help identifying the
problem.

Kind regards and thank you very much,

O. Hartmann


- -- 
O. Hartmann

Ich widerspreche der Nutzung oder $(D*d(Bbermittlung meiner Daten f$(D+d(Br
Werbezwecke oder f$(D+d(Br die Markt- oder Meinungsforschung ($B!x(B 28 Abs. 4 BDSG).
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCXATowQAKCRDS528fyFhY
lIv4Af9HOI3kJoRY9u3ppIIYwOJ9b6QOkOSi0XdmMZyGuuIpoQyEAghbno3oa3d+
wdh5wm9b3KpNryu2fv4ZUcSbpCMxAf47MUFmEF45hqFGB7DNjxmXX85M/QPwfo6Q
p6eu5e04fBZRLqYOXVOO9Tq9SyFSG7bQ86TD17sbo9D9Uq1QriMu
=3iFQ
-----END PGP SIGNATURE-----
Received on Mon Dec 03 2018 - 07:27:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:19 UTC