From owner-freebsd-x11@freebsd.org Sat Feb 22 18:01:23 2020 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 E8D25247713 for ; Sat, 22 Feb 2020 18:01:23 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (mx2.dismail.de [159.69.191.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.dismail.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Px366cD1z4fpc for ; Sat, 22 Feb 2020 18:01:22 +0000 (UTC) (envelope-from starikarp@dismail.de) Received: from mx2.dismail.de (localhost [127.0.0.1]) by mx2.dismail.de (OpenSMTPD) with ESMTP id dcaf33ae; Sat, 22 Feb 2020 19:01:20 +0100 (CET) Received: from smtp2.dismail.de ( [10.240.26.12]) by mx2.dismail.de (OpenSMTPD) with ESMTP id 513162af; Sat, 22 Feb 2020 19:01:20 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id 46f343a4; Sat, 22 Feb 2020 19:01:20 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 6766944e (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 22 Feb 2020 19:01:19 +0100 (CET) Date: Sat, 22 Feb 2020 13:01:15 -0500 From: ajtiM To: Michael Gmelin Cc: "freebsd-x11@freebsd.org" Subject: Re: Script to help find xorg configuration issues Message-ID: <20200222130115.5cf839ce@dismail.de> In-Reply-To: <20200222153619.44974c3d@bsd64.grem.de> References: <20200222153619.44974c3d@bsd64.grem.de> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48Px366cD1z4fpc X-Spamd-Bar: ------- X-Spamd-Result: default: False [-7.93 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:159.69.191.136]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.23)[ip: (-9.91), ipnet: 159.69.0.0/16(0.36), asn: 24940(-1.55), country: DE(-0.02)]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DWL_DNSWL_MED(-2.00)[dismail.de.dwl.dnswl.org : 127.0.5.2]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[136.191.69.159.list.dnswl.org : 127.0.5.2]; DKIM_TRACE(0.00)[dismail.de:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Feb 2020 18:01:24 -0000 On Sat, 22 Feb 2020 15:36:19 +0100 Michael Gmelin wrote: > Hi, >=20 > I've been helping others configuring X11 with UDEV/evdev for quite > some time now. Since UDEV recently became the default option on > 12.1[0], I thought that having something automated (yet > non-intrusive) to help users fix their setup might be useful. >=20 > To achieve this, I created a small/hacky script today that checks all > the usual problems I found while helping people figuring out what's > wrong with their setup. >=20 > You can find it on github: > https://github.com/grembo/xorg-udev-setup-check >=20 > Direct download link: > https://raw.githubusercontent.com/grembo/xorg-udev-setup-check/master/xor= g-udev-setup-check.sh >=20 > Usage: ./xorg-udev-setup-check.sh [-hdpi] > -h print this help > -d skip drm checks > -p skip package version checks > -i only show errors (suppress info) >=20 > You should be able to run it as an unprivileged user - fixing things > will require root privileges though. >=20 > I didn't test it thoroughly, so feel free to open pull requests > on github - functional improvements only please, don't try to improve > the code quality. >=20 > Cheers, > Michael >=20 > [0]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D196678 >=20 Thank you for the script but I did downgrade 11th times because new xserve doesn't work on my system. The script found just that I need to put radeon or intel in rc.conf. For my Radeon drm.kmod doesn't work - black screen and I am using scfb driver which doesn't work on new xserver or I do nnot know how to do. As I wrote before I have in /usr/local/etc/xorg.conf.d/driver_scfb.conf where I have=20 Section "Device" Identifier "Card0" Driver "scfb" EndSection=09 and work for me on old xserver. Thank you. No more update and downgrade. I need to work too. --=20 =E2=80=9CThere is only one good, knowledge, and one evil, ignorance.=E2=80= =9D =E2=80=95 Socrates=20