From owner-freebsd-x11@freebsd.org Sun Oct 11 18:02:10 2015 Return-Path: Delivered-To: freebsd-x11@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1FB4A11772 for ; Sun, 11 Oct 2015 18:02:10 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from mail.kapsi.fi (mx1.kapsi.fi [IPv6:2001:1bc8:1004::1:25]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 62571B6 for ; Sun, 11 Oct 2015 18:02:10 +0000 (UTC) (envelope-from isoa@kapsi.fi) Received: from 91-159-15-56.elisa-laajakaista.fi ([91.159.15.56] helo=[192.168.255.112]) by mail.kapsi.fi with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZlKwe-0002Bt-8X; Sun, 11 Oct 2015 21:02:04 +0300 Subject: Re: Success! Was: Testing the new i915 driver (HD Graphics 4400) To: =?UTF-8?Q?Juan_Ram=c3=b3n_Molina_Menor?= , freebsd-x11@freebsd.org, =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= References: <561A88B0.1040101@club.fr> From: Arto Pekkanen X-Enigmail-Draft-Status: N1110 Message-ID: <561AA412.2080700@kapsi.fi> Date: Sun, 11 Oct 2015 21:01:54 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561A88B0.1040101@club.fr> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="m9CfQWCCURUkktUeRrSjQRG0ptMw3mh0U" X-SA-Exim-Connect-IP: 91.159.15.56 X-SA-Exim-Mail-From: isoa@kapsi.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2015 18:02:10 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --m9CfQWCCURUkktUeRrSjQRG0ptMw3mh0U Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Would you like to elaborate on this "High CPU usage when playing videos"?= Did you mean "high CPU usage when compared to previous driver"? Or what = are the exact metrics for this statement? I am a multi-system power user, and I can tell you that in a vanilla Debi= an 8.0 installation with Intel driver, on my Thinkpad T430, Chromium eats= 20%+ CPU when playing HD videos from Youtube. Also, to get rid of video = tearing issues, one need to use x11-wm/compton to do composition in both = FreeBSD and Debian (or any other Linuxen). The compositor causes further = +20-40% CPU usage per OpenGL/GLX process (guaranteed, tested, no workarou= nd). The compositor induced per process overhead could be done away by tw= eaking driver options, compositor configuration etc. but it requires a lo= t of experimentation (and frankly, most people just give up at this point= and learn to live with either high CPU usage or video tearing). In gener= al, most systems using X.org/X11 is really, really awful at video playbac= k when compared to Windows or OS X. This is why there are video accelerat= ion interfaces, such as Intel VAAPI or nVidia VDPAU that negate the CPU o= verhead and eliminate tearing. Plese try VAAPI. You must compile in the VAAPI support in both the player= and the AV codec framework. If you VAAPI helped with the high CPU usage,= a report would be appreciated. On 11.10.2015 19:05, Juan Ram=C3=B3n Molina Menor wrote: >>> With the updated code, kldload i915kms works after some hesitation an= d >>> screen artefacts (images not sent to the list), then X starts and I c= an >>> switch to the console forth and back but as soon as I open a xterm >>> window the computer crashes and reboots. >=20 > The changes made yesterday have resolved the issue of X applications cr= ashing and the light environment I use (CWM, Vimb) has proven to be very = stable. I have been able to play HD videos at full-screen, browse YouTube= , close the Xorg server and launch it again, etc. Normal operation, albei= t the CPU usage seems very high when playing videos. >=20 > Thanks again Jean-S=C3=A9bastien, it is a pleasure to finally use FreeB= SD on my main laptop. >=20 > Best regards, > Juan > _______________________________________________ > freebsd-x11@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" --m9CfQWCCURUkktUeRrSjQRG0ptMw3mh0U Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iF4EAREIAAYFAlYapBUACgkQTBivhqtJa27TQgEAhsYNFMDQ9l8RbioTnTsj1COE EPDb/F9W2YhhXKg3hBcA+weIbIaxjc5TK1qXc1klfHn7OnFUXRXgaj9yXZG3oJgs =weL4 -----END PGP SIGNATURE----- --m9CfQWCCURUkktUeRrSjQRG0ptMw3mh0U--