From owner-freebsd-current@freebsd.org Tue Mar 10 08:34:47 2020 Return-Path: Delivered-To: freebsd-current@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 65B1C25C415 for ; Tue, 10 Mar 2020 08:34:47 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48c7gV5l7Nz40cd for ; Tue, 10 Mar 2020 08:34:46 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: by mailman.nyi.freebsd.org (Postfix) id A4D9825C411; Tue, 10 Mar 2020 08:34:46 +0000 (UTC) Delivered-To: current@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 9C62C25C410; Tue, 10 Mar 2020 08:34:46 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) Received: from mail2.mands.hu (mail2.mands.hu [93.189.114.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.mands.hu", Issuer "e-Szigno SSL CA 2014" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48c7gR5gvgz40Tb; Tue, 10 Mar 2020 08:34:43 +0000 (UTC) (envelope-from Krasznai.Andras@mands.hu) From: =?iso-8859-1?Q?M=26S_-_Krasznai_Andr=E1s?= To: "x11@FreeBSD.org" , "current@FreeBSD.org" , "stable@FreeBSD.org" , "ports@FreeBSD.org" Subject: RE: users of drm-legacy-kmod or drm drivers from base Thread-Topic: users of drm-legacy-kmod or drm drivers from base Thread-Index: AQHV9YC2b5jNz3SiP0OZRFHByovKCqhBdriA Date: Tue, 10 Mar 2020 08:34:40 +0000 Message-ID: <1dae33245df940288786a19a658d01bf@MSEXCH13.mands.hu> References: <6413dbc6-a64e-b69a-ffcc-9c555df24e71@freebsd.org> In-Reply-To: <6413dbc6-a64e-b69a-ffcc-9c555df24e71@freebsd.org> Accept-Language: en-US, hu-HU Content-Language: hu-HU X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [192.168.4.90] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Rspamd-Queue-Id: 48c7gR5gvgz40Tb X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of Krasznai.Andras@mands.hu designates 93.189.114.146 as permitted sender) smtp.mailfrom=Krasznai.Andras@mands.hu X-Spamd-Result: default: False [-2.15 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.869,0]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[mands.hu]; NEURAL_HAM_LONG(-0.99)[-0.990,0]; RCVD_IN_DNSWL_NONE(0.00)[146.114.189.93.list.dnswl.org : 127.0.10.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:47116, ipnet:93.189.112.0/21, country:HU]; IP_SCORE(0.01)[country: HU(0.03)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2020 08:34:47 -0000 Hi I am experiencing the following: Firefox, Chrome, LibreOffice freezes my Fr= eeBSD-CURRENT after a few seconds (the disk is used intensivey but nor keyb= oard nor mouse is working, I can move the mouse pointer but nothing happens= when I click with any of the buttons), nothing is written on the screen. A= s the mouse seems to not work I am not able to start any other application = after starting the above programs. before starting those programs xterm, cl= ang, etc is running correctly. Ctrl-Alt-Del kills the xorg server, and the laptop returns to the character= based screen. I can start X again with startx, and it behaves in the same= manner.=20 A week ago when the above first happened then (as it was recommended in pkg= -message) recompiling xorg-server with the FIXDRM option corrected the prob= lem, but as FIXDRM is now removed I am not able to use those applications. I tried to force the usage of dri3 as recommended, but did not help. The system is a Lenovo T510 laptop, Intel I5-M520 CPU, integrated Intel Gra= phics , FreeBSD-CURRENT #358833, ports installed from pkg repository.=20 best regards Andras Krasznai -----Eredeti =FCzenet----- Felad=F3: owner-freebsd-current@freebsd.org [mailto:owner-freebsd-current@f= reebsd.org] Meghatalmaz=F3 Niclas Zeising K=FCldve: 2020. m=E1rcius 8. 20:34 C=EDmzett: x11@FreeBSD.org; current@FreeBSD.org; stable@FreeBSD.org; ports@= FreeBSD.org T=E1rgy: users of drm-legacy-kmod or drm drivers from base [ This is cross-posted across several mailing lists for maximum=20 visibility. Please respect reply-to and keep replies to x11@FreeBSD.org=20 . Thank you! ] In order to improve support for the new lkpi based graphics drivers=20 (drm-kmod) and to improve the graphics stack we have switched mesa to=20 prefer DRI3 over DRI2. This was done in r528071. For those using=20 drm-kmod, this should improve performance somewhat, and more importantly=20 alleviate the use of the FIXDRM option (now removed) in xorg-server. However, for those of you using graphics/drm-legacy-kmod or the drm=20 drivers in base, this change can cause issues. If you are experiencing=20 problems when running OpenGL applications, you can force the use of the=20 DRI2 backend. To force mesa to use DRI2, set the environment variable=20 LIBGL_DRI3_DISABLE to 1 before starting any OpenGL application. The=20 easiest way to accomplish this is by adding it to either your shell=20 startup file or ~/.xinitrc. As an example, for users of [t]csh, put setenv LIBGL_DRI3_DISABLE 1 in ~/.cshrc. For users of bourne type shells (sh, bash, ksh, zsh, ...) instead put export LIBGL_DRI3_DISABLE=3D1 in ~/.profile If you are using these legacy drivers, I'm also very interested in=20 hearing what issues you are facing that prevents you from using the new=20 lkpi based drivers. Regards --=20 Niclas Zeising FreeBSD Graphics Team _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"