From owner-freebsd-x11@FreeBSD.ORG Thu Mar 9 04:07:43 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 801DB16A420 for ; Thu, 9 Mar 2006 04:07:43 +0000 (GMT) (envelope-from brian@hyperreal.org) Received: from hyperreal.org (taz3.hyperreal.org [209.237.226.90]) by mx1.FreeBSD.org (Postfix) with SMTP id 4468743D48 for ; Thu, 9 Mar 2006 04:07:43 +0000 (GMT) (envelope-from brian@hyperreal.org) Received: (qmail 67089 invoked from network); 9 Mar 2006 04:07:46 -0000 Received: from localhost.hyperreal.org (HELO paz.hyperreal.org) (127.0.0.1) by localhost.hyperreal.org with SMTP; 9 Mar 2006 04:07:46 -0000 Received: (qmail 18153 invoked by uid 1001); 9 Mar 2006 04:11:13 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 9 Mar 2006 04:11:13 -0000 Date: Wed, 8 Mar 2006 20:11:13 -0800 (PST) From: Brian Behlendorf To: freebsd-x11@freebsd.org Message-ID: <20060308194140.Y7779@paz.hyperreal.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Rating: localhost.hyperreal.org 1.6.2 0/1000/N Subject: xorg 6.9.0, IBM X40/i855GME, no overlay on video out X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 04:07:43 -0000 FreeBSD paz.hyperreal.org 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #7: Wed Mar 8 16:07:39 PST 2006 brian@paz.hyperreal.org:/usr/obj/usr/src/sys/paz i386 With the upgrade to Xorg 6.9.0, it's no longer possible to use mplayer (or vlc, or any other player) to watch movies on the external video and the LCD screen with the same xorg.conf setting. A blue box appears where the video should be, indicating that the X11 overlay isn't being sent. The xorg.conf file I've used since 6.8.x now only shows the video overlay working on the internal LCD screen, not the external video. With 6.8.x it worked fine switching from one to the other using Fn-F7 (I have no desire for Xinerama, and don't really even need both displays on at the same time, though that would be sweet). I've read the man page for the i810 driver, saw that the Options for "MonitorLayout" and "Clone" might affect this behavior, and proceeded to try various options of the two. The closest I came was a setup involving a ServerLayout that had the overlay going to the external video, but not to the internal LCD - which would have required an X restart to flip between, something I'd like to avoid. My 100-monkeys-trying-all-possibilities approach to figuring this out isn't working; at times it's lead to a hung X startup. I figure something changed in the behavior of 6.9.0 that is now more strict about what it parses, so the same xorg.conf led to a regression. My xorg.conf and Xorg.0.log are at http://brian.behlendorf.com/xorg/ Any suggestions? Again, my goal: get X overlay working on both internal LCD and external video without needing to restart X. No Ximerama needed, no simultaneous display needed (Fn-F7 is fine). BTW, it also looked like dri/drm stopped working; not sure if it's a change to the 5.x kernel or xorg that caused it, but I don't get a drm0 in dmesg anymore, just agp0: agp0: port 0x1800-0x1807 mem 0xd0000000-0xd007ffff,0xe0000000-0xe7ffffff irq 11 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M and loading the DRI module fails with xorg: [paz] 8:06pm ~ > fgrep drm /var/log/Xorg.0.log (II) Loading sub module "drm" (II) LoadModule: "drm" (II) Loading /usr/X11R6/lib/modules/freebsd/libdrm.so (II) Module drm: vendor="X.Org Foundation" drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed [drm] failed to load kernel module "i915" (II) I810(0): [drm] drmOpen failed I don't know if it's related, I did all the updates at once, and am pretty sure this wasn't the problem before. This might also be related, from Xorg.0.log: (WW) I810(0): xf86AllocateGARTMemory: allocation of 4 pages failed I did see Anholt's message about i915 support in -CURRENT and the hopeful backport of that to 6.x: http://anholt.livejournal.com/27096.html Just wondering if that would address this; would make it worth taking the leap and trying 6.x on the X40. Brian