"Walter's Excellent Adventure" Chapter 2

On Tue, Dec 18, 2012 at 03:17:59AM -0500, Walter Dnes wrote

>   I ran "emerge -pv mesa", and discovered that mesa had been merged with
> USE="-xorg".  This is what I get for starting USE with "-*"...
> http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg
> 
>   I emerged mesa with "xorg" USE flag, and 1366x768 now works fine.  One
> problem down and one to go.  I had merged mesa with the "intel" USE
> flag.  It also has "i915" and i965" USE flags.  If I can get the i965
> driver built, I'd go from "software acceleration" to hardware
> acceleration.  That's my next step.

  Now things start to get *REALLY* weird.

* Using VIDEO_CARDS="i965" in make.conf enables DRI2 hardware acceleration
* But it requires the "classic" USE flag for mesa
* The "xorg" USE flag also makes mesa require the "gallium" USE flag
* Building mesa with *BOTH* "classic" and "gallium" works
* And it runs in 1366x768 mode
* And it runs *ONLY* in 1366x768 mode.  xrandr does not change the
  resolution, notwithstanding the gazillion modes it lists
* I went back to mesa without the "xorg" and "gallium" flags to simplify
  my setup
* Again, it runs 1366x768, and *ONLY* 1366x768.  But it does have
  hardware acceleration
* And yes, I did try replacing the xf86-video-intel driver with
  xf86-video-modesetting.  No X.
* So the one change I've made after all this fooling around is to change
  the VIDEO_CARDS setting in make.conf from "intel" to "i965".

  The net change is that...
* the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode
* X now has hardware acceleration

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to