From owner-freebsd-x11@FreeBSD.ORG Mon Jan 10 03:03:59 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3955106564A for ; Mon, 10 Jan 2011 03:03:59 +0000 (UTC) (envelope-from christos@zoulas.com) Received: from rebar.astron.com (rebar.astron.com [38.117.134.202]) by mx1.freebsd.org (Postfix) with ESMTP id 943BA8FC0A for ; Mon, 10 Jan 2011 03:03:59 +0000 (UTC) Received: by rebar.astron.com (Postfix, from userid 10080) id 8E4D856427; Mon, 10 Jan 2011 02:31:45 +0000 (UTC) From: christos@zoulas.com (Christos Zoulas) Date: Sun, 9 Jan 2011 21:31:45 -0500 Organization: Astron Software X-Mailer: Mail User's Shell (7.2.6 beta(4.pl1)+dynamic 20000103) To: freebsd-x11@freebsd.org Message-Id: <20110110023145.8E4D856427@rebar.astron.com> Subject: fixed intel i830 lut loading code. 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: Mon, 10 Jan 2011 03:03:59 -0000 Hi, I just spent a few hours debugging and fixing the intel driver code that caused the machine to hang while loading the lut. Since the only reference in the net that I could find was freebsd users using the same code, and getting bitten by the same problem, appended you'll find the fix. Enjoy, and remember I am not subscribed to the list. christos Index: i830_display.c =================================================================== RCS file: /cvsroot/xsrc/external/mit/xf86-video-intel/dist/src/i830_display.c,v retrieving revision 1.1.1.2 retrieving revision 1.3 diff -u -r1.1.1.2 -r1.3 --- i830_display.c 9 Jun 2009 02:54:32 -0000 1.1.1.2 +++ i830_display.c 9 Jan 2011 20:25:46 -0000 1.3 @@ -1170,11 +1170,11 @@ OUTREG(dspbase_reg, INREG(dspbase_reg)); } - i830_crtc_load_lut(crtc); - /* Give the overlay scaler a chance to enable if it's on this pipe */ i830_crtc_dpms_video(crtc, TRUE); + i830_crtc_load_lut(crtc); + /* Reenable compression if needed */ if (i830_use_fb_compression(crtc)) i830_enable_fb_compression(crtc); @@ -1936,7 +1936,7 @@ int i; /* The clocks have to be on to load the palette. */ - if (!crtc->enabled) + if (!crtc->enabled || intel_crtc->dpms_mode != DPMSModeOn) return; for (i = 0; i < 256; i++) { From owner-freebsd-x11@FreeBSD.ORG Mon Jan 10 11:07:16 2011 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07F4F10656AE for ; Mon, 10 Jan 2011 11:07:16 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EA3CD8FC1E for ; Mon, 10 Jan 2011 11:07:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0AB7Fkb001952 for ; Mon, 10 Jan 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0AB7FGW001950 for freebsd-x11@FreeBSD.org; Mon, 10 Jan 2011 11:07:15 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 10 Jan 2011 11:07:15 GMT Message-Id: <201101101107.p0AB7FGW001950@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-x11@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-x11@FreeBSD.org 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: Mon, 10 Jan 2011 11:07:16 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/153644 x11 patch for x11/xorg on powerpc needs to also be applied o ports/153593 x11 graphics/dri: clutter segfault, something to do with i o ports/153495 x11 x11-drivers/xf86-video-ati wavy line problem for lenov o ports/153451 x11 [PATCH] graphics/libGL remove mesa-demos as component o ports/153358 x11 x11-drivers/xf86-video-intel: Intel driver freeze with o ports/153120 x11 x11-drivers/xf86-video-ati: Xserver/xdm crashes and fr o ports/152889 x11 [patch] x11-drivers/xorg-drivers default options kill o ports/152564 x11 I have updated x11-drivers/xf86-input-vmmouse to 12.6. o ports/152563 x11 I have updated the x11-drivers/xf86-video-vmware port o ports/152159 x11 [hang] xorg/x11: X11 freezes with Intel Mobile 965 and o ports/151596 x11 x11/xorg: wacom bamboo button 1 no longer works o ports/151373 x11 Please upgrade x11-drivers/xf86-video-neomagic to 1.2. o ports/150633 x11 x11-servers/xorg-server: KVM switching causing X serve o ports/150594 x11 [patch] graphics/dri: add support for ATI Radeon HD 42 o ports/150223 x11 [patch] x11-drivers/xorg-drivers/Makefile refers nonex o ports/150155 x11 x11/xorg hangs after xrandr(1) usage o ports/149743 x11 x11/xorg: garbled window since Xorg-7.5 o ports/149636 x11 x11/xorg: buffer overflow in pci_device_freebsd_read_r o ports/149537 x11 I have updated the x11/pixman port to release 0.18.2 o ports/148744 x11 Add more x11 applications to x11/xorg-apps o ports/148652 x11 x11-drivers/xf86-video-intel support for HM55 o ports/148591 x11 information note for x11-drivers/xf86-input-synaptics o ports/148444 x11 [hang] x11-drivers/xf86-video-intel: intel driver free o ports/148340 x11 x11-drivers/xf86-video-neomagic: unresolved symbol xf8 o ports/148095 x11 Regression / bug in x11-servers/xorg-server o ports/148035 x11 [patch] x11/xdm Fix auth in case of ro /usr o ports/148029 x11 Unable to build graphics/libGL o ports/147646 x11 [PATCH] graphics/libGL: fix linking with newer gcc and o ports/147568 x11 [patch] powerpc64 support for x11-servers/xorg-server o ports/147318 x11 [Patch]graphics/libdrm:Fix the PLIST when define WITHO o ports/147267 x11 PORT graphics/libglut should conflict with graphics/fr o ports/147149 x11 x11/xorg: Xorg 7.5 hangs o ports/147125 x11 x11-servers/xorg-vfbserver missing dependency o ports/146473 x11 keysym names are unavailable to x11/xmodmap after upgr o ports/146460 x11 x11/xorg: crash after upgrade to v7.5 with radeon driv o ports/146364 x11 x11/xeyes does not run, and destroy X o ports/146321 x11 x11/libSM picks the wrong uuid.h o ports/146264 x11 [regression] x11-servers/xorg-server 1.7.5,1 xorg.conf o ports/146256 x11 x11/xorg does fails to start after upgrade from 7.4 to o ports/145658 x11 x11-servers/xephyr: XGetVisualInfo returns multiple XV o ports/145649 x11 x11/xorg: X server crashes when starting opengl compos o ports/145218 x11 x11/xorg and x11/xorg-minimal fail to build on a fresh o ports/144598 x11 Makefile / pkg-plist issue with x11-drivers/xf86-video o ports/144287 x11 [PATCH] graphics/libGL and friends: Fix build with new o ports/142069 x11 x11/xorg: After adding on a laptop Toshiba Sattelite L o ports/141660 x11 x11/xorg: X can't determine amount of video memory on o ports/141386 x11 x11/xorg won't build from ports o ports/141272 x11 x11-drivers/xf86-video-ati and x11-drivers/xf86-video- o ports/141223 x11 x11-drivers/xf86-video-chips needs to be updated to 1. o ports/141145 x11 devel/makedepend: causes problem with openssl & X o ports/141116 x11 [hang] x11/xorg: ATI radeon xorg freezes [regression] o ports/140809 x11 x11/xorg: Xorg 7.4 radeon drm crashes 8.0 o ports/140775 x11 x11/xorg: fatal trap 12 after closing XORG with CTRL-A o ports/140764 x11 x11-drivers/xf86-video-openchrome segfaults with VIA K o ports/140254 x11 x11-drivers/xf86-video-cirrus: Black Screen with Cirru o ports/139011 x11 [patch] Add options to support GLX TLS in x11-servers o ports/137748 x11 x11/xorg: "unprocessed" mouse click results in effecti o ports/137731 x11 [patch] x11-drivers/xf86-input-vmmouse o ports/135276 x11 x11/xorg: GUI running first time only while using Free o ports/134643 x11 [patch] x11-servers/xorg-server - Unbreak Xorg 7.4 ser o ports/134244 x11 x11/xorg: "intel" driver for Xorg is very broken o ports/134132 x11 x11-servers/xorg-server: Intel i845 - xorg.conf with U o ports/134082 x11 x11/xdriinfo: xdriinfo-1.0.2 build fail o ports/133946 x11 x11-servers/xorg-server [patch] X crashes in xinerama o ports/133482 x11 x11/libXext "Generic Event Extension not available" er o ports/133465 x11 x11/xorg: X crashes with mplayer -vo xv with xf86-vide o ports/132621 x11 x11/xorg tries to install event when deselected o ports/132403 x11 x11/xorg with Radeon X600 (R370): cannot re-initialize o ports/131930 x11 [PATCH] x11-servers/xorg-server coredumps on exit o ports/131726 x11 x11-servers/xorg-server: xorg server messes with my eh s kern/130478 x11 [request] Port Linux kernel stub of nouveau to FreeBSD o ports/125883 x11 x11-fonts/xorg-fonts-cyrillic is installed, but fonts o ports/122830 x11 x11/xorg: Error in I830WaitLpRing() o ports/120947 x11 x11/xsm ignores system.xsm and .xsmstartup s ports/117907 x11 x11-servers/mga_hal broken on 7.0-BETA (GLIBC error) 75 problems total. From owner-freebsd-x11@FreeBSD.ORG Tue Jan 11 05:20:09 2011 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 114561065672 for ; Tue, 11 Jan 2011 05:20:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id F28C38FC0C for ; Tue, 11 Jan 2011 05:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p0B5K7mH040907 for ; Tue, 11 Jan 2011 05:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p0B5K76T040905; Tue, 11 Jan 2011 05:20:07 GMT (envelope-from gnats) Date: Tue, 11 Jan 2011 05:20:07 GMT Message-Id: <201101110520.p0B5K76T040905@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Matthew Gibson Cc: Subject: Re: ports/153593: graphics/dri: clutter segfault, something to do with intelCalcViewport call by mesa X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthew Gibson List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jan 2011 05:20:09 -0000 The following reply was made to PR ports/153593; it has been noted by GNATS. From: Matthew Gibson To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/153593: graphics/dri: clutter segfault, something to do with intelCalcViewport call by mesa Date: Mon, 10 Jan 2011 20:43:38 -0800 --00163630fb8d61467804998aba93 Content-Type: text/plain; charset=ISO-8859-1 My test.c looks like the following: #include #include int main(int argc, char *argv[]) { clutter_init(&argc, &argv); ClutterColor stage_color = { 0, 0, 0, 255 }; ClutterActor *stage = clutter_stage_get_default(); clutter_actor_set_size(stage, 512, 512); clutter_stage_set_color(CLUTTER_STAGE(stage), &stage_color); clutter_actor_show(stage); clutter_main(); return EXIT_SUCCESS; } Here is the backtrace with debugging symbols for graphics/clutter, graphics/dri, and graphics/libGL: #gdb test GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... (gdb) r Starting program: /usr/home/matt/ws/clutter/test [New LWP 100366] [New Thread 28c01140 (LWP 100366)] Failed to initialize GEM. Falling back to classic. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 28c01140 (LWP 100366)] 0x28d50858 in intelCalcViewport (ctx=0x28cd0000) at i915_state.c:343 343 m[MAT_SX] = v[MAT_SX]; (gdb) bt #0 0x28d50858 in intelCalcViewport (ctx=0x28cd0000) at i915_state.c:343 #1 0x28d508fd in intelViewport (ctx=0x28cd0000, x=0, y=0, width=1, height=1) at i915_state.c:359 #2 0x28df6798 in _mesa_set_viewport (ctx=0x28cd0000, x=0, y=0, width=1, height=1) at main/matrix.c:608 #3 0x28d9f6cf in _mesa_check_init_viewport (ctx=0x28cd0000, width=1, height=1) at main/context.c:1564 #4 0x28d9f91c in _mesa_make_current (newCtx=0x28cd0000, drawBuffer=0x28c4cc00, readBuffer=0x28c4cc00) at main/context.c:1673 #5 0x28d560a8 in intelMakeCurrent (driContextPriv=0x28c06d00, driDrawPriv=0x28c29470, driReadPriv=0x28c29470) at intel_context.c:898 #6 0x28d26e24 in driBindContext (pcp=0x28c06d00, pdp=0x28c29470, prp=0x28c29470) at ../common/dri_util.c:207 #7 0x2827384e in driBindContext (context=0x28c06ce0, draw=0x28c06e20, read=0x28c06e20) at dri_glx.c:456 #8 0x2823f8ef in MakeContextCurrent (dpy=0x28c57200, draw=58720260, read=58720260, gc=0x28c20d00) at glxcurrent.c:393 #9 0x281a496a in clutter_backend_glx_create_context (backend=0x28c0d850, error=0xbfbfe8c0) at clutter-backend-glx.c:640 #10 0x280e49bb in _clutter_backend_create_context (backend=0x28c0d850, error=0xbfbfe8c0) at ./clutter-backend.c:365 #11 0x28104f6f in _clutter_feature_init (error=0xbfbfe8c0) at ./clutter-feature.c:106 #12 0x28112b17 in clutter_init_real (error=0xbfbfe8c0) at ./clutter-main.c:1616 #13 0x28112fed in post_parse_hook (context=0x28c08910, group=0x28c2b140, data=0x0, error=0xbfbfe8c0) at ./clutter-main.c:1837 #14 0x286aafb1 in g_option_context_parse () from /usr/local/lib/libglib-2.0.so.0 #15 0x2811332f in clutter_parse_args (argc=0xbfbfe950, argv=0xbfbfe954) at ./clutter-main.c:2067 #16 0x281133ec in clutter_init (argc=0xbfbfe950, argv=0xbfbfe954) at ./clutter-main.c:2120 #17 0x080488a0 in main () (gdb) p v[0] Error accessing memory address 0x3f000000: Bad address. (gdb) p m[0] $1 = 1 (gdb) --00163630fb8d61467804998aba93 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable My test.c looks like the following:

#include <cl= utter/clutter.h>
#include <stdlib.h>

int main(int argc, char *argv[]) {
=A0=A0 =A0clutter_init(&= amp;argc, &argv);

=A0=A0 =A0ClutterColor stage_color =3D { 0, 0, 0, 255 }= ;

=A0=A0 =A0ClutterActor *stage =3D clutter_stage_= get_default();
=A0=A0 =A0clutter_actor_set_size(stage, 512, 512);=
=A0=A0 =A0clutter_stage_set_color(CLUTTER_STAGE(stage), &sta= ge_color);
=A0=A0 =A0clutter_actor_show(stage);

=A0=A0 = =A0clutter_main();

=A0=A0 =A0return EXIT_SUCCESS;<= /div>
}

Here is the backtrace with debug= ging symbols for graphics/clutter, graphics/dri, and graphics/libGL:

#gdb test
GNU gdb 6.1.1 [FreeBSD]
<= div>Copyright 2004 Free Software Foundation, Inc.
GDB is free sof= tware, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition= s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. =A0Type "show warranty"= for details.
This GDB was configured as "i386-marcel-freebsd"...(no debug= ging symbols found)...
(gdb) r
Starting program: /usr/h= ome/matt/ws/clutter/test=A0
[New LWP 100366]
[New Threa= d 28c01140 (LWP 100366)]
Failed to initialize GEM. =A0Falling back to classic.

Program received signal SIGSEGV, Segmentation fault.
[Sw= itching to Thread 28c01140 (LWP 100366)]
0x28d50858 in intelCalcV= iewport (ctx=3D0x28cd0000) at i915_state.c:343
343 = =A0 m[MAT_SX] =3D v[MAT_SX];
(gdb) bt
#0 =A00x28d50858 = in intelCalcViewport (ctx=3D0x28cd0000) at i915_state.c:343
#1 = =A00x28d508fd in intelViewport (ctx=3D0x28cd0000, x=3D0, y=3D0, width=3D1, = height=3D1) at i915_state.c:359
#2 =A00x28df6798 in _mesa_set_viewport (ctx=3D0x28cd0000, x=3D0, y=3D0= , width=3D1, height=3D1) at main/matrix.c:608
#3 =A00x28d9f6cf in= _mesa_check_init_viewport (ctx=3D0x28cd0000, width=3D1, height=3D1) at mai= n/context.c:1564
#4 =A00x28d9f91c in _mesa_make_current (newCtx=3D0x28cd0000, drawBuffe= r=3D0x28c4cc00, readBuffer=3D0x28c4cc00) at main/context.c:1673
#= 5 =A00x28d560a8 in intelMakeCurrent (driContextPriv=3D0x28c06d00, driDrawPr= iv=3D0x28c29470, driReadPriv=3D0x28c29470)
=A0=A0 =A0at intel_context.c:898
#6 =A00x28d26e24 in driBind= Context (pcp=3D0x28c06d00, pdp=3D0x28c29470, prp=3D0x28c29470) at ../common= /dri_util.c:207
#7 =A00x2827384e in driBindContext (context=3D0x2= 8c06ce0, draw=3D0x28c06e20, read=3D0x28c06e20) at dri_glx.c:456
#8 =A00x2823f8ef in MakeContextCurrent (dpy=3D0x28c57200, draw=3D58720= 260, read=3D58720260, gc=3D0x28c20d00) at glxcurrent.c:393
#9 =A0= 0x281a496a in clutter_backend_glx_create_context (backend=3D0x28c0d850, err= or=3D0xbfbfe8c0) at clutter-backend-glx.c:640
#10 0x280e49bb in _clutter_backend_create_context (backend=3D0x28c0d85= 0, error=3D0xbfbfe8c0) at ./clutter-backend.c:365
#11 0x28104f6f = in _clutter_feature_init (error=3D0xbfbfe8c0) at ./clutter-feature.c:106
#12 0x28112b17 in clutter_init_real (error=3D0xbfbfe8c0) at ./clutter-= main.c:1616
#13 0x28112fed in post_parse_hook (context=3D0x28c089= 10, group=3D0x28c2b140, data=3D0x0, error=3D0xbfbfe8c0) at ./clutter-main.c= :1837
#14 0x286aafb1 in g_option_context_parse () from /usr/local/lib/libgli= b-2.0.so.0
#15 0x2811332f in clutter_parse_args (argc=3D0xbfbfe95= 0, argv=3D0xbfbfe954) at ./clutter-main.c:2067
#16 0x281133ec in = clutter_init (argc=3D0xbfbfe950, argv=3D0xbfbfe954) at ./clutter-main.c:212= 0
#17 0x080488a0 in main ()
(gdb) p v[0]
=
Error accessing memory address 0x3f000000: Bad address.
(gdb= ) p m[0]
$1 =3D 1
(gdb)
--00163630fb8d61467804998aba93-- From owner-freebsd-x11@FreeBSD.ORG Tue Jan 11 18:21:41 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 597CD106564A for ; Tue, 11 Jan 2011 18:21:41 +0000 (UTC) (envelope-from markiyan.kushnir@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1E2258FC13 for ; Tue, 11 Jan 2011 18:21:40 +0000 (UTC) Received: by iyb26 with SMTP id 26so19777785iyb.13 for ; Tue, 11 Jan 2011 10:21:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=rT9pp0QFSBL6qWQALv5+Z3fntGoQ8vP4Pak/x4Vy/48=; b=E24Nys5NAssKxc98vPbSiIQaPipancjJgp9FJ6Ouht09c3ADq8xIKU+/34xBEcHCCQ LJc7v56JtxZFD/ezbQKiNXpL6c28iq5O0EEPhNxiazDWPXipbQCAaZEbk/chtmry53nW IdIDoWno/T3PX9nw9VyoKVb+3OyrQ/nGCZI6k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=kKWajL4xLG7RrWBvGuZ1tvV4Paa5kt45rZlsPkpW8LAWhFgoNU9pMteQIg/bVuLWDt HRQjF7XM3ODOgaEjTQmfiLGWkHOz0zv5nznhszyE9cD5/knFkLeZfWFgCclCZuEIGXQI ByEilY1i8M7EDNYuHBC8do7T7L1+DCOUewp8o= MIME-Version: 1.0 Received: by 10.231.199.10 with SMTP id eq10mr30307375ibb.112.1294770100357; Tue, 11 Jan 2011 10:21:40 -0800 (PST) Received: by 10.231.147.131 with HTTP; Tue, 11 Jan 2011 10:21:39 -0800 (PST) In-Reply-To: References: Date: Tue, 11 Jan 2011 20:21:39 +0200 Message-ID: From: Markiyan Kushnir To: freebsd-x11 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ATI Radeon HD 4350 (RV710) on ASUS P5K Deluxe/WiFi-AP hang at Xorg startup. 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: Tue, 11 Jan 2011 18:21:41 -0000 Switched to NVIDIA GeForce 8600 GT (G84). Direct rendering appears to work using the NVIDIA-FreeBSD-x86-260.19.29 driver (the latest from the NVidia at the moment), as well as with that from the ports, currently 256.53. DRI does not work with the xf86-video-nv 2.1.17. Markiyan. 2011/1/5 Markiyan Kushnir : > 2011/1/5, Mehmet Erol Sanliturk : >> On Tue, Jan 4, 2011 at 6:55 PM, Markiyan Kushnir >> wrote: >> >>> Another DRI-related freeze ... >>> >>> ATI Radeon HD 4350 (RV710) on ASUS P5K Deluxe hangs at the >>> startup of the Xorg with DRI enabled. Hard freeze, the Power Button >>> does not bring the system down. I could only use the Reset Button. >>> >>> % uname -a >>> FreeBSD localhost.test 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Mon >>> Jan =A03 17:29:21 EET 2011 >>> root@localhost.test:/usr/obj/usr/src/sys/MAREK =A0i386 >>> >>> An older Radeon R200 on an Intel 945PRN worked OK running the same Free= BSD >>> release. This older Radeon, when plugged in the ASUS P5K, hits the same >>> hard freeze (I actually moved the hard drive and the video card from >>> that Intel 945PRM to the ASUS P5K). >>> >>> This ASUS board has two PCI-E alots, so I tried a different slot, >>> no success. As another exercise, I forced a separate IRQ to the video >>> card using "hw.pci0.2.0.INTA.irq=3D3" loader tunable (based on the >>> $PIR table). With this separate irq, still no luck, not sure if I shoul= d >>> try it at all, since the card gets an MSI any way. >>> >>> I also tried a trick with forcing the libthr.so.3 linking into the Xorg >>> binary, discussed a year ago at: >>> >>> =A0http://lists.freebsd.org/pipermail/freebsd-x11/2010-February/009362.= html >>> >>> I built the xorg-server with the HAL support, no luck. >>> >>> As a side note, each test of the Xorg was done on a newly started-up >>> system, >>> that is no previous "successful" X session took place. >>> >>> Since no Xorg.log.0 in such cases was normally available, I have collec= ted >>> output from /var/log/messages. Because of the "hw.dri.0.debug: 1", the >>> output is quite huge, here are a couple of cases: >>> >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/1= 960.tgz >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/1= 991.tgz >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/3= 238.tgz >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/3= 239.tgz >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/3= 249.tgz >>> >>> Additional info: >>> >>> % devinfo -rv: >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/d= evinfo-rv.tgz >>> >>> % pciconf -lvc >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/p= ciconf-lvc.tgz >>> >>> The output of dmesg: >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/d= mesg.tgz >>> >>> The Xorg configuration: >>> >>> http://sites.google.com/site/markiyankushnir/radeon-dri-freebsd-files/x= org.conf.tgz >>> >>> I am aware that some video card + motherboard ensembles have issues >>> like this one, so I am curious if anyone could suggest a hint. >>> >>> Thanks, >>> Markiyan. >>> >> >> >> There is the following list : >> >> http://www.asus.com/websites/global/aboutasus/OS/Linux.pdf >> >> The mother board P5K Deluxe does not appear in that list . It means that= it >> is not tested and listed for Linux ( which is an indicator about usabili= ty >> by Unix like operating systems ) . >> >> >> Also there is no any such name among =A0=A8All products=A8 list about Ma= in boards >> : >> >> >> http://www.asus.com/AllProducts.aspx?PG_ID=3DmKyCKlQ4oSEtSu5m >> >> >> The following board ( if your board is exactly that one ) >> P5K Deluxe/WiFi-AP( exact match of names is very important ) is for only= XP >> and Vista : >> >> http://www.asus.com/product.aspx?P_ID=3D0e9NyGEDLjtBRtyB >> >> > > You are right, the board is P5K Deluxe/WiFi-AP. I have updated the > subject with the full name. > > >> If name of your board is exactly >> >> P5K Deluxe >> these are different from each other ( in the sense that , if one is work= ing >> with a Unix-like operating system , it does not make a guaranty that the >> other will work ( Please see the above Linux.pdf list and products in Al= l >> Products list for similar sounding names )) . >> >> >> It could not be possible to see your dmesg because access to >> sites.google.com is prohibited in Turkey . >> > > Sorry, didn't know of it. I am attaching dmesg, and others with this mail= . > >> >> To test your main board , you may install one of the Linux ( =A0Asus is = using >> Ubuntu , RedHat , SuSe , Fedora ) distributions . If it works well , thi= s >> may mean that FreeBSD >> related driver(s) has(have) problems . >> >> > > I bought this board from my friend. He was successfully running Linux > on it, including Xorg + DRI. So looks like it's an issue with the > FreeBSD handling this board? > > I have just got an idea to try an NVIDIA card with this motherboard. > Will let you know if it works. > >> My expectation is that FreeBSD or any Linux will NOT work satisfactorily= on >> that board >> because it is mainly produced for Windows means some circuits are not >> suitable for Unix-like operating systems . It may work for a while but i= t is >> very likely that , at some point it will crash ( from my personal experi= ence >> from another board ). >> >> > > I also have the same feeling, but cannot certainly tell. I don't know > which details to give to help fix it. From the message logs (all they > are kernel-side) it's clear that some initial step went OK, and in all > cases the last message before the hanging is > > =A0[drm:pid1960:drm_ioctl] pid=3D1960, cmd=3D0x800c6459, nr=3D0x59, dev > 0x86f0a880, auth=3D1 > > The ioctl number (0x59, vendor specific) is defined as > DRM_RADEON_SETPARAM in the xorg ati driver's =A0radeon_drm.h. This ioctl > is called in several places to set GART parameters, tiling, etc... in > the driver code. =A0Looks like an attempt to set some video card > parameter makes the system freeze. I don't know which point is it in > the overall initialization path. I think I could trace it, if needed. > > >> It is not clear from you message that whether FreeBSD is installed in th= at >> board , or an installed hard disk in another board is moved to that boar= d . >> If previously installed hard disk moved without new install in the new m= ain >> board ( I think , this is not the case ), it will surely not work . >> >> > > Here I am not so sure on this point, since I widely use this approach. > I have a home file server, which runs OK both on a removable system > drive, which I prepared on a different system, or, if needed, it runs > on a network-mounted system drive, that is completely without its own > system drive. > > In the case being discussed here, only couple of things is needed: > adjust the names of FreeBSD slices in the /etc/fstab file, unless they > were previously labeled with glabel, and "position independent" labels > are used; names of network interfaces in the /etc/rc.conf[.local] -- > all this is pretty obvious in FreeBSD. > > Before posting to the list, I also made a clean install on the system > without any hardware manipulation, and ran several attempts, so I am > pretty sure, the drive should not be an issue here. > > >> ( If the above links do not work , please access directly to Asus site a= nd >> follow links in their pages . ) >> >> > > Thank you for your suggestion, I will explore the possibility to try > different motherboard (and different video card). I will also think of > finding a way to fix the problem on the P5K Deluxe/WiFi-AP. I am also > considering to post to freebsd-hardware@ and freebsd-drivers@ ... > >> Thank you very much . >> >> Mehmet Erol Sanliturk >> > From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 09:19:27 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4990106564A for ; Wed, 12 Jan 2011 09:19:27 +0000 (UTC) (envelope-from nh@tisys.org) Received: from s15373095.onlinehome-server.info (s15373095.onlinehome-server.info [87.106.45.78]) by mx1.freebsd.org (Postfix) with ESMTP id 447358FC1D for ; Wed, 12 Jan 2011 09:19:26 +0000 (UTC) Received: from Spooler by s15373095.onlinehome-server.info (Mercury/32 v4.72) ID MO000ECE; 12 Jan 2011 10:19:27 +0100 Received: from spooler by luwug.de (Mercury/32 v4.72); 12 Jan 2011 09:49:03 +0100 Received: from Nemesis (87.193.143.230) by s15373095.onlinehome-server.info (Mercury/32 v4.72) with ESMTP ID MG000ECD; 12 Jan 2011 09:48:56 +0100 Message-ID: From: "Nils Holland" To: Date: Wed, 12 Jan 2011 09:48:55 +0100 Organization: Ti Systems MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 Cc: Subject: Hybrid Graphics 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: Wed, 12 Jan 2011 09:19:27 -0000 Hi folks, well ... modern technology! In the past, machines traditionally had one GPU and that one GPU actually tended to work. These days, "modern" machines have two GPUs and neither of them works. That's progress the way I like it! ;-) What I'm talking about is, of course, "hybrid graphics", marketted for example under the name "nVidia Optimus Technology". In my specific case, I have an ASUS Laptop here that has Intel-integrated graphics on its processor (an Intel Core i5), as well as a dedicated nVidia GPU (GT335 or something, I don't remember for sure as I'm currently at work and can't look this up). In text mode, FreeBSD works fine on this machine, but trying to set up X11, I was facing several problems. For one thing, the Intel X11 drivers the ports collection installed by default (2.7 if I remember correctly) don't seem to support the Intel GPU at all. I saw that there is also a newer version of the Intel drivers (2.9) in the ports, which - according to the IGNORE line in the Makefile - doesn't seem like I'm supposed to use it, but I installed it any way. These drivers at least recognize my Intel GPU. And as far as the nVidia GPU is concerned, the nVidia drivers also recognize that one just well. Now trouble begins: "Xorg -configure" creates me a suggested config file that properly recognizes and lists both GPUs and seems to want to set them up in a multihead manner. That is not really what I want (and doesn't seem to work anyway), as I only have one sole laptop screen that I would like to get to work. So I changed the suggested xorg.conf into a traditional singlehead setup, either specifying the Intel GPU (by means of the "intel" driver) of the nVidia GPU (by means of the "nv" driver) as the only card to be used. The result is, basically, disappointing: X starts, the Xor logfile actually contains stuff that looks "good", but unfortunately, I only end up with a completely blank laptop screen (in the sense that the backlight of the screen is on, but otherwise the screen is totally black). None of the keys that would normally get you "out of X" (back to a console) or kill X seem to work. The machine itself, however, seems to continue to operate - it would more than likely have been possible to SSH into it and reboot it, but as I lacked that possibility, I just killed power and restarted. Again, this "blank screen and no way out" phenomenon happens both when trying to put the Intel GPU to use, as well as when trying to put the nVidia GPU to use, via an accordingly set up xorg.conf. Long story, short question: Has anyone been confronted with this before and probably can also offer a solution / workaround / fix? If not, is someone already looking at the issue of trying to make "hybrid graphics" work properly under FreeBSD, and could maybe use some help in that process? If not, I would probably pick up the stick and spend the next few days and weeks trying to figure out what I can do to actually "see" something. I've already organized myself, for testing purposes, a second such "hybrid graphics" machine (also labelled "nVidia Optimus", but featuring graphics integrated into an Intel Atom CPU as well as a "dedicated" nVidia ION GPU). A short search on the web (at 2 am last night, so not too exhaustive) suggest that the Linux folks also seem to have their share of difficulties with such "hybrid graphics" setup, but they seem to at least have this working experimentally via some ACPI hacks that select the proper GPU to be "connected" to the one physical screen. I would, if there's not yet a solution or work already in progress, do some more thorough research and then see what I can do about it. Greetings, Nils From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 09:33:10 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70577106564A for ; Wed, 12 Jan 2011 09:33:10 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E7A8F8FC13 for ; Wed, 12 Jan 2011 09:33:09 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p0C9VkTf021924 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 12 Jan 2011 09:33:05 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p0C9VkTf021924 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1294824785; bh=W8CHCrUN8WLrfSb5GX6BoQE0Ap3oWUbX/RAbiKT3Sa4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D2D74FA.2070900@infracaninophile.co.uk>|Date:=20W ed,=2012=20Jan=202011=2009:31:38=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20Nils=20Holland=20|CC:=20x11@freebsd.org|Sub ject:=20Re:=20Hybrid=20Graphics|References:=20|In-Reply-To:=20|X-Enigmail-Version:=201.1.1|Content-Type:=20multipa rt/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"applicatio n/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigCEC46CB7B4 8FF7F40AF48B29"; b=ZuinQJeBZfZMuJbK3I774xEc92LPk+xayGtRK1OaNOsCvONi0Lh2mbORbiVMJAdCL H1InvDLbcVCUAjo36ljiWpqx+xWua2lHoJHeAlKqqpOJMy+ORg4H4umipWoaT8CvC+ 9DTDW5Qro7tMDOLuCA7hHJamPuSClnX4ka0FQNdk= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4D2D74FA.2070900@infracaninophile.co.uk> Date: Wed, 12 Jan 2011 09:31:38 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Nils Holland References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigCEC46CB7B48FF7F40AF48B29" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: x11@freebsd.org Subject: Re: Hybrid Graphics 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: Wed, 12 Jan 2011 09:33:10 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCEC46CB7B48FF7F40AF48B29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 12/01/2011 08:48, Nils Holland wrote: > The result is, basically, disappointing: X starts, the Xor logfile > actually contains stuff that looks "good", but unfortunately, I only en= d > up with a completely blank laptop screen (in the sense that the > backlight of the screen is on, but otherwise the screen is totally blac= k). Recent versions of X11 behave in this way to indicate that the display is working correctly. Yes, it's pretty daft and hard to distinguish from various failure modes. There's a switch you can apply to make it revert to the legacy gray patterned screen. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigCEC46CB7B48FF7F40AF48B29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk0tdQEACgkQ8Mjk52CukIxFwwCeK7Pwe8jeKgrqUvUgRlbQtaCB OS8AnjgmNzPvdhMKR7EdyhYsOLjUAAaP =aHUR -----END PGP SIGNATURE----- --------------enigCEC46CB7B48FF7F40AF48B29-- From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 10:29:58 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E606D106564A for ; Wed, 12 Jan 2011 10:29:58 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from megatron.madpilot.net (megatron.madpilot.net [88.149.173.206]) by mx1.freebsd.org (Postfix) with ESMTP id 40D4F8FC0C for ; Wed, 12 Jan 2011 10:29:58 +0000 (UTC) Received: from megatron.madpilot.net (localhost [127.0.0.1]) by megatron.madpilot.net (Postfix) with ESMTP id 346A613D6; Wed, 12 Jan 2011 11:10:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received; s=mail; t=1294827015; x= 1296641415; bh=0V5co0nFNiCt8TnBE1+1JCJkxN/NUebyaHmuq8oh3rE=; b=g QI8iHwVMq8hcUqoVphTfxUnLVRD2k480Mkp7ACqf3jLH0WioQ07QxFjKDcFM8uTC 5P4jiRjUOVFslWs2N6HGqFQ+aVvSY2jkPwVujqXvFJzD9ZuVIw3VKgJ9ixmmc+hI yI1RpvZYN4Pu+Z1XtS4Dg7LSq0vRwDHfcwHwlpjLJM= X-Virus-Scanned: amavisd-new at madpilot.net Received: from megatron.madpilot.net ([127.0.0.1]) by megatron.madpilot.net (megatron.madpilot.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Fem-w1+gN2j1; Wed, 12 Jan 2011 11:10:15 +0100 (CET) Received: by megatron.madpilot.net (Postfix, from userid 1000) id 283B413CB; Wed, 12 Jan 2011 11:10:15 +0100 (CET) Date: Wed, 12 Jan 2011 11:10:15 +0100 From: Guido Falsi To: Matthew Seaman Message-ID: <20110112101014.GB19533@megatron.madpilot.net> References: <4D2D74FA.2070900@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D2D74FA.2070900@infracaninophile.co.uk> X-Operating-System: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: x11@freebsd.org Subject: Re: Hybrid Graphics 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: Wed, 12 Jan 2011 10:29:59 -0000 On Wed, Jan 12, 2011 at 09:31:38AM +0000, Matthew Seaman wrote: > On 12/01/2011 08:48, Nils Holland wrote: > > The result is, basically, disappointing: X starts, the Xor logfile > > actually contains stuff that looks "good", but unfortunately, I only end > > up with a completely blank laptop screen (in the sense that the > > backlight of the screen is on, but otherwise the screen is totally black). > > Recent versions of X11 behave in this way to indicate that the display > is working correctly. Yes, it's pretty daft and hard to distinguish > from various failure modes. There's a switch you can apply to make it > revert to the legacy gray patterned screen. Perhaps a pointer to some documentation could be appreciated. This is explained in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html -- Guido Falsi From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 10:40:10 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87243106566B for ; Wed, 12 Jan 2011 10:40:10 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0F5DD8FC0C for ; Wed, 12 Jan 2011 10:40:09 +0000 (UTC) Received: by bwz12 with SMTP id 12so367724bwz.13 for ; Wed, 12 Jan 2011 02:40:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=S4BARxx4b+LrFWq1qO4Wl50Vfx78JgMmOfcVsuvw+jc=; b=pOzetfgUmKkcXas49mmRW212IB/5hcMHCb/JIMMhpYgCDffTs1T+hiLkwNlvZPsNPx +d+PbZ4mjzPbgkWNV3XP/xyp5DFd8UQavBonsJhFZ5w7jAMct89eIaMf4ZIRHtPIyPmK lQLIqAkU9ukJk3nkP/s2BQCQ2wQLDp1KckHYQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=I5HTmUY30uRdb6+LguyL3HgHyO+ZsbFw673aYEz/9ge+C1Q6KWc5reyRUDods0/67M jtAoK/wFCSm9czsTKdpzYaLzhVaFJiYVXjJB6pH5oFuFISq6iRD1/zxIzyXKLatm5XKu Rgr7ODfr0DlhkOwokh6cfET7OQ39mRcd3Eb3M= Received: by 10.204.45.223 with SMTP id g31mr591101bkf.107.1294828808853; Wed, 12 Jan 2011 02:40:08 -0800 (PST) Received: from ernst.jennejohn.org (p578E1E3A.dip.t-dialin.net [87.142.30.58]) by mx.google.com with ESMTPS id v1sm256440bkt.17.2011.01.12.02.40.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 12 Jan 2011 02:40:07 -0800 (PST) Date: Wed, 12 Jan 2011 11:40:05 +0100 From: Gary Jennejohn To: Matthew Seaman Message-ID: <20110112114005.744be974@ernst.jennejohn.org> In-Reply-To: <4D2D74FA.2070900@infracaninophile.co.uk> References: <4D2D74FA.2070900@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org Subject: Re: Hybrid Graphics X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 10:40:10 -0000 On Wed, 12 Jan 2011 09:31:38 +0000 Matthew Seaman wrote: > On 12/01/2011 08:48, Nils Holland wrote: > > The result is, basically, disappointing: X starts, the Xor logfile > > actually contains stuff that looks "good", but unfortunately, I only end > > up with a completely blank laptop screen (in the sense that the > > backlight of the screen is on, but otherwise the screen is totally black). > > Recent versions of X11 behave in this way to indicate that the display > is working correctly. Yes, it's pretty daft and hard to distinguish > from various failure modes. There's a switch you can apply to make it > revert to the legacy gray patterned screen. > Xorg -retro -- Gary Jennejohn From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 11:52:57 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 871AE1065670 for ; Wed, 12 Jan 2011 11:52:57 +0000 (UTC) (envelope-from nh@tisys.org) Received: from s15373095.onlinehome-server.info (s15373095.onlinehome-server.info [87.106.45.78]) by mx1.freebsd.org (Postfix) with ESMTP id 18C9E8FC0A for ; Wed, 12 Jan 2011 11:52:56 +0000 (UTC) Received: from Spooler by s15373095.onlinehome-server.info (Mercury/32 v4.72) ID MO000F37; 12 Jan 2011 12:52:57 +0100 Received: from spooler by luwug.de (Mercury/32 v4.72); 12 Jan 2011 12:52:25 +0100 Received: from Nemesis (87.193.143.230) by s15373095.onlinehome-server.info (Mercury/32 v4.72) with ESMTP ID MG000F36; 12 Jan 2011 12:52:23 +0100 Message-ID: <772538D35B334BD9B5DD3B8E0B9359FE@Nemesis> From: "Nils Holland" To: , "Matthew Seaman" References: <4D2D74FA.2070900@infracaninophile.co.uk> <20110112114005.744be974@ernst.jennejohn.org> In-Reply-To: <20110112114005.744be974@ernst.jennejohn.org> Date: Wed, 12 Jan 2011 12:52:22 +0100 Organization: Ti Systems MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 Cc: x11@freebsd.org Subject: Re: Hybrid Graphics 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: Wed, 12 Jan 2011 11:52:57 -0000 -----Ursprüngliche Nachricht----- From: Gary Jennejohn Sent: Wednesday, January 12, 2011 11:40 AM To: Matthew Seaman Cc: Nils Holland ; x11@freebsd.org Subject: Re: Hybrid Graphics On Wed, 12 Jan 2011 09:31:38 +0000 Matthew Seaman wrote: > On 12/01/2011 08:48, Nils Holland wrote: > > The result is, basically, disappointing: X starts, the Xor logfile > > actually contains stuff that looks "good", but unfortunately, I only end > > up with a completely blank laptop screen (in the sense that the > > backlight of the screen is on, but otherwise the screen is totally > > black). > > Recent versions of X11 behave in this way to indicate that the display > is working correctly. Yes, it's pretty daft and hard to distinguish > from various failure modes. There's a switch you can apply to make it > revert to the legacy gray patterned screen. > Xorg -retro Yep, I've actually read that section of the handbook and am aware of the "-retro" option to Xorg (which I tried, but the same "blank screen" thing happened). Unfortunately, I believe that what I'm seeing are actual technical difficulties due to the "strange" way in which this hybrid graphics stuff works. This theory is strengthened by the following observations: 1) Upon "Xorg -config -retro" I get the blank screen phenomen, virtual console switching doesn't work any longer, nor does Ctrl + Alt + Backspace to kill X. Also, "blindly" switching to a different console and "blindly" trying to reboot doesn't work either. 2) I've read reports on the web of Linux folks for whom at least one of the two GPUs would work out of the box, but trying to manually use the other one via an appropriate xorg.config resulted in exactly the same "blank screen and no way out" behavior. It seems that something has to be "switched" somehow hardware-wise to make stuff work correctly, but again: I just had a few hours late last night and can only say that stuff wouldn't work the "canonical" way I've used numerous times to set up X. ;-) I'm going to look into it some more tonight and will keep the list posted, as it really seems to be a problems that everyone having a machine with hybrid graphics / nVidia Optimus Technology would face. On the other hand, if someone has such a machine and can confirm that it works properly, I'm totally willing to admit that I'm obviously just too stupid. ;-) Greetings, Nils From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 16:37:55 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA0AA106564A for ; Wed, 12 Jan 2011 16:37:55 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9CC6D8FC18 for ; Wed, 12 Jan 2011 16:37:55 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p0CG7JKF087969; Wed, 12 Jan 2011 09:07:19 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p0CG7JI1087966; Wed, 12 Jan 2011 09:07:19 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 12 Jan 2011 09:07:19 -0700 (MST) From: Warren Block To: Nils Holland In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Wed, 12 Jan 2011 09:07:19 -0700 (MST) Cc: x11@freebsd.org Subject: Re: Hybrid Graphics 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: Wed, 12 Jan 2011 16:37:55 -0000 On Wed, 12 Jan 2011, Nils Holland wrote: > What I'm talking about is, of course, "hybrid graphics", marketted for > example under the name "nVidia Optimus Technology". In my specific case, I > have an ASUS Laptop here that has Intel-integrated graphics on its processor > (an Intel Core i5), as well as a dedicated nVidia GPU (GT335 or something, I > don't remember for sure as I'm currently at work and can't look this up). http://forums.freebsd.org/showthread.php?t=20664&highlight=optimus From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 17:15:03 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B4A01065693 for ; Wed, 12 Jan 2011 17:15:03 +0000 (UTC) (envelope-from nh@tisys.org) Received: from s15373095.onlinehome-server.info (s15373095.onlinehome-server.info [87.106.45.78]) by mx1.freebsd.org (Postfix) with ESMTP id E1D5B8FC15 for ; Wed, 12 Jan 2011 17:15:02 +0000 (UTC) Received: from Spooler by s15373095.onlinehome-server.info (Mercury/32 v4.72) ID MO001027; 12 Jan 2011 18:15:03 +0100 Received: from spooler by luwug.de (Mercury/32 v4.72); 12 Jan 2011 18:14:39 +0100 Received: from Nemesis (87.193.143.230) by s15373095.onlinehome-server.info (Mercury/32 v4.72) with ESMTP ID MG001026; 12 Jan 2011 18:14:38 +0100 Message-ID: <31749598BC704BD68393DF110800B90A@Nemesis> From: "Nils Holland" To: "Warren Block" References: In-Reply-To: Date: Wed, 12 Jan 2011 18:14:37 +0100 Organization: Ti Systems MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3508.1109 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3508.1109 Cc: x11@freebsd.org Subject: Re: Hybrid Graphics 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: Wed, 12 Jan 2011 17:15:03 -0000 Warren Block wrote: > http://forums.freebsd.org/showthread.php?t=20664&highlight=optimus Great, so I'm not the only one! ;-) I guess both of the GPUs I have in the machine would work fine by themselves (they do under X11 under Linux, don't know about acceleration, because I don't care too much about it). Furthermore, I've noticed that the Linux folks have actually created a "linux-hybridgraphics" mailing list which deals exactly with the problems I'm seeing, but (of course) from a Linux standpoint. It seems that under Linux, at least one GPU works out of the box, and that they have experimental code for switching between GPUs at runtime (presumably while X11 isn't running, don't know). I'm going to see and try what I can learn and do to enable this kind of behavior under FreeBSD. Not that I'm the biggest kernel hacker, but I'm hoping that this issue is easy enough for me. ;-) Greetings, Nils From owner-freebsd-x11@FreeBSD.ORG Wed Jan 12 18:48:50 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AAAED106566C for ; Wed, 12 Jan 2011 18:48:50 +0000 (UTC) (envelope-from s-tlk@s-tlk.org) Received: from mail.s-tlk.org (s-tlk.org [178.63.70.119]) by mx1.freebsd.org (Postfix) with ESMTP id 70A078FC12 for ; Wed, 12 Jan 2011 18:48:50 +0000 (UTC) Received: from s-tlk.pride.land (xdsl-89-0-71-31.netcologne.de [89.0.71.31]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.s-tlk.org (Postfix) with ESMTPSA id ED2E6AE0A81 for ; Wed, 12 Jan 2011 19:29:48 +0100 (CET) Message-ID: <4D2DF2E5.5070801@s-tlk.org> Date: Wed, 12 Jan 2011 19:28:53 +0100 From: Michael Schnell User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100719 Thunderbird/3.0.5 MIME-Version: 1.0 To: x11@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Hybrid Graphics X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: s-tlk@s-tlk.org List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jan 2011 18:48:50 -0000 On 01/12/11 09:48, Nils Holland wrote: > Long story, short question: Has anyone been confronted with this before > and probably can also offer a solution / workaround / fix? I had the same problem, but with a Lenovo T410. First it was possible to simply switch off Optimus and choose one graphic card manually. This worked great with the nvidia driver, but after a BIOS update the options vanished. In the end I try different things then and the only one that seems to work was to install the newest nvidia driver from their homepage and select the graphic card with the BusID option in the xorg.conf file. So far it's working great with high performance, as usual with the nvidia driver, on FreeBSD 8.2-RC1 amd64. One drawback is the increasing power consumption, but still it runs more than 4 hours. Michael From owner-freebsd-x11@FreeBSD.ORG Thu Jan 13 01:34:08 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C0821065673 for ; Thu, 13 Jan 2011 01:34:08 +0000 (UTC) (envelope-from nh@tisys.org) Received: from s15373095.onlinehome-server.info (s15373095.onlinehome-server.info [87.106.45.78]) by mx1.freebsd.org (Postfix) with ESMTP id F22548FC08 for ; Thu, 13 Jan 2011 01:34:07 +0000 (UTC) Received: from Spooler by s15373095.onlinehome-server.info (Mercury/32 v4.72) ID MO001169; 13 Jan 2011 02:34:08 +0100 Received: from spooler by luwug.de (Mercury/32 v4.72); 13 Jan 2011 02:34:02 +0100 Received: from hp (88.70.28.39) by s15373095.onlinehome-server.info (Mercury/32 v4.72) with ESMTP ID MG001168; 13 Jan 2011 02:34:01 +0100 Date: Thu, 13 Jan 2011 02:33:54 +0100 (CET) From: Nils Holland To: s-tlk@s-tlk.org Message-ID: User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: x11@freebsd.org Subject: Re: Hybrdid Graphics 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, 13 Jan 2011 01:34:08 -0000 Michael Schnell wrote: > In the end I try different things then and the only one that seems to > work was to install the newest nvidia driver from their homepage and > select the graphic card with the BusID option in the xorg.conf file. > So far it's working great with high performance, as usual with the > nvidia driver, on FreeBSD 8.2-RC1 amd64. One drawback is the > increasing > power consumption, but still it runs more than 4 hours. Hi Michael, good suggestion, I tried the "official" nVidia driver and it would, unfortunately, just plainly reset my whole system (no panic, just a complete reset) when trying to start X. ;-) But in other news, my latest research results: 1) The "nv" driver, before leaving my screen in an "unrsponsive" (but indeed ssh-reachable state) seems to start up normally, but then complains about: "NV(0): Failed to determine the amount of available video memory" I'm unsure, but when I look at this: https://github.com/mkottman/acpi_call then it seems entirely possible that this dedicated card first has to be enabled by means of some ACPI call before it can be used. So...: 2) I shifted my focus on the "intel" GPU and driver instead. That one seems to be active at boot by default, I've tried it with Linux: The Intel GPU on my machine is no problem there, but the nVidia thing makes headaches too. So, like I said, I focussed on the Intel GPU and found the following: http://forums.freebsd.org/showthread.php?t=15686 which in turn links to: http://www.dragonflybsd.org/docs/developer/GEMdrmKMS/ Quote: "It is especially vital for Linux drm GEM, TTM, KMS code to be ported immediately to the BSDs because developers are in the process of removing userland modesetting code from current graphics drivers." And indeed, now I remember something: The "default" Intel X11 drivers that the ports collection wanted to install (xf-video-intel) didn't yet know my specific Intel GPU and thus wouldn't recognize it. So I installed "xf86-video-intel29", which had a IGNORE line stating "Waiting for GEM", which I did just override. So I guess I can try as long as I want to, I won't have too much success until this stuff is actually ported to FreeBSD so that "xf-video-intel29" (or a subsequent version) is actually usable. Question: I'm on 8-STABLE currently, if I switched my machine to -CURRENT for a moment, would I already find enough GEM / KMS stuff in there that I would at least have a remote chance to get my card to work and could probably even provide input / testing for the porting process? Or is the GEM / KMS stuff so far away that I should better stay away from it for the time being? Greetings, Nils From owner-freebsd-x11@FreeBSD.ORG Thu Jan 13 18:48:05 2011 Return-Path: Delivered-To: x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CBA0106564A for ; Thu, 13 Jan 2011 18:48:05 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id E15DE8FC12 for ; Thu, 13 Jan 2011 18:48:04 +0000 (UTC) Received: by fxm16 with SMTP id 16so2078369fxm.13 for ; Thu, 13 Jan 2011 10:48:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:x-mailer:mime-version:content-type :content-transfer-encoding; bh=NP7cMWsBHOHKEknBE68LOdR7tdONKUpV4/yGluLrTKM=; b=muMOs1+VdpNK06fF/sLj5cgOn/QFOBhxC4RsS/WCq6T5+IeKSSRehrf6NaQZ0ON7IL B28v/DAItierzFs1X7Eu8favmH6gC4gIRKWygZEgnJzGfCEPagnJ2Z/BAE1XNLrfbE5G uIH2T5Ugj3UFYPe6AwPco+/ArwikKX0eZJHLg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; b=pg5zh4vqNJZlj7TNiOaQ1rDYRKpH5At4YTp3mpb9ufGocFhrM0GozNCU9hfbFDQLm8 MTzC6fxNI6NY7HKsh/B2NLlo917R2NeMOwpe969RQGLqJGOSASpUu18zYCWaKyYvP9y2 PLjeafFct4UTGoHR3/j3hiTJhbIHbENO3eg9c= Received: by 10.223.70.138 with SMTP id d10mr972230faj.145.1294944483560; Thu, 13 Jan 2011 10:48:03 -0800 (PST) Received: from ernst.jennejohn.org (p578E307E.dip.t-dialin.net [87.142.48.126]) by mx.google.com with ESMTPS id n15sm176791fam.12.2011.01.13.10.48.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 13 Jan 2011 10:48:02 -0800 (PST) Date: Thu, 13 Jan 2011 19:48:00 +0100 From: Gary Jennejohn To: Nils Holland Message-ID: <20110113194800.3f766b4e@ernst.jennejohn.org> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8 (GTK+ 2.18.7; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org Subject: Re: Hybrdid Graphics X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jan 2011 18:48:05 -0000 On Thu, 13 Jan 2011 02:33:54 +0100 (CET) Nils Holland wrote: [snip everything but the question] > Question: I'm on 8-STABLE currently, if I switched my machine to > -CURRENT for a moment, would I already find enough GEM / KMS stuff in > there that I would at least have a remote chance to get my card to work > and could probably even provide input / testing for the porting process? > Or is the GEM / KMS stuff so far away that I should better stay away > from it for the time being? > No. Yes. Take a look at this (among others) http://forums.freebsd.org/showthread.php?t=19510 -- Gary Jennejohn From owner-freebsd-x11@FreeBSD.ORG Sat Jan 15 19:58:41 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CD64106566B for ; Sat, 15 Jan 2011 19:58:41 +0000 (UTC) (envelope-from super_bisquit@yahoo.com) Received: from nm12-vm0.bullet.mail.sp2.yahoo.com (nm12-vm0.bullet.mail.sp2.yahoo.com [98.139.91.242]) by mx1.freebsd.org (Postfix) with SMTP id EC0778FC18 for ; Sat, 15 Jan 2011 19:58:40 +0000 (UTC) Received: from [98.139.91.70] by nm12.bullet.mail.sp2.yahoo.com with NNFMP; 15 Jan 2011 19:58:40 -0000 Received: from [98.139.91.6] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 15 Jan 2011 19:58:40 -0000 Received: from [127.0.0.1] by omp1006.mail.sp2.yahoo.com with NNFMP; 15 Jan 2011 19:58:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 507038.55639.bm@omp1006.mail.sp2.yahoo.com Received: (qmail 2301 invoked by uid 60001); 15 Jan 2011 19:58:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1295121519; bh=uLC2R/keAYFQ6CS1m35OWtpQeecsxw/N/srBRlSgxuI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=xOrkaQ5CU2HVp7WVTDOddVPbp8Ur6kyDTXUHQTTqXklsjmhyEvLpVu1/EU+DEL4bgQDrW/yoruAMiA+W6NGwlBsALviAGfcQM/W7vK/ZjW7rmbXRj9mOevgxhagmAL8alcFPsDpVsen9vV1o0NMFMDVrz+kmGIs5x6kGjFkdus4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=F+iOcNnmsHljanpZvbH3kEcIvyNrAYa7sRRJ+aIU/xZE/eWpxA4XwUXKHK9ueysWh8jB04xf4BaTriJzy0rdEiFmhRRcPqZa6+G9EaW1iQEBH6lKVCAsQfihtK9L065aspt4uaOGXnwle4q5FmBRvJMrLwNDtdZS4ToC7lVjdts=; Message-ID: <891036.1339.qm@web110111.mail.gq1.yahoo.com> X-YMail-OSG: 3TkhYl0VM1k_iDvQOdoiEJJou0TiN8R9prVxp2HhwCEue6p eJcN1V_Iiz1_rstYZ4L4efIDLFS6e7p_WrcuQIRAQUJU_VddxNm6FJvREuDH uJ1F6ojNKZURoVE8vkB2Gq8CQWTUEr7lE.M0SXcMadedAuDqAVifrfKQ.9Bj r0tX7M4C5pW52TI.CVrtDJ_TWpdGB5SbUrFHJ.xlDnjnwi.a2tKHQvOR7uCC cX7JgK4x0WGAVKvQTk.KPSJtgcgBLe8oEZJaImyd_qyo_yDDYOBsvfiChjTh Zdqs0yK8pptgTnc8thl3GzyE8R5BqDzLzvI9wrQ7F3wn_xjUD Received: from [98.192.248.217] by web110111.mail.gq1.yahoo.com via HTTP; Sat, 15 Jan 2011 11:58:39 PST X-Mailer: YahooMailClassic/11.4.20 YahooMailWebService/0.8.107.285259 Date: Sat, 15 Jan 2011 11:58:39 -0800 (PST) From: Super Biscuit To: freebsd-x11@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 15 Jan 2011 20:27:42 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Xorg fails to start. Monitor non-responsive. 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: Sat, 15 Jan 2011 19:58:41 -0000 http://slexy.org/view/s2078nSAKh xorg.conf.new http://slexy.org/view/s2Sg2tnIuV=A0 Verbose logging from today. http://slexy.org/view/s2114QIYkL Earlier logfile. If anyone is using the same equipment, please let me know. The video card i= s a Radeon 200 QW AGP 4X. =0A=0A=0A From owner-freebsd-x11@FreeBSD.ORG Sat Jan 15 21:35:53 2011 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA7ED106566C for ; Sat, 15 Jan 2011 21:35:53 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id AA01F8FC19 for ; Sat, 15 Jan 2011 21:35:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p0FLZqMZ017618 for ; Sat, 15 Jan 2011 14:35:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p0FLZqhf017615; Sat, 15 Jan 2011 14:35:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sat, 15 Jan 2011 14:35:52 -0700 (MST) From: Warren Block To: Super Biscuit In-Reply-To: <891036.1339.qm@web110111.mail.gq1.yahoo.com> Message-ID: References: <891036.1339.qm@web110111.mail.gq1.yahoo.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1653024310-1295127352=:17554" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (wonkity.com [127.0.0.1]); Sat, 15 Jan 2011 14:35:52 -0700 (MST) Cc: freebsd-x11@freebsd.org Subject: Re: Xorg fails to start. Monitor non-responsive. 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: Sat, 15 Jan 2011 21:35:54 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1653024310-1295127352=:17554 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 15 Jan 2011, Super Biscuit wrote: > http://slexy.org/view/s2078nSAKh xorg.conf.new > http://slexy.org/view/s2Sg2tnIuV  Verbose logging from today. > http://slexy.org/view/s2114QIYkL Earlier logfile. > > If anyone is using the same equipment, please let me know. The video card is a Radeon 200 QW AGP 4X. It's a 9-month-old snapshot of 9-current running on powerpc. You don't mention what changed between when it worked and when it stopped working. The logs differ between adding the mouse and keyboard drivers. Lose the AllowEmptyInput setting. It's bad. http://www.wonkity.com/~wblock/docs/html/aei.html Use Option "AutoAddDevices" "Off" if required, not AEI. ---902635197-1653024310-1295127352=:17554--