From owner-freebsd-arm@freebsd.org Mon Jul 13 16:49:07 2015 Return-Path: Delivered-To: freebsd-arm@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 44BA299C857 for ; Mon, 13 Jul 2015 16:49:07 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 23DD019B8 for ; Mon, 13 Jul 2015 16:49:06 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.14.5/8.14.5) with ESMTP id t6DGn5PV006980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 13 Jul 2015 09:49:05 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.14.5/8.14.5/Submit) id t6DGn56p006979; Mon, 13 Jul 2015 09:49:05 -0700 (PDT) (envelope-from jmg) Date: Mon, 13 Jul 2015 09:49:05 -0700 From: John-Mark Gurney To: Svatopluk Kraus Cc: "freebsd-arm@freebsd.org" Subject: Re: Video on BBB detected, but no output.. Message-ID: <20150713164905.GM8523@funkthat.com> References: <20150712195130.GK8523@funkthat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (gold.funkthat.com [127.0.0.1]); Mon, 13 Jul 2015 09:49:05 -0700 (PDT) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jul 2015 16:49:07 -0000 Svatopluk Kraus wrote this message on Mon, Jul 13, 2015 at 00:08 +0200: > On Sun, Jul 12, 2015 at 9:51 PM, John-Mark Gurney wrote: > > I've heard that FreeBSD now supports vidoe on BBB. I decided to try > > that w/ the recent June 25th snap (I thought I d/l'd the July 1st, but > > apparently didn't): > > FreeBSD beaglebone 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r284814: Thu Jun 25 20:55:47 UTC 2015 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/BEAGLEBONE arm > > > > It detects the display properly, but it does not appear to output > > anything to the TV. I cannot select the input as the TV claims that > > there is nothing connected... > > > > Vendor: [SAM] Samsung > > Product: [0B92] SAMSUNG > > [...] > > Number of extension blocks: 1 > > fb0: detected videomode: 1440x900 @ 60KHz > > fbd0 on fb0 > > VT: initialize with new VT driver "fb". > > > > There does appear to be a getty running: > > 607 v0 Is+ 0:00.02 /usr/libexec/getty Pc ttyv0 > > > > Comments? Suggestions? > > Hmm, I did try some gonzo's work-in-progress patches before he > commited them. I had a problem with some monitors because of not to > much robust method how video clocks frequencies are selected. > Fortunatelly, I had another monitor which was able to show video > signal frequencies even if the video output was out of supported > range. Ok, I did try on a proper computer monitor instead of a TV (though I have a feeling lots of people want to use their BBB w/ their TV more than a computer monitor), and it worked... Vendor: [DEL] Dell Product: [A091] DELL U2713H [...] Range: Horizontal: 29 - 113 kHz Vertical: 49 - 86 Hz Max Dot Clock: 280 MHz [...] Preferred mode: 2560x1440 @ 60Hz Number of extension blocks: 1 fb0: detected videomode: 1280x1024 @ 60KHz fbd0 on fb0 VT: initialize with new VT driver "fb". So, looks like the video mode selection needs to be improved some, or my TV is presenting modes that it doesn't support... I'll investigate further... I did notice that none of the 24Hz or 30Hz modes are presented, and I know that at least on MacOSX, they are around.. Also, when I unplug/plug the HDMI cable, I don't see any reprobing of EDID information... > > I will admit that I don't have a keyboard plugged in, but that shouldn't > > cause a problem, should it? > > > > We do need to not call edid_parse unless bootverbose is set so that > > we don't get such verbose output on boot... > > > > We may want to look at passing device_t to edid_print, so that it > > can use device_printf and get the device properly prepended to each > > line too... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."