From owner-freebsd-x11@freebsd.org Tue Mar 5 06:08:02 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 29D04151937E for ; Tue, 5 Mar 2019 06:08:02 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 62D4E81E74 for ; Tue, 5 Mar 2019 06:08:01 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 1D0AE151937D; Tue, 5 Mar 2019 06:08:01 +0000 (UTC) Delivered-To: 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 A3ED7151937A for ; Tue, 5 Mar 2019 06:08:00 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0604181E4A for ; Tue, 5 Mar 2019 06:07:59 +0000 (UTC) (envelope-from pdagog@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id d17so8032664wre.10 for ; Mon, 04 Mar 2019 22:07:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=tXLZaHFq55yzi62nnvV0W8LZaluDBHsbbkdB+8ctcuM=; b=o4rQPQejVNB9Avn6liC+7haCBZEXdg6rCLgEEQGcuocd7SVhiRBoNdpseJwt34ZYcj 5sPuuyNwbDBJA2P2VeTbZFu7/Oj+Aw9dEdWjhHJvGGSfg73ERx4Hnt911rzZtJQkTZuY OjW+1V9s9WtWlpregrzHrHBCXEQy3SjBawhQatY6wykcNGIq4JVv8qfA3yHGHtTXmX3w qJ+TcM9yyDqB0l2NNJQu8ZWL/75WggBD4dclcCwxyPLLXr10ixVZljg7wkfRuFGngybG husNYOIWiyT3o66ZXjFtTy+hSTG4ZjLQN8+pDBU1JVM2RXvlU82n8pAOsyhpyo/8FtC6 PzTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=tXLZaHFq55yzi62nnvV0W8LZaluDBHsbbkdB+8ctcuM=; b=JUkWr63Q0ymKWVRdTniABbIeLOkbKczh7QV2vi1aQsV5CEtmZ6+JtaP/G41NyU8gPE o4Ppg5lt+bWgZxtH7OFx777QAisrZlOHCNOaF1p8QBW8N4DC8Gz0qj3UvJUFxYogpTne FwMANetryJivgiCP1/1cRHmx/cHhcteMmD2fCHA9DPCY2JMkCMiMiBEhuYqu958Y/iUk +bTRpfygBhlfjq0nGBJ10O23ykuNe8+Kjz8OqEb/re/rM1MNiqQMzrbuoM9RFQBXWnnT OyO27ZlsfLIjfLgH52N3adzfaci41SFSGuKPC9dtRD7qthOxNXuIegltqTox6F/cVl3X JtxA== X-Gm-Message-State: APjAAAUNqC8nVfyQWjY8YWjVNssmBUAWc6xeBOeapuFrMkSKqBceu9rt T3RbSMyOsLp3QqkbEsfoDBkl5/Kk X-Google-Smtp-Source: APXvYqzHTmvyJSAuXeoR5lE/nB2PGf9dajufm+pfEFSKpjwoEhodzzfiX+svlPTvwhfMECiSdhMWow== X-Received: by 2002:adf:e58f:: with SMTP id l15mr14611830wrm.309.1551766077115; Mon, 04 Mar 2019 22:07:57 -0800 (PST) Received: from localhost ([2001:660:4701:1001:7401:ade4:514d:b4a]) by smtp.gmail.com with ESMTPSA id t3sm17827044wmc.20.2019.03.04.22.07.55 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Mar 2019 22:07:55 -0800 (PST) Date: Tue, 5 Mar 2019 07:07:54 +0100 From: Pierre DAVID To: x11@freebsd.org Subject: Re: system freezes when loading amdgpu Message-ID: <20190305060754.GB1375@vagabond> References: <20190225195558.GA1603@vagabond> <20190304094406.GB17710@vagabond> <6d097479-4678-7550-b90b-91fd2b88cf20@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <6d097479-4678-7550-b90b-91fd2b88cf20@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 0604181E4A X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.989,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: Tue, 05 Mar 2019 06:08:02 -0000 On Mon, Mar 04, 2019 at 10:02:33AM +0000, Johannes Lundberg wrote: >Hi > >Sorry to hear you're having problems... The good news is, I think your >card is Southern Islands (SI) generation which means it's supported by >both radeonkms and amdgpu. SI should be enabled in amdgpu by default in >4.16 or later. > >To avoid any UEFI issues, I recommend booting in legacy BIOS mode if >possible. This way you don't have to disable syscons. > >With drm-kmod radeonkms: > >pkg: xf86-video-ati >xorg driver: "radeon" > >With drm-kmod amdgpu: > >pkg: xf86-video-amdgpu for "amdgpu", "modesetting" is included in >xorg-server. >xorg driver: "modesetting" or "amdgpu" (modesetting is probably better) > My system always boots in legacy BIOS mode (it's a pre-UEFI system). I tried with radeonkms also: same thing occurs, the system is freezing. > >"The system freezes as soon as I kldload amdgpu (or if I start X)" > >Does this mean that you get freeze only sometimes in kldload amdgpu? > It always freezes when I kldload either amdgpu or radeonkms. Pierre