From owner-freebsd-x11@freebsd.org Sat Feb 22 22:13:52 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 0CF4724E8AB for ; Sat, 22 Feb 2020 22:13:51 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.evolve.de", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Q2fN5Bdzz3Q4S for ; Sat, 22 Feb 2020 22:13:47 +0000 (UTC) (envelope-from freebsd@grem.de) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 62e3aa67; Sat, 22 Feb 2020 22:13:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=20180501; bh=YlXeNYr0 Dw6WVPBlg30XbN4THvo=; b=lixu3+/xaKfHHCN1LJAdbUM/cx2ilqZimb9pUrUp uvgjGqJ6wMsu5zJJ6o7ADpeWCpB/od3bdBVmYB9x8I/jW5G6O5zkbYo+v9yiqR/K B4eKU3xu94KE6EgGPtvmhH+PKADZLSMSLZm8tE5SzX3JDqegFnCzZHCUELs9nci9 9rUqqlScGLx/oiIIYEtaNf49vY88ixaVgJ1JTtzOe7qRaVLXCQ7zPI/vTmz7eymB ldudM9a29GvWzbN5qcAkMe0a5D+Upu0HVTK7SStpq+JHcgiPJKdxhwyDpLkczUDP g4R3AlG+pBmoeeoZP/6gHPqDb2DI+nUUpA6HUFTRY+eMaQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=date:from:to:cc :subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=20180501; b=aB j0qbgivHcM0A4H6hWYDtQaWP3Sp2csOQhLEBUPtTSYJRPoQ1em+/F9NWuO6tPpIx U6jqg6Oj9SV1dXBBGfnQBHwwTAZEuASRUq26Ro5ssRF/HmKrUnht+VAzI76BheYA /3NTdJsAwZe8o4tXSVZqO8vAKb/jFUlA+Ws/buzNZKVXGlV2+rxLarDldD+GiJlN 8UvKO/JiFoYlgwEdczMAriVYvNV2bmq3Mi22H5fPFCBqkXt/UVob0Y7EjzfvmYaD RqapWx+fM60Y87Oqk/fZfls4XeNcpUvjGli5zea14NfTgzUW9qYdoN6esM6RWdGE xYl+1XdwJou4oMWmV7gg== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 608a4bff TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 22 Feb 2020 22:13:45 +0000 (UTC) Date: Sat, 22 Feb 2020 23:13:32 +0100 From: Michael Gmelin To: ajtiM Cc: Michael Gmelin , "freebsd-x11@freebsd.org" Subject: Re: Script to help find xorg configuration issues Message-ID: <20200222231332.655c663e@bsd64.grem.de> In-Reply-To: <20200222130115.5cf839ce@dismail.de> References: <20200222153619.44974c3d@bsd64.grem.de> <20200222130115.5cf839ce@dismail.de> X-Face: $wrgCtfdVw_H9WAY?S&9+/F"!41z'L$uo*WzT8miX?kZ~W~Lr5W7v?j0Sde\mwB&/ypo^}> +a'4xMc^^KroE~+v^&^#[B">soBo1y6(TW6#UZiC]o>C6`ej+i Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWJBwe5BQDl LASZU0/LTEWEfHbyj0Txi32+sKrp1Mv944X8/fm1rS+cAAAACXBIWXMAAAsTAAAL EwEAmpwYAAAAB3RJTUUH3wESCxwC7OBhbgAAACFpVFh0Q29tbWVudAAAAAAAQ3Jl YXRlZCB3aXRoIFRoZSBHSU1QbbCXAAAAAghJREFUOMu11DFvEzEUAGCfEhBVFzuq AKkLd0O6VrIQsLXVSZXoWE5N1K3DobBBA9fQpRWc8OkWouaIjedWKiyREOKs+3PY fvalCNjgLVHeF7/3bMtBzV8C/VsQ8tecEgCcDgrzjekwKZ7TwsJZd/ywEKwwP+ZM 8P3drTsAwWn2mpWuDDuYiK1bFs6De0KUUFw0tWxm+D4AIhuuvZqtyWYeO7jQ4Aea 7jUqI+ixhQoHex4WshEvSXdood7stlv4oSuFOC4tqGcr0NjEqXgV4mMJO38nld4+ xKNxRDon7khyKVqY7YR4d+Cg0OMrkWXZOM7YDkEfKiilCn1qYv4mighZiynuHHOA Wq9QJq+BIES7lMFUtcikMnkDGHUoncA+uHgrP0ctIEqfwLHzeSo+eUA66AqzwN6n 2ZHJhw6Qh/PoyC/QENyEyC/AyNjq74Bs+3UH0xYwzDUC4B97HgLocg1QLYgDDO1v f3UX9Y307Ew4AHh67YAFFsxEpkXwpXY3eIgMhAAE3R19L919nNnuD2wlPcDE3UeT L2ytEICQib9BXgS2fU8PrD82ToYO1OEmMSnYTjSqSv9wdC0tPYC+rQRQD9ESnldF CyqfmiYW+tlALt8gH2xrMdC/youbjzPXEun+/ReXsMCDyve3dZc09fn2Oas8oXGc Jj6/fOeK5UmSMPmf/jL+GD8BEj0k/Fn6IO4AAAAASUVORK5CYII= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48Q2fN5Bdzz3Q4S X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=grem.de header.s=20180501 header.b=lixu3+/x; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@grem.de designates 213.239.217.29 as permitted sender) smtp.mailfrom=freebsd@grem.de X-Spamd-Result: default: False [-2.82 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; R_DKIM_ALLOW(-0.20)[grem.de:s=20180501]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:213.239.217.29/32]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[grem.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[grem.de:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.32)[ipnet: 213.239.192.0/18(-0.02), asn: 24940(-1.55), country: DE(-0.02)]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; RCVD_TLS_ALL(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 22:13:52 -0000 On Sat, 22 Feb 2020 13:01:15 -0500 ajtiM wrote: > On Sat, 22 Feb 2020 15:36:19 +0100 > Michael Gmelin wrote: > > > Hi, > > > > 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. > > > > 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. > > > > You can find it on github: > > https://github.com/grembo/xorg-udev-setup-check > > > > Direct download link: > > https://raw.githubusercontent.com/grembo/xorg-udev-setup-check/master/xorg-udev-setup-check.sh > > > > 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) > > > > You should be able to run it as an unprivileged user - fixing things > > will require root privileges though. > > > > 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. > > > > Cheers, > > Michael > > > > [0]https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196678 > > > > 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 > Section "Device" > Identifier "Card0" > Driver "scfb" > EndSection > > and work for me on old xserver. > > Thank you. No more update and downgrade. I need to work too. > So does everyone else who's trying to help you :) I seem to remember having issues with scfb a while ago. To make it work I had to make sure that scfb is the only driver available. An easy way to test this without dealing with pkg problems is to move everything except "scfb_drv.so" out of /usr/local/lib/xorg/modules/drivers manually (especially vesa_drv.so) With all alternative drivers removed, driver_scfb.conf shouldn't be necessary anymore, as scfb is the only option left. So it should be removed - which should make auto-detection of the server layout work, which should make input devices work - if my memory doesn't fool me. It might be worth a shot. That was over two years ago though, so I can't guarantee this will actually fix it for you. If you feel like testing is an undue burden, don't try it. Cheers, Michael -- Michael Gmelin