From owner-freebsd-x11@freebsd.org Mon Apr 13 09:42:13 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 63D712B8AC2 for ; Mon, 13 Apr 2020 09:42:13 +0000 (UTC) (envelope-from ml@netfence.it) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4913Yc4Qnrz4MfL for ; Mon, 13 Apr 2020 09:42:12 +0000 (UTC) (envelope-from ml@netfence.it) Received: by mailman.nyi.freebsd.org (Postfix) id 97E682B8ABB; Mon, 13 Apr 2020 09:42:12 +0000 (UTC) Delivered-To: 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 97A4D2B8ABA for ; Mon, 13 Apr 2020 09:42:12 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.netfence.it (net-2-44-121-52.cust.vodafonedsl.it [2.44.121.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailserver.netfence.it", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4913Yc1ZlCz4MfK; Mon, 13 Apr 2020 09:42:11 +0000 (UTC) (envelope-from ml@netfence.it) Received: from alamar.ventu (alamar.local.netfence.it [10.1.2.18]) (authenticated bits=0) by soth.netfence.it (8.15.2/8.15.2) with ESMTPSA id 03D9g52k074121 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 13 Apr 2020 11:42:08 +0200 (CEST) (envelope-from ml@netfence.it) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfence.it; s=202002; t=1586770928; bh=si9PjGrp2MxW2s3AbC/oC/tN/wWMWTxR74Dqc98KQhk=; h=Subject:To:References:From:Date:In-Reply-To; b=klSyxN8NjkBiVX7ikcOc9DztXDY9cC0izXlNVkh6RllLM70cYzn128ZaRwZPqDL1h 2p/XDHDKnXm9vDIVpOash3VrvW16+bhbOBccuyqRoPx6uOquGkyAo79QDhuwkpBo0S lvVfXh/wXdNP8JOwlDV2aO2n2TFYjMu4YfpGTzvg= X-Authentication-Warning: soth.netfence.it: Host alamar.local.netfence.it [10.1.2.18] claimed to be alamar.ventu Subject: Re: Users of x11-drivers/xf86-video-ati-legacy To: Niclas Zeising , x11@FreeBSD.org References: <16c93a1a-cc60-b9a5-da48-889f48aa6005@netfence.it> <9352b468-9f09-ad30-0b9e-acd896cadb17@freebsd.org> From: Andrea Venturoli Message-ID: <0c34355a-9f91-a966-7e46-aefcd2806fbd@netfence.it> Date: Mon, 13 Apr 2020 11:42:05 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <9352b468-9f09-ad30-0b9e-acd896cadb17@freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4913Yc1ZlCz4MfK X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] 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: Mon, 13 Apr 2020 09:42:13 -0000 On 2020-04-13 09:29, Niclas Zeising wrote: > Thank you for helping out and testing, unfortunately there is not much > to do if it does not work. Thanks to you. > I don't have the time or hardware to get an > older xf86-video-ati to maybe build with xserver 1.20. I'm now back to xserver 1.19. I can easily switch back and forth, so if you want me to do some test, just ask. In fact, I'd be interested in making this work, but I need some guidance; I can use gdb & Co, but I know almost nothing of X internals. > The reason xf86-video-ati-legacy works with drm-fbsd12.0-kmod is that > the updated kmod uses newer APIs etc. You mean the reason *it doesn't* work? >  At one point, xf86-video-ati was > updated to make these work, and when we updated xf86-video-ati in ports > to the latest version to get support for more modern hardware,we had to > create xf86-video-ati-legacy for use with drm-legacy-kmod.  This was > always one of those stop-gap measures. Ok. Problem is xf86-video-ati-legacy + drm-kmod-legacy works no more with Xorg 1.20. And, more relevantly, on my HD4250 drm-12-kmod only works partially. And, even with those limiations, X often hangs. Strange, because I also have a HD4200 which used to work prefectly with non-legacy; I had to switch to legacy when I moved to HD4250. They should be almost the same card, just with different clocks. >> Moving to drm-fbsd12.0-kmod, I completely lose HDMI output and DVI >> output doesn't work properly (screen flashes continuously, unless I >> reduce full resolution): I have to use VGA output (sigh). >> >> I also tried xf86-video-ati (non legacy): everything seems the same, >> except the machine will sometimes hang. >> (I have not experienced an hang *yet* with xf86-video-ati, but it's >> been to short a time to conclude anything). > > Is this with drm-kmod or drm-legacy-kmod? drm-kmod. With this module, I'm able to start the X server, but only VGA output works (even before X is started) and X hangs. I guess the first step would be to fix drm-kmod... bye & Thanks av.