From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (unknown [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 66A071381FA for ; Tue, 27 May 2014 21:42:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 95AC2E08A1; Tue, 27 May 2014 21:42:21 +0000 (UTC) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 67937E0895 for ; Tue, 27 May 2014 21:42:20 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id m15so9985319wgh.4 for ; Tue, 27 May 2014 14:42:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ghBgewULmxqIBrH/0F+GK654MgKOhgrCKpfqyLH1cbw=; b=X2znYUsnIVNxwGEZyNdhTQ/UWCywrNYrmdO8rUCM4l87EXlN5D7VvhwpQDbXJO7rtW v82BC7OVNJkKtJP0XJM0PgHSCUYnrpVfZqIusMyHvwh6EBMA5YaganLqDhp8P9Q7Tqeu 0joal8bhg9xkCowaB1TEj9/0pabpY7X7Fe/5+N2yAgY9bQUaGl1tVl8g2wxBHretfn5h uAAGgD3JJnEzfrj8Ka1ETjD256YFNtbal2YBvvJXMnwL4JoJZ6xr0fnXoz0mW6YB7CAT uGQe4E4dV1AtQILwnFo8nVNip9K1l4eoW8IOuAbIMo2wMAMtx6riEixQqpttxX8Lmybt OXNQ== X-Received: by 10.180.186.8 with SMTP id fg8mr42249196wic.39.1401226939212; Tue, 27 May 2014 14:42:19 -0700 (PDT) Received: from [172.20.0.40] (196-215-51-239.dynamic.isadsl.co.za. [196.215.51.239]) by mx.google.com with ESMTPSA id fh5sm6506027wic.9.2014.05.27.14.42.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 14:42:18 -0700 (PDT) Message-ID: <5385068C.3020109@gmail.com> Date: Tue, 27 May 2014 23:41:32 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) References: <53848DF8.5060708@gmail.com> <5384A634.9010003@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 247d53a1-ccf5-4f57-8d8a-9d49621c3331 X-Archives-Hash: ca0ebfa3763ed44ee5d6f9587a13af7e On 27/05/2014 18:20, Time Lucky wrote: > > ​ > VIDEO_ > ​​ > ​​ > CARDS="intel radeon -freedreno -i915 -i965 -ilo > > ​​ > -nouveau -r > ​​ > 100 -r200 -r300 -r600 -radeonsi -vmware" > ​ > ​ > Solved! > > I realized that your VIDEO_CARDS was "-i915" > then I removed "i915" from make.conf Take what I say here with a pinch of salt (building the right drivers with the right settings to work right on the right hardware is, IMNSHO, a huge amount of black magic :-) anyway, I seem to recall that USE=i915 or i965 was the old way of doing things and you needed to know what chipset to build for. Recent code has merged all of that nonsense so all you have to do is set VIDEO_CARDS="intel" and emerge can figure out what to build for the hardware it's running on. But I could be completely wrong too, so YMMV :-) > > # emerge -avtuDN world > ​​ > N > ​​ > ​​ > ​​ > ​​ > ​​ > ow > ​ ​It detects > Intel® Sandybridge Mobile > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​.​ > ​ > > > I should follow the wiki just use > "intel vesa fbdev" > ​ > ​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​​ > ​Everything is OK though I can't understand why I must remove "i915" > when Intel® Sandybridge Mobile 's driver is called "i915" in kernel modules. > > ​​ > ​ > > Thank you :) > > > > > 2014-05-27 22:50 GMT+08:00 Alan McKinnon >: > > On 27/05/2014 15:23, Time Lucky wrote: > > My USE in make.conf is > > SE="bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde > > -qt4 X acpi bash-completion bluetooth cjk unicode ipv6" > > > > At a hunch, I would say your USE for mesa is incorrect, possibly you > have classic enabled and gallium disabled? > > Here's mine which works for me with an i915: > > [I] media-libs/mesa > Installed versions: 10.1.4(09:27:10 25/05/2014)(dri3 egl gallium > gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl > -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau > -wayland -xa ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32" > KERNEL="-FreeBSD" VIDEO_CARDS="intel radeon -freedreno -i915 -i965 -ilo > -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware") > > > > > > > > > 2014-05-27 21:21 GMT+08:00 Time Lucky > > >>: > > > > "intel vesa fbdev" comes from > > > "http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220" > > "i915" comes from gentoo forums. > > So VIDEO_CARDS="intel i915 vesa fbdev" > > > > # equery u x11-drivers/xf86-video-inte > > it tells the USE is "dri sna udev" ,while "debug glamor uxa > xvmc" is > > disabled > > > > # equery files x11-drivers/xf86-video-intel > > * Searching for xf86-video-intel in x11-drivers ... > > * Contents of x11-drivers/xf86-video-intel-2.99.911-r1: > > /usr > > /usr/bin > > /usr/bin/intel-virtual-output > > /usr/lib64 > > /usr/lib64/xorg > > /usr/lib64/xorg/modules > > /usr/lib64/xorg/modules/drivers > > /usr/lib64/xorg/modules/drivers/intel_drv.so > > /usr/libexec > > /usr/libexec/xf86-video-intel-backlight-helper > > /usr/share > > /usr/share/doc > > /usr/share/doc/xf86-video-intel-2.99.911-r1 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2 > > /usr/share/man > > /usr/share/man/man4 > > /usr/share/man/man4/intel-virtual-output.4.bz2 > > /usr/share/man/man4/intel.4.bz2 > > /usr/share/polkit-1 > > /usr/share/polkit-1/actions > > > /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy > > > > > > > > 2014-05-27 21:07 GMT+08:00 Alan McKinnon > > > >>: > > > > On 27/05/2014 14:52, Time Lucky wrote: > > > Hey,guys. > > > > > > Anyone can tell me how to switch Gallium 0.4 to intel > driver? > > > I dont know why it happened but now my computer is very slow > > when I use > > > gnome 3.10. > > > > > > $ /usr/libexec/gnome-session-check-accelerated-helper -v > > > libGL error: dlopen /usr/lib64/dri/i965_dri.so failed > > > (/usr/lib64/dri/i965_dri.so: cannot open shared object file: > > No such > > > file or directory) > > > libGL error: unable to load driver: i965_dri.so > > > libGL error: driver pointer missing > > > libGL error: failed to load driver: i965 > > > gnome-session-is-accelerated: llvmpipe detected. > > > > > > Thank you. > > > > > > > > > What do you have in VIDEO_CARDS? > > What use flags are set for xf86-video-intel? > > > > As I understand it, the packages use those 2 magic > settings and > > build > > the right thing for you. If that all looks OK, what do you > get from > > > > equery files x11-drivers/xf86-video-intel > > > > ? > > > > -- > > Alan McKinnon > > alan.mckinnon@gmail.com > > > > > > > > > > > > > -- > Alan McKinnon > alan.mckinnon@gmail.com > > > -- Alan McKinnon alan.mckinnon@gmail.com