Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Nov 2019 18:25:09 +0530
From:      vm finance <vm.finance2@gmail.com>
To:        Daniele Mazzotti <kappei84@gmail.com>
Cc:        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:  <CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA@mail.gmail.com>
In-Reply-To: <CAC=ypSUSmDyfECh4nD9gZ5=bWUCrPGvLs62EsRw0gfckrhJ5Gw@mail.gmail.com>
References:  <CAKy-8=hUCNiAufHHgpLJTnbS_==aHT7UyspgjLyro-yEcxJ2_w@mail.gmail.com> <30022fe5-800e-0a9a-fff6-8edb0171e153@denninger.net> <CAKy-8=h9jacsx0ZUSucF9qN7AZ6xdtzGoacwxccoWHm9OF-Baw@mail.gmail.com> <CAC=ypSUq8gc8LsWB=Lyz01ktfcBnBaYSuyP3KBo%2BSL9StAv7rw@mail.gmail.com> <CAKy-8=iVsLqNkwdxn_E-1R5t8mmp14JULN%2BKHRf-asWTzWcWfA@mail.gmail.com> <5c2c0fe0-93fa-246e-a3ae-05e813e246df@panix.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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Please find error output of startx....and kldstat output as well.

Thanks everyone for your support and help!

On Thu, Nov 28, 2019 at 6:16 PM Daniele Mazzotti <kappei84@gmail.com> wrote:

> Can you grep for Kms in the boot modules? Also as suggested in the link
> sent by Per is your user part of the video group? If not please just add
> it. When you compiled the drm-kms port have you noticed any error?
>
> Il gio 28 nov 2019, 13:08 vm finance <vm.finance2@gmail.com> ha scritto:
>
>> I don't see /boot/modules/i915kms.ko under /boot/modules
>> However there are several other present:
>> i915_bxt_*
>> i915_cnl*
>> i915_kbl*...
>>
>> How do I get i915kms.ko?
>>
>> Thanks!
>>
>> On Thu, Nov 28, 2019 at 5:01 PM Per Hedeland <per@hedeland.org> wrote:
>>
>> > On 2019-11-28 11:03, vm finance wrote:
>> > > Hi,
>> > >
>> > > Its Intel's "UHD Graphics 620". I don't see it installed/loaded under
>> > > "kldstat".
>> > >
>> > > Do you think steps mentioned in
>> > > http://www.srobb.net/freebsdintel.html
>> > >
>> > > would suffice to get around the issue I have?
>> > > If not, could u please suggest next steps.
>> > >
>> > > Pls let me know. Thanks so much!
>> >
>> > Sigh, after all the discussion and problem / fix reports (mostly on
>> > the freebsd-x11@ list, which I'm adding to Cc) about the "new DRM"
>> > stuff, one would think that there should be some simple-to-follow
>> > *FreeBSD* web page that explained it all and could be pointed to if
>> > not immediately found.
>> >
>> > There is https://wiki.freebsd.org/Graphics, which IMHO is neither
>> > simple to find nor to follow, and which still has the broken-with-12.1
>> > "pkg install drm-kmod" advice. I think it is sad, since there's a lot
>> > of great work that has gone into this - personally I have a laptop
>> > that wouldn't have had *any* graphics (on FreeBSD) without it, and I
>> > know I'm not alone in that.
>> >
>> > Anyway, enough ranting - if you look at the "Intel Integrated Graphics
>> > (aka HD Graphics)" section on the above page, and specifically the
>> > "Example Configuration For Post Broadwell System", and *skip* the bad
>> > pkg advice, you'll find that the next step is to add
>> >
>> >      kld_list="/boot/modules/i915kms.ko"
>> >
>> > to rc.conf - and actually the "post-install package message" will have
>> > told you so, but yeah, who reads those things...
>> >
>> > The problem (not explained anywhere that I can find right now) is that
>> > after building and installing the drm-kmod port (or package), you have
>> > *two* drivers called i915kms installed. One is part of the base
>> > system, /boot/kernel/i915kms.ko - this is the one that doesn't work
>> > for you (or me), and gets loaded if you do "kldload i915kms". The
>> > other is from the port that you installed, and it's the above
>> > /boot/modules/i915kms.ko - you must ensure that this is the one that
>> > is loaded.
>> >
>> > The above line makes sure that this happens at reboot (loading via
>> > boot/loader.conf has been reported to *not* work in at least *some*
>> > cases, and there's no advantage over loading via /etc/rc.conf), but
>> > you can also do it manually for testing, by using the full path with
>> > "kldload":
>> >
>> >    kldload /boot/modules/i915kms.ko
>> >
>> > Read and follow also the subsequent steps in the example, as well as
>> > the "Note:" at the end of the section. If your card is actually
>> > supported (and frankly I'm not sure how to figure that out in any
>> > other way than trying it), you should be fine at that point.
>> >
>> > --Per Hedeland
>> >
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>
>

[-- Attachment #2 --]
[  5939.575] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[  5939.575] X Protocol Version 11, Revision 0
[  5939.575] Build Operating System: FreeBSD 12.0-RELEASE-p12 amd64 
[  5939.575] Current Operating System: FreeBSD freebsd1 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC amd64
[  5939.575] Build Date: 14 November 2019  08:46:03AM
[  5939.575]  
[  5939.575] Current version of pixman: 0.38.4
[  5939.575] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  5939.575] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  5939.575] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 28 18:20:26 2019
[  5939.575] (==) Using config file: "/etc/X11/xorg.conf"
[  5939.575] (==) ServerLayout "Layout0"
[  5939.575] (**) |-->Screen "Screen0" (0)
[  5939.575] (**) |   |-->Monitor "Monitor0"
[  5939.575] (**) |   |-->Device "Device0"
[  5939.575] (**) |-->Input Device "Keyboard0"
[  5939.575] (**) |-->Input Device "Mouse0"
[  5939.575] (==) Automatically adding devices
[  5939.575] (==) Automatically enabling devices
[  5939.575] (==) Not automatically adding GPU devices
[  5939.575] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  5939.575] (==) FontPath set to:
	/usr/local/share/fonts/misc/,
	/usr/local/share/fonts/TTF/,
	/usr/local/share/fonts/OTF/,
	/usr/local/share/fonts/Type1/,
	/usr/local/share/fonts/100dpi/,
	/usr/local/share/fonts/75dpi/
[  5939.575] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[  5939.575] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[  5939.575] (WW) Disabling Keyboard0
[  5939.575] (WW) Disabling Mouse0
[  5939.575] (II) Loader magic: 0x421020
[  5939.575] (II) Module ABI versions:
[  5939.575] 	X.Org ANSI C Emulation: 0.4
[  5939.575] 	X.Org Video Driver: 20.0
[  5939.575] 	X.Org XInput driver : 22.1
[  5939.575] 	X.Org Server Extension : 9.0
[  5939.575] (--) PCI:*(0:0:2:0) 8086:5917:17aa:225b rev 7, Mem @ 0xe7000000/16777216, 0xc0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/65536
[  5939.576] (--) PCI: (0:2:0:0) 10de:1d33:17aa:225b rev 161, Mem @ 0xe8000000/16777216, 0x70000000/268435456, 0x80000000/33554432, I/O @ 0x0000d000/128
[  5939.576] (II) LoadModule: "glx"
[  5939.576] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[  5939.577] (II) Module glx: vendor="X.Org Foundation"
[  5939.577] 	compiled for 1.18.4, module version = 1.0.0
[  5939.577] 	ABI class: X.Org Server Extension, version 9.0
[  5939.577] (==) AIGLX enabled
[  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.

[-- Attachment #3 --]
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
 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
13    1 0xffffffff845de000    44c48 drm2.ko
14    4 0xffffffff84623000     1fa0 iicbus.ko
15    1 0xffffffff84625000      fd8 iic.ko
16    1 0xffffffff84626000     1570 iicbb.ko
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA>