From owner-freebsd-x11@freebsd.org Mon Mar 6 14:38:53 2017 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0EA54CFA43B; Mon, 6 Mar 2017 14:38:53 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: from mail-ot0-x244.google.com (mail-ot0-x244.google.com [IPv6:2607:f8b0:4003:c0f::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B911A15F1; Mon, 6 Mar 2017 14:38:52 +0000 (UTC) (envelope-from hiroo.ono@gmail.com) Received: by mail-ot0-x244.google.com with SMTP id a12so15516979ota.2; Mon, 06 Mar 2017 06:38:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=dh2xZc7cO0AAAZ462YkCiuT7eVuXkiBAIkLs6IKivsg=; b=mrnIlE91WWUUTVPuGBHrKdjRX5OYXIYEqujFmvo75gcXSTUtMs3WmrtRTAhLk552+c NbChKlA2Xb/jHiI4G21RQacvpmYDXncDLuclsMRb84OlTyYtSfL6tbeFV5Lz7jbCwY/R nC2P9G2dqLftXvQJkuWhM3cFYV3YuY0e696N17LmNQ4iwTEys0De8QnJuMMZKWF+duac sZj8hdJce0oKGpn+VMfUDvx7xAT0d8d5a56YBC7bpoGRgDScw2okZzIV0rtM4VO2R5s7 8lUpGG67HEhkP5iFbPHhZVXf7MREMxtB1UWxj+A5NxTyGCwY8Av3nPbZN7C0eeOGcX2i o+Sw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=dh2xZc7cO0AAAZ462YkCiuT7eVuXkiBAIkLs6IKivsg=; b=NZzlpBZSlGWWBtJt+XV4g7DlhTlPre3AnzqRWiA+jBBzHofKY4ekbkGk3SKG4d5M0H NUBaOYJd0FdkXxFL9oXrErhYRsjflwVh6Hr/j1Cf2YSesW4Qv+4AcTuoZbI5GwVl34vr 0Z5bnN6DjCCxqa6DaAZfFsZLqy9pAEb+SxYiWmmRSlNbDfgvu/G7/DsnNBdwlzbTMBCK zumcmlVlhxrlu8mqwBA7FZfErK0XSPGIqxIESAP31RBMk95AB9goVcBmdOvMvwbmWQ7i Q4oUP15x7sD8y7N/j3aTdHWQRGs5aPI9xQiWpmOXdOTQvIata8qeTwKI3mM4SvlLILQL dg2w== X-Gm-Message-State: AMke39n6KEMi3XIpJ63nLwd5ozzK1fCFJke/rdjLiasomQi93YNenc8ronXQj423qmJkfXOM++ixckhxb+0U4w== X-Received: by 10.157.1.105 with SMTP id 96mr8096957otu.54.1488811131857; Mon, 06 Mar 2017 06:38:51 -0800 (PST) MIME-Version: 1.0 Reply-To: hiroo.ono+freebsd@gmail.com Sender: hiroo.ono@gmail.com Received: by 10.74.32.213 with HTTP; Mon, 6 Mar 2017 06:38:51 -0800 (PST) In-Reply-To: References: <4EA794E6-D435-4958-853C-5421E03F3B46@dsl-only.net> From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= Date: Mon, 6 Mar 2017 23:38:51 +0900 X-Google-Sender-Auth: B4oL4dHtyXxBGIGvRWdWitka6xQ Message-ID: Subject: Re: PowerMac G5 and KMS To: "Herminio Hernandez, Jr." Cc: Joe Nosay , Mark Millard , Justin Hibbits , freebsd-x11@freebsd.org, FreeBSD Current , FreeBSD PowerPC ML , Debian powerpc Mailinglist Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.23 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, 06 Mar 2017 14:38:53 -0000 Thank you. Just unconditionally disabling AGP in R300 initialization made radeonkms to load successfully. It seems that no tunables for FreeBSD are described instead of MODULE_PARM_DESC and module_param_named. So, I have to learn how to add them to the source code. (/usr/src/sys/dev/drm2/os_freebsd.c seem to help.) Anyway, it worked. thank you. Some problems remain. The virtual screen is larger than the real one and I cannot see the command line I am inputting, and I did not yet test X as there seem to be problems in building them from ports, but that are other things. 2017-03-06 13:03 GMT+09:00 Herminio Hernandez, Jr. : > Per the radeon man page here. However this option has been removed after > 10.2. Under Linux the you set it in yaboot bootloader by using > 'radeon.agpmode=3D-1'. I do not know if this will work in loader.conf > > > > Option "BusType" "string" > Used to replace previous ForcePCIMode option. Should only be > used when driver's bus detection is incorrect or you want to > force an AGP card to PCI mode. You should NEVER force a PCI card > to AGP bus. > PCI -- PCI bus > AGP -- AGP bus > PCIE -- PCI Express bus > (used only when DRI is enabled) > The default is auto detect. > > > > On Sun, Mar 5, 2017 at 3:35 PM, Hiroo Ono (=E5=B0=8F=E9=87=8E=E5=AF=9B=E7= =94=9F) > wrote: >> >> Thank you. I see the point. >> >> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr. >> : >> > Try to force the Radeon driver into PCI mode. Under Linux doing this >> > stops >> > the blank screen and locks. >> >> Could anyone tell me how to do it? Can it be done from FreeBSD? >> I googled a little but could not find anything useful (maybe search >> words were not >> appropriate), so how to do it on Linux helps me also. >> >> pciconf -lc says: >> vgapci0@pci0:0:16:0: class=3D0x30000 card=3D0x41501002 chip=3D0x41501002 >> rev=3D0x00 hdr=3D0x00 >> cap 02[58] =3D AGP v3 8x 4x SBA disabled] >> cap 01[50] =3D powerspec 2 supports D0 D1 D2 D3 current D0 > >