Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2019 20:50:28 +0100
From:      Polytropon <freebsd@edvax.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Unable to get Xorg up and running with kde5
Message-ID:  <20191208205028.23b786a9.freebsd@edvax.de>
In-Reply-To: <20191208121620.00002fb9@seibercom.net>
References:  <20191208121620.00002fb9@seibercom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Dec 2019 12:16:20 -0500, Jerry wrote:
> I am unable to get 'xorg" working. I built it and kde5 from the ports
> meta ports.  I don't understand this warning near the end of the
> log: [ 20881.180] (EE) open /dev/dri/card0: No such file or directory
> 
> This is the xorg log file:
> 
> [...]
> [ 20881.032] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
> 	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
> 	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
> 	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
> 	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
> [ 20881.047] (II) intel: Driver for Intel(R) HD Graphics
> [ 20881.047] (II) intel: Driver for Intel(R) Iris(TM) Graphics
> [ 20881.047] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
> [...]
> [ 20881.180] (EE) open /dev/dri/card0: No such file or directory
> [ 20881.180] (WW) Falling back to old probe method for modesetting
> [ 20881.180] (EE) open /dev/dri/card0: No such file or directory
> [ 20881.180] (WW) Falling back to old probe method for scfb
> [ 20881.180] scfb trace: probe start
> [ 20881.180] (II) scfb(1): using default device
> [ 20881.180] scfb trace: probe done
> [ 20881.180] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
> [ 20881.180] (EE) Screen 0 deleted because of no matching config section.
> [ 20881.180] (II) UnloadModule: "modesetting"
> [ 20881.180] (EE) 
> Fatal server error:
> [ 20881.180] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
> [ 20881.180] (EE) 
> [ 20881.180] (EE) 
> Please consult the The X.Org Foundation support 
> 	 at http://wiki.x.org
>  for help. 
> [ 20881.180] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
> [ 20881.180] (EE) 
> [ 20881.181] (EE) Server terminated with error (1). Closing log file.

It seems you're missing something in your installation.

Check the output of "kldstat" if the Intel graphics kernel module
and the DRM module have been loaded. You could try to use the
"drm-kmod" port (see instructions of the current fashion
of loading the module). Also check if your user is a member
of the "video" group; however this should be the next step
when you get the "permission denied" error message. ;-)

Sadly the documentation doesn't seem to be fully up to date,
so refering you to the graphics Wiki probably won't be very
helpful at the moment. As it seems you're using Intel graphics,
this should be relevant:

https://wiki.freebsd.org/Graphics#Intel_Integrated_Graphics_.28aka_HD_Graphics.29

There's also a "drm-next-kmod", I'm not fully sure where it
is supposed to fit into. Information:

https://www.freshports.org/graphics/drm-next-kmod/



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



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