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

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Fri, 30 Nov 2018 23:14:07 +0900
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.

> 
> Thanks for the quick help!
> 
> Kind regards,
> 
> O. Hartmann  
> 
> - -- 
> O. Hartmann
> 
> Ich widerspreche der Nutzung oder $B".(Bbermittlung meiner Daten f$B".(Br
> Werbezwecke oder f$B".(Br die Markt- oder Meinungsforschung ($B!x(B 28 Abs. 4 BDSG).
> -----BEGIN PGP SIGNATURE-----
> 
> iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCW/7g9AAKCRDS528fyFhY
> lGKLAf9uL2wkoLhxrT/ca/EylOlGvOZ/n+9TVCuI1YZyhjHAjQICN863czLtfIvF
> pu7OyWNxeWvDS5bvdCol1bpOQ8kUAgCDGZZT3Y2GSALuyfk2L2M4xGb/uegdnlD1
> 7M9gnnIwQ5bfyZkF1kvN3MGMn3WtnVZduSpjg8SURmkC+1xFDXNl
> =XJxh
> -----END PGP SIGNATURE-----
> _______________________________________________
> freebsd-stable_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe_at_freebsd.org"
> 


-- 
Tomoaki AOKI    <junchoon_at_dec.sakura.ne.jp>
Received on Fri Nov 30 2018 - 13:14:21 UTC

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