From owner-freebsd-current@freebsd.org Sun Mar 5 08:20:54 2017 Return-Path: Delivered-To: freebsd-current@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 EBFEACF7499; Sun, 5 Mar 2017 08:20:54 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: from mail-pf0-x243.google.com (mail-pf0-x243.google.com [IPv6:2607:f8b0:400e:c00::243]) (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 B974E11A1; Sun, 5 Mar 2017 08:20:54 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: by mail-pf0-x243.google.com with SMTP id v190so3446014pfb.0; Sun, 05 Mar 2017 00:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=N4RIRu/czkvZ+U5imVqtuSJMdpCK7j+7XUhwKJ2osmY=; b=ehYC/e3savrGRYu8XDhAo7TNoCngYR27G0Vx2SfLPcjWa678yE49jcDBPZfmm6aDfJ xmsoc50iTTxFJ74CR/ilC9uBRvsi3LYUFqtdvEWd4gXGf3EJhLnJZIMiLSpOoTSuLJ39 aaGfNofoaxQUdQwfD8XlyEWexRMrCNl1vc56sdH+Q/5hx3mONPur2mCYc9Cx8v1jCPwE hdgJAusN0h4aodWKzUkqw6vEI4XlHe7k5ZvYUk306HdZARj61ntDBnsiFdfJR2g4KIre +Ce4tjxUEvzd1S0VwI0J3oaRgsg+ENfMJeBseF07HRw3kd3q6+vhJMIZYtm0bkZOtFPD wwlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=N4RIRu/czkvZ+U5imVqtuSJMdpCK7j+7XUhwKJ2osmY=; b=pRgduuVqSwQ90EOHTdyl5WSNlHxXsx7KADAXukE+q1w1v523UoeUEdak1caU8T46sE wUcJnEojWrjjhmnQTZ65tJrNiDAEqKSfQAcUDgwtibwsMhpunrEMEbhE1RFcejBXs75T S6LgfyhPvfZMbT0V4G9fCjSvMLvMzcUoeCUctYTY2rcLax9i7xdAxoqBxrHy8iKfocHT YKWurUVcHPPm03k3sdGXxp2c6sxtAmgySPC4dzZ60SGVBodzXDrn8b1hzcKyTXJsS5U3 ftPn3HqNj5IKpV1QlVcWCWugWyTXE6UOODK1Y2i7ipLLKsF+uhekY7oS+w/EHkND8Iwn fVIA== X-Gm-Message-State: AMke39lYOejbl0KJVneY6LBNE59Ux4MSTJoymg6nv7k6hiRxlWc8pOUxZe797FEybFkO4g== X-Received: by 10.84.229.2 with SMTP id b2mr17384098plk.154.1488702054118; Sun, 05 Mar 2017 00:20:54 -0800 (PST) Received: from [192.168.255.77] (wsip-24-249-178-180.ph.ph.cox.net. [24.249.178.180]) by smtp.gmail.com with ESMTPSA id b14sm792112pfh.114.2017.03.05.00.20.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 05 Mar 2017 00:20:52 -0800 (PST) Mime-Version: 1.0 (1.0) Subject: Re: PowerMac G5 and KMS From: "Herminio Hernandez Jr. " X-Mailer: iPhone Mail (14D27) In-Reply-To: Date: Sun, 5 Mar 2017 01:20:48 -0700 Cc: Mark Millard , Justin Hibbits , freebsd-x11@freebsd.org, FreeBSD Current , FreeBSD PowerPC ML , hiroo.ono+freebsd@gmail.com, Debian powerpc Mailinglist Message-Id: References: <4EA794E6-D435-4958-853C-5421E03F3B46@dsl-only.net> To: Joe Nosay X-Mailman-Approved-At: Sun, 05 Mar 2017 11:55:04 +0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Mar 2017 08:20:55 -0000 Try to force the Radeon driver into PCI mode. Under Linux doing this stops t= he blank screen and locks.=20 Sent from my iPhone > On Mar 4, 2017, at 11:50 PM, Joe Nosay wrote: >=20 > This will bounce for the ppc list. > As I have stated before: you will need to work with the debian ppc group t= o create the proper drivers. > Since there are people who know how to make the Linux system calls, there s= hould be people that are willing to > work across OS and mailing list lines. > Just don't be stubborn. >=20 >> On Thu, Mar 2, 2017 at 12:34 PM, Mark Millard wrote= : >> On 2017-Mar-2, at 9:37 AM, Justin Hibbits wrot= e: >>=20 >> > On Thu, Mar 2, 2017 at 5:42 AM, Hiroo Ono (=E5=B0=8F=E9=87=8E=E5=AF=9B=E7= =94=9F) >> > wrote: >> >> I recently installed 12-current powerpc64 r313561 to a PowerMac G5 >> >> (it is dual processor, but I do not know its detail). >> >> >> >> When I try to load drm2.ko and radeonkms.ko, >> >> the screen turns into black and recovers, then the system locks. >> >> kldload command does not return, no response to keyboard input, etc. >> >> >> >> Is it possible to use KMS on FreeBSD/powerpc64? >> >> >> >> The log in /var/log/messages is >> >> >> >> after "kldload drm2", >> >> >> >> kernel: info: [drm] Initialized drm 1.1.0 20060810 >> >> >> >> and then, after "kldload radeonkms", >> >> >> >> kernel: iic0: on iicbus0 >> >> kernel: iic1: on iicbus1 >> >> kernel: drmn0: on vgapci0 >> >> kernel: info: [drm] RADEON_IS_AGP >> >> kernel: info: [drm] initializing kernel modesetting (RV350 0x1002:0x41= 50 >> >> 0x1002:0x4150). >> >> kernel: info: [drm] register mmio base: 0x90000000 >> >> kernel: info: [drm] register mmio size: 65536 >> >> kernel: info: [drm] igp_read_bios_from_vram: =3D=3D=3D> Try IGP's VRAM= ... >> >> kernel: info: [drm] igp_read_bios_from_vram: VRAM base address: 0x9800= 0000 >> >> kernel: info: [drm] igp_read_bios_from_vram: Map address: >> >> 0xc000000061412000 (262144 bytes) >> >> kernel: info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature:= >> >> 0x0000 >> >> kernel: info: [drm] radeon_read_bios: =3D=3D=3D> Try PCI Expansion ROM= ... >> >> kernel: info: [drm] radeon_read_bios: Map address: 0xc000000061412000 >> >> (131072 bytes) >> >> kernel: info: [drm] radeon_read_bios: Incorrect BIOS signature: 0x2AFF= >> >> kernel: info: [drm] legacy_read_disabled_bios: =3D=3D=3D> Try disabled= BIOS >> >> (legacy)... >> >> kernel: info: [drm] radeon_read_bios: =3D=3D=3D> Try PCI Expansion ROM= ... >> >> kernel: info: [drm] radeon_read_bios: Map address: 0xc000000061412000 >> >> (131072 bytes) >> >> >> >> As the system locks up here, I have to power it off forcibly. >> > >> > Congratulations (?) you are quite possibly the first person to report >> > even attempting to use radeonkms on powerpc64. Frankly, I'm not >> > surprised that it doesn't work for you. Unfortunately, I don't have a >> > solution, or even a means to track it down. Looking at the log >> > snippet, my first guess is there may need to be a provision added to >> > the driver for non-x86. Do you know what card this is? >> > >> > Adding a couple other lists with people who might have more insight. >> > >> > If it can be made to work, I'd definitely want to get a Radeon card for= my G5(s) >> > >> > - Justin >>=20 >> Back on 2014-Nov-21 I wrote the following in one of my messages on the >> lists on that day: >>=20 >> > FYI: I've been building and trying Jean-S=C3=A9bastien P=C3=A9dron's km= s-drm-update-38 branch when Jean requested (sometimes with patches that Jean= provided). This was to give Jean some (indirect) access to a powerpc64 (Pow= erMac G5) Radeon context for some radeonkms development. (Jean had been hopi= ng to get my card going in that context.) We got to the point that a kldload= for radeonkms did not complain/refuse but the display was then munged up an= d the driver could not find the Video BIOS. The fact that it is a Radeon X19= 50 for the video hardware may make it odder than usual for PowerMac G5 Radeo= ns. But it is the only Radeon that I have access to for G5's. (The card work= s in Mac OS X 10.5.) >>=20 >> (As I remember this was a PowerMac G5 so-called "Quad Core" as the G5 >> context. I do not currently have access to the X1950 card.) >>=20 >> I'm not sure from what I read if things are about the same vs. if things >> are worse now. I do not remember the details from back then, such as >> console vs. X11 that I was not explicit about in the quoted material. >>=20 >> I eventually gave up on using X11 "for a time" --and have not tried again= >> so far. I've no clue about the current status for X11 on PowerMacs of >> any kind --or what I'd need to do to try it for the Radeon X1950 or >> any NVIDIA cards. (Currently an NVIDIA card is installed.) >>=20 >> I will eventually have access to the X1950 again, but not soon. >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >> _______________________________________________ >> freebsd-x11@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-x11 >> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >=20