Date: Mon, 6 Mar 2017 23:38:51 +0900 From: =?UTF-8?B?SGlyb28gT25vICjlsI/ph47lr5vnlJ8p?= <hiroo.ono+freebsd@gmail.com> To: "Herminio Hernandez, Jr." <herminio.hernandezjr@gmail.com> Cc: Joe Nosay <superbisquit@gmail.com>, Mark Millard <markmi@dsl-only.net>, Justin Hibbits <jrh29@alumni.cwru.edu>, freebsd-x11@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, Debian powerpc Mailinglist <debian-powerpc@lists.debian.org> Subject: Re: PowerMac G5 and KMS Message-ID: <CANtk6Shu00uUpkv643cEVsBzkshYRF%2BRVd2ruR99Q-7KhT%2BauA@mail.gmail.com> In-Reply-To: <CAJRA9dwLnL26jppLA25sfhHyWgnq0DLbdnn6pqa%2Brt==-WA5jg@mail.gmail.com> References: <CANtk6Sjtox1L32bUs_g5sOXfVSWkHF%2BhbB=CcO6wVxFtXJYsuw@mail.gmail.com> <CAHSQbTDL6_DG3H9%2BAeOaw4qK_5vWRwwNPAk7nJvOESUU0NyN8g@mail.gmail.com> <4EA794E6-D435-4958-853C-5421E03F3B46@dsl-only.net> <CA%2BWntOsmaKNHHsOSekDzqApwhu_2m6fD4yuwuvpSW67AYzGm8g@mail.gmail.com> <FDD317E7-6C33-4FE0-A9CC-EE1CFA0E0524@gmail.com> <CANtk6Si-VMbcksqtY6wAb-8b6OhP4UBGQhzR0KkoFe6%2BLNn4Zw@mail.gmail.com> <CAJRA9dwLnL26jppLA25sfhHyWgnq0DLbdnn6pqa%2Brt==-WA5jg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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. <herminio.hernandezjr@gmail.com>: > 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) > <hiroo.ono+freebsd@gmail.com> wrote: >> >> Thank you. I see the point. >> >> 2017-03-05 17:20 GMT+09:00 Herminio Hernandez Jr. >> <herminio.hernandezjr@gmail.com>: >> > 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 > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANtk6Shu00uUpkv643cEVsBzkshYRF%2BRVd2ruR99Q-7KhT%2BauA>