Re: FreeBSD-12.1 on laptop

vm finance <[email protected]>
Newsgroups gmane.os.freebsd.devel.x11,gmane.os.freebsd.questions
Message-ID <CAKy-8=jD3pWT6-YS1L-r-ms=Kr6QENzLQyncg09jJh3zRrw3xA@mail.gmail.com>
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 <[email protected]> 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 <[email protected]> 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 <[email protected]> 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
>> >
>> _______________________________________________
>> [email protected] mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> [email protected]"
>>
>

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
Xorg.0.log (application/octet-stream, 3.5 KB)
[  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.
kldstat.out (application/octet-stream, 786 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.