From owner-freebsd-x11@freebsd.org Thu Jan 28 12:41:56 2021 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 80CD2524161 for ; Thu, 28 Jan 2021 12:41:56 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from mail.flex-it.com.ua (mail.flex-it.com.ua [193.239.74.7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DRKq75HrQz3K1G for ; Thu, 28 Jan 2021 12:41:55 +0000 (UTC) (envelope-from shuriku@shurik.kiev.ua) Received: from [46.98.194.25] (helo=thinkpad.flex-it.com.ua) by mail.flex-it.com.ua with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.94 (FreeBSD)) (envelope-from ) id 1l56cM-000EOY-ST for freebsd-x11@freebsd.org; Thu, 28 Jan 2021 14:41:47 +0200 Subject: Re: I can not get xorg to start To: freebsd-x11@freebsd.org References: From: Oleksandr Kryvulia Message-ID: <1d8aeec5-1be5-e28f-54be-5ddafad72ac9@shurik.kiev.ua> Date: Thu, 28 Jan 2021 14:41:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: ru X-Rspamd-Queue-Id: 4DRKq75HrQz3K1G X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shuriku@shurik.kiev.ua designates 193.239.74.7 as permitted sender) smtp.mailfrom=shuriku@shurik.kiev.ua X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[193.239.74.7:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[193.239.74.7:from:127.0.2.255]; RECEIVED_SPAMHAUS_PBL(0.00)[46.98.194.25:received]; DMARC_NA(0.00)[shurik.kiev.ua]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:35297, ipnet:193.239.72.0/22, country:UA]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-x11]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jan 2021 12:41:56 -0000 28.01.21 03:52, Doug Denault пишет: > At this point I think I am more looking for guidance than thinking > there is any combination that is going to work with this system. Never > the less, I have the following setup: > > vgapci1@pci0:0:2:0:     class=0x030000 card=0x380a17aa chip=0x191b8086 > rev=0x06 hdr=0x00 >     vendor     = 'Intel Corporation' >     device     = 'HD Graphics 530' >     class      = display > -- > vgapci0@pci0:1:0:0:     class=0x030200 card=0x380b17aa chip=0x134710de > rev=0xa2 hdr=0x00 >     vendor     = 'NVIDIA Corporation' >     device     = 'GM108M [GeForce 940M]' >     class      = display > > Packages >    xf86-video-intel-2.99.917.914,1 >    xf86-video-scfb-0.0.5_2 >    xf86-video-vesa-2.5. >    xorg-7.7_3 >    drm-fbsd11.2-kmod-4.11g20200420 >    drm-kmod-g20190710 > > In /usr/local/etc/X11/xorg.conf.d >    driver-intel.conf >       Section "Device" >         Identifier "Card0" >         Driver     "intel" >         BusID      "PCI:0:2:0" >       EndSection > >    screen-resolution.conf >       Section "Screen" >         Identifier "Screen0" >         Device     "Card0" >         SubSection "Display" >         Modes      "1920x1080" >         EndSubSection >    EndSection > > startx yields >    [224.924] (==) Using system config directory > "/usr/local/share/X11/xorg.conf.d" >    [224.951] (==) No Layout section.  Using the first Screen section. >    [224.951] (**) |-->Screen "Screen0" (0) >    [224.952] (**) ||-->Monitor "" >    [224.952] (**) ||-->Device "Card0" >    [224.952] (==) No monitor specified for screen "Screen0". >   Using a default monitor configuration. > > I take this to mean I did neither file correctly > >    [225.032] (--) PCI:*(0@0:2:0) 8086:191b:17aa:380a rev 6, Mem @ > 0xd0000000/16777216, 0xc0000000/268435456, I/O @ 0x0000e000/64, BIOS @ > 0x????????/65536 >    [225.032] (--) PCI: (1@0:0:0) 10de:1347:17aa:380b rev 162, Mem @ > 0xd1000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ > 0x0000d000/128 > >    [225.032] (II) LoadModule: "glx" >    [225.033] (II) Loading > /usr/local/lib/xorg/modules/extensions/libglx.so >    [225.143] (II) Module glx: vendor="X.Org Foundation" >    [225.143]    compiled for 1.20.9, module version = 1.0.0 >    [225.143]    ABI class: X.Org Server Extension, version 10.0 >    [225.143] (II) LoadModule: "intel" >    [225.143] (II) Loading > /usr/local/lib/xorg/modules/drivers/intel_drv.so >    [225.233] (II) Module intel: vendor="X.Org Foundation" >    [225.233]    compiled for 1.20.9, module version = 2.99.917 >    [225.233]    Module class: X.Org Video Driver >    [225.233]    ABI class: X.Org Video Driver, version 24.1 >    [225.235] (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 >    [225.246] (II) intel: Driver for Intel(R) HD Graphics >    [225.246] (II) intel: Driver for Intel(R) Iris(TM) Graphics >    [225.246] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics >    [225.246] (--) Using syscons driver with X support (version 2.0) >    [225.246] (--) using VT number 9 > >    [225.538] (EE) No devices detected. >    [225.538] (EE) > > I also have tried just starting with no configuration and with 'Xorg > -configure' as well as the above. All yield similar errors. I also > installed nvidia-driver-440.100_1 and tried running in Linux mode. I > would not think this would work as the 11.4/12.2 hardware notes do not > list the GM108M [GeForce 940M] as being supported. I found a post on > the forum that specifically said it was not. > > All the above is really background for my questions: (1) Hopefully I > did the conf files incorrectly (2) I had to configure this system as a > legacy BIOS boot. Does that matter? (3) Is my best course to wait for > 7.7_4 or beyond. (4) I can use this system as a test server of course. > But what have I missed (in general)? > > I am quite lost any thing else to try or another course of action > would be greatly appreciated. Try to disable nvidia card in bios, make sure /boot/modules/i915kms.ko is loaded (kld_list="/boot/modules/i915kms.ko" in rc.conf) and remove any configuration in xorg.conf.d.