From owner-freebsd-questions@freebsd.org Sat Dec 19 05:40:07 2020 Return-Path: Delivered-To: freebsd-questions@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 1B1F94BB789 for ; Sat, 19 Dec 2020 05:40:07 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 4CyZLt2lTwz4kJG for ; Sat, 19 Dec 2020 05:40:06 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 4240C60CB1; Sat, 19 Dec 2020 05:40:05 +0000 (UTC) Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.16.1/8.16.1) with ESMTPS id 0BJ5e51D089921 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sat, 19 Dec 2020 05:40:05 GMT (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.16.1/8.16.1/Submit) with ESMTP id 0BJ5e4sk089917; Sat, 19 Dec 2020 05:40:05 GMT (envelope-from doug@fledge.watson.org) Date: Sat, 19 Dec 2020 05:40:04 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Gabriel Saltar cc: "FreeBSD-questions@FreeBSD.org" Subject: Re: Assistance needed with Xorg In-Reply-To: Message-ID: <9b2a3b10-8543-8d4a-4782-20ec445dffed@fledge.watson.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4CyZLt2lTwz4kJG X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of doug@fledge.watson.org has no SPF policy when checking 204.107.128.30) smtp.mailfrom=doug@fledge.watson.org X-Spamd-Result: default: False [-2.00 / 15.00]; HAS_REPLYTO(0.00)[doug@safeport.com]; TO_DN_EQ_ADDR_SOME(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.107.128.30:from]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[watson.org]; SPAMHAUS_ZRD(0.00)[204.107.128.30:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[FreeBSD-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Dec 2020 05:40:07 -0000 On Sat, 19 Dec 2020, Gabriel Saltar via freebsd-questions wrote: > Greetings, > > I have decided to learn about freebsd and I have installed freebsd 12.2 in desktop. However, I have not been able to configure Xorg correctly. > > My system has integrated Intel HD 2000 gpu and two monitors coonected. I have installed the i915kms driver. I have also enable it in my /etc/rc.conf file. > > I have followed the instructions on the user handbook regarding adding the user to the video group. I have also updated freebsd and updated all my packages. > > I have attempted to run Xorg -configure and it fails. When I do startx it fails. When I checked the log, it states it failed to load driver 0, or module 0. Please excuse me I'm writing from my mobile device and I do not have access to my desktop at this time. > > Also, while it prompted me to look into the /var/log/x11/xorg.0... file. There the output stated that the config did not match the devices detected. > > From there I looked online and saw a template for dual monitor xorg.conf file and did my best to emulate it and place it in the /usr/etc/local/X11/ directory. When I did I got an error that my configuration file had an error in line 44. I checked that was exactly after made the changes I thought I had to do add my second monitor to xorg.conf file. > > At this point I am clueless. I know I have not been very specific and I have not added the output I get from my system here, however any piece of advice you can offer will be highly appreciated. > > Best Regards, > Gabriel Saltar If you have not, read 5.3 and 5.4 in the handbook. Next check out Xorg.?.log in /var/log. On my system I installed xterm, I do not know if 12 bundles that in. More information in https://wiki.freebsd.org/Laptops and the release notes on supported hardware. Look at dmesg for errors. The command "pciconf -lv" will list all the conponents that were recognized. In general startx will just work if the video, keyboard and mouse are recognized.