From owner-freebsd-x11@freebsd.org Sun Dec 30 21:54:54 2018 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C4E91436367 for ; Sun, 30 Dec 2018 21:54:54 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6A8216F453 for ; Sun, 30 Dec 2018 21:54:53 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 43SZ3p1p2zzDjDP; Sun, 30 Dec 2018 21:54:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1546206885; bh=cIXONtR106zPbfNXtUuoTl98 h3EotBFDWmqM4mQYLeo=; b=R3Uh84VagKPRc86OuaZpYNc/TowUYl5uhP+m3q8a Zx7jxdL6kkT8y2HHltFNRsfsPtKTXebJGgeODDZDRPz1vCq4Df1W1R0socVYgdQB Ubur6XOBC5l7iVndJvX+I0ISDdWbMZDj+4TU671oKS+aeczeqFAb+CXaHLu2Ivnh 7nk= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([127.0.0.1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [127.0.0.1]) (amavisd-new, port 10587) with ESMTPS id SLeRM9NH_qWY; Sun, 30 Dec 2018 21:54:45 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:9b:ae2c:ceb3:dee8]) by mail.daemonic.se (Postfix) with ESMTPSA id 43SZ3n3jV7zDjCL; Sun, 30 Dec 2018 21:54:45 +0000 (UTC) Subject: Re: Radeon HD 4250: screen going blank every few seconds To: Andrea Venturoli , freebsd-x11@freebsd.org References: <4560f9e2-efcf-a1f5-728c-c26fcec34353@netfence.it> From: Niclas Zeising Message-ID: Date: Sun, 30 Dec 2018 22:54:45 +0100 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <4560f9e2-efcf-a1f5-728c-c26fcec34353@netfence.it> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 6A8216F453 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=daemonic.se header.s=20151023 header.b=R3Uh84Va; dmarc=pass (policy=none) header.from=daemonic.se; spf=pass (mx1.freebsd.org: domain of zeising@daemonic.se designates 176.58.89.161 as permitted sender) smtp.mailfrom=zeising@daemonic.se X-Spamd-Result: default: False [-7.76 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-3.76)[ip: (-9.86), ipnet: 176.58.89.0/24(-4.93), asn: 36236(-3.91), country: US(-0.08)]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; MX_GOOD(-0.01)[cached: mail.daemonic.se]; NEURAL_HAM_SHORT(-0.99)[-0.990,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; 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: Sun, 30 Dec 2018 21:54:54 -0000 On 12/30/18 8:29 PM, Andrea Venturoli wrote: > Hello. > > I've got a desktop which used a Radeon HD 4200 with no troubles: I was > using a 1920x1200 monitor on the DVI port and occasionally a second one > on the VGA port; this system had no HDMI port. > > > > Now I changed mainboard with an Asus M5A88-V Evo (latest BIOS > installed), which features a Radeon HD 4250 and I'm getting some troubles. > > Focusing only on one monitor, it works fine if connected to the VGA > port, but I'd like to avoid this setup because: > a) begin analogic, it shows some background noise; > b) it won't allow me to use the second monitor. > > So I'd like to use either the HDMI or the DVI port, but in this case: > _ the system start fine and is stable as long as BIOS resolution is used; > _ as soon as I "service kld start" and the resolution switchs to > 1920x1200 the screen starts flickering: every 1-2 seconds the image goes > black (the monitor displaying "DVI Input" or "HDMI Input" as if a new > signal was detected) and gets back to normal in another 1-2 seconds; > _ once XOrg is up and running the problem does NOT disappear. > > As I suspected an hardware problem, I tried booting Knoppix: initially I > get the same behaviour (works fine, then starts flickering once the > resolution is increased); however, after XOrg is running the problem stops. > So, either it isn't an hardware problem or there is a workaround. > > Also worth mentioning: > _ if I decrease the resolution to 1920x1080 everything is ok, of course > apart seeing two black areas on the top and bottom of my screen :( > _ while keeping full resolution, attaching the second monitor on the VGA > port *and enabling it* will reduce the flickering from every 1-2 seconds > to every 5-10 seconds. > > > > > So I'm asking for some help, since either using the VGA port or > decreasing the resolution is not a workaround I'm eager to adopt; is > there anything that can be done? Some sysctl? Some BIOS settings? Some > xorg.conf tweak? Some update to test? > > I tried and searched if this was a known (or at least previously seen) > problem, but came up empty. > Even some pointer to documentation/knowledge base would help... > > > > > System information following (notice I'm using X.Org 1.19.6.2, which > AFAIK is not (yet) the default): > Since you are not using the default Xorg, it's very hard to help you. The graphics hardware you're using is also quite old, and not very well supported. Which driver are you using? I noticed on the list that you have drm-fbsd11.2-kmod installed, however, you might have better luck using the legacy drm driver that's in base in FreeBSD 11.2. In that case, you also need to install xf86-video-ati-legacy rather than xf86-video-ati. Regards -- Niclas