From owner-freebsd-x11@freebsd.org Wed Jan 2 11:11:22 2019 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 1C363143F4C5 for ; Wed, 2 Jan 2019 11:11:22 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay107.isp.belgacom.be (mailrelay107.isp.belgacom.be [195.238.20.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "relay.skynet.be", Issuer "GlobalSign Organization Validation CA - SHA256 - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 522CE86B9F for ; Wed, 2 Jan 2019 11:11:21 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes IronPort-PHdr: =?us-ascii?q?9a23=3AqRh6whxggMl+OQ7XCy+O+j09IxM/srCxBDY+r6?= =?us-ascii?q?Qd1OMWIJqq85mqBkHD//Il1AaPAd2Lraocw8Pt8InYEVQa5piAtH1QOLdtbD?= =?us-ascii?q?Qizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBB?= =?us-ascii?q?r/KRB1JuPoEYLOksi7ze+/94HQbglSmDaxfa55IQmrownWqsQYm5ZpJLwryh?= =?us-ascii?q?vOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3?= =?us-ascii?q?o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsDwULs6Wy?= =?us-ascii?q?mt771zRRHmiCkJKSM3/mLVhcx+g61UvB2vqgdjw47NfI2ZKOZycr/fcN4cWG?= =?us-ascii?q?FPXtxRVytEAo6kcYUNCu4BNvtGoon6oFsOtgWxBQy2C+Pp0T9Dm3j73bE70+?= =?us-ascii?q?QjFQHLxwwuH8gQv3vKsdj7KakcXfqyzKnSwjXOdvVb0irz5ojPdxAuu/CMXb?= =?us-ascii?q?RofMvfyEkvFALFjk2OpoP4PjOazP4Bs2+B7+pvTe6vhG8nqx1xojiy3cggkJ?= =?us-ascii?q?XGhoUQyl3C6C53w541KMW7RUN5e9KpEZRduzuYOoZ3WM8uXX9ktSg8x7Ybo5?= =?us-ascii?q?C0ZjIKx44ixxPHbvyHdJWH7Qz7WeaKJDd4mGpleLWihxau6USgyvPzVs2z0F?= =?us-ascii?q?tSrSpKiN3MtnEI1xPN8MiHTeFx/lug2TaN0wDf8P1LIUczlarANZEhx6Q/lp?= =?us-ascii?q?wIsUjZGS/2gkr2gLeXdkUi5Oeo9/zqb7bkq5OGNoJ5hRvyP6Yvl8ClH+g0LA?= =?us-ascii?q?YDU3Ce+eum1b3j+UP5QK9Njv0ziqTZrJHaJcYfpqOiDQ9VyJgs5AikADe9zd?= =?us-ascii?q?sUh34HLEhKeB6flYjmJ0nOIOzkDfe4m1msni1ryO7YMbL6GZXCM2HPkbj8cb?= =?us-ascii?q?pg8ENcxhAzws5B6J1PEbEOPej/WkjrtNzXXVcFNFmdxer9Bdw16I4YRX+VBa?= =?us-ascii?q?uYePfXtXeO6/4hLu+HackUpGCuBeIi4qvSantxslgaZqSs1J0MICSkH/ZiC2?= =?us-ascii?q?uDbHfGuftHFn0F6FltBNf2gUGPBGYAL025WLgxs2k2?= X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AIAADomixc/99MQFdjGgEBAQEBAgE?= =?us-ascii?q?BAQEHAgEBAQGBUQUBAQEBCwEBggJmcBIng3+IGl+LAAEBggw1AYdGghSNU4F?= =?us-ascii?q?7MoFSgnUCgkQjNAkNAQMBAQIBAQIBbBwMQgEQAYFmIoJvAQUjMyMQCw4KAgI?= =?us-ascii?q?FIQICDyoeBhODI4IFC6UZgS+ELQGEYYEJBYELi0uBf4QjgUGBXQIDgV6DCIJ?= =?us-ascii?q?XAolUl3cJhxKKSySRZo5ajRU4gVZNMAiDJ4Izg1WFFIVAPgMwhXKFVgEB?= X-IPAS-Result: =?us-ascii?q?A2AIAADomixc/99MQFdjGgEBAQEBAgEBAQEHAgEBAQGBU?= =?us-ascii?q?QUBAQEBCwEBggJmcBIng3+IGl+LAAEBggw1AYdGghSNU4F7MoFSgnUCgkQjN?= =?us-ascii?q?AkNAQMBAQIBAQIBbBwMQgEQAYFmIoJvAQUjMyMQCw4KAgIFIQICDyoeBhODI?= =?us-ascii?q?4IFC6UZgS+ELQGEYYEJBYELi0uBf4QjgUGBXQIDgV6DCIJXAolUl3cJhxKKS?= =?us-ascii?q?ySRZo5ajRU4gVZNMAiDJ4Izg1WFFIVAPgMwhXKFVgEB?= Received: from 223.76-64-87.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([87.64.76.223]) by relay.skynet.be with ESMTP; 02 Jan 2019 12:10:11 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id x02BAAP3011673; Wed, 2 Jan 2019 12:10:10 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Wed, 2 Jan 2019 12:10:09 +0100 From: =?UTF-8?B?VMSzbA==?= Coosemans To: Andrea Venturoli Cc: freebsd-x11@freebsd.org Subject: Re: Radeon HD 4250: screen going blank every few seconds Message-ID: <20190102121009.1e7dc313@kalimero.tijl.coosemans.org> In-Reply-To: <085ed1a6-c25f-807e-f8d5-d94b2a77ae4d@netfence.it> References: <4560f9e2-efcf-a1f5-728c-c26fcec34353@netfence.it> <20181230224607.1feb9cad@kalimero.tijl.coosemans.org> <20181230231814.4bf4cbff@kalimero.tijl.coosemans.org> <2cb2790f-4007-c1dc-3b49-e92e9810ee67@netfence.it> <20181231172237.55a1c19f@kalimero.tijl.coosemans.org> <085ed1a6-c25f-807e-f8d5-d94b2a77ae4d@netfence.it> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 522CE86B9F X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.953,0]; ASN(0.00)[asn:5432, ipnet:195.238.0.0/19, country:BE]; 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: Wed, 02 Jan 2019 11:11:22 -0000 On Mon, 31 Dec 2018 18:36:46 +0100 Andrea Venturoli wrote: > On 12/31/18 5:22 PM, T=C4=B3l Coosemans wrote: >> Software i2c needs this patch: >> https://github.com/FreeBSDDesktop/kms-drm/commit/6a3d6e69ab5bf47756fde2a= 7c00e3f7d6295c10f.patch >>=20 >> Save it as graphics/drm-fbsd11.2-kmod/files/patch-i2c and delete "a/" >> and "b/" from the file. Then rebuild drm-fbsd11.2-kmod. =20 >=20 > Thanks. > I'll try this patch if what I've already done does not solve (see my=20 > other message). >=20 > I like to understand what I'm doing, if possible, though; do you have=20 > some pointers of what this I2C is (WRT to x.org), what it does, etc...? It's a simple 2 wire bus used between components on a graphics card: https://en.wikipedia.org/wiki/I2C When hw_i2c is 0 the driver manages the I2C bus, when it's 1 the hardware manages it. The hardware implementation is often buggy, which is why hw_i2c should default to 0. It was set to 1 on FreeBSD because of a bug in the driver (fixed by the patch above). This only affects drm-fbsd11.2-kmod.