Date: Thu, 28 Nov 2019 13:08:28 -0000 From: Polytropon <freebsd@edvax.de> To: vm finance <vm.finance2@gmail.com> Cc: Daniele Mazzotti <kappei84@gmail.com>, Per Hedeland <per@hedeland.org>, freebsd-x11@freebsd.org, Polytropon <freebsd@edvax.de>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: FreeBSD-12.1 on laptop Message-ID: <20191128140254.fc3ee735.freebsd@edvax.de> In-Reply-To: <CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA@mail.gmail.com> References: <CAKy-8=hUCNiAufHHgpLJTnbS_==aHT7UyspgjLyro-yEcxJ2_w@mail.gmail.com> <CAKy-8=i07xSnz3yW3H1XCOJ8_7x_m1__e0r68HxUx-R7-A0x8w@mail.gmail.com> <CAKy-8=gte8_xZGTt17kRgPtyj9mi6wx-ahehNSGrbcedVn4ZNQ@mail.gmail.com> <CACNAnaECR4bQ=FAM%2BwTfU0HaR63uAUQkp41mS9pPSM=4K_EGqQ@mail.gmail.com> <CAKy-8=gh7nGqzf9G5A7zJDoa2EQgA432k49djHi3%2Bzhg36Tv_A@mail.gmail.com> <CAKy-8=ivtDo0it9fzyUp8mUDAQuGWVfdQqfz2hmhXcA6CXJn%2Bg@mail.gmail.com> <CAKy-8=gHp67aqpXXNM=rfsWwNc4Ay__bsC-09NZ03Afm9W4ekg@mail.gmail.com> <CAKy-8=ho=mD5WLJA5iHbDt9prnrMDhjrwmWOO5NXumQDB9hXhw@mail.gmail.com> <20191128103810.9599da0b.freebsd@edvax.de> <CAKy-8=h05oQfa6rBhOH74vPt3e6m6u3-UXx6v3DWLgXp8No6Hw@mail.gmail.com> <770ebb05-9d76-1b54-5bf5-af548368e19e@hedeland.org> <CAKy-8=gccmRfqtg07JYmo15P0VV5bJo=tipOLURwEH0iA401tw@mail.gmail.com> <CAC=ypSUSmDyfECh4nD9gZ5=bWUCrPGvLs62EsRw0gfckrhJ5Gw@mail.gmail.com> <CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191128140254.fc3ee735.freebsd>