From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 3 04:12:32 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31F92106566C; Sun, 3 Oct 2010 04:12:32 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id C451D8FC12; Sun, 3 Oct 2010 04:12:31 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id 4366D12543B; Sun, 3 Oct 2010 13:12:30 +0900 (JST) Date: Sun, 3 Oct 2010 13:12:30 +0900 From: Daichi GOTO To: "Sean C. Farley" Message-Id: <20101003131230.7738dc59.daichi@freebsd.org> In-Reply-To: References: <20101001122540.3eeed81b.daichi@freebsd.org> Organization: FreeBSD Project X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2010 04:12:32 -0000 > > I did test to check 2D acceleration effect with this patch, and 2D > > benchmarks shows about the same index. No effect appears. I want to > > know that this 2D acceleration feature works for what and thats effect > > actually. Someone has any ideas? > > Did you install the guest additions experimental drivers to support 3D? Yeah. I have tried to install guest addition twice to test with 3D support and without 3D support. And both cases are the same result. No effect appears. And FreeBSD VirtualBox looks like not to support 3D feature yet. > What graphics hardware do you use? I have an Nvidia 8800 GTS. I do not % dmesg | grep -i nvidia nvidia0: on vgapci0 % > know how well this option works for other hardware. Also, what type of > acceleration are you using for your X driver (check % cat /var/log/Xorg.0.log | grep -i nvidia (--) PCI:*(0:1:0:0) 10de:0393:0000:0000 nVidia Corporation G73 [GeForce 7300 GT] rev 161, Mem @ 0xfa000000/16777216, 0xe0000000/268435456, 0xfb000000/16777216, I/O @ 0x0000ef00/128, BIOS @ 0x????????/65536 (II) Module glx: vendor="NVIDIA Corporation" (II) NVIDIA GLX Module 195.36.15 Fri Mar 12 08:46:30 posix/SystemV/PST 2010 (II) LoadModule: "nvidia" (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so (II) Module nvidia: vendor="NVIDIA Corporation" (II) NVIDIA dlloader X Driver 195.36.15 Fri Mar 12 08:49:20 posix/SystemV/PST 2010 (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32 (==) NVIDIA(0): RGB weight 888 (==) NVIDIA(0): Default visual is TrueColor (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) (**) Oct 02 13:24:54 NVIDIA(0): Enabling RENDER acceleration (II) Oct 02 13:24:54 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is (II) Oct 02 13:24:54 NVIDIA(0): enabled. (II) Oct 02 13:24:55 NVIDIA(0): NVIDIA GPU GeForce 7300 GT (G73) at PCI:1:0:0 (GPU-0) (--) Oct 02 13:24:55 NVIDIA(0): Memory: 262144 kBytes (--) Oct 02 13:24:55 NVIDIA(0): VideoBIOS: 05.73.22.51.00 (II) Oct 02 13:24:55 NVIDIA(0): Detected PCI Express Link width: 16X (--) Oct 02 13:24:55 NVIDIA(0): Interlaced video modes are supported on this GPU (--) Oct 02 13:24:55 NVIDIA(0): Connected display device(s) on GeForce 7300 GT at PCI:1:0:0: (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0) (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): 330.0 MHz maximum pixel clock (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): Internal Dual Link TMDS (II) Oct 02 13:24:55 NVIDIA(0): Assigned Display Device: DFP-0 (II) Oct 02 13:24:55 NVIDIA(0): Validated modes: (II) Oct 02 13:24:55 NVIDIA(0): "1920x1080" (II) Oct 02 13:24:55 NVIDIA(0): Virtual screen size determined to be 1920 x 1080 (--) Oct 02 13:24:55 NVIDIA(0): DPI set to (92, 91); computed from "UseEdidDpi" X config (--) Oct 02 13:24:55 NVIDIA(0): option (==) Oct 02 13:24:55 NVIDIA(0): Enabling 32-bit ARGB GLX visuals. (II) Oct 02 13:24:55 NVIDIA(0): Initialized GPU GART. (II) Oct 02 13:24:55 NVIDIA(0): Setting mode "1920x1080" (II) Oct 02 13:24:56 NVIDIA(0): Initialized OpenGL Acceleration (==) NVIDIA(0): Disabling shared memory pixmaps (II) Oct 02 13:24:56 NVIDIA(0): Initialized X Rendering Acceleration (==) NVIDIA(0): Backing store disabled (==) NVIDIA(0): Silken mouse enabled (**) NVIDIA(0): DPMS enabled % > /var/log/Xorg.0.log). EXA may be required over XAA. At least, some > type of acceleration is needed. How did you setup your xorg.conf? or nvidia-settings?? I don't know how to setup to use EXA instead of XAA. The 'Option "AccelMethod" "EXA"' are affected for intel and radeon driver, not for nvidia. > I am new to this option, so that is all I can surmise. > > Sean > -- > scf@FreeBSD.org -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-emulation@FreeBSD.ORG Sun Oct 3 13:03:15 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D299106566C for ; Sun, 3 Oct 2010 13:03:15 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CB4E18FC18 for ; Sun, 3 Oct 2010 13:03:14 +0000 (UTC) Received: by wyb29 with SMTP id 29so3259415wyb.13 for ; Sun, 03 Oct 2010 06:03:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=6trzhFcpMJVznin/7Cfe4Ybu8LhUV9IAsP6FPbJUDTY=; b=qbxwX6nr7Xrk0v/2+6ZazyXbzmDpoYYPjc4R05xArRDHUG4kuknkploiv/NzdGAkaR ZP0R5BmRi92TBJJInw14QheBUetfa/p3m1E/2Uzp/GIkGSqchjf01PIKlvCIckUNqXQV 2Xqw1mg3z3byhBKVe96r4FGca8cuLjkrQa+jQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=x81SOCduq5hxLOu+YDlnwozwb7LnnbP9hRMv6nzdwH9omriFGkKBymGva/Xjh40Wfh /cJ5/JRt93QiGEAwIX3Oz6xPKmcL+AWGWyx4FvAFQJnBRBb2pS5YfnN8So6UG2fkQY9z 90N2TdIkM3fxpIVlgiTJ8rVcRyh7IU4qC7RjU= Received: by 10.227.7.131 with SMTP id d3mr6741318wbd.83.1286109673773; Sun, 03 Oct 2010 05:41:13 -0700 (PDT) Received: from dragon.dg (41-132-24-134.dsl.mweb.co.za [41.132.24.134]) by mx.google.com with ESMTPS id g9sm3079263wbh.13.2010.10.03.05.41.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 03 Oct 2010 05:41:13 -0700 (PDT) From: David Naylor To: Fernando =?iso-8859-1?q?Apestegu=EDa?= Date: Sun, 3 Oct 2010 14:41:00 +0200 User-Agent: KMail/1.13.5 (FreeBSD/9.0-CURRENT; KDE/4.5.1; amd64; ; ) References: <20101002152513.21351.qmail@ssr.com> <4CA7574E.5070003@swa.org.ru> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7393514.iJAAW7jTdC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201010031441.04213.naylor.b.david@gmail.com> Cc: freebsd-emulation@freebsd.org, Sergey Nikolenko Subject: Re: Wine on amd64? X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2010 13:03:15 -0000 --nextPart7393514.iJAAW7jTdC Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Saturday 02 October 2010 19:27:54 Fernando Apestegu=EDa wrote: > On Sat, Oct 2, 2010 at 6:01 PM, Sergey Nikolenko wrote: > > On 02.10.2010 21:25, Scott Ballantyne wrote: > >> Hi there, > >>=20 > >> I'm interested in trying wine. I use the FBSD-8.1 amd64 platform. I > >> found some emails from January 2010 that imply you need to build this > >> on i386, but I have no access to an i386 machine, and there is no wine > >> in the amd64 packages. > >>=20 > >> Can anyone update me on the status of Wine for amd64, and perhaps help > >> me find a pre-compiled version? > >=20 > > Take a look at this: > >=20 > > http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435= b6 > > d http://people.freebsd.org/~ivoras/wine/ >=20 > For what it is worth, I tried the precompiled provided by Ivan Voras > to run mainly Spotify and it works like a charm. There are updated packages at http://drop.io/wine_fbsd64 . I will be updat= ing=20 the packages to 1.3.4 over the next few days. =20 Regards --nextPart7393514.iJAAW7jTdC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEABECAAYFAkyoeeAACgkQUaaFgP9pFrLY5wCfWGB2zb1MDNfcsoAEsFHss/PI IxkAniWgkT9h20G/PFewWCdN/wqBK4yt =CCpF -----END PGP SIGNATURE----- --nextPart7393514.iJAAW7jTdC-- From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 4 08:07:41 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2ECC1065696 for ; Mon, 4 Oct 2010 08:07:41 +0000 (UTC) (envelope-from giovanni.trematerra@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3B55B8FC20 for ; Mon, 4 Oct 2010 08:07:40 +0000 (UTC) Received: by wyb29 with SMTP id 29so3887641wyb.13 for ; Mon, 04 Oct 2010 01:07:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=3A9DZKncomfiK4Fb54Gsa0QeZJwKeS9XMdkM4n/13u4=; b=G6SKSyP5WGlVloD4Y9G83iOPr/nd3Y1ba4WquVQ0mRe4wpUh3/BsgeIFrNzzwmrvcp +mDTOG1+/Zr4vugOkuDlGqYTpa99q42j8qM+DmXVrTPNUuJc0/q91bXHwbskPK/ndH9j 6uw11Ckkrb9fwoq26TsDTweuiQ7yTV/BnTagE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=UoxN36C7LplkifaHPrZcUbIKpA+gBqpjhINo94s07ej3VvsgRWQcB60oOeHu0JatjD RVCEBAahOnwgzd9ljQSwnxPYCqd+RTiLeh7lcMvZxqiofT9btudX7szAn5k8VMKN1T3M USyH0TJQDZcUZzgFlPZflmxlRi2QjXpsOZlDw= MIME-Version: 1.0 Received: by 10.227.156.67 with SMTP id v3mr7174669wbw.147.1286177800246; Mon, 04 Oct 2010 00:36:40 -0700 (PDT) Sender: giovanni.trematerra@gmail.com Received: by 10.227.144.203 with HTTP; Mon, 4 Oct 2010 00:36:40 -0700 (PDT) Date: Mon, 4 Oct 2010 09:36:40 +0200 X-Google-Sender-Auth: CPrx2wXgriJQFXxsSKa3gFk8uL0 Message-ID: From: Giovanni Trematerra To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [PATCH] panic on boot with QEMU and multiple cpu emulated X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 08:07:41 -0000 Qemu 0.11.1 installed from port with -CURRENT as host, emulating 8 CPU on a 8-way box makes my FreeBSD -CURRENT guest kernel, panic with this bt at boot: panic: sched_priority: invalid priority 230: nice 0, ticks 2289712 ftick 353 ltick 1363 tick pri 50 cpuid = 7 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a kdb_backtrace() at kdb_backtrace+0x37 panic() at panic+0x182 sched_priority() at sched_priority+0x1f8 sched_clock() at sched_clock+0x136 statclock() at statclock+0xc6 handleevents() at handleevents+0xda timercb() at timercb+0x1cb lapic_handle_timer() at lapic_handle_timer+0xb2 Xtimerint() at Xtimerint+0x8d The panic is due a KASSERT in sched_priority (sched_ule.c) KASSERT(pri >= PRI_MIN_TIMESHARE && pri <= PRI_MAX_TIMESHARE, ("sched_priority: invalid priority %d: nice %d, " "ticks %d ftick %d ltick %d tick pri %d", pri, td->td_proc->p_nice, td->td_sched->ts_ticks, td->td_sched->ts_ftick, td->td_sched->ts_ltick, SCHED_PRI_TICKS(td->td_sched))); ts->ts_ticks is higher than what you could expect. I figured out that sched_tick is being passed a huge number of ticks elapsed for the cpu at startup by hardclock_anycpu (kern_clock.c). I assume that QEMU is not doing a proper job of distributing run-time amongst cores. My hack, below, will assure that we won't be running for more than 5s solid, if we have a huge number of ticks in input to sched_tick, which is something that ULE can still handle. I don't think it's worth to have the hack into the tree for now. I'm just posting it FYI. -- Gianni diff -r d16464301129 sys/kern/kern_clock.c --- a/sys/kern/kern_clock.c Thu Sep 23 11:56:35 2010 -0400 +++ b/sys/kern/kern_clock.c Sun Oct 03 17:53:39 2010 -0400 @@ -525,7 +525,7 @@ hardclock_anycpu(int cnt, int usermode) PROC_SUNLOCK(p); } thread_lock(td); - sched_tick(cnt); + sched_tick((cnt < (hz*10)/2) ? cnt : (hz*10)/2); td->td_flags |= flags; thread_unlock(td); From owner-freebsd-emulation@FreeBSD.ORG Mon Oct 4 11:06:55 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47FB5106564A for ; Mon, 4 Oct 2010 11:06:55 +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 1BD6D8FC24 for ; Mon, 4 Oct 2010 11:06:55 +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 o94B6s0i065803 for ; Mon, 4 Oct 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o94B6soB065801 for freebsd-emulation@FreeBSD.org; Mon, 4 Oct 2010 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 4 Oct 2010 11:06:54 GMT Message-Id: <201010041106.o94B6soB065801@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 11:06:55 -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 -------------------------------------------------------------------------------- a kern/150186 emulation [parallels] [panic] Parallels Desktop: CDROM disconnec o kern/149168 emulation [linux] [patch] Linux sendmsg / recvmsg / etc fixes fo o ports/148097 emulation [patch] suggested addition to linux_base-* packages to o ports/148096 emulation emulators/linux_base-* can not be built from ports on o kern/147793 emulation [vmware] [panic] cdrom handling, panic, possible race o kern/146726 emulation [linux] Linux InstallJammer fails to execute on 8-STAB o kern/146237 emulation [linux] Linux binaries not reading directories mounted o kern/145024 emulation [linux] [panic] kernel crash by linux.ko module with n f kern/144763 emulation [linux] [panic] Kernel panic when start linux binaries o ports/142837 emulation [patch] emulators/linux_base-* packages fails to insta o kern/140156 emulation [linux] cdparanoia fails to read drive data f kern/138944 emulation [parallels] [regression] Parallels no longer works in o kern/138880 emulation [linux] munmap segfaults after linux_mmap2 stresstest f ports/137332 emulation add caution messages to some adobe products s ports/136321 emulation x11-toolkits/linux-pango: please update linux based po o ports/135337 emulation [PATCH] emulators/linux_base-f10: incorrect bash usage s kern/133144 emulation [linux] linuxulator 2.6 crashes with nvidias libGL.so. o kern/129169 emulation [linux] [patch] Linux Emulation ENOTCONN error using n o kern/126232 emulation [linux] Linux ioctl TCGETS (0x5401) always fails f kern/99068 emulation [linux] [patch] Linux emulator crashed by java, when c o kern/86619 emulation [linux] linux emulator interacts oddly with cp o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/41543 emulation [patch] [request] easier wine/w23 support o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/36952 emulation [patch] [linux] ldd(1) command of linux does not work o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 28 problems total. From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 17:40:04 2010 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 745C21065670 for ; Thu, 7 Oct 2010 17:40:04 +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 627558FC23 for ; Thu, 7 Oct 2010 17:40:04 +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 o97He4xn095395 for ; Thu, 7 Oct 2010 17:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o97He43o095394; Thu, 7 Oct 2010 17:40:04 GMT (envelope-from gnats) Date: Thu, 7 Oct 2010 17:40:04 GMT Message-Id: <201010071740.o97He43o095394@freefall.freebsd.org> To: freebsd-emulation@FreeBSD.org From: "Charlie Clark" Cc: Subject: Re: i386/138944: Cannot update to FreeBSD 8 Beta from FreeBSD 7 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Charlie Clark List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 17:40:04 -0000 The following reply was made to PR kern/138944; it has been noted by GNATS. From: "Charlie Clark" To: FreeBSD-gnats-submit@freebsd.org, freebsd-i386@freebsd.org Cc: Subject: Re: i386/138944: Cannot update to FreeBSD 8 Beta from FreeBSD 7 Date: Thu, 07 Oct 2010 16:51:34 +0200 Am 18.09.2009, 20:40 Uhr, schrieb : > http://www.freebsd.org/cgi/query-pr.cgi?pr=138944 Following up my previous post - there seems to be a bug in the way a DHCP lease is obtained at startup. This *always* times out but I have no problems if I run dhcpclient as soon as the system is up. Charlie Clark -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 18:59:51 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5D84C106566B; Thu, 7 Oct 2010 18:59:50 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id EDF0C8FC0A; Thu, 7 Oct 2010 18:59:49 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o97IxmUR084055; Thu, 7 Oct 2010 13:59:48 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 7 Oct 2010 13:59:48 -0500 (CDT) From: "Sean C. Farley" To: Daichi GOTO In-Reply-To: <20101003131230.7738dc59.daichi@freebsd.org> Message-ID: References: <20101001122540.3eeed81b.daichi@freebsd.org> <20101003131230.7738dc59.daichi@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 18:59:51 -0000 On Sun, 3 Oct 2010, Daichi GOTO wrote: >>> I did test to check 2D acceleration effect with this patch, and 2D >>> benchmarks shows about the same index. No effect appears. I want to >>> know that this 2D acceleration feature works for what and thats >>> effect actually. Someone has any ideas? >> >> Did you install the guest additions experimental drivers to support >> 3D? > > Yeah. I have tried to install guest addition twice to test with 3D > support and without 3D support. And both cases are the same result. No > effect appears. > > And FreeBSD VirtualBox looks like not to support 3D feature yet. This is what you should see if everything is supported from VirtualBox's standpoint: # VBoxTestOGL --test 2D --test 3D --log vboxtest.log # grep Testing vboxtest.log 00:00:00.001 Testing 3D Support: 00:00:00.040 Testing 3D Succeeded! 00:00:00.040 Testing 2D Support: 00:00:00.065 Testing 2D Succeeded! >> What graphics hardware do you use? I have an Nvidia 8800 GTS. I do >> not > > % dmesg | grep -i nvidia > nvidia0: on vgapci0 > % > >> know how well this option works for other hardware. Also, what type >> of acceleration are you using for your X driver (check > % cat /var/log/Xorg.0.log | grep -i nvidia Mine (http://people.freebsd.org/~scf/Xorg.0.log) is mostly the same except I have this: (II) Oct 06 10:21:03 NVIDIA: Reserving 768.00 MB of virtual memory for indirect memory (II) Oct 06 10:21:03 NVIDIA: access. Also, I edited the x11/nvidia-driver port to use v256.53 of the driver. It is the first truly supported FreeBSD amd64 driver from nvidia. > How did you setup your xorg.conf? or nvidia-settings?? My xorg.conf: http://people.freebsd.org/~scf/xorg.conf You can ignore the Non-HAL and mouse stuff. > I don't know how to setup to use EXA instead of XAA. > The 'Option "AccelMethod" "EXA"' are affected for intel and radeon > driver, not for nvidia. True. Ignore my comment on that. Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 19:02:19 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35A9B106564A for ; Thu, 7 Oct 2010 19:02:19 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id C4B208FC14 for ; Thu, 7 Oct 2010 19:02:18 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o97J2GPw084159 for ; Thu, 7 Oct 2010 14:02:16 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 7 Oct 2010 14:02:16 -0500 (CDT) From: "Sean C. Farley" To: freebsd-emulation@FreeBSD.org In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="56599777-1892919478-1286478136=:3952" X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 19:02:19 -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. --56599777-1892919478-1286478136=:3952 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Fri, 1 Oct 2010, Dmitry Pryanishnikov wrote: > Hello! > > 2010/9/30 Sean C. Farley : >>>> apparent regressions.  I tested this with the Nvidia driver, and it >>>> shows improvement within the VM.  I do not know how other drivers >>>> will work.  EXA may be required over XAA. >> >> Just remember to check "Enable 2D Video Acceleration" in the >> configuration of the VM in question. > > I've just rebuilt the VirtualBox, package version is > virtualbox-ose-3.2.8_1 now. However, when I select my WinXP guest in > the VirtualBox GUI -> Settings -> Display, I see that "Enable 3D > Acceleration" checkbox is selectable, but "Enable 2D Video > Acceleration" one is inactive! I use 8.1-STABLE/amd64 with ATI RV370 > [Radeon X300SE] video adapter, X.Org X Server 1.7.5, video driver > "radeon", direct rendering enabled, "AccelMethod" is "EXA". > What else should I check in order to verify why the "Enable 2D Video > Acceleration" option is inactive? Run VBoxTestOGL and check the log's output: VBoxTestOGL --test 2D --test 3D --log vboxtest.log It may show something. Before the patch, --help did not show --test 2D as a valid option. Sean -- scf@FreeBSD.org --56599777-1892919478-1286478136=:3952-- From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 19:13:09 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83ACF1065674 for ; Thu, 7 Oct 2010 19:13:09 +0000 (UTC) (envelope-from amvandemore@gmail.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 E553B8FC0C for ; Thu, 7 Oct 2010 19:13:08 +0000 (UTC) Received: by fxm9 with SMTP id 9so186340fxm.13 for ; Thu, 07 Oct 2010 12:13:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ARoc2UO1g/sotNNRrS2mRv9Gty7fZ40oUTg205Vqye0=; b=pnamGiPh8JMvIiHpguqElQw0R+pxEo63zeuiiRriPps40f2sAM1tXTKRbA64CuBwUe BFARhfEsG9/DtzXybGDPSNx+Q4pnyTk1Fnt5RdsIqMl0uPVGWq5XlSemC5PGcEGuuT5L xWTIyS8BMGEqXK54m7ic4auDOZSK8vV2Oor9M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=BYG+XhSFDcXasjI7QukLEC/ZE9riA2bteuzg5dMOn0NKIFlHEADQQOd1O/mE4QtL1+ e6yVOsfbmxvF5DQMnHLtiuY+hplSL4XK3ucGgEyUvpyi5EPWk0RuNs6wkJR5eDQy2zQV QyaiVWU2eK6KPu+r5bbHwttRLiP8B+Fm6mJr8= MIME-Version: 1.0 Received: by 10.223.13.133 with SMTP id c5mr1724596faa.51.1286478787793; Thu, 07 Oct 2010 12:13:07 -0700 (PDT) Received: by 10.223.107.130 with HTTP; Thu, 7 Oct 2010 12:13:07 -0700 (PDT) Date: Thu, 7 Oct 2010 14:13:07 -0500 Message-ID: From: Adam Vande More To: freebsd-emulation@freebsd.org, freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: VirtualBox QT issue X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 19:13:09 -0000 Not sure this is technically an emulation issue, but have only encountered on Vbox. The issue goes like this, I run Vbox on another computer and the VM's are headless. Occasionally, I'll start the VirtualBox GUI client remotely(ssh -Y) to manage settings, etc. The remote system also used an Nvidia card like my desktop. This worked well until my board died and I got a new one with an integrated ATI RADEON HD 3300 Graphics (RS780). Now when I start a VirtualBox remotely, and click on the Settings button of any VM, the VirtualBox GUI seg faults with the following error msg: Qt WARNING: QGLContext::makeCurrent(): Cannot make invalid context current. zsh: segmentation fault VirtualBox if you run "truss VirtualBox" the GUI will not even open with an "Effective UID is not root" error. The VirtualBox GUI runs properly when it's local, eg on physical machine/monitor or over VNC. -- Adam Vande More From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 19:55:14 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 413E6106564A; Thu, 7 Oct 2010 19:55:14 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D0E2D8FC0A; Thu, 7 Oct 2010 19:55:13 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 822FE6107; Thu, 7 Oct 2010 15:55:12 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1286481312; bh=Zva1VGgJM590ER7PEhBQ00C0eZMQMz+vbBtzz6gbTK0=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=a2FsBJPTiDTVH3iqBaoxM8Ggvx6Fmnzbgio+8Phv9/6+kXdMdKYdyvJ7K5Id8WkKO DAzZU5g+qzy2ZDJSxVYfj4cad9T2y7Rn312Y53m3s9iJT0tKxzShxk0FSZKfY5W DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=klTp9AdO+vU5UkVJn5EqXtNKBiASEHp4r/NoZL7Lm/xrlWQz66ZVTwzFL/6il8KDa uIpnuRTWFzYfzfYjtjZ8f0yHYp6KWIaBiFZJl/PVQF8oSoVcnc6S+Rf7or8DbG5 Message-ID: <4CAE259B.5060904@protected-networks.net> Date: Thu, 07 Oct 2010 15:55:07 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100918 Thunderbird/3.1.4 MIME-Version: 1.0 To: "Sean C. Farley" References: In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 19:55:14 -0000 On 10/07/10 15:02, Sean C. Farley wrote: > Run VBoxTestOGL and check the log's output: > VBoxTestOGL --test 2D --test 3D --log vboxtest.log > > It may show something. Before the patch, --help did not show --test 2D > as a valid option. Now this is interesting .. 2D doesn't work for the lack of .. "2D not supported: fragment shader unsupported" imb@toshi:/home/imb> less vboxtest.log 00:00:00.000 VBoxTestGL 3.2.8_OSE r64453 freebsd.x86 (Sep 30 2010 14:32:16) release log 00:00:00.000 Log opened 2010-10-07T19:51:49.155265000Z 00:00:00.000 OS Product: FreeBSD 00:00:00.000 OS Release: 9.0-CURRENT 00:00:00.000 OS Version: FreeBSD 9.0-CURRENT #17 r213510M: Thu Oct 7 08:18:51 EDT 2010 root@toshi.auburn.protected-networks.net:/usr/obj/usr/home/imb/svn/head/sys/TOSHI 00:00:00.000 Executable: /usr/local/lib/virtualbox/VBoxTestOGL 00:00:00.000 Process ID: 3608 00:00:00.000 Package type: BSD_32BITS_GENERIC (OSE) 00:00:00.000 Testing 3D Support: 00:00:00.102 OpenGL Info: Render SPU: GL_VENDOR: Tungsten Graphics, Inc 00:00:00.102 OpenGL Info: Render SPU: GL_RENDERER: Mesa DRI Intel(R) 945GM 20090418 2009Q1 x86/MMX/SSE2 00:00:00.102 OpenGL Info: Render SPU: GL_VERSION: 1.4 Mesa 7.4.4 00:00:00.102 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_point_sprite GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays 00:00:00.113 Testing 3D Succeeded! 00:00:00.113 Testing 2D Support: 00:00:00.512 gl version string: 01.4 Mesa 7.4.4 00:00:00.512 gl version: 0x10400 00:00:00.512 gl extensions: GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_shadow GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_cull_vertex GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_3DFX_texture_compression_FXT1 GL_APPLE_client_storage GL_APPLE_packed_pixels GL_ATI_blend_equation_separate GL_ATI_texture_env_combine3 GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_MESA_window_pos GL_NV_blend_square GL_NV_light_max_exponent GL_NV_point_sprite GL_NV_texture_rectangle GL_NV_texgen_reflection GL_NV_vertex_program GL_NV_vertex_program1_1 GL_OES_read_format GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SUN_multi_draw_arrays 00:00:00.512 GL_ARB_multitexture: 1 00:00:00.512 GL_ARB_shader_objects: 0 00:00:00.512 GL_ARB_fragment_shader: 0 00:00:00.512 GL_ARB_pixel_buffer_object: 0 00:00:00.512 GL_ARB_texture_rectangle: 1 00:00:00.512 GL_EXT_texture_rectangle: 1 00:00:00.512 GL_NV_texture_rectangle: 1 00:00:00.512 GL_ARB_texture_non_power_of_two: 1 00:00:00.512 GL_EXT_framebuffer_object: 0 00:00:00.512 Max Tex Coords (8), Img Units (8) 00:00:00.512 2D not supported: fragment shader unsupported 00:00:00.512 Testing 2D Failed From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 20:37:21 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id A1950106566B; Thu, 7 Oct 2010 20:37:21 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Thu, 7 Oct 2010 16:37:10 -0400 User-Agent: KMail/1.6.2 References: <4CAE259B.5060904@protected-networks.net> In-Reply-To: <4CAE259B.5060904@protected-networks.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201010071637.12834.jkim@FreeBSD.org> Cc: Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 20:37:21 -0000 On Thursday 07 October 2010 03:55 pm, Michael Butler wrote: > On 10/07/10 15:02, Sean C. Farley wrote: > > Run VBoxTestOGL and check the log's output: > > VBoxTestOGL --test 2D --test 3D --log vboxtest.log > > > > It may show something. Before the patch, --help did not show > > --test 2D as a valid option. > > Now this is interesting .. 2D doesn't work for the lack of .. > > "2D not supported: fragment shader unsupported" According to your previous X.org log, you have Intel 945GM and it seems GL_ARB_frameshader extension is not available for your chipset: http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/intel/intel_extensions.c Sorry, Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 20:44:00 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94D941065783 for ; Thu, 7 Oct 2010 20:44:00 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 321088FC13 for ; Thu, 7 Oct 2010 20:44:00 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o97KhwOq057702; Thu, 7 Oct 2010 15:43:58 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Thu, 7 Oct 2010 15:43:58 -0500 (CDT) From: "Sean C. Farley" To: Michael Butler In-Reply-To: <4CAE259B.5060904@protected-networks.net> Message-ID: References: <4CAE259B.5060904@protected-networks.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.0 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 20:44:00 -0000 On Thu, 7 Oct 2010, Michael Butler wrote: > On 10/07/10 15:02, Sean C. Farley wrote: >> Run VBoxTestOGL and check the log's output: >> VBoxTestOGL --test 2D --test 3D --log vboxtest.log >> >> It may show something. Before the patch, --help did not show --test >> 2D as a valid option. > > Now this is interesting .. 2D doesn't work for the lack of .. *snip* > 00:00:00.512 GL_ARB_shader_objects: 0 > 00:00:00.512 GL_ARB_fragment_shader: 0 > 00:00:00.512 GL_ARB_pixel_buffer_object: 0 > 00:00:00.512 GL_ARB_texture_rectangle: 1 > 00:00:00.512 GL_EXT_texture_rectangle: 1 > 00:00:00.512 GL_NV_texture_rectangle: 1 > 00:00:00.512 GL_ARB_texture_non_power_of_two: 1 > 00:00:00.512 GL_EXT_framebuffer_object: 0 > 00:00:00.512 Max Tex Coords (8), Img Units (8) > 00:00:00.512 2D not supported: fragment shader unsupported > 00:00:00.512 Testing 2D Failed I do not know if all the zeros have to be ones for 2D to be supported or not. The Intel v2.7 driver may not support 2D at least for your video card. You could try xf86-video-intel29 instead of xf86-video-intel to see if that helps. You need to remove the IGNORE line in the Makefile first. I have no Intel hardware, so I do not know if this will help at any. Sean -- scf@FreeBSD.org From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 21:22:02 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4A051065670; Thu, 7 Oct 2010 21:22:02 +0000 (UTC) (envelope-from imb@protected-networks.net) Received: from sarah.protected-networks.net (sarah.protected-networks.net [IPv6:2001:470:1f07:4e1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 640A38FC17; Thu, 7 Oct 2010 21:22:02 +0000 (UTC) Received: from toshi.auburn.protected-networks.net (toshi.auburn.protected-networks.net [202.12.127.84]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "Iain Butler", Issuer "RSA Class 2 Personal CA" (verified OK)) (Authenticated sender: imb) by sarah.protected-networks.net (Postfix) with ESMTPSA id 6B6AD6107; Thu, 7 Oct 2010 17:22:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=protected-networks.net; s=200705; t=1286486521; bh=vx8Mu1kEWbdr90TvuswrABqIOfii4v/5vAE1y6uas0E=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=itQNwy8djGNpfNBu5JTUtMvLYdxqQyDyLhG92mUPG8MLCHGW1Ezpw8XsEzABH+Csz Ih3vHhh5Wq8krqy5jJc43gjcXkFEJv4a4AKzGEAPlEU40WoW09LGaTUQri8FQbi DomainKey-Signature: a=rsa-sha1; s=200509; d=protected-networks.net; c=nofws; q=dns; h=message-id:date:from:user-agent:mime-version:to:cc:subject: references:in-reply-to:x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=plANjXVP+EEn/fjiF7/CNTKKv4RySuPmU7nv9Fo2OAaap7R3rRlqdbEIGMbIKUcI6 1tM7TJfoLGONyCyXwyijWamRHAV6KdPVW5H2BC4iJh8ghb29KxA4EwvEe5xY/o0 Message-ID: <4CAE39F5.7020800@protected-networks.net> Date: Thu, 07 Oct 2010 17:21:57 -0400 From: Michael Butler User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.9) Gecko/20100918 Thunderbird/3.1.4 MIME-Version: 1.0 To: "Sean C. Farley" References: <4CAE259B.5060904@protected-networks.net> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=0442D492 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@FreeBSD.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 21:22:02 -0000 On 10/07/10 16:43, Sean C. Farley wrote: > I do not know if all the zeros have to be ones for 2D to be supported or > not. The Intel v2.7 driver may not support 2D at least for your video > card. You could try xf86-video-intel29 instead of xf86-video-intel to > see if that helps. You need to remove the IGNORE line in the Makefile > first. I have no Intel hardware, so I do not know if this will help at > any. I have i915 DRM compiled into my kernel and, it seems, the 2.9 driver doesn't agree with it :-( Kernel message: kernel: module_register: module vgapci/i915 already exists! kernel: Module vgapci/i915 failed to register: 17 .. which then yields (from /var/log/Xorg.0.log) .. (EE) intel(0): [drm] Failed to detect GEM. Kernel 2.6.28 required. (EE) intel(0): Failed to become DRM master. [ .. ] (II) AIGLX: Screen 0 is not DRI2 capable (II) AIGLX: Screen 0 is not DRI capable (II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 So it looks like a slightly larger mine-field than that for which I currently have the time .. thanks anyways, imb From owner-freebsd-emulation@FreeBSD.ORG Thu Oct 7 21:26:56 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01F0E106566C; Thu, 7 Oct 2010 21:26:56 +0000 (UTC) (envelope-from lynx.ripe@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id AB57D8FC12; Thu, 7 Oct 2010 21:26:55 +0000 (UTC) Received: by iwn8 with SMTP id 8so409367iwn.13 for ; Thu, 07 Oct 2010 14:26:55 -0700 (PDT) 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:cc:content-type :content-transfer-encoding; bh=04YYVk39sct/ALLP9ewTLY2hvWObBf7BkoNIOLKWWhw=; b=FCPtATVvu2fLN3Rpj/G+ztwD+cW7KgVtYbD3qs5S65DztIdtdyb1QEJ0XzWa0rUWVv iYNjaSnPFvKL3vGdux8Lj4GSyyWpJ80No9dLzMSAY9OhbYMmVuB8UAyqFTpZpQ3Y5xe5 MIislGL4+xKw5Aaq5S9bMSUf3R4BrYhvOM7As= 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 :cc:content-type:content-transfer-encoding; b=Zde7DlZ+RXRUZtuu+fSic0j7SI1icnuluu+oY1sOI9Uf+XF6AvsfM3+vf83OeW3gxW mQ9FRgIyqwWvj2Sr7G+7YISXR8QRebl4lPPgVv5eJ/qaNGfxAfqCjSlUeW/JqZVeHm0v vpGkXMkFIrBLKRkeT5rSmJep2nR0X50kUmlMM= MIME-Version: 1.0 Received: by 10.231.184.71 with SMTP id cj7mr1489332ibb.159.1286486814757; Thu, 07 Oct 2010 14:26:54 -0700 (PDT) Received: by 10.231.172.134 with HTTP; Thu, 7 Oct 2010 14:26:54 -0700 (PDT) In-Reply-To: References: Date: Fri, 8 Oct 2010 00:26:54 +0300 Message-ID: From: Dmitry Pryanishnikov To: "Sean C. Farley" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-emulation@freebsd.org Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 21:26:56 -0000 Hello! 2010/10/7 Sean C. Farley : >> I use 8.1-STABLE/amd64 with ATI RV370 >> [Radeon X300SE] video adapter, X.Org X Server 1.7.5, video driver >> "radeon", direct rendering enabled, "AccelMethod" is "EXA". >> What else should I check in order to verify why the "Enable 2D Video >> Acceleration" option is inactive? > > Run VBoxTestOGL and check the log's output: > VBoxTestOGL --test 2D --test 3D --log vboxtest.log > > It may show something. =A0Before the patch, --help did not show --test 2D= as a > valid option. Thank you for reply! I see that the reason is the lack of the fragment shader support... 00:00:00.162 gl version string: 01.3 Mesa 7.4.4 00:00:00.162 gl version: 0x10300 ... 00:00:00.162 GL_ARB_multitexture: 1 00:00:00.162 GL_ARB_shader_objects: 0 00:00:00.162 GL_ARB_fragment_shader: 0 00:00:00.162 GL_ARB_pixel_buffer_object: 0 00:00:00.162 GL_ARB_texture_rectangle: 1 00:00:00.162 GL_EXT_texture_rectangle: 1 00:00:00.162 GL_NV_texture_rectangle: 1 00:00:00.162 GL_ARB_texture_non_power_of_two: 0 00:00:00.162 GL_EXT_framebuffer_object: 0 00:00:00.179 Max Tex Coords (8), Img Units (8) 00:00:00.179 2D not supported: fragment shader unsupported 00:00:00.179 Testing 2D Failed --=20 Sincerely, Dmitry nic-hdl: LYNX-RIPE From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 8 00:39:52 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 2651C106566B; Fri, 8 Oct 2010 00:39:52 +0000 (UTC) Date: Fri, 8 Oct 2010 00:39:52 +0000 From: Alexander Best To: freebsd-emulation@freebsd.org Message-ID: <20101008003952.GA75136@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7AUc2qLy4jB3hD7Z" Content-Disposition: inline Subject: fix typo in amd64/linux32/syscalls.master X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 00:39:52 -0000 --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline just a typo. please don't forget to run 'make sysent' to populate the changes. cheers. alex ps: typo doesn't exist in i386/pc98 syscalls.master. -- a13x --7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="syscalls.master.diff" diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index cff2ad7..9c89946 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -416,7 +416,7 @@ 245 AUE_NULL UNIMPL linux_io_setup 246 AUE_NULL UNIMPL linux_io_destroy 247 AUE_NULL UNIMPL linux_io_getevents -248 AUE_NULL UNIMPL inux_io_submit +248 AUE_NULL UNIMPL linux_io_submit 249 AUE_NULL UNIMPL linux_io_cancel 250 AUE_NULL STD { int linux_fadvise64(void); } 251 AUE_NULL UNIMPL --7AUc2qLy4jB3hD7Z-- From owner-freebsd-emulation@FreeBSD.ORG Fri Oct 8 17:57:51 2010 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 6118A1065670; Fri, 8 Oct 2010 17:57:51 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-emulation@FreeBSD.org Date: Fri, 8 Oct 2010 13:57:33 -0400 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <201010081357.37822.jkim@FreeBSD.org> Cc: Subject: Re: VirtualBox 2D acceleration X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Oct 2010 17:57:52 -0000 On Thursday 07 October 2010 05:26 pm, Dmitry Pryanishnikov wrote: > Hello! > > 2010/10/7 Sean C. Farley : > >> I use 8.1-STABLE/amd64 with ATI RV370 > >> [Radeon X300SE] video adapter, X.Org X Server 1.7.5, video > >> driver "radeon", direct rendering enabled, "AccelMethod" is > >> "EXA". What else should I check in order to verify why the > >> "Enable 2D Video Acceleration" option is inactive? > > > > Run VBoxTestOGL and check the log's output: > > VBoxTestOGL --test 2D --test 3D --log vboxtest.log > > > > It may show something.  Before the patch, --help did not show > > --test 2D as a valid option. > > Thank you for reply! I see that the reason is the lack of the > fragment shader support... > > 00:00:00.162 gl version string: 01.3 Mesa 7.4.4 > 00:00:00.162 gl version: 0x10300 > ... > > 00:00:00.162 GL_ARB_multitexture: 1 > 00:00:00.162 GL_ARB_shader_objects: 0 > 00:00:00.162 GL_ARB_fragment_shader: 0 > 00:00:00.162 GL_ARB_pixel_buffer_object: 0 > 00:00:00.162 GL_ARB_texture_rectangle: 1 > 00:00:00.162 GL_EXT_texture_rectangle: 1 > 00:00:00.162 GL_NV_texture_rectangle: 1 > 00:00:00.162 GL_ARB_texture_non_power_of_two: 0 > 00:00:00.162 GL_EXT_framebuffer_object: 0 > 00:00:00.179 Max Tex Coords (8), Img Units (8) > 00:00:00.179 2D not supported: fragment shader unsupported > 00:00:00.179 Testing 2D Failed Your previous e-mail shows that you have AMD/ATI RV370 (Radeon X300SE). FYI, all Radeons with "classic" Mesa lack the extension, AFAIK. I took a look at VirtualBox source and I found the code actually came from WineD3D to emulate DirectX via OpenGL: http://www.nongnu.org/wined3d/ http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/glsl_shader.c http://www.virtualbox.org/browser/trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/glsl_shader.c Luckily, there is an upstream PR for the issue: http://www.virtualbox.org/ticket/5753 "There is a plan to weaken the opengl requirements for 2D support, i.e. use other extensions, e.g. GL_ARB_fragment_program instead of fragment_shader when it is unsupported." Jung-uk Kim From owner-freebsd-emulation@FreeBSD.ORG Sat Oct 9 20:38:49 2010 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43AF3106564A; Sat, 9 Oct 2010 20:38:49 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from mail.socialserve.com (mail2.socialserve.com [66.129.73.133]) by mx1.freebsd.org (Postfix) with ESMTP id 2158F8FC15; Sat, 9 Oct 2010 20:38:48 +0000 (UTC) Received: from shadow.local (jnielsen-vpn.socialserve.com [10.0.8.50]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jnielsen) by mail.socialserve.com (Postfix) with ESMTP id 38B191724AD; Sat, 9 Oct 2010 16:07:54 -0400 (EDT) From: John Nielsen To: freebsd-emulation@freebsd.org Date: Sat, 9 Oct 2010 16:07:53 -0400 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201010091607.53403.lists@jnielsen.net> Cc: freebsd-jail@freebsd.org, freebsd-virtualization@freebsd.org Subject: CentOS in a FreeBSD jail howto X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2010 20:38:49 -0000 This is a followup to my thread "linux-only jail possible?" of a few months ago. I've been pretty successful in my efforts and now have a jail which contains only CentOS binaries and runs Python, Apache, sshd, PostgreSQL, yum, rpm, etc without problems. Since that's what I plan to use for my current project I haven't tested much else but I expect good results from many other common programs and use cases. I have documented my notes on the FreeBSD wiki. Thanks to bz@ for getting me access. Please look it over and give it a try if you have any interest: http://wiki.freebsd.org/Image/Linux/CentOS55 Please let me know if you encounter anything inaccurate or incomplete in the howto, or if you have comments or additional information about it. Please trim the CC: list on replies. Thanks! JN