FreeBSD-12.1 on laptop

Polytropon freebsd at edvax.de
Thu Nov 28 13:08:28 UTC 2019


On Thu, 28 Nov 2019 18:25:09 +0530, vm finance wrote:
> Please find error output of startx....and kldstat output as well.

For better reading, it ends in the following lines:

[  5939.577] (II) LoadModule: "nvidia"
[  5939.577] (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
[  5939.577] (II) Module nvidia: vendor="NVIDIA Corporation"
[  5939.577] 	compiled for 1.6.99.901, module version = 1.0.0
[  5939.577] 	Module class: X.Org Video Driver
[  5939.577] (II) NVIDIA dlloader X Driver  440.36  Tue Nov 12 08:10:56 UTC 2019
[  5939.577] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  5939.577] (--) Using syscons driver with X support (version 2.0)
[  5939.577] (--) using VT number 9

[  5939.578] (EE) No devices detected.
[  5939.578] (EE) 
Fatal server error:
[  5939.578] (EE) no screens found(EE) 
[  5939.578] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  5939.578] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5939.578] (EE) 
[  5939.579] (EE) Server terminated with error (1). Closing log file.

X tries to load the nvidia driver - why did you install _that_ when
you have Intel graphics? It also doesn't attempt to load the Intel
graphics driver which leads to my assumption that it isn't installed.

Please try installing xf86-video-intel (using pkg).

According to your kldstat output, the required module is loaded
(I'll mark the relevant entry with an arrow):

Id Refs Address                Size Name
 1   56 0xffffffff80200000  2448d90 kernel
 2    2 0xffffffff8264a000    b7bd8 linux.ko
 3    3 0xffffffff82702000     9698 linux_common.ko
 4    1 0xffffffff8270c000  1a8db00 nvidia.ko		<--- WHY?
 5    1 0xffffffff8433d000    15d20 if_iwm.ko
 6    1 0xffffffff84353000   1ba76f iwm8265fw.ko
 7    1 0xffffffff8450e000     4260 ng_ubt.ko
 8    3 0xffffffff84513000     9e30 netgraph.ko
 9    2 0xffffffff8451d000     91b8 ng_hci.ko
10    1 0xffffffff84527000      9c0 ng_bluetooth.ko
11    1 0xffffffff84528000    35b20 linux64.ko
12    1 0xffffffff8455e000    7f280 i915kms.ko		<--- YES!
13    1 0xffffffff845de000    44c48 drm2.ko
14    4 0xffffffff84623000     1fa0 iicbus.ko
15    1 0xffffffff84625000      fd8 iic.ko
16    1 0xffffffff84626000     1570 iicbb.ko

The drm.ko module is also loaded. You'll need to have your
username be a member of the "video" group to make it actually
work for direct rendering in X, if I remember correctly.

But why did you also load the nvidia kernel module? It shouldn't
be there if you're using an Intel GPU. This matches the unneeded
nvidia X11 driver...

I think you're currently fighting a misconfigured (rather than
a non-working) system... ;-)


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


More information about the freebsd-x11 mailing list