Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 17:56:14 +0900
From:      KIRIYAMA Kazuhiko <kiri@kx.openedu.org>
To:        Pete Wright <pete@nomadlogic.org>
Cc:        KIRIYAMA Kazuhiko <kiri@kx.openedu.org>, x11@FreeBSD.org
Subject:   Re: Intel HD Graphics 400 (Ver. 2.19.15.4444) failed
Message-ID:  <201801230856.w0N8uEdJ009942@kx.openedu.org>
In-Reply-To: <201801230709.w0N795Vc008022@kx.openedu.org>
References:  <201801230225.w0N2Po2P002714@kx.openedu.org> <6a7c0e1e-7b81-c344-a0a4-1fbbf25298f2@nomadlogic.org> <201801230709.w0N795Vc008022@kx.openedu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 23 Jan 2018 16:09:05 +0900,
$B;d(B wrote:
> 
> At Mon, 22 Jan 2018 20:48:59 -0800,
> Pete Wright wrote:
> > 
> > 
> > 
> > On 01/22/2018 18:25, KIRIYAMA Kazuhiko wrote:
> > > Hi all,
> > >
> > > I've installed FreeBSD 12.0-CURRENT(r328126) to my note PC
> > > (SG116j[1]) and then installed
> > > xf86-video-intel-2.99.917.20170228_1
> > > (x11-drivers/xf86-video-intel):
> > >
> > > root@t:~ # uname -v
> > > FreeBSD 12.0-CURRENT #0 r328126: Thu Jan 18 15:25:44 UTC 2018     root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC
> > > root@t:~ # pkg info -aI|grep intel
> > > xf86-video-intel-2.99.917.20170228_1 Driver for Intel integrated graphics chipsets
> > >
> > > And test to run X as follows:
> > >
> > > root@t:~ # X -configure
> > >
> > > X.Org X Server 1.18.4
> > > Release Date: 2016-07-19
> > > X Protocol Version 11, Revision 0
> > > Build Operating System: FreeBSD 12.0-CURRENT amd64
> > > Current Operating System: FreeBSD t.pis 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r328126: Thu Jan 18 15:25:44 UTC 2018     root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> > > Build Date: 05 January 2018  04:01:52AM
> > >   
> > > Current version of pixman: 0.34.0
> > >          Before reporting problems, check http://wiki.x.org
> > >          to make sure that you have the latest version.
> > > Markers: (--) probed, (**) from config file, (==) default setting,
> > >          (++) from command line, (!!) notice, (II) informational,
> > >          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 23 10:58:05 2018
> > > List of video drivers:
> > >          scfb
> > >          vesa
> > >          modesetting
> > >          intel
> > > scfb trace: probe start
> > > (++) Using config file: "/root/xorg.conf.new"
> > >
> > >
> > > Xorg detected your mouse at device /dev/sysmouse.
> > > Please check your config if the mouse is still not
> > > operational, as by default Xorg tries to autodetect
> > > the protocol.
> > >
> > > Your xorg.conf file is /root/xorg.conf.new
> > >
> > > To test the server, run 'X -config /root/xorg.conf.new'
> > >
> > > (EE) Server terminated with error (2). Closing log file.
> > >
> > > root@t:~ # X -config xorg.conf.new
> > >
> > > X.Org X Server 1.18.4
> > > Release Date: 2016-07-19
> > > X Protocol Version 11, Revision 0
> > > Build Operating System: FreeBSD 12.0-CURRENT amd64
> > > Current Operating System: FreeBSD t.pis 12.0-CURRENT FreeBSD 12.0-CURRENT #0 r328126: Thu Jan 18 15:25:44 UTC 2018     root@releng3.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> > > Build Date: 05 January 2018  04:01:52AM
> > >   
> > > Current version of pixman: 0.34.0
> > >          Before reporting problems, check http://wiki.x.org
> > >          to make sure that you have the latest version.
> > > Markers: (--) probed, (**) from config file, (==) default setting,
> > >          (++) from command line, (!!) notice, (II) informational,
> > >          (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> > > (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 23 11:10:17 2018
> > > (++) Using config file: "xorg.conf.new"
> > > (EE)
> > > Fatal server error:
> > > (EE) no screens found(EE)
> > > (EE)
> > > Please consult the The X.Org Foundation support
> > >           at http://wiki.x.org
> > >   for help.
> > > (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
> > > (EE)
> > > (EE) Server terminated with error (1). Closing log file.
> > > root@t:~ #
> > >
> > > Xorg.0.log was up to [2]. Does Intel HD Graphics 400 still
> > > not support yet?
> > 
> > I have similar hardware that is supported on current via the 
> > "drm-next-kmod" port/pkg:
> > https://www.freshports.org/graphics/drm-next-kmod/
> > 
> > be sure to follow the instructions in the pkg-message to get things 
> > working, it should load the bits required (as a kernel module) to allow 
> > you to use either the xf86-video-intel ddx that you've already installed 
> > or the modesetting Xorg driver (which is getting more attention upstream 
> > by the Xorg team)..AN  the modesetting driver comes bundled with the 
> > xorg-server port/pkg, so no need to install any additional software to 
> > use that graphics driver.
> > 
> > invoking xorg or startx without any existing xorg.conf in place should 
> > autodetect pretty much everything automagically as well. having said 
> 
> I've installed drm-next-kmod-g20171006_1
> (graphics/drm-next-kmod) and "rm /etc/X11/xorg.conf" then
> "startx", very fine graphics displayed! The rezolution is 
> a full HD 1920x1080. Great!!!
> 
> root@t:~ # xwininfo 
> 
> xwininfo: Please select the window about which you
>           would like information by clicking the
>           mouse in that window.
> 
> xwininfo: Window id: 0xcd (the root window) (has no name)
> 
>   Absolute upper-left X:  0
>   Absolute upper-left Y:  0
>   Relative upper-left X:  0
>   Relative upper-left Y:  0
>   Width: 1920
>   Height: 1080
>   Depth: 24
>   Visual: 0x21
>   Visual Class: TrueColor
>   Border width: 0
>   Class: InputOutput
>   Colormap: 0x20 (installed)
>   Bit Gravity State: ForgetGravity
>   Window Gravity State: NorthWestGravity
>   Backing Store State: NotUseful
>   Save Under State: no
>   Map State: IsViewable
>   Override Redirect State: no
>   Corners:  +0+0  -0+0  -0-0  +0-0
>   -geometry 1920x1080+0+0
> 
> root@t:~ # 
> 
> > that - you can still use an xorg.conf to set things up to suit your 
> > local config.
> 
> I don't know about local config. Does "local config" means merely
> localtion of xorg.conf? 
> At any rate, set it at /etc/X11/xorg.conf, then X does not work ;-(

I reboot PC and startx then failed to start(full log at [1]):

[  1331.128] (EE) open /dev/dri/card0: No such file or directory
[  1331.128] (WW) Falling back to old probe method for modesetting
[  1331.129] (EE) open /dev/dri/card0: No such file or directory
[  1331.129] (WW) Falling back to old probe method for scfb
[  1331.129] scfb trace: probe start
[  1331.129] (II) scfb(1): using default device
[  1331.129] scfb trace: probe done
[  1331.129] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  1331.129] (EE) Screen 0 deleted because of no matching config section.
[  1331.129] (II) UnloadModule: "modesetting"
[  1331.129] (EE) 
Fatal server error:
[  1331.129] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[  1331.130] (EE) 
[  1331.130] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1331.130] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1331.130] (EE) 
[  1331.131] (EE) Server terminated with error (1). Closing log file.

Is /dev/dri/card0 automatically created?

Regards

[1] http://ds.truefc.org/~kiri/freebsd/sg116j/Xorg.0.log

---
KIRIYAMA Kazuhiko


> 
> > 
> > hope this helps!
> > -pete
> 
> Thanx Pete!!!
> 
> > 
> > -- 
> > Pete Wright
> > pete@nomadlogic.org
> > @nomadlogicLA
> > 
> 
> ---
> KIRIYAMA Kazuhiko
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801230856.w0N8uEdJ009942>