Bug#900880: Blank screen when rotating with xrandr

2018-07-30 Thread Brice Goglin
On Mon, Jul 30, 2018 at 10:53:20AM +0200, Brice Goglin wrote:
> Same problem here but without using the Intel driver (it was installed
> but modeset is used by default).
> Downgrading xserver-xorg-core from 1.20.0-3 to 1.19.6-1 solved the issue.
> 
> Brice

Should be fixed upstream with https://patchwork.freedesktop.org/series/44802/
from https://bugzilla.freedesktop.org/show_bug.cgi?id=106715#c5



Bug#900880: Blank screen when rotating with xrandr

2018-07-30 Thread Brice Goglin
Same problem here but without using the Intel driver (it was installed
but modeset is used by default).
Downgrading xserver-xorg-core from 1.20.0-3 to 1.19.6-1 solved the issue.

Brice



Bug#735322: xserver-xorg-video-intel: Playing video refreshes improperly

2014-06-01 Thread Brice Goglin
On Thu, May 29, 2014 at 10:08:48AM +0200, Brice Goglin wrote:
 You need to enable the sna accel method.
 
 Something like this in /etc/X11/xorg.conf should work:
 
 Section Device
   Identifier  Intel Graphics
   Driver  intel
   Option  AccelMethod  sna
 EndSection
 
 You may get some minor display corruption when scrolling
 long pages in browsers, but that's likely less annoying
 than totally broken video playback.
 This is fixed in intel driver 2.99 (and sna is enabled by
 default) but it doesn't seem Debian packaged yet.

Should be fixed in 2:2.99.911+git20140529-1~exp1 (currently
in experimental) which enables sna by default which display
corruption for me.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140601132145.ga25...@maiantheme.bordeaux.inria.fr



Bug#735322: xserver-xorg-video-intel: Playing video refreshes improperly

2014-05-29 Thread Brice Goglin
You need to enable the sna accel method.

Something like this in /etc/X11/xorg.conf should work:

Section Device
  Identifier  Intel Graphics
  Driver  intel
  Option  AccelMethod  sna
EndSection

You may get some minor display corruption when scrolling
long pages in browsers, but that's likely less annoying
than totally broken video playback.
This is fixed in intel driver 2.99 (and sna is enabled by
default) but it doesn't seem Debian packaged yet.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/20140529080848.ga1...@maiantheme.bordeaux.inria.fr



Re: RFC: Future of xserver-xorg

2011-02-07 Thread Brice Goglin
Le 07/02/2011 09:33, Cyril Brulebois a écrit :
 xserver-xorg only serves a few purposes AFAICT:
  - dependencies on the server + drivers + tools, which can easily be
moved to the xorg metapackage (we already have xorg → xserver-xorg
→ stuff, it's just about replacing that with xorg → stuff).
   

xorg depends on many more packages than xserver-xorg does. My
understanding is: When you want the minimal stuff, you install
xserver-xorg. When you want almost everything to get a normal X
running, you install xorg. But I didn't check if there was still a point
in not installing xorg recently.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d4fb094.4040...@ens-lyon.org



Re: RFC: Future of xserver-xorg

2011-02-07 Thread Brice Goglin
Le 07/02/2011 09:53, Cyril Brulebois a écrit :
 Brice Goglin brice.gog...@ens-lyon.org (07/02/2011):
   
 xorg depends on many more packages than xserver-xorg does. My
 understanding is: When you want the minimal stuff, you install
 xserver-xorg. When you want almost everything to get a normal X
 running, you install xorg. But I didn't check if there was still a
 point in not installing xorg recently.
 
 I'm tempted to say that if people want something really minimal, they
 should be able to install xserver-xorg-{core,input-foo,video-bar}.

Ah, right, we wouldn't have xserver-xorg-core depend on {xserver-,}xorg
anymore.

  As
 for x11-xkb-utils  xkb-data, they could be recommended/depended on
 by the server (since xserver-xorg-core depends on xserver-xorg
 currently).

 Also, we could make xorg depend on stuff listed in xserver-xorg, and
 only recommend other packages. This way, people can still use the xorg
 metapackage to get everything installed by default. And those who want
 something more minimal can still ignore the recommends?
   

Fine too.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d4fb48f.6010...@ens-lyon.org



Re: Updating X Strike Force Uploaders

2011-02-02 Thread Brice Goglin
Le 02/02/2011 07:09, Cyril Brulebois a écrit :
 Hello everybody.

 I'd like to first thank you for the work you put into XSF packages!

 As part of the ongoing clean-up phase on X packages, I think it'd be
 nice to have Maintainer/Uploaders matching who's working on packages
 currently.

 Using grep-dctrl on /var/lib/apt/*Sources, I came up with the
 following people listed in Uploaders:
   Andres Salomon dilin...@debian.org
   Branden Robinson bran...@debian.org
   Brice Goglin bgog...@debian.org
   

Feel free to remove me. No time to work on X anymore here.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4d49c73e.5030...@ens-lyon.org



Bug#496169: Change in the workaround for 496169.

2010-10-31 Thread Brice Goglin
Le 31/10/2010 03:48, Charles Plessy a écrit :
 Dear X11 team and Intel users,

 for the record, the workaround indicated in this bug report (#496169), to
 disable the VGA output so that X will not start at the lowest common 
 resolution
 between the VGA output and the screen on some computers using an Intel 
 graphics
 card, needs to be amended in Squeeze, since the monitor's identifier name was
 changed from VGA to VGA1.

 Section Monitor
   Identifier VGA1
   Option Ignore true
 EndSection

 This change happened between xserver-xorg-video-intel 2:2.8.0-2 and 
 2:2.12.0+shadow-2.
   

Actually, it happened when switching from UMS to KMS (the kernel now
names the outputs, and they changes those names).

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ccd553c.4080...@ens-lyon.org



Bug#598013: xserver-xorg-video-r128: X crashes on PowerMac G4 Cube without linux-firmware-nonfree

2010-09-25 Thread Brice Goglin
Le 25/09/2010 12:28, Hideki Yamane a écrit :
 Package: xserver-xorg-video-r128
 Version: 6.8.1-3
 Severity: important


 Hi X maintainers,

  When I've used PowerMac G4 Cube (or maybe other Machines using Rage128), it 
 required
  non-free firmware to work Desktop envrinment (X Window System) correctly. 

  From its log,
   
 Sep 25 14:47:22 g4cube kernel: [ 1332.546616] aty128fb :00:10.0: Invalid 
 ROM contents
 Sep 25 14:47:22 g4cube kernel: [ 1332.813925] [drm] Initialized drm 1.1.0 
 20060810
 Sep 25 14:47:23 g4cube kernel: [ 1332.846648] [drm] Initialized r128 2.5.0 
 20030725 for :00:10.0 on minor 0
 Sep 25 14:47:23 g4cube kernel: [ 1332.849329] agpgart-uninorth :00:0b.0: 
 putting AGP V2 device into 1x mode
 Sep 25 14:47:23 g4cube kernel: [ 1332.849353] aty128fb :00:10.0: putting 
 AGP V2 device into 1x mode
 Sep 25 14:47:23 g4cube kernel: [ 1332.899695] platform r128_cce.0: firmware: 
 requesting r128/r128_cce.bin
 Sep 25 14:47:23 g4cube kernel: [ 1332.926178] r128_cce: Failed to load 
 firmware r128/r128_cce.bin
 Sep 25 14:47:23 g4cube kernel: [ 1332.926207] [drm:r128_do_init_cce] *ERROR* 
 Failed to load firmware!
 Sep 25 14:47:23 g4cube kernel: [ 1332.926283] [drm:r128_cce_stop] *ERROR* 
 called with no initialization
 
   
 $ apt-file search r128/r128_cce.bin
 firmware-linux-nonfree: /lib/firmware/r128/r128_cce.bin
 
  (Yes, nonfree).

  0. plan to upgrade from lenny to squeeze/sid
  1. you must add non-free to your apt line, change to squeeze/sid and 
 update it.
  2. upgrade to squeeze/sid (from console or ssh is safe) 
  3. you must install firmware-linux-nonfree after upgrade.
  4. then, reboot

  Without the firmware, X hangs and we cannot do anything (except ssh).
  So, could you consider to add any fail-safe mechanism for this? If someone 
 would 
  upgrade from lenny, he/she will be panic.

  Or, if its driver needs dependency for firmware-linux-nonfree, then it should
  provide some information for that.
   

The driver package already suggests firmware-linux.

Brice




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c9e8495.8040...@ens-lyon.org



Bug#596781: xserver-xorg-video-intel: window corruption when passing over xfig, xmgrace, and xpaint (and probably more) windows (fwd)

2010-09-14 Thread Brice Goglin
Le 14/09/2010 14:26, Carlo Segre a écrit :

 Sorry, I have done and the problem still exists.  I am now at

 linux-image-686  2.6.32+28

Is this also the kernel that you're actually running? What does uname -a
say?
Removing linux-image-2.6.32-trunk-686 and rebooting is a good way to not
run it anymore :)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c8feb45.2050...@ens-lyon.org



Bug#592861: xserver-xorg-video-intel: high number of wakeups with kernels =2.6.35

2010-08-15 Thread Brice Goglin
reassign 592861 linux-2.6 2.6.35-1~experimental.1
thank you



Le 13/08/2010 15:35, Enrico Bandiello a écrit :
 Package: xserver-xorg-video-intel
 Version: 2:2.12.0-1
 Severity: normal

 Hi.
 It appears that intel X video driver shows an high number of wakeups when
 using kernels with version =2.6.35.
 I think that the problem lies in intel driver and not in i915 module
 because the interrupt storm only begins when
 starting X. If I start my laptop in runlevel 1, i915 interrupts are ver few 
 (or
 zero).
 When competely ilde, i915 interrupts settle on 60 interrupts/sec (the same of
 vertical refresh frequency of my lcd panel).
 This is a dump done using powertop with a 60 secs. interval on an otherwise
 idle laptop.

   

Reassigning to the kernel since it looks like a regression in 2.6.35.

I think I've seen a report (and maybe even a patch) about this on LKML
but I can't find it back.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c682505.8080...@ens-lyon.org



Re: squeeze radeonhd and openGL

2010-08-11 Thread Brice Goglin
Le 11/08/2010 10:12, Alain Baeckeroot a écrit :
 Le 11/08/2010 à 01:12, Julien Cristau a écrit :
   
 On Tue, Aug 10, 2010 at 19:53:55 +0200, Alain Baeckeroot wrote:

 
 By the way, you should probably use radeon instead of radeonhd.
 
 why ? 
 I thought radeonhd was the correct one for my r600 card 
 (ati mobility radeon HD3400)

   
 Because radeon works better.

 
 This is surprising to me :
 - Radeon driver : 
* starts at wrong resolution 1154 x 864 (or sth) instead of 1400x900
* GL is slow   extremetuxracer at ~1 fps,
   glxgears 400fps (i know it is not a 
 good benchmark)
   lincity-ng with openGL too slow, 
 unplayable
* hangs on vt1
   

You probably need to enable KMS properly. Without a X (and kernel) log,
we can't help much.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c625cb7.8030...@ens-lyon.org



Re: squeeze radeonhd and openGL

2010-08-10 Thread Brice Goglin
Le 10/08/2010 15:57, Alain Baeckeroot a écrit :
 Hi

 I tested squeeze amd64 with an ATI HD3400 (R600) graphic card.

 1/ It works with non-free firmware and driver (fglrx).
 glxinfo ok
 glxgears thousands fps
 extremetuxracer more than 100 fps

 2/ i tried with radeonhd driver and miserably failed:
 glxinfo - segfault
 anything with GL - segfault
 i tested lincity-ng : 
  * SDL only works
  * GL - segfault
   

Make sure fglrx was really removed entirely for real. It often doesn't
install properly and breaks other drivers.

By the way, you should probably use radeon instead of radeonhd. Make
sure you have Debian's kernel 2.6.32-5-amd64.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c616de3.9090...@ens-lyon.org



Bug#590462: libgl1-mesa-dri: running piglit git on r600 crashes X server

2010-08-03 Thread Brice Goglin
Le 03/08/2010 14:13, Michal Suchanek a écrit :
 There is xserver-xorg-core-dbg but no documentation on using that
 package I could find. The X server binary has no symbols so there is no
 backtrace whatsoever that can be received with gdb.
   

$ apt-cache show xserver-xorg-core-dbg
Package: xserver-xorg-core-dbg
[...]
 This package provides debugging symbols for the Xorg X server and associated
 modules.


You just need to install this and you'll have Xserver symbols.
Add xserver-xorg-video-radeon-dbg for radeon driver symbols.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c580f0f.2040...@ens-lyon.org



Bug#575852: Xserver crash on too big popup message

2010-07-26 Thread Brice Goglin
Le 25/07/2010 18:15, Fedor P. Goncharov a écrit :
 Ping?
 Pong!

 Hi, I am installed most of debug packages and tried to run gdb how it
 described in
 http://wiki.x.org/wiki/Development/Documentation/ServerDebugging.




You must run bt full in gdb after the SIGSEGV occurs.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c4d37b0.1070...@ens-lyon.org



Bug#590292: xserver-xorg-video-radeonhd: xrandr can not switch monitors unless some manual tricks

2010-07-26 Thread Brice Goglin
Le 25/07/2010 17:58, Alexander Mikhailian a écrit :
 Package: xserver-xorg-video-radeonhd
 Version: 1.3.0-3
 Severity: normal

 As a new monitor is attached to the notebook and the following command is
 issued in order to switch on the external monitor

   xrandr --output DVI-D_1 --mode 1920x1200

 the DVI-D_1 stays black.

 If I switch for a few seconds to one of the non-graphical consoles
 with Ctrl-Alt-F1..F6 and then back, the same command works flawlessly.
   

Does radeon (with KMS) work better than radeonhd on this machine?
radeonhd will die soon...

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c4d3810.4040...@ens-lyon.org



Bug#589346: xorg: Graphical acceleration only available to one X user

2010-07-16 Thread Brice Goglin
Le 16/07/2010 22:19, Alex Dănilă a écrit :
 Package: xorg
 Version: 1:7.5+6
 Severity: normal

 Some types of acceleration are not availabe to the second simultaneous
 log-in on the machine. I only say some types,
 because some things work fast, others slow:
 Fast:
 -window resizing (both kwin and metacity)
 -Opera animations, drawing, javascript
 -KDE Plasma animations
 -video seems to work decently.

 Slow:
 -window moving (both kwin and metacity)
 -scrolling (Dolphin, Opera)
 -3d is much slower (TORCS: 5-15 fps on the first login, 0-1 fps on the
 second)

 Additionaly, Kwin compositing cannot be enabled on the second login,
 only on the first. Please ask for any
 information I failed to provide.

 Reproduce:
 -login to an desktop session
 -start a new desktop session without closing the first one, and notice
 the problems with this session.

 Video driver:
 xserver-xorg-video-radeon 1:6.13.1-1

 This situation has been the same for a long time in Debian Unstable
 (more than a year), regardless of drm, mesa, kde version, xorg version.

In the past, DRI was only available to a single session. But with KMS
and modern stuff, it should work fine. Make sure you run KMS (which
means kernel at 2.6.32-5 from testing) and (if it doesn't) please send
your X log.

Brice

PS: javascript certainly has nothing to do with X :)




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c40e05b.9010...@ens-lyon.org



Bug#509034: (ATI driver of poor flash video performance)

2010-07-15 Thread Brice Goglin
Le 15/07/2010 09:38, Peter Tuhársky a écrit :
 On 09.07.2010 23:45, Brice.Goglin wrote:
   
 On Sat, Mar 06, 2010 at 12:21:01PM +0100, Brice Goglin wrote:
 
 On Wed, Dec 17, 2008 at 08:34:29PM +0100, Peter Tuhársky wrote:
   
 Hm, I have tested with nVidia TNT2 32M, and the result is very similar. It
 may not be fault of ATI driver. However, tested with Ubuntu 8.10, installed
 the recommended Adobe Flash Plugin 10, it works fine. Could it possibly be
 an issue of some plugin?
 
 Maybe, it's hard to say.
 Do you still have problems with latest X packages from unstable ?
   
 Ping?

 Brice
 
 Hi,
 something new?
   

ati driver 6.13.1, KMS, kernel 2.6.32 with DRM from 2.6.33 in testing,
2.6.34 in experimental

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3ec08e.20...@ens-lyon.org



xserver-xorg-video-ati: Changes to 'debian-unstable'

2010-07-14 Thread Brice Goglin
 debian/changelog |7 +++
 debian/control   |2 +-
 src/r6xx_accel.c |2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)

New commits:
commit d9da70ca0fab45487f3888174311207afa1b0d71
Author: Brice Goglin bgog...@debian.org
Date:   Thu Jul 15 07:07:10 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index 622ca28..e397f1b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-xserver-xorg-video-ati (1:6.13.1-2) UNRELEASED; urgency=low
+xserver-xorg-video-ati (1:6.13.1-2) unstable; urgency=low
 
   * Make libudev-dev build dependencies linux-any.
   * Pull upstream commit 06691376 to fix build without KMS.
 
- -- Brice Goglin bgog...@debian.org  Thu, 15 Jul 2010 07:06:04 +0200
+ -- Brice Goglin bgog...@debian.org  Thu, 15 Jul 2010 07:07:07 +0200
 
 xserver-xorg-video-ati (1:6.13.1-1) unstable; urgency=low
 

commit b2d0c07efb08ec562c0cbf3df3dd6796f47d80bb
Author: Brice Goglin bgog...@debian.org
Date:   Thu Jul 15 07:07:00 2010 +0200

Update changelog after cherry-pick

diff --git a/debian/changelog b/debian/changelog
index 865a299..622ca28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 xserver-xorg-video-ati (1:6.13.1-2) UNRELEASED; urgency=low
 
   * Make libudev-dev build dependencies linux-any.
+  * Pull upstream commit 06691376 to fix build without KMS.
 
- -- Brice Goglin bgog...@debian.org  Wed, 14 Jul 2010 20:13:45 +0200
+ -- Brice Goglin bgog...@debian.org  Thu, 15 Jul 2010 07:06:04 +0200
 
 xserver-xorg-video-ati (1:6.13.1-1) unstable; urgency=low
 

commit 41d0440ede985724f6becf3a5a2356efb98c42f5
Author: Dave Airlie airl...@redhat.com
Date:   Wed Jul 7 13:15:03 2010 +1000

fix build on non-kms

diff --git a/src/r6xx_accel.c b/src/r6xx_accel.c
index 0edfe8b..73f9462 100644
--- a/src/r6xx_accel.c
+++ b/src/r6xx_accel.c
@@ -1262,9 +1262,9 @@ void r600_finish_op(ScrnInfoPtr pScrn, int vtx_size)
 
 void r600_vb_no_space(ScrnInfoPtr pScrn, int vert_size)
 {
-#ifdef XF86DRM_MODE
 RADEONInfoPtr info = RADEONPTR(pScrn);
 struct radeon_accel_state *accel_state = info-accel_state; 
+#ifdef XF86DRM_MODE
 
 if (info-cs) {
if (accel_state-vb_bo) {

commit dea9487e0a588c8d85497df5f946a29ee5d174cd
Author: Brice Goglin bgog...@debian.org
Date:   Wed Jul 14 20:14:28 2010 +0200

Make libudev-dev build dependencies linux-any

diff --git a/debian/changelog b/debian/changelog
index c73349f..865a299 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-video-ati (1:6.13.1-2) UNRELEASED; urgency=low
+
+  * Make libudev-dev build dependencies linux-any.
+
+ -- Brice Goglin bgog...@debian.org  Wed, 14 Jul 2010 20:13:45 +0200
+
 xserver-xorg-video-ati (1:6.13.1-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index 57cdbf6..189a451 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Build-Depends:
  libdrm-dev (= 2.4.17) [!hurd-i386],
  x11proto-dri2-dev,
  x11proto-xf86dri-dev,
- libudev-dev,
+ libudev-dev [linux-any],
  dpkg-dev (= 1.14.17),
  automake,
  libtool,


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ozgjw-0003pf...@alioth.debian.org



xserver-xorg-video-ati: Changes to 'refs/tags/xserver-xorg-video-ati-1_6.13.1-2'

2010-07-14 Thread Brice Goglin
Tag 'xserver-xorg-video-ati-1_6.13.1-2' created by Brice Goglin 
bgog...@debian.org at 2010-07-15 05:11 +

Tagging upload of xserver-xorg-video-ati 1:6.13.1-2 to unstable.

Changes since xserver-xorg-video-ati-1_6.13.1-1:
Brice Goglin (3):
  Make libudev-dev build dependencies linux-any
  Update changelog after cherry-pick
  Prepare changelog for upload

Dave Airlie (1):
  fix build on non-kms

---
 debian/changelog |7 +++
 debian/control   |2 +-
 src/r6xx_accel.c |2 +-
 3 files changed, 9 insertions(+), 2 deletions(-)
---


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ozgkf-0003r2...@alioth.debian.org



Re: [RFC] removing xserver-xorg-video-nv from squeeze

2010-07-13 Thread Brice Goglin
Le 13/07/2010 17:11, Stephen Powell a écrit :
 As of xserver-xorg-video-intel 2:2.9.1-4, which is current in Squeeze,
 and for the i915G chipset, I can still pass

modeset=0

 to the i915 module and the X driver will still work.  Are you saying that
 this is going to be taken away from me too?  Oh joy!
   


UMS support was removed in intel driver 2.10 (more than 6 months ago).
Latest Intel is 2.12 now. So 2.9 isn't really maintained upstream anymore...

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3c8417.8070...@ens-lyon.org



mesa: Changes to 'debian-unstable'

2010-07-13 Thread Brice Goglin
 debian/changelog  |7 +++
 debian/patches/07_fix_i915_dri1.patch |   31 +++
 debian/patches/series |1 +
 3 files changed, 39 insertions(+)

New commits:
commit 9392dd615c6945955e0ace5f951fca697759dafa
Author: Brice Goglin bgog...@debian.org
Date:   Tue Jul 13 22:22:39 2010 +0200

Add 07_fix_i915_dri1.patch

diff --git a/debian/changelog b/debian/changelog
index 722b102..d5c9a1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mesa (7.7.1-4) UNRELEASED; urgency=low
+
+  * Add 07_fix_i915_dri1.patch to fix X server crash when starting Compiz
+on i8xx when using legacy UMS/DRI1.
+
+ -- Brice Goglin bgog...@debian.org  Tue, 13 Jul 2010 22:21:06 +0200
+
 mesa (7.7.1-3) unstable; urgency=medium
 
   * Pull from mesa_7_7_branch to get the fix for a regression introduced in
diff --git a/debian/patches/07_fix_i915_dri1.patch 
b/debian/patches/07_fix_i915_dri1.patch
new file mode 100644
index 000..71ccc0d
--- /dev/null
+++ b/debian/patches/07_fix_i915_dri1.patch
@@ -0,0 +1,31 @@
+Fix crash when starting Compiz on i865 when using DRI1/UMS
+legacy support (by Chris Wilson for i8xx support).
+
+#0  0xaeefb6e2 in i830_update_tex_unit (intel=0x8b7be70, unit=value optimized 
out, ss3=0) at i830_texstate.c:186
+#1  0xaeefbcf3 in i830UpdateTextureState (intel=0x8b7be70) at 
i830_texstate.c:343
+#2  0xaef42339 in intelRunPipeline (ctx=0x8b7be70) at intel_tris.c:1067
+#3  0xaefebaf6 in _tnl_draw_prims (ctx=0x8b7be70, arrays=0x8b1ff24, 
prim=0xbfd3ac20, nr_prims=1, ib=0x0, min_index=0, max_index=3) at 
tnl/t_draw.c:467
+#4  0xaefebf59 in _tnl_vbo_draw_prims (ctx=0x8b7be70, arrays=0x8b1ff24, 
prim=0xbfd3ac20, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, 
max_index=3) at tnl/t_draw.c:376
+#5  0xaefe3641 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at 
vbo/vbo_exec_array.c:524
+#6  0xaefda327 in neutral_DrawArrays (mode=7, start=0, count=4) at 
main/vtxfmt_tmp.h:327
+#7  0xb7324289 in __glXDisp_DrawArrays (pc=0x89ebb8c ) at 
../../glx/render2.c:242
+#8  0xb731e0e4 in __glXDisp_Render (cl=0x8986f20, pc=0x89ebb5c x) at 
../../glx/glxcmds.c:1823
+#9  0xb73229e2 in __glXDispatch (client=0x8b2b528) at ../../glx/glxext.c:578
+#10 0x080740d7 in Dispatch () at ../../dix/dispatch.c:439
+#11 0x080668fa in main (argc=12, argv=0xbfd3aee4, envp=0xbfd3af18) at 
../../dix/main.c:285
+
+---
+ src/mesa/drivers/dri/i915/i830_texstate.c |2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/src/mesa/drivers/dri/i915/i830_texstate.c
 b/src/mesa/drivers/dri/i915/i830_texstate.c
+@@ -183,7 +183,7 @@ i830_update_tex_unit(struct intel_contex
+   (((firstImage-Height - 1)  TM0S1_HEIGHT_SHIFT) |
+((firstImage-Width - 1)  TM0S1_WIDTH_SHIFT) | format);
+ 
+-   if (intelObj-mt-region-tiling != I915_TILING_NONE) {
++   if (intelObj-mt  intelObj-mt-region-tiling != I915_TILING_NONE) {
+   state[I830_TEXREG_TM0S1] |= TM0S1_TILED_SURFACE;
+   if (intelObj-mt-region-tiling == I915_TILING_Y)
+state[I830_TEXREG_TM0S1] |= TM0S1_TILE_WALK;
diff --git a/debian/patches/series b/debian/patches/series
index 1f29aca..8cf687d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 04_osmesa_version.diff
 05_hurd-ftbfs.diff
 06_kfreebsd-ftbfs.diff
+07_fix_i915_dri1.patch


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1oym0m-0001wp...@alioth.debian.org



Bug#580955: closed by Brice Goglin brice.gog...@inria.fr (Fwd: Undelivered Mail Returned to Sender)

2010-07-12 Thread Brice Goglin
Le 12/07/2010 10:08, Matthieu Baechler a écrit :
 I'm sorry your emails as been mark as SPAM by my provider.
 I'll ask them the update their SPAM detection rules.

 Anyway, it seems that I'm able to receive your messages now, as
 this email reached me.

 How can I help for this bug resolution ?

   

Did you try latest 2.6.32-5 or 2.6.34-1 kernels currently in Debian ?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3ad7b4.5020...@ens-lyon.org



Bug#579671: xserver-xorg-video-radeon: freezes after a few hours on rv250

2010-07-11 Thread Brice Goglin
Le 11/07/2010 01:03, E. Prom a écrit :
 FWIW: There's even 2.6.32-5-$arch now.
   
 Did you test latest kernel ?
 
 I'm currently using 2.6.32.15, still home-compiled and patched with
 grsecurity. Same problems : loop and freezing while opening an mplayer
 window or moving inside the video, maybe also while playing.
   

2.6.32.x is too old for radeon KMS, you want 2.6.33 or later, or
Debian's 2.6.32-5 (which contains a backport of 2.6.33 drm). KMS is the
way to go, non-KMS won't be supported for a long time...

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3966e5.7020...@ens-lyon.org



Bug#574478: Broken in Debian. Fixed upstream.

2010-07-11 Thread Brice Goglin
Le 11/07/2010 05:50, k879b35...@sneakemail.com a écrit :
 This bug was already fixed, but its still broken in Debian.

 http://bugs.freedesktop.org/show_bug.cgi?id=25475#c88
   

This patch has been in Debian for a very long time. So your bug is
different from the above one.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c39680d.1010...@ens-lyon.org



Bug#587999: further info

2010-07-11 Thread Brice Goglin
Le 10/07/2010 17:31, Ulrich Eckhardt a écrit :
 On Friday 09 July 2010 17:49:57 Michel Dänzer wrote:
   
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=565313
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567616
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567793
   
 The depth 16 issue could be fixed in xserver-xorg-video-radeon
 1:6.13.1-1, not sure about the other EXA issue.
 
 Thanks, that seems to do the job. I downloaded 6.13.1-1 from unstable and now 
 I can again use 16 BPP without the greenish tint. Further, if I deactivate 
 KMS 
 (modprobe radeon modeset=0), X also initialises DRI (even though it complains 
 about this and that) and bug 587999 doesn't appear, so it's indeed only the 
 non-DRI code it seems.

 Just for the record, I had the effect that areas were not recognized as newly 
 exposed with EXA and the new radeon driver, though only with a KDE app. 
 Switching back to XAA seems to work around that. I'll try to reproduce this 
 and file a separate report if I get to it.
   

What about the original problem (pixel columns switched when using XV,
with 16 or 24 bits color depth), is it gone now?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c397b34.1070...@ens-lyon.org



Bug#588659: xserver-xorg: working on it, seems that no screen found, P7H55M

2010-07-11 Thread Brice Goglin
Le 11/07/2010 10:04, yellow a écrit :
 Package: xserver-xorg
 Version: 1:7.3+20
 Followup-For: Bug #588659


 Dear Sir,

 The video card is a ASUS P7H55M Pro; I know now the type of the card

 It seems that no screen/card is found ; but well startx gives something 
 positives. It works startx but the monitor is turned off. 
 The monitor is a HP w22 with a large range of possible resolution, so 
 surely the 800x640 would work.
 [...]

 VGA-compatible devices on PCI bus:
 00:02.0 VGA compatible controller: Intel Corporation Auburndale/Havendale 
 Integrated Graphics Controller (rev 12)
   

This looks like a very recent graphics card, it won't work fine with
Lenny. You must upgrade to squeeze/testing, use a kernel at least
2.6.32-5-amd64/686 (the 2.6.32-3 you tried is not recent enough, take
the one in testing right now), let KMS enabled and use recent intel
driver (maybe even 2.12 in experimental) and Xserver.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3988cb.9070...@ens-lyon.org



Bug#585815: xserver-xorg-video-radeon: radeon/KMS only works in PCI mode (AGP disabled) for RV350 [Mobility Radeon 9600 M10] card

2010-07-11 Thread Brice Goglin
retitle 585815 xserver-xorg-video-radeon: radeon/KMS needs agpmode=1 on RV350 
[Mobility Radeon 9600 M10] card
thank you




Le 10/07/2010 15:32, Stefano a écrit :
 On Friday 09 July 2010 16:56:06 you wrote:
   
 Ping ?
 
 Pong.

 Sorry for the late response but I've been really busy!

 I have tried some configurations and so far it seems that 

 agpmode=1

 works pretty well.
   

Ok good to know. I am retitling the bug accordingly (but it should
likely be reassigned to the kernel too). Maybe the upstream devs will
add a quirk for your system.

 I have also tried to run kernel 2.6.34 from experimental to solve another 
 issue 
 (Bug#585822), but such kernel brakes compositing (KDE4 tells me that 
 compositing is not available).

 However after doing that there's a video game (aquaria, www.bit-
 blot.com/aquaria/) that does not work anymore, and I have no idea of what 
 I've done to do that! In particular the error is:

 drmRadeonCmdBuffer: -12. Kernel failed to parse or rejected command 
 stream. See dmesg for more info.

 and dmesg says:

 [drm:radeon_cs_ioctl] *ERROR* Failed to parse relocation -12!

 What's weird is that I tried the old radeon configuration and reinstalled the 
 game as well as the configuration files for the game itself but nothing 
 happened!

 ...not that I want you to debug that, it's just to explain the error. ;-)
   

You might want to open a new bug report about this one.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c398ebd.5030...@ens-lyon.org



Bug#588744: [xserver-xorg-video-intel] No brightness/contrast controls

2010-07-11 Thread Brice Goglin
Le 11/07/2010 21:43, Antonio Marcos López Alonso a écrit :
 Package: xserver-xorg-video-intel
 Version: 2:2.9.1-4
 Severity: wishlist

 --- Please enter the report below this line. ---
 It seems there is no way to have brightness/contrast control upon Intel GMA 
 X4500. Could you please ask for support?
   

Don't you have what's needed in /sys/class/backlight/ ?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3a245a.4050...@ens-lyon.org



Bug#533129: xserver-xorg-video-radeon: Frequent display corruption after suspend/resume on Mobility M6 LY

2010-07-10 Thread Brice Goglin
Le 10/07/2010 06:25, Stefan Ott a écrit :
 On Fri, Jul 9, 2010 at 22:50, Brice Goglin brice.gog...@inria.fr wrote:
   
 Ping ?
 
 Oh, it seems I forgot about this one (not my personal laptops
 involved). I checked back and it seems on one of the laptops the
 problem hasn't occurred in ages (on the other one it still happens). I
 think it's safe to blame it on the hardware.

 Sorry for the noise.

 cheers
   

Ok let's close this bug, thanks.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c3814a3.90...@inria.fr



Bug#518782: xserver-xorg-video-radeon: incorrect vertical frequency detected for RS482 chipset graphics - blank screen

2010-07-09 Thread Brice Goglin
On Sun, Mar 08, 2009 at 05:13:38PM +0100, Thomas Richter wrote:
 Package: xserver-xorg-video-radeon
 Version: 1:6.9.0-1+lenny4
 Severity: important
 
 
 The xserver radeon package leaves a completely unusable screen on the 
 Hewlett-Packard BW-PCs; since
 this is a popular machine ordered in masses by the district of 
 Baden-Württemberg in Germany for all
 public institutions, this renders Debian lenny unusable for a large user 
 class, including universities
 and student pools.
 
 Problem description is that the vertical frequency of the monitor is 
 mispredicted - the HP monitor
 reports that the card generates a vertical frequency of 90Hz, much too high 
 for the monitor to follow,
 so likely the EDID/DDC data arrives corrupted.
 
 The graphics driver *did/does* work for OpenSuSE 10.2 in the 6.6.3 kernel 
 package with one SuSE-specific
 patch applied.

Is it better with latest radeon driver, and KMS on a recent kernel?

Brice




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100709204911.ga10...@inria.fr



Bug#533129: xserver-xorg-video-radeon: Frequent display corruption after suspend/resume on Mobility M6 LY

2010-07-09 Thread Brice Goglin
On Sat, Oct 17, 2009 at 06:14:48PM +0200, Stefan Ott wrote:
 On Sat, Oct 10, 2009 at 09:37, Brice Goglin brice.gog...@ens-lyon.org wrote:
  Stefan Ott wrote:
  can you try xf86-video-ati git master?
 
 
  do you happen to have a script handy to build a debian package
  directly from the git repo?
 
 
  See http://bgoglin.livejournal.com/10936.html and replace intel with ati
  I should still work today.
 
 Thanks. I can't seem to build it on stable, though, because xutils-dev
 is too old (it says checking if xorg-macros used to generate
 configure is at least 1.2... configure: error: configure built with
 too old of a version of xorg-macros.m4 - requires version 1.1.0 or
 newer). Surprisingly, manually disabling that check doesn't help ;)
 (I get an error during compilation).
 
 I did, however, build version 6.12.3 (from testing) - I'll report back
 when I know whether this one works.

Ping ?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100709205052.ga10...@inria.fr



Bug#585815: xserver-xorg-video-radeon: radeon/KMS only works in PCI mode (AGP disabled) for RV350 [Mobility Radeon 9600 M10] card

2010-07-09 Thread Brice Goglin
On Mon, Jun 14, 2010 at 09:09:27AM -0400, Stefano wrote:
 On Mon, Jun 14, 2010 at 1:26 AM, Brice Goglin brice.gog...@ens-lyon.org 
 wrote:
  Le 14/06/2010 03:31, Stefano a écrit :
  http://bgoglin.livejournal.com/19346.html
 
  This post is very old, not sure it still matters old, but it's good you
  found a workaround :)
 
 
 Hi,
 
 yeah, the post is old, but my laptop is even older, and so its graphic card!
 
 Anyway, I am going to try if loading the module later will work for me.
 
 Also, I just realized that in my bug report I mistakenly wrote that I
 commented the last line of my radeon-kms.conf (which would be 
 options radeon dynclks=1).
 
 That's not correct, I commented options radeon agpmode=-1. That can
 be deducted from the title of the bug report, but I wanted to point it
 out.
 
  After upgrading to kernel 2.6.32-5-686 I have tried to enable the AGP mode 
  by
  commenting the last line of the file. I noticed a huge improvement of the
  performances of my laptop, however, it becomes really unstable and
  eventually it locks up with a black screen and I have to power it off.
 
  Did you try other values for agpmode ? You can try 1, 2, 4 and 8. If one
  helps, upstream may add a quirk for your machine.
 
 When I leave the driver free to decide the AGP value, it picks up 4,
 which is the right one. I also tried with 2 with no success.
 
 I am going to try 1 and 8, and then put 4 explicitly in
 radeon-kms.conf when I have some free time.
 
 I'll let you know what happens.

Ping ?

Brice




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100709205606.ga10...@inria.fr



xserver-xorg-video-ati: Changes to 'upstream-unstable'

2010-07-07 Thread Brice Goglin
 COPYING   |  133 +-
 configure.ac  |9 
 man/radeon.man|2 
 src/Makefile.am   |5 
 src/ati_pciids_gen.h  |7 
 src/atombios_crtc.c   |   22 +
 src/atombios_output.c |8 
 src/drmmode_display.c |  152 ++-
 src/drmmode_display.h |   16 +
 src/legacy_crtc.c |   28 +-
 src/legacy_output.c   |6 
 src/pcidb/ati_pciids.csv  |7 
 src/r600_exa.c|2 
 src/r600_shader.c |2 
 src/r600_state.h  |6 
 src/r6xx_accel.c  |  383 +---
 src/radeon.h  |   15 -
 src/radeon_accel.c|   22 +
 src/radeon_accelfuncs.c   |2 
 src/radeon_atombios.c |   59 ++--
 src/radeon_bios.c |   19 -
 src/radeon_chipinfo_gen.h |7 
 src/radeon_chipset_gen.h  |7 
 src/radeon_commonfuncs.c  |   15 -
 src/radeon_crtc.c |   67 +
 src/radeon_cursor.c   |4 
 src/radeon_dri.c  |  135 +++---
 src/radeon_dri.h  |4 
 src/radeon_dri2.c |  493 +++--
 src/radeon_dri2.h |6 
 src/radeon_driver.c   |  104 ---
 src/radeon_exa.c  |   51 +++
 src/radeon_exa_funcs.c|2 
 src/radeon_exa_render.c   |   46 +++
 src/radeon_kms.c  |   72 +++--
 src/radeon_output.c   |4 
 src/radeon_pci_chipset_gen.h  |7 
 src/radeon_pci_device_match_gen.h |7 
 src/radeon_probe.c|8 
 src/radeon_probe.h|9 
 src/radeon_textured_video.c   |6 
 src/radeon_textured_videofuncs.c  |  504 ++
 src/radeon_vbo.c  |   12 
 src/radeon_video.c|   42 +--
 src/radeon_video.h|2 
 src/radeon_vip.c  |2 
 src/theatre200.c  |8 
 47 files changed, 1764 insertions(+), 765 deletions(-)

New commits:
commit ad999e633ff41d27eed9d2c6535e163a7181b0bd
Author: Dave Airlie airl...@redhat.com
Date:   Wed Jul 7 10:49:22 2010 +1000

set version for release

diff --git a/configure.ac b/configure.ac
index cf0a855..3a1c46a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-ati],
-6.13.99,
+6.13.1,
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 xf86-video-ati)
 

commit 37b348059b1c15d7b381cd3df3db52bd9ee6613e
Author: Alex Deucher alexdeuc...@gmail.com
Date:   Wed Jun 30 12:56:48 2010 -0400

remove rv100 quirk

Some RV100 cards with 2 VGA ports show up with DVI+VGA, however
some boards with DVI+VGA have the same subsystem ids. Better
to have a VGA port show up as DVI than having a non-useable
DVI port.

reported by DHR in irc.

Signed-off-by: Alex Deucher alexdeuc...@gmail.com

diff --git a/src/radeon_bios.c b/src/radeon_bios.c
index 7d615c0..5810bdb 100644
--- a/src/radeon_bios.c
+++ b/src/radeon_bios.c
@@ -548,15 +548,6 @@ static void RADEONApplyLegacyQuirks(ScrnInfoPtr pScrn, int 
index)
}
 }
 
-/* Some RV100 cards with 2 VGA ports show up with DVI+VGA */
-if (info-Chipset == PCI_CHIP_RV100_QY 
-   PCI_SUB_VENDOR_ID(info-PciInfo) == 0x1002 
-   PCI_SUB_DEVICE_ID(info-PciInfo) == 0x013a) {
-   if (info-BiosConnector[index].ConnectorType == CONNECTOR_DVI_I) {
-   info-BiosConnector[index].ConnectorType = CONNECTOR_VGA;
-   }
-}
-
 /* X300 card with extra non-existent DVI port */
 if (info-Chipset == PCI_CHIP_RV370_5B60 
PCI_SUB_VENDOR_ID(info-PciInfo) == 0x17af 

commit c8ea942bd0e9d1c055d50b94440aa4dae425f20b
Author: Cooper Yuan coopery...@gmail.com
Date:   Tue Jun 29 20:34:57 2010 +0800

Remove HDP_SOFT_RESET function, there is no need to reset HDP block.

This commit can fix an issue reported on DELL server, system gets hang
during soft resetting while another application tries to access PCI
configuration space.

diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index 92503d9..281bc6d 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -328,10 +328,6 @@ void RADEONEngineReset(ScrnInfoPtr pScrn)
INREG(RADEON_RBBM_SOFT_RESET);
 }
 
-OUTREG(RADEON_HOST_PATH_CNTL, host_path_cntl | RADEON_HDP_SOFT_RESET);
-INREG(RADEON_HOST_PATH_CNTL);
-OUTREG(RADEON_HOST_PATH_CNTL, host_path_cntl);
-
 if (!IS_R300_VARIANT  !IS_AVIVO_VARIANT)
OUTREG(RADEON_RBBM_SOFT_RESET, rbbm_soft_reset);
 

commit 139b38bf67ec10d876cc56df833541d497ae4fa4
Author: Alex Deucher alexdeuc...@gmail.com
Date:   Thu Jun 24 14:55:09 2010 -0400

r6xx shader: use 

xserver-xorg-video-ati: Changes to 'debian-unstable'

2010-07-07 Thread Brice Goglin
 COPYING   |  133 +++
 ChangeLog |  673 ++
 configure.ac  |9 
 debian/changelog  |8 
 debian/control|3 
 man/radeon.man|2 
 src/Makefile.am   |5 
 src/ati_pciids_gen.h  |7 
 src/atombios_crtc.c   |   22 +
 src/atombios_output.c |8 
 src/drmmode_display.c |  152 +++-
 src/drmmode_display.h |   16 
 src/legacy_crtc.c |   28 +
 src/legacy_output.c   |6 
 src/pcidb/ati_pciids.csv  |7 
 src/r600_exa.c|2 
 src/r600_shader.c |2 
 src/r600_state.h  |6 
 src/r6xx_accel.c  |  383 +
 src/radeon.h  |   15 
 src/radeon_accel.c|   22 -
 src/radeon_accelfuncs.c   |2 
 src/radeon_atombios.c |   59 +--
 src/radeon_bios.c |   19 -
 src/radeon_chipinfo_gen.h |7 
 src/radeon_chipset_gen.h  |7 
 src/radeon_commonfuncs.c  |   15 
 src/radeon_crtc.c |   67 +--
 src/radeon_cursor.c   |4 
 src/radeon_dri.c  |  135 ++-
 src/radeon_dri.h  |4 
 src/radeon_dri2.c |  493 ++-
 src/radeon_dri2.h |6 
 src/radeon_driver.c   |  104 +++--
 src/radeon_exa.c  |   51 ++
 src/radeon_exa_funcs.c|2 
 src/radeon_exa_render.c   |   46 ++
 src/radeon_kms.c  |   72 ++--
 src/radeon_output.c   |4 
 src/radeon_pci_chipset_gen.h  |7 
 src/radeon_pci_device_match_gen.h |7 
 src/radeon_probe.c|8 
 src/radeon_probe.h|9 
 src/radeon_textured_video.c   |6 
 src/radeon_textured_videofuncs.c  |  504 +++-
 src/radeon_vbo.c  |   12 
 src/radeon_video.c|   42 +-
 src/radeon_video.h|2 
 src/radeon_vip.c  |2 
 src/theatre200.c  |8 
 50 files changed, 2447 insertions(+), 766 deletions(-)

New commits:
commit caf5bcd7614ffc117f4251ef0f6f418af450bb5b
Author: Brice Goglin bgog...@debian.org
Date:   Wed Jul 7 20:43:57 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index 9a588c6..c73349f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-xserver-xorg-video-ati (1:6.13.1-1) UNRELEASED; urgency=low
+xserver-xorg-video-ati (1:6.13.1-1) unstable; urgency=low
 
   * New upstream release.
 + Add libudev-dev to build dependencies.
   * Bump Standards-Version to 3.9.0, no changes needed.
 
- -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:43:12 +0200
+ -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:43:53 +0200
 
 xserver-xorg-video-ati (1:6.13.0-2) unstable; urgency=medium
 

commit 57214d6d8b9d139e0e5df445ffb272e7dee05ec1
Author: Brice Goglin bgog...@debian.org
Date:   Wed Jul 7 20:43:50 2010 +0200

Bump Standards-Version to 3.9.0

diff --git a/debian/changelog b/debian/changelog
index d65baf4..9a588c6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,9 @@ xserver-xorg-video-ati (1:6.13.1-1) UNRELEASED; urgency=low
 
   * New upstream release.
 + Add libudev-dev to build dependencies.
+  * Bump Standards-Version to 3.9.0, no changes needed.
 
- -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:30:49 +0200
+ -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:43:12 +0200
 
 xserver-xorg-video-ati (1:6.13.0-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index aea7288..57cdbf6 100644
--- a/debian/control
+++ b/debian/control
@@ -23,7 +23,7 @@ Build-Depends:
  automake,
  libtool,
  xutils-dev
-Standards-Version: 3.8.4
+Standards-Version: 3.9.0
 Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-ati
 Vcs-Browser: 
http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-video-ati.git
 

commit 0075682f7330f35906ab383450b3840e9f77bdbb
Author: Brice Goglin bgog...@debian.org
Date:   Wed Jul 7 20:31:33 2010 +0200

Build depend on libudev-dev

diff --git a/debian/changelog b/debian/changelog
index 04a798e..d65baf4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
 xserver-xorg-video-ati (1:6.13.1-1) UNRELEASED; urgency=low
 
   * New upstream release.
++ Add libudev-dev to build dependencies.
 
- -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:20:48 +0200
+ -- Brice Goglin bgog...@debian.org  Wed, 07 Jul 2010 20:30:49 +0200
 
 xserver-xorg-video-ati (1:6.13.0-2) unstable; urgency=medium
 
diff --git a/debian/control b/debian/control
index dd9ff44..aea7288 100644
--- a/debian/control
+++ b

xserver-xorg-video-ati: Changes to 'refs/tags/xserver-xorg-video-ati-1_6.13.1-1'

2010-07-07 Thread Brice Goglin
Tag 'xserver-xorg-video-ati-1_6.13.1-1' created by Brice Goglin 
bgog...@debian.org at 2010-07-07 19:04 +

Tagging upload of xserver-xorg-video-ati 1:6.13.1-1 to unstable.

Changes since xserver-xorg-video-ati-1_6.13.0-2:
Alex Deucher (35):
  change version post release
  radeon: don't setup Xv on rn50
  radeon: add some new pci ids
  Xv overlay: set scalerwidth to 1920 on r3xx/r4xx chips
  atom: disable TV encoder when VGA is in use
  radeon: add support for pll algo selection
  radeon/kms: fix crash when using more than two heads
  radeon/kms: fix possible crtc mask for evergreen
  Xv: track vtx_count, is_planar in port priv
  r1xx textured video: split into prepare and draw functions
  r2xx textured video: split into prepare and draw functions
  r3xx textured video: split into prepare and draw functions
  r5xx textured video: split into prepare and draw functions
  r1xx texvid: deal with large numbers of verts
  r2xx texvid: deal with large numbers of verts
  r3xx texvid: deal with large numbers of verts
  r5xx texvid: deal with large numbers of verts
  r3xx-r5xx: fix vertex units
  r3xx: fix gb pipe setup for SE cards
  radeon: fix pll_out_min default for pre-avivo
  r1xx/r2xx EXA: handle RepeatNone properly with transforms
  r2xx exa: fix typo in 27c3326863deae36bc35e2c3b73fffd400208ff1
  dri2: use radeon_pick_best_crtc()
  evergreen: explicitly disable accel on evergreen
  radeon: fix rn50 cloning with kms
  r6xx/r7xx accel: remove some duplicate emits and minor clean up
  r6xx/r7xx: reorg default and clipping state emit
  r6xx/r7xx: remove unnecessary state emit
  r3xx-r5xx Xv: disable bicubic filtering by default
  radeon: fix depth 16 with ums
  r6xx/r7xx: macro safety fixes
  r6xx/r7xx accel: add back some additional default state
  r6xx/r7xx: fix miscount in state emit
  r6xx shader: use ADDR() for CF_DWORD0
  remove rv100 quirk

Brice Goglin (5):
  Merge tag 'xf86-video-ati-6.13.1' into debian-unstable
  New upstream release
  Build depend on libudev-dev
  Bump Standards-Version to 3.9.0
  Prepare changelog for upload

Cooper Yuan (1):
  Remove HDP_SOFT_RESET function, there is no need to reset HDP block.

Dave Airlie (8):
  kms: add uevent support.
  radeon: add FireMV 2400 pci id.
  xv: fix Xv on M6/RV100 under KMS.
  drmmode: fix big endian issue with properties.
  radeon: set proper stride for cursor in tiling flags.
  radeon: fixup last fix, use CURSOR_WIDTH not RADEON_CURSOR_WIDTH.
  radeon: fix support for 1.9 server master.
  set version for release

Gaetan Nadon (1):
  COPYING: replace stub file with actual copyright notices

Jerome Glisse (1):
  kms: add support for the MSC swap  sync API

Marek Olšák (3):
  r3xx-r5xx: fix texturing with small macrotiled pixmaps
  rs740: follow macro-switch too
  r3xx-r5xx: enable color tiling by default on KMS

Michel Dänzer (3):
  FB/MMIO_cnt should be ints, not pointers.
  Convert x(c)alloc/xfree to m/calloc/free.
  DRI2: Fix up confusion between windows and pixmaps.

Owain Ainsworth (1):
  Reference count shared driver mappings.

Owain G. Ainsworth (3):
  Remove remnants of the ShowCache option.
  Kill per-context SAREA support.
  Make consistent use of fbOffset and share fb mappings.

Wolfram (1):
  r6xx/r7xx: fix ums cmd buffer leak

---
 COPYING   |  133 +++
 ChangeLog |  673 ++
 configure.ac  |9 
 debian/changelog  |8 
 debian/control|3 
 man/radeon.man|2 
 src/Makefile.am   |5 
 src/ati_pciids_gen.h  |7 
 src/atombios_crtc.c   |   22 +
 src/atombios_output.c |8 
 src/drmmode_display.c |  152 +++-
 src/drmmode_display.h |   16 
 src/legacy_crtc.c |   28 +
 src/legacy_output.c   |6 
 src/pcidb/ati_pciids.csv  |7 
 src/r600_exa.c|2 
 src/r600_shader.c |2 
 src/r600_state.h  |6 
 src/r6xx_accel.c  |  383 +
 src/radeon.h  |   15 
 src/radeon_accel.c|   22 -
 src/radeon_accelfuncs.c   |2 
 src/radeon_atombios.c |   59 +--
 src/radeon_bios.c |   19 -
 src/radeon_chipinfo_gen.h |7 
 src/radeon_chipset_gen.h  |7 
 src/radeon_commonfuncs.c  |   15 
 src/radeon_crtc.c |   67 +--
 src/radeon_cursor.c   |4 
 src/radeon_dri.c  |  135 ++-
 src/radeon_dri.h  |4 
 src/radeon_dri2.c |  493

xserver-xorg-video-intel: Changes to 'upstream-experimental'

2010-06-25 Thread Brice Goglin
 COPYING|  169 +
 NEWS   |  162 +
 configure.ac   |4 
 src/Makefile.am|6 
 src/common.h   |3 
 src/drmmode_display.c  |   87 +-
 src/i810_dga.c |4 
 src/i810_dri.c |   91 +-
 src/i810_driver.c  |   12 
 src/i810_hwmc.c|   10 
 src/i810_video.c   |   26 
 src/i830.h |  135 +++-
 src/i830_3d.c  |4 
 src/i830_accel.c   |2 
 src/i830_batchbuffer.c |  172 +++--
 src/i830_batchbuffer.h |   93 +-
 src/i830_dri.c |  265 
 src/i830_driver.c  |  176 +
 src/i830_hwmc.c|  239 +--
 src/i830_hwmc.h|   54 -
 src/i830_memory.c  |  172 ++---
 src/i830_render.c  |  294 +
 src/i830_uxa.c |  680 +
 src/i830_video.c   |   54 -
 src/i830_video.h   |2 
 src/i915_3d.c  |   11 
 src/i915_3d.h  |  860 ---
 src/i915_hwmc.c|  301 -
 src/i915_hwmc.h|   47 -
 src/i915_reg.h |   27 
 src/i915_render.c  | 1152 +++-
 src/i915_video.c   |  160 ++---
 src/i965_hwmc.c|  280 
 src/i965_hwmc.h|   16 
 src/i965_render.c  |  191 +++---
 src/i965_video.c   |   26 
 src/xvmc/Makefile.am   |2 
 src/xvmc/i915_xvmc.c   |  239 +--
 src/xvmc/i915_xvmc.h   |   34 -
 src/xvmc/i965_xvmc.c   |   90 --
 src/xvmc/i965_xvmc.h   |1 
 src/xvmc/intel_xvmc.c  |  233 +--
 src/xvmc/intel_xvmc.h  |   49 -
 src/xvmc/xvmc_vld.c|  139 +---
 src/xvmc/xvmc_vld.h|1 
 uxa/uxa-accel.c|  543 -
 uxa/uxa-glyphs.c   | 1526 +
 uxa/uxa-priv.h |  118 +--
 uxa/uxa-render.c   | 1359 ---
 uxa/uxa.c  |   82 +-
 uxa/uxa.h  |   46 +
 51 files changed, 5833 insertions(+), 4616 deletions(-)

New commits:
commit ca16e3133658504b68a6b5c83bb8712899016544
Author: Carl Worth cwo...@cworth.org
Date:   Thu Jun 24 14:07:15 2010 -0700

Update version to 2.12.0

For the imminent 2.12.0 release.

diff --git a/configure.ac b/configure.ac
index 624d940..a5d0617 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-intel],
-2.11.901,
+2.12.0,
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 xf86-video-intel)
 

commit 8caf1564a75d65636d9b7a4da03219bb302bb37b
Author: Carl Worth cwo...@cworth.org
Date:   Thu Jun 24 14:06:43 2010 -0700

NEWS: Add notes for the 2.12.0 release.

Let it ship!

diff --git a/NEWS b/NEWS
index ffccffd..aee6a21 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,97 @@
+Snapshot 2.12.0 (2010-06-24)
+=
+We are pleased to announce this major release of the xf86-video-intel
+2D driver. It contains many correctness and performance improvements
+compared to the 2.11 releases. We encourage everyone using 2.11 to
+upgrade to 2.12.
+
+[This release contains several bug fixes since the earlier 2.11.901
+release candidate---see below for details.]
+
+New requirements compared to 2.11
+-
+ * Libdrm = 2.4.21
+
+Major performance improvements
+--
+There have been many performance improvements targeting the
+915G/945G/Pineview graphics chipsets (thank to Chris Wilson!). Areas
+improved include:
+
+ * Major improvements to glyph rendering
+
+ * Avoid software fallback when using extended desktops, (for example,
+   video playback)
+
+ * Better performance when using large windows, (for example with
+   firefox scrolling)
+
+ * Avoiding migration ping-pong with gigantic drawing
+
+The following speedups (measured with cairo-perf-trace/cairo-traces)
+capture some of the improvements. These were measured on a Pineview
+system with X server 1.8.1. This compares how this 2.12 release
+improves performance compared to 2.11.0:
+
+   Trace   Speedup
+   -   ---
+   ocitysmap   5.41x speedup
+   firefox-talos-gfx   2.41x speedup
+   gnome-terminal-vim  2.15x speedup
+   poppler 1.86x speedup
+   firefox-planet-gnome1.43x speedup
+   midori-zoomed   1.39x speedup
+   swfdec-giant-steps  1.36x speedup
+   xfce4-terminal-a1   1.17x speedup
+   evolution   1.09x speedup
+   swfdec-youtube  1.06x speedup
+
+Other improvements
+--
+Daniel Vetter improved Xvmc and overlay, adding GEM support.
+
+Bug fixes
+-
+There have been many conformance improvements targeting the
+915G/945G/Pineview graphics chipsets. The rendercheck test suite
+passes once again and there has been a significant reduction in the
+number of errors detected by the cairo test suite (notably center
+sampling 

xserver-xorg-video-intel: Changes to 'debian-experimental'

2010-06-25 Thread Brice Goglin
 COPYING|  169 +++
 ChangeLog  | 2518 +
 NEWS   |  162 +++
 configure.ac   |4 
 debian/README.source   |2 
 debian/changelog   |   14 
 debian/control |8 
 debian/xsfbs/xsfbs.mk  |   35 
 src/Makefile.am|6 
 src/common.h   |3 
 src/drmmode_display.c  |   87 -
 src/i810_dga.c |4 
 src/i810_dri.c |   91 -
 src/i810_driver.c  |   12 
 src/i810_hwmc.c|   10 
 src/i810_video.c   |   26 
 src/i830.h |  135 +-
 src/i830_3d.c  |4 
 src/i830_accel.c   |2 
 src/i830_batchbuffer.c |  172 +--
 src/i830_batchbuffer.h |   93 -
 src/i830_dri.c |  265 ++---
 src/i830_driver.c  |  176 ---
 src/i830_hwmc.c|  239 +++-
 src/i830_hwmc.h|   54 -
 src/i830_memory.c  |  172 +--
 src/i830_render.c  |  294 +++--
 src/i830_uxa.c |  680 -
 src/i830_video.c   |   54 -
 src/i830_video.h   |2 
 src/i915_3d.c  |   11 
 src/i915_3d.h  |  860 +---
 src/i915_hwmc.c|  301 -
 src/i915_hwmc.h|   47 
 src/i915_reg.h |   27 
 src/i915_render.c  | 1152 ++
 src/i915_video.c   |  160 +--
 src/i965_hwmc.c|  280 -
 src/i965_hwmc.h|   16 
 src/i965_render.c  |  191 ++-
 src/i965_video.c   |   26 
 src/xvmc/Makefile.am   |2 
 src/xvmc/i915_xvmc.c   |  239 
 src/xvmc/i915_xvmc.h   |   34 
 src/xvmc/i965_xvmc.c   |   90 -
 src/xvmc/i965_xvmc.h   |1 
 src/xvmc/intel_xvmc.c  |  233 
 src/xvmc/intel_xvmc.h  |   49 
 src/xvmc/xvmc_vld.c|  139 --
 src/xvmc/xvmc_vld.h|1 
 uxa/uxa-accel.c|  543 +++---
 uxa/uxa-glyphs.c   | 1526 +
 uxa/uxa-priv.h |  118 +-
 uxa/uxa-render.c   | 1359 +++---
 uxa/uxa.c  |   82 -
 uxa/uxa.h  |   46 
 56 files changed, 8391 insertions(+), 4635 deletions(-)

New commits:
commit fdc3faf1a5e9ec6eee697febf3d25e72eb72eeb7
Author: Brice Goglin bgog...@debian.org
Date:   Sat Jun 26 00:27:17 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index bf5c8b0..b37430d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,10 @@
-xserver-xorg-video-intel (2:2.12.0-1) UNRELEASED; urgency=low
+xserver-xorg-video-intel (2:2.12.0-1) experimental; urgency=low
 
   * New upstream release.
 + Fix Xv distortion, closes: #581705.
   * Bump libdrm build-dependency to 2.4.21.
 
- -- Brice Goglin bgog...@debian.org  Sat, 26 Jun 2010 00:22:00 +0200
+ -- Brice Goglin bgog...@debian.org  Sat, 26 Jun 2010 00:26:59 +0200
 
 xserver-xorg-video-intel (2:2.11.0-1) experimental; urgency=low
 

commit 5f5f3c4b61cd74f8e23fa52896ef29ba81533a1f
Author: Brice Goglin bgog...@debian.org
Date:   Sat Jun 26 00:24:23 2010 +0200

Bump libdrm build-dependency to 2.4.21

diff --git a/debian/changelog b/debian/changelog
index 8f82027..c9d596d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ xserver-xorg-video-intel (2:2.12.0-1) UNRELEASED; urgency=low
 
   * New upstream release.
 + Fix Xv distortion, closes: #581705.
+  * Bump libdrm build-dependency to 2.4.21.
 
  -- Brice Goglin bgog...@debian.org  Sat, 26 Jun 2010 00:22:00 +0200
 
diff --git a/debian/control b/debian/control
index 3b07c29..61185d0 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Build-Depends:
  x11proto-xext-dev,
  x11proto-video-dev,
  libx11-dev,
- libdrm-dev (= 2.4.18-3),
+ libdrm-dev (= 2.4.21),
  x11proto-xf86dri-dev,
  x11proto-gl-dev,
  libgl1-mesa-dev | libgl-dev,

commit 7895d3616dc1b03ce5af024b933f5b1864702cfa
Author: Brice Goglin bgog...@debian.org
Date:   Sat Jun 26 00:23:01 2010 +0200

New upstream release

diff --git a/ChangeLog b/ChangeLog
index 988698a..bd36be7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,2521 @@
+commit ca16e3133658504b68a6b5c83bb8712899016544
+Author: Carl Worth cwo...@cworth.org
+Date:   Thu Jun 24 14:07:15 2010 -0700
+
+Update version to 2.12.0
+
+For the imminent 2.12.0 release.
+
+commit 8caf1564a75d65636d9b7a4da03219bb302bb37b
+Author: Carl Worth cwo...@cworth.org
+Date:   Thu Jun 24 14:06:43 2010 -0700
+
+NEWS: Add notes for the 2.12.0 release.
+
+Let it ship!
+
+commit b58a6a39c1568800938eb0e3ebc7664683b61200
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Jun 23 23:56:44 2010 +0100
+
+uxa: Fallback to pixman if source is out-of-bounds
+
+If the source is outside the drawable, then CopyArea will fail to
+initialise the source correctly. The simplest fix in this case is to
+fallback to pixman to generate the source texture.
+
+Fixes:
+
+  Bug 28497 - Graphics corruption after opening a specific website
+  https://bugs.freedesktop.org/show_bug.cgi?id=28497

xserver-xorg-video-intel: Changes to 'refs/tags/xserver-xorg-video-intel-2_2.12.0-1'

2010-06-25 Thread Brice Goglin
Tag 'xserver-xorg-video-intel-2_2.12.0-1' created by Brice Goglin 
bgog...@debian.org at 2010-06-25 22:45 +

Tagging upload of xserver-xorg-video-intel 2:2.12.0-1 to experimental.

Changes since xserver-xorg-video-intel-2_2.11.0-1:
Brice Goglin (5):
  Merge tag '2.12.0' into debian-experimental
  New upstream release
  Bump libdrm build-dependency to 2.4.21
  Merge branch 'debian-unstable' of 
git+ssh://git.debian.org/git/pkg-xorg/driver/xserver-xorg-video-intel into 
debian-experimental
  Prepare changelog for upload

Carl Worth (5):
  Fix to require libdrm 2.4.19 or newer.
  NEWS: Add notes for 2.11.901
  Update version to 2.11.901
  NEWS: Add notes for the 2.12.0 release.
  Update version to 2.12.0

Chris Wilson (144):
  uxa: Add fallback warnings for PutImage.
  Review i830_pad_drawable_width()
  uxa: Try using put_image when copying from a memory buffer.
  Revert uxa: Add fallback warnings for PutImage.
  i830: Use pixman_blt directly for performing the in-memory copy
  Revert Revert uxa: Try using put_image when copying from a memory 
buffer.
  i830: Allocate bo's for glyphs larger than 32x32.
  uxa: Reuse in-flight bo
  i830: tidy in flight bo reuse.
  i830: if pixman_blt() fails fallback to fbCopyArea()
  i830: prepare the uxa pixmap for fbCopyArea.
  uxa: Extract sub-region from in-memory buffers.
  uxa: Transform composites with a simple translation into a blit
  uxa: Rearrange checking and preparing of composite textures.
  i915: Use 1x1R pixmap for solid drawables
  uxa,i915: Handle SourcePict through uxa_composite()
  i830: Update stride when swapping bo for PutImage
  i830: Minor cleanup
  uxa: Protect against valid SourcePict in uxa_acquire_mask()
  i915: Fix pixmap based masks.
  uxa: Recheck texture after acquiring pattern.
  i965: Add texformats mapping for additional pixman formats
  i830: Do not cache in-flight non-reusable buffers.
  i830: Use set_pixmap_bo() instead of open-coding.
  i830: Never create a bo for depth=1 pixmaps.
  drmmode: Reorder i830_set_pixmap_bo() so that the correct stride is used.
  xvmc: Build fix with -pedantic
  debug: Add names for operators
  uxa: solid rects
  uxa: Use accelerated PutImage for uploading pixman images.
  i830: Prevent allocation of bo larger than half the aperture
  uxa: Fallback when compositing to a !offscreen destination
  uxa: Avoid ping-pong with !offscreen destination and traps
  uxa: Avoid glyph ping-pong with !offscreen destination
  dri2: Handle reference counting across page flipping
  i915: Add a2r10g10b10 format and friends
  i915: Force output alpha to 1. if dst has no alpha channel.
  uxa: Fallback early if compositing with alphaMaps
  uxa: Replace source for CLEAR with a transparent solid
  uxa: Only use solid_fill for SRC.
  uxa: Convert 1x1R back to solid_fill
  dri: Hold reference to buffers across swap
  i830: Teardown batch entries on reset.
  drm: don't overwrite the old intel-front_buffer
  drm: Remove unused old_front parameter from drmmode_do_pageflip.
  drm: Remove pin(); unpin() sync
  uxa: enable solid rects for backends that require pixmaps
  i915: Don't force alpha=1 for RGB drawables in the shader.
  Split the prepare blitter functions into check + prepare.
  uxa: Parse BGRA pixel formats.
  i915: Remove a couple of unsupported 16bpp no-alpha tex formats
  uxa: Disable compatible src xrgb and dst argb
  i915: Load texture into directly into OC when possible.
  uxa: Call check_solid before running the solid blitter.
  uxa: Only use 1x1R as a solid with an opaque format or SRC
  uxa: Expand the range of compatible formats to cover all bpp.
  uxa: Fix order of conditionals to only run fill_region for SRC or opaque
  i830: Remove incorrectly mapped tex formats.
  i830: Remove xrgb conversion to argb, no longer required.
  uxa: Check the w-scaling component is 1 for an translation matrix
  uxa: Avoid using blits when with PictFilterConvolution
  uxa: Apply clip for solid rectangles.
  uxa: Force an alpha channel when rendering source fallbacks
  uxa: Patterns are acquired at 0,0
  uxa: Tidy uxa_solid_rects()
  i830: Encode surface bpp into format
  uxa: Replace solid planemask [0x] with FB_ALLONES
  dri: Check error code from GetScratchGC()
  i830: Remove vestigal debugging ALWAYS_FLUSH and ALWAYS_SYNC
  uxa: Spans! OMG!
  i915: amalgamate composite into a single primitive list
  i915: Emit composite primitive with specialised functions.
  Kill paranoid assertions on every write into the batchbuffer.
  Use pwrite to upload the batch buffer
  i915: Move vertices into a vertex buffer object.
  i915: Add special case primitive emitters for glyphs.
  uxa: translate

Bug#586083: xserver-xorg-video-radeon: Freeze after X session logout

2010-06-16 Thread Brice Goglin
Le 16/06/2010 11:36, Pajari Räsänen a écrit :
 Package: xserver-xorg-video-radeon

 *** Begin irrelevant preface ***

 Hello,

 I am sending this via browser e-mail, having no smtp stuff configured
 in order to use reportbug's mailing capabilities. The package might be
 also xserver-xorg-video-ati OR xserver-xorg-video-core (since the
 problems started only after *-core update).

 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-686
 root=UUID=27f93214-cdcf-4dfa-a52b-26f053f8b7b3 ro quiet

Please upgrade your kernel to linux-image-2.6.32-5-686 first.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c18a94b.9010...@ens-lyon.org



Bug#586138: xserver-xorg: high cpu usage

2010-06-16 Thread Brice Goglin
Le 16/06/2010 20:14, Jon Ander Peñalba a écrit :
 Package: xserver-xorg
 Version: 1:7.5+6
 Severity: important

 Xorg is using between 40% and 905 of the CPU all the time, which makes
 the system almost unusable.
 I don't really now what information is needed to triage this kind of
 bug, so please tell me what can I do to help fix this issue.

 DRM Information from dmesg:
 [0.829286] Linux agpgart interface v0.103
 [5.664212] [drm] Initialized drm 1.1.0 20060810
 [5.985816] [drm] Initialized radeon 1.32.0 20080528 for
 :01:00.0 on minor 0
 [   15.586503] [drm] Setting GART location based on new memory map
 [   15.587738] [drm] Loading R500 Microcode
 [   15.599103] [drm:radeon_do_init_cp] *ERROR* Failed to load firmware!


Looks like you need to install the firmware-linux package

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c194906.6040...@ens-lyon.org



Bug#585955: xserver-xorg-video-radeon: 1:6.13.0-2 incompatible with kernel 2.6.34-1-amd64

2010-06-15 Thread Brice Goglin
Le 15/06/2010 09:05, Marc Pignat a écrit :
 kernel 2.6.34-1-amd64 + xserver-xorg-video-radeon 1:6.13.0-2 - KO
   
 Versions of packages xserver-xorg-video-radeon suggests:
 pn  firmware-linuxnone (no description available)
   

You should probably install this.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c172c2f.6000...@ens-lyon.org



Bug#585911: display breaks on Lenovo W500 with KMS

2010-06-14 Thread Brice Goglin
Le 14/06/2010 22:24, Brent S. Elmer a écrit :
 Package: xserver-xorg-video-radeon
 Version: 1:6.13.0-2
 Severity: normal

 I upgraded to the latest xserver-xorg-video-radeon that hit Squeeze.  I have a
 Lenovo W500 Thinkpad.  There is an Intel integrated graphics chip and a
 discrete graphics chip(ATI Mobility FireGL V5700).  In the BIOS I select the
 discrete graphics and turn off the switchable graphics.  I have a custom
 compiled 2.6.32 kernel.  This setup has been working great until the radeon
 upgrade.  When it boots, now I can see part of the boot process on the screen
 and then the screen just continues to get brighter and brighter until it is
 totally white.  I don't think X ever starts but I can't really tell because I
 can't see anything.  Luckily I still had a 2.6.30 kernel that would boot.  
 Once
 I could get in, I turned off KMS in /etc/modprobe.d/radeon-kms.conf as the
 NEWS.Debian.gz says.  The 2.6.32 kernel would then boot fine as it did before.
 Is KMS expected to work on this system?  Is there something I need to put in
 the 2.6.32 kernel to make it work?
   

You need DRM kernel drivers from 2.6.33 or later since you need the
radeon KMS driver. That's what Debian's linux-image-2.6.32-5-$arch
contains (and even more fixes that came after 2.6.33).

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c169adf.6010...@ens-lyon.org



Bug#585815: xserver-xorg-video-radeon: radeon/KMS only works in PCI mode (AGP disabled) for RV350 [Mobility Radeon 9600 M10] card

2010-06-13 Thread Brice Goglin
Le 14/06/2010 03:31, Stefano a écrit :
 Package: xserver-xorg-video-radeon
 Version: 1:6.13.0-2
 Severity: important
 Tags: squeeze sid

 *** Please type your report below this line ***

 Hello,

 it is known that when using the radeon module with modesetting there may
 be some problems: http://bgoglin.livejournal.com/19346.html
   

This post is very old, not sure it still matters old, but it's good you
found a workaround :)~$ cat /etc/modprobe.d/radeon-kms.conf

 options radeon modeset=1
 options radeon agpmode=-1
 options radeon dynclks=1

 After upgrading to kernel 2.6.32-5-686 I have tried to enable the AGP mode by 
 commenting the last line of the file. I noticed a huge improvement of the 
 performances of my laptop, however, it becomes really unstable and 
 eventually it locks up with a black screen and I have to power it off.
   

Did you try other values for agpmode ? You can try 1, 2, 4 and 8. If one
helps, upstream may add a quirk for your machine.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c15bda1.3020...@ens-lyon.org



Bug#201855: xdm autologin important for tiny devices

2010-06-01 Thread Brice Goglin
Le 01/06/2010 08:31, jida...@jidanni.org a écrit :
 Every day for the last 10 years I've had to type in username and
 password. Can somebody tell me how to get some relief without having to
 switch display managers, for heavens sake

You've been complaining about all this for 7 years. It would have taken
less time to implement the feature yourself. Nobody else will do it. So
if you don't want to switch to another DM, you have to implement it. And
don't tell me you don't know how to implement it, since 7 years is way
enough to learn what's needed here.

Also, if you really want autologin, did you try removing xdm entirely
and hacking your startup scripts so as to start the user X session
directly? May be ugly, but maybe less horrible than entering your
login/passwd every day for the last 10 years :)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c04b270.9020...@ens-lyon.org



Bug#583604: xserver-xorg-video-radeon: Corrupt screen after playing Cytadela OpenGL game and then running Emacs

2010-05-29 Thread Brice Goglin
Le 29/05/2010 09:18, Sylvain Beucler a écrit :
 Hi,

 On Sat, May 29, 2010 at 08:56:38AM +0200, Brice Goglin wrote:
   
 Le 29/05/2010 08:40, Sylvain Beucler a écrit :
 
 reopen 583604
 thanks

 To get the 2D performances back (300FPS vs. 17FPS) I had to disable
 KMS.  In this case, the display corruption still happens with the
 newer driver and kernel.
   
 We're not going to track bugs for 6.13 without KMS, this case isn't
 recommended already and it won't be supported in the future.
 
 Hmmm, you mentioned that 6.13 is what is planned to go in Squeeze.
   

6.13 with KMS.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c00c287.5090...@ens-lyon.org



Bug#583604: xserver-xorg-video-radeon: Corrupt screen after playing Cytadela OpenGL game and then running Emacs

2010-05-29 Thread Brice Goglin
Le 29/05/2010 09:18, Sylvain Beucler a écrit :
 As the maintainer of the freedink package, which is a 2D game, I
 sincerely hope we'll find a way to provide good 2D performances by
 default in Squeeze, either by fixing KMS performances, either by
 fixing non-KMS display corruption.

Squeeze will use KMS by default, so obviously we want to fix KMS
performance, and you want to open the corresponding bug report instead
of mixing it with this one :)

 I think this may be a Debian bug more than a Radeon bug.
   

There's nothing specific to Debian here. The question is whether it's a
Radeon bug, a kernel bug (KMS), or something missing in your setup
(firmwares or so).

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c00c848.9000...@ens-lyon.org



Bug#583599: libxau-dev: Xau manual page lists incorrect function signature.

2010-05-29 Thread Brice Goglin
tags 583599 +fixed-upstream
thank you



Le 28/05/2010 18:13, Tom Fogal a écrit :
 This prototype is incorrect.  There are an additional two arguments:

   unsigned short name_length,
   const char* name
   

I fixed this in upstream git (commit
f93ffa718135d9d85f04935325016b8766f05ea3).

 On that note, from /usr/include/X11/Xauth.h, it appears as if all of
 the above character pointers point to constant strings.
   

Fixed these and many others in the manpage (upstream commit
7d42fad5cec59cb0696087bed9745ffd5a999f68).

Thanks,
Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c016838.4050...@ens-lyon.org



Bug#583604: xserver-xorg-video-radeon: Corrupt screen after playing Cytadela OpenGL game and then running Iceweasel

2010-05-28 Thread Brice Goglin

Le 28/05/2010 20:50, Sylvain Beucler a écrit :

Package: xserver-xorg-video-radeon
Version: 1:6.12.6-1
Severity: normal

Hi,

I get a screen corruption: lots of horizontal lines on a big area of
the screen.
   


You should try with 6.13.0 and KMS since that's what will be in Squeeze. So:
* upgrade your kernel to linux-image-2.6.32-5-686
* install xserver-xorg-video-radeon 6.13.0

Brice




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c0017e1.2010...@ens-lyon.org



Bug#582633: xdm: it could be cool that XDM has a session choiser (jwm, gnome,...)

2010-05-22 Thread Brice Goglin
On 22/05/2010 12:13, yellow wrote:
 Package: xdm
 Version: 1:1.1.10-1
 Severity: wishlist


 Hello,
 It is impossible to start something else than gnome, even with changing .dmrc 
 and .xinitrc :(
   

Did you try .xsesssion ?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf80dbe.7010...@ens-lyon.org



Bug#580601: Related to KMS in 2.6.32

2010-05-22 Thread Brice Goglin
On 22/05/2010 20:42, Fernando Lemos wrote:
 This problem seems to be related to KMS in 2.6.32:

 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/549989

 (several similar reports can be found on other distro's bugtrackers)

 Either disabling KMS entirely (i915.modeset = 0 in /etc/defaults/grub)
 or disabling the powersave option (i915.powersave = 0) solves the
 problem. It looks like a kernel bug in 2.6.32.
   

powersave is already disabled by default (see /etc/modprobe.d/i915-kms.conf)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf82bdc.5000...@ens-lyon.org



Bug#582482: Dist-upgrade leads to compiz not starting

2010-05-21 Thread Brice Goglin
bts severity 582482 important
thank you



On 21/05/2010 08:45, Brent Clark wrote:
 Package: compiz
 Version: 0.8.4-4
 Severity: critical
 Tags: squeeze sid
 Justification: breaks unrelated software
   

Seriously, no. A computer works perfectly fine without compiz. It even
works fine without X...

 #:/$ LIBGL_DEBUG=verbose compiz --replace --debug
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libcore.so : No such file or directory
 compiz (core) - Debug: Could not stat() file /usr/lib/compiz/libcore.so : No 
 such file or directory
 libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so
 libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so
 libGL: Can't open configuration file /etc/drirc: No such file or directory.
 libGL: Can't open configuration file /home/bclark/.drirc: No such file or 
 directory.
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libccp.so : No such file or directory
 Backend : ini
 Integration : true
 Profile : default
 Adding plugins
 Initializing core options...done
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libmove.so : No such file or directory
 Initializing move options...done
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libresize.so : No such file or directory
 Initializing resize options...done
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libplace.so : No such file or directory
 Initializing place options...done
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libdecoration.so : No such file or directory
 WARNING: Application calling GLX 1.3 function glXCreatePixmap when GLX 1.3 
 is not supported!  This is an application bug!
 Initializing decoration options...done
 WARNING: Application calling GLX 1.3 function glXDestroyPixmap when GLX 1.3 
 is not supported!  This is an application bug!
 Setting Update shadow_color
 compiz (core) - Debug: Could not stat() file 
 /home/bclark/.compiz/plugins/libgconf.so : No such file or directory
   

I am seeing the same messages and Compiz works fine. What did you
upgrade when things broke? Did you recently switch to KMS/DRI2 for
instance? Please send your Xorg.0.log.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf63ad5.7060...@ens-lyon.org



Bug#582482: Dist-upgrade leads to compiz not starting

2010-05-21 Thread Brice Goglin
On 21/05/2010 10:58, Brent Clark wrote:
 On 21/05/2010 09:48, Brice Goglin wrote:
 I am seeing the same messages and Compiz works fine. What did you
 upgrade when things broke? Did you recently switch to KMS/DRI2 for
 instance? Please send your Xorg.0.log.

 Brice


 Thanks for looking.

 Kind Regards
 Brent Clark

Try upgrading to a recent kernel first, for instance latest
linux-image-2.6.32-5-686.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf657b4.4050...@ens-lyon.org



Bug#581583: Transfer to ati_drv this issue

2010-05-19 Thread Brice Goglin
reassign 581583 xserver-xorg-video-radeon 1:6.13.0-1
thank you



On 18/05/2010 22:19, Emmanuel Fleury wrote:
 Hi,

 I finally fixed this issue by forcing the driver to be fbdev. In fact,
 this problem of display corruption occurs when the driver is ati_drv,
 radeon_drv or r128_drv.

 Regards
 --
 Emmanuel Fleury



   


I don't see why it was assigned to fbdev first, radeon is indeed the
driver for your board.
ati is just a wrapper that loads radeon underneath. r128 doesn't support
your hardware.

You might want to try 2.6.34 or xf86-video-ati git master.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf4c66c.10...@ens-lyon.org



Bug#581560: X performance degradation

2010-05-16 Thread Brice Goglin
On 13/05/2010 19:17, Jan Spurný wrote:
 Package: xserver-xorg-video-intel
 Version: 2:2.9.1-3


 When I've upgraded from lenny to squeeze, graphics became VERY slow compared 
 to previous performance (in lenny). It is very annoying, but not entirely 
 unusable.

 This means:

 1) extremely slow scrolling (in firefox, in xterm, even cat somelongfile in 
 xterm takes very long time)
 - this happens allways

 2) sometimes when I switch from one virtual workspace to another, I can see 
 only small tile in the left top corner (approximately 10% of the screen size) 
 for some time (1-3 seconds) and then the rest of the window gets painted
 - this happens sometimes (2-3x in a day)

 3) redrawing of windows is very slow when switching form one workspace to 
 another - I can see with naked eyes how the window gets repainted from top to 
 bottom - it's definitelly less than one second - maybe 0.1-0.2 s
 - this happens allways

 4) glxgears gives ~400fps, while it gave more than 900 before..
 - this happens allways

 5) in top (or htop) - X process is using a lot of CPU even when I'm only 
 switching virtual workspaces
 - this happens allways

 6) gray bars appears on screen and disapears when I switch to another 
 workspace and back or cycle through overlapping windows on current workspace. 
 Bars are small (from 10x50 to 10x100 pixels maybe) and I've seen 4 of them at 
 most
 - this happens rarely (1-2x in a week)

 Window manager: fluxbox (happens in gnome too)

 I am using AMD64 Debian GNU/Linux Squeeze, kernel 2.6.32-3-amd64
   

Try a newer kernel, at least 2.6.32-4-amd64

Brice




--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf05345.7060...@ens-lyon.org



Re: xserver-xorg-input-summa in squeeze

2010-04-26 Thread Brice Goglin
On 27/04/2010 01:38, Facundo Aguirre wrote:
 Hi, i hava a Genius NewSketch 1212HRIII tablet that is supported by the
 package xserver-xorg-input-summa.
 But i have squeeze and the last release (1.2.0-1) is supported by lenny.
 Are there any posibilities to support the xserver-xorg-input-summa
 module in squeeze?
   

Hello,

If you look at the upstream repository, you'll see that this driver is
broken and unmaintained:
http://cgit.freedesktop.org/xorg/driver/xf86-input-summa/commit/?id=4477fe8dfddc812db22dc6ec7b8e5b6378851923
That's why we removed it from Debian (and several other input drivers).

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bd674ed.4030...@ens-lyon.org



Bug#578654: I830PMEvent: Capability change over and over...

2010-04-21 Thread Brice Goglin
deb...@x.ray.net wrote:
 Build Operating System: Linux 2.6.32-4-amd64 x86_64 Debian
 Current Operating System: Linux loki 2.6.32-3-amd64 #1 SMP Wed Feb 24
 18:07:42 UTC 2010 x86_64
 Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-3-amd64
   

Your kernel is too old, you want 2.6.32-4 or 2.6.33

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bcf2b4b.9090...@ens-lyon.org



Bug#578391: X crashing with compiz/render enabled + intel VGA device + latest version of xorg-core

2010-04-19 Thread Brice Goglin
Cedric wrote:
 Package: xserver-xorg-core
 Version: 2:1.7.6.901-2

 System:
 Linux 2.6.32-3-686 #1 SMP Thu Feb 25 06:14:20 UTC 2010 i686 GNU/Linux

Please upgrade to 2.6.32-4 currently in sid.

If the problem still happens, we need the backtrace of the crash (see
the end of Xorg.0.log, or (better) get it with gdb).

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bcc8afa.3050...@ens-lyon.org



mesa: Changes to 'upstream-experimental'

2010-04-18 Thread Brice Goglin
Rebased ref, commits from common ancestor:
commit db3b34219ef1dbf9ebf5e524d3e459f9ad9571b5
Author: Brian Paul bri...@vmware.com
Date:   Fri Apr 16 08:25:58 2010 -0600

docs: update links for new mesa-users and mesa-announce lists

diff --git a/docs/lists.html b/docs/lists.html
index e758a79..1c6a4d9 100644
--- a/docs/lists.html
+++ b/docs/lists.html
@@ -13,8 +13,8 @@
 /p
 
 ul
-lia href=https://lists.sourceforge.net/lists/listinfo/mesa3d-users;
-target=_parentmesa3d-users/a - intended for end-users of Mesa and DRI
+lia href=http://lists.freedesktop.org/mailman/listinfo/mesa-users;
+target=_parentmesa-users/a - intended for end-users of Mesa and DRI
 drivers.  Newbie questions are OK, but please try the general OpenGL
 resources and Mesa/DRI documentation first.
 /li
@@ -30,8 +30,8 @@ target=_parentmesa-commit/a - relays git check-in 
messages
 In general, people should not post to this list.
 /li
 br
-lia href=https://lists.sourceforge.net/lists/listinfo/mesa3d-announce;
-target=_parentmesa3d-announce/a - announcements of new Mesa
+lia href=http://lists.freedesktop.org/mailman/listinfo/mesa-announce;
+target=_parentmesa-announce/a - announcements of new Mesa
 versions are sent to this list.  Very low traffic.
 /li
 /ul

commit 885048232fb715b0646d52ff35305941a25f1382
Author: Tormod Volden lists.tor...@gmail.com
Date:   Thu Apr 15 10:13:53 2010 -0700

savage: call _mesa_meta_init/free()

Fixes crash when using _mesa_CopyTexImage2D.
Bug #27652.

Signed-off-by: Tormod Volden debian.tor...@gmail.com
Signed-off-by: Brian Paul bri...@vmware.com

diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c 
b/src/mesa/drivers/dri/savage/savage_xmesa.c
index 6f07ac2..c3a53ea 100644
--- a/src/mesa/drivers/dri/savage/savage_xmesa.c
+++ b/src/mesa/drivers/dri/savage/savage_xmesa.c
@@ -44,6 +44,7 @@
 #include tnl/t_pipeline.h
 
 #include drivers/common/driverfuncs.h
+#include drivers/common/meta.h
 
 #include savagedd.h
 #include savagestate.h
@@ -473,6 +474,8 @@ savageCreateContext( const __GLcontextModes *mesaVis,
imesa-CurrentTexObj[0] = 0;
imesa-CurrentTexObj[1] = 0;
 
+   _mesa_meta_init( ctx );
+
/* Initialize the software rasterizer and helper modules.
 */
_swrast_CreateContext( ctx );
@@ -564,6 +567,8 @@ savageDestroyContext(__DRIcontext *driContextPriv)
   free(imesa-cmdBuf.base);
   free(imesa-clientVtxBuf.buf);
 
+  _mesa_meta_free( imesa-glCtx );
+
   _swsetup_DestroyContext(imesa-glCtx );
   _tnl_DestroyContext( imesa-glCtx );
   _vbo_DestroyContext( imesa-glCtx );

commit b3a68cdc6f4bf2c006aa01f8980536e8e520d62a
Author: Arpad Borsos arpad.bor...@googlemail.com
Date:   Wed Apr 14 14:26:32 2010 -0600

softpipe: Fix division by zero

This can be triggered by running the cairo tests using the gl backend
and softpipe.

Signed-off-by: Brian Paul bri...@vmware.com

diff --git a/src/gallium/drivers/softpipe/sp_setup.c 
b/src/gallium/drivers/softpipe/sp_setup.c
index 85966bc..e64aee6 100644
--- a/src/gallium/drivers/softpipe/sp_setup.c
+++ b/src/gallium/drivers/softpipe/sp_setup.c
@@ -669,17 +669,17 @@ static void setup_tri_edges( struct setup_context *setup )
 
setup-emaj.sy = ceilf(vmin_y);
setup-emaj.lines = (int) ceilf(vmax_y - setup-emaj.sy);
-   setup-emaj.dxdy = setup-emaj.dx / setup-emaj.dy;
+   setup-emaj.dxdy = setup-emaj.dy ? setup-emaj.dx / setup-emaj.dy : .0f;
setup-emaj.sx = vmin_x + (setup-emaj.sy - vmin_y) * setup-emaj.dxdy;
 
setup-etop.sy = ceilf(vmid_y);
setup-etop.lines = (int) ceilf(vmax_y - setup-etop.sy);
-   setup-etop.dxdy = setup-etop.dx / setup-etop.dy;
+   setup-etop.dxdy = setup-etop.dy ? setup-etop.dx / setup-etop.dy : .0f;
setup-etop.sx = vmid_x + (setup-etop.sy - vmid_y) * setup-etop.dxdy;
 
setup-ebot.sy = ceilf(vmin_y);
setup-ebot.lines = (int) ceilf(vmid_y - setup-ebot.sy);
-   setup-ebot.dxdy = setup-ebot.dx / setup-ebot.dy;
+   setup-ebot.dxdy = setup-ebot.dy ? setup-ebot.dx / setup-ebot.dy : .0f;
setup-ebot.sx = vmin_x + (setup-ebot.sy - vmin_y) * setup-ebot.dxdy;
 }
 

commit d9793fc3ac0986f8665e269ecf993705132d0360
Author: Michael Schmidt mschm...@redhat.com
Date:   Wed Apr 14 10:12:42 2010 -0400

Initialize DRI2 swap interval to 0

https://bugs.freedesktop.org/show_bug.cgi?id=27628

diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c
index c4b5cb9..06f3d8b 100644
--- a/src/glx/dri2_glx.c
+++ b/src/glx/dri2_glx.c
@@ -185,6 +185,7 @@ dri2CreateDrawable(__GLXscreenConfigs * psc,
pdraw-base.drawable = drawable;
pdraw-base.psc = psc;
pdraw-bufferCount = 0;
+   pdraw-swap_interval = 0;
 
DRI2CreateDrawable(psc-dpy, xDrawable);
 

commit 157bdd1446dd21cc87a89abdc890b2f6dc83af76
Author: Jesse Barnes jbar...@virtuousgeek.org
Date:   Tue Apr 13 09:38:41 2010 -0700

DRI2: report swap events correctly in direct rendered case

In the direct rendered case, we need to convert DRI2 swap complete
events to GLX 

mesa: Changes to 'refs/tags/mesa-7.8.1-1'

2010-04-18 Thread Brice Goglin
Tag 'mesa-7.8.1-1' created by Brice Goglin bgog...@debian.org at 2010-04-18 
09:52 +

Tagging upload of mesa 7.8.1-1 to experimental.

Changes since mesa-7.7.1-1:
Aaron Plattner (1):
  glxgears: Support GLX_EXT_swap_control for querying the current swap 
interval.

Alan Coopersmith (11):
  radeon_compiler: include main/compiler.h for compiler portability macros
  Check if gcc supports -fvisibility=hidden before adding to CFLAGS
  Sun compilers now support some gcc __attribute__ values
  Remove hardcoded -Wall from Radeon DRI makefiles
  mklib: Fix static library generation/installation on Solaris
  Copy __FUNCTION__ portability #defines from mesa/compiler.h to 
eglcompiler.h
  gallium/i965: Make brw_batchbuffer prototypes match in source  header
  Fix typo in configure message for gcc -fvisibility=hidden
  mesa: Add shader/ path to #include statements in shader parser/lexer 
sources
  eglplatform.h: recognize __unix as well for Solaris  other SVR4 platforms
  Gallium: Add Solaris atomic function definitions to u_atomic.h

Alan Hourihane (20):
  Fix memory leak.
  Fix vega compilation.
  Fix indentation.
  Fix comment to use /* */ rather than //
  move assert to avoid crash in debug build.
  Fix test
  silence compiler warning
  fix overflow
  Remove obsolete file
  only use -Werror flags with gcc 4.2.x and 4.3.x.
  Allow the environment to override certain flags.
  fix typo
  add missing SCons.Util
  Check for __USE_MISC for defining uint  ushort
  support an 'embedded' platform target which turns off most parts of the
  Duplicate CCVERSION check code to compensate for different env CC.
  add PIPE_SUBSYSTEM_EMBEDDED when embedded platform used
  Don't define HAVE_POSIX_MEMALIGN for embedded target.
  define own embedded target and cleanup previous commit.
  another gcc 4.2.x check for mstackrealign

Alex Deucher (33):
  radeon/r200/r600: fix drivers for changes in 
433f0a82f5a4696e6b0c4061f645485ec8079bb4
  radeon: protect fbo allocation message with debug
  r600: add r600_blit.c
  r600: improve blit support
  r600: remove stray END_BATCH in blit code
  r600: fix some warnings
  r200: add blit support
  r100: add blit support
  r60: Add relocs for CB_TILE/FRAG
  r100/r200: add blit support for ARGB
  r100/r200/r600: check if blitting for given format is supported earlier
  r100/r200/r600: fix typo in 2b1d5ea4f0250a6a7fa312ced0a7af85e909381b
  r200: add missing symlink to radeon_tex_copy.c
  r100/r200: fix dst pitch in blit code
  r100/r200: fix Y coord flipping in accelerated blits
  r200: fix typo in 76cf2618327a7f008dcfd0d91d64d6d9e01f9a9c
  r200: fix some breakage after move to common blit code
  r200: re-adding missing pitch alignment check in blit code
  r300: rv350+ support FLT16_2/4 vertex formats
  r600: rv670 support 8 tex instructions just like other r6xx
  r600: fix warning
  r600: reduce number of cache flushes
  r600: proper fix for 15601835361e2fdd34b38b265cfc3007749ee24d
  r600: enable OQ on rv740 on drms with working pipe config
  r600: add new rs880 pci id
  radeon/r200/r300/r600: add check_blit vtbl function
  r600: no need to flush on context init
  r600: recalculate point size, if point min/max size changes
  radeon/r200/r600: reset bos when validating buffers during blit
  radeon/r200/r600: allow src and dst BOs to be placed in GTT during blit
  r600: enable GL_ARB_pixel_buffer_object
  radeon: don't attempt to use alternate blit formats for depth buffers
  r600: add new r7xx pci ids

Alex Weiss (1):
  Fixed mklib to properly merge static libraries on darwin.

Andre Maasikas (36):
  Merge branch 'mesa_7_7_branch'
  r600: execute SET funtions on all channels
  r600: wip glsl - refactor conditional instructions a bit
  r600: quick hack to get KIL_NV working - does condition TR only for now
  r600: implement FRAG_ATTRIB_FACE, glsl/twoside works
  r600: glsl - allow specifying texture sampler via uniforms
  r600: add ABS support for source regs to assembler
  r600: merge alu_instruction/alu_instruction2
  r600: add assembler support for literal(inline) constants
  r600: use the new inline constants feature to fix COS
  r600: fix SIN also
  r600: remove (now) dead code
  r600: and finally fix SCS
  r600: add DDX DDY opcodes
  r600: add support for FRAG_ATTRIB_PNTC
  r600: fix fragment.position
  r600: fix typos for vert-tex
  r600: use _mesa_insert_instructions to fixup wpos instead of manual ins 
insert
  r600: disallow negative offsets for relative addressing for now
  r600: support more of arb_point_sprite and also sprite_coord_origin
  r600: support vertex_array_bgra
  r600: support depth compare functions  shadow_ambient
  r600

Bug#578270: xserver-xorg-video-radeon: X crash (back to gdm login) when loading compiz

2010-04-18 Thread Brice Goglin
Michael Schmitt wrote:
 Package: xserver-xorg-video-radeon
 Version: 1:6.13.0-1
 Severity: important
 Tags: sid

 Hi folks,

 as soon as I try to start compiz, X crashes and drops me back to GDM login. 
 At least I
 do not see any errors in the logs.
 I did not use X / compiz regularly on this box (nor do I reboot it very 
 often) so I do
 not know when exactly the proplem did occur. This day I installed kernel 
 2.6.32-4-686
 as DRI (and Xv) was broken (version missmatch according to Xorg log). As soon 
 as logged
 in compiz started and crashed X. Disabled compiz, logged in, all works, 
 manually
 started compiz -- crash.

   

If it's indeed a crash, please get a backtrace. There should be a basic
backtrace at the end of Xorg.0.log (or Xorg.0.log.old if X restarted
since the crash). Then, you might catch a better backtrace with gdb.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bcb1248.4070...@ens-lyon.org



Re: Thanks for your BTS work!

2010-04-17 Thread Brice Goglin
Cyril Brulebois wrote:
 Hi,
 
 I'd like to take the opportunity to thank you for all the follow-ups
 you send to bugreports, that's highly appreciated. I think at least
 Julien was also positively impressed, although I obviously can't speak
 for him. :)
 
 Anyway, again: many thanks for your efforts on X packages!
 
 Mraw,
 KiBi.


It'd be good if you could join the #debian-x IRC channel on
irc.debian.org. It's usually useful for multiple reasons.

Brice


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bc95903.7010...@ens-lyon.org



Bug#577724: xserver-xorg-video-intel: Fail to start when laptop's LID closed

2010-04-15 Thread Brice Goglin
Frank Lin PIAT wrote:
 On Thu, 2010-04-15 at 02:54 +0200, Cyril Brulebois wrote:
   
 Frank Lin PIAT fp...@klabs.be (14/04/2010):
 
 I have an anoying problem when I close my laptop lid during the
 computer startup (i.e between grub and Xorg initialisation): Xorg
 fails to start.

 Restarting gdm with the laptop lid open works.
   
 What do you expect it to do?
 

 Some magic to detect that it's a laptop, which lid is closed [but
 present] ;-)
   

This might have changed between 2.6.33 and 2.6.34. The intel guys
apparently dropped some detection code that detects the lid status.

At least on my laptop, booting with lid closed and DVI plugged gives me
both outputs enabled with 2.6.34 while lid would be off with 2.6.33.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bc6c0af.1010...@ens-lyon.org



libdrm: Changes to 'upstream-experimental'

2010-04-15 Thread Brice Goglin
Rebased ref, commits from common ancestor:


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1o2e4z-00048c...@alioth.debian.org



libdrm: Changes to 'debian-experimental'

2010-04-15 Thread Brice Goglin
Rebased ref, commits from common ancestor:
commit a8ecb929d9f72b24dc7b45c03eaf606bc6c64bee
Author: Brice Goglin bgog...@debian.org
Date:   Fri Apr 16 07:09:36 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index c6b7091..0f3e99d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,11 @@
-libdrm (2.4.20-1) UNRELEASED; urgency=low
+libdrm (2.4.20-1) experimental; urgency=low
 
   * New upstream release.
 + Cherry-pick upstream fixes 107ccd92 and 332739e3.
   * Update libdrm-intel1.symbols, libdrm-radeon1.symbols and shlibs.
   * Disable libkms for now.
 
- -- Brice Goglin bgog...@debian.org  Tue, 06 Apr 2010 21:46:57 +0200
+ -- Brice Goglin bgog...@debian.org  Fri, 16 Apr 2010 07:14:41 +0200
 
 libdrm (2.4.18-5) unstable; urgency=low
 

commit 882cf719a5ddd2182b454c578658a89465e86a03
Author: Brice Goglin bgog...@debian.org
Date:   Fri Apr 16 07:08:27 2010 +0200

Update changelog with cherry-picked commits

diff --git a/debian/changelog b/debian/changelog
index 48020ef..c91bc71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libdrm (2.4.20-1) UNRELEASED; urgency=low
 
   * New upstream release.
++ Cherry-pick upstream fixes 107ccd92 and 332739e3.
   * Update libdrm-intel1.symbols, libdrm-radeon1.symbols and shlibs.
   * Disable libkms for now.
 

commit 332739e3074135b00e781468ad8aaed1950f5453
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Sun Apr 11 18:40:38 2010 +0100

intel: Use the correct size when allocating reloc_target_info array

Thomas tracked down this error with kdm and commit b509640:

==4320== Invalid write of size 8
==4320==at 0x9A97998: do_bo_emit_reloc (in 
/usr/lib/libdrm_intel.so.1.0.0)
==4320==by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in 
/usr/lib/libdrm_intel.so.1.0.0)
==4320==by 0xAED3234: intel_batchbuffer_emit_reloc (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF13827: brw_emit_vertices (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF1F14D: brw_upload_state (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF12122: brw_draw_prims (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xB256824: vbo_exec_vtx_flush (in 
/usr/lib/xorg/modules/dri/libdricore.so)
==4320==by 0xB2523BB: vbo_exec_FlushVertices_internal (in 
/usr/lib/xorg/modules/dri/libdricore.so)
==4320==by 0xB252411: vbo_exec_FlushVertices (in 
/usr/lib/xorg/modules/dri/libdricore.so)
==4320==by 0xB195A3D: _mesa_PopAttrib (in 
/usr/lib/xorg/modules/dri/libdricore.so)
==4320==by 0x8DF0F02: __glXDisp_Render (in 
/usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==by 0x8DF517F: __glXDispatch (in 
/usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==  Address 0x126a8b80 is 0 bytes after a block of size 16,368 alloc'd
==4320==at 0x4C23E03: malloc (in 
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==4320==by 0x9A97A64: do_bo_emit_reloc (in 
/usr/lib/libdrm_intel.so.1.0.0)
==4320==by 0x9A97B9C: drm_intel_gem_bo_emit_reloc (in 
/usr/lib/libdrm_intel.so.1.0.0)
==4320==by 0xAED3234: intel_batchbuffer_emit_reloc (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF191DB: upload_binding_table_pointers (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF1F14D: brw_upload_state (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xAF12122: brw_draw_prims (in 
/usr/lib/xorg/modules/dri/i965_dri.so)
==4320==by 0xB255EF6: vbo_exec_DrawArrays (in 
/usr/lib/xorg/modules/dri/libdricore.so)
==4320==by 0x8DF67A3: __glXDisp_DrawArrays (in 
/usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==by 0x8DF0F02: __glXDisp_Render (in 
/usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==by 0x8DF517F: __glXDispatch (in 
/usr/lib/xorg/modules/extensions/libglx.xorg)
==4320==by 0x446293: ??? (in /usr/bin/Xorg)

which is simply due to only allocating space for the pointers and not
the structs themselves. D'oh.

Reported-by: Thomas Bächler tho...@archlinux.org
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk

diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c
index 8e46e37..a2cf6e6 100644
--- a/intel/intel_bufmgr_gem.c
+++ b/intel/intel_bufmgr_gem.c
@@ -470,7 +470,7 @@ drm_intel_setup_reloc_list(drm_intel_bo *bo)
bo_gem-relocs = malloc(max_relocs *
sizeof(struct drm_i915_gem_relocation_entry));
bo_gem-reloc_target_info = malloc(max_relocs *
-  sizeof(drm_intel_reloc_target *));
+  sizeof(drm_intel_reloc_target));
if (bo_gem-relocs == NULL || bo_gem-reloc_target_info == NULL) {
bo_gem-has_error = 1;
 

commit 107ccd92d4c5b34e99b70a2af3f83253ceb24b46
Author: Kristian Høgsberg k...@bitplanet.net
Date

libdrm: Changes to 'refs/tags/libdrm-2.4.20-1'

2010-04-15 Thread Brice Goglin
Tag 'libdrm-2.4.20-1' created by Brice Goglin bgog...@debian.org at 
2010-04-16 05:26 +

Tagging upload of libdrm 2.4.20-1 to experimental.

Changes since libdrm-2.4.18-5:
Ben Skeggs (4):
  nouveau: remove unused field from nouveau_bo
  nouveau: fix segfault in nouveau_bo_new_tile() failure path
  nouveau: fix annoying compiler warning
  Fix pkgconfig includes for /usr/include/drm

Brice Goglin (9):
  Merge tag '2.4.20' into debian-experimental
  New upstream release
  Update 03_revert_abi_change.diff
  Disable libkms for now
  Update libdrm-intel1.symbols and shlibs.
  Update libdrm-radeon1.symbols and shlibs.
  Update changelog with cherry-picked commits
  Merge branch 'debian-unstable' into debian-experimental
  Prepare changelog for upload

Chris Wilson (3):
  intel: Propagate some more error returns
  intel: Repeat execbuffer if interrupted by signal
  intel: Use the correct size when allocating reloc_target_info array

Eric Anholt (11):
  intel: Add initial support for Sandybridge, and clean up the #defines.
  intel: Use an integer for chipset generation instead of many conditionals.
  intel: add a comment about tiled buffer alloc height alignment from Mesa.
  intel: Fix typo in conversion from IS_GEN to bufmgr_gem-gen.
  intel: Don't tile-align pitch for untiled buffers.
  intel: Don't enable execbuf2 fenced relocs unless we have execbuf2.
  intel: Update the needs_fence flag of buffers on the validate list.
  Increment version to 2.4.19 for release.
  intel: Only align Y-tiling pitch to the Y tile width.
  intel: Align untiled buffer pitch to 64B.
  intel: Install the header file in the libdrm/ directory.

Francisco Jerez (5):
  nouveau: Update nouveau_class.h.
  nouveau: Update nouveau_class.h.
  nouveau: Small lighting related addition to nouveau_class.h.
  nouveau: Fix up the stride of NV20TCL_LIGHT_BACK_*.
  nouveau: Regenerate nouveau_class.h.

Jakob Bornecrantz (4):
  vmwgfx: Update kernel header
  libkms: Add missing include file to libkms source
  libkms: Enable by default
  libkms: Use a standard version number

Jerome Glisse (1):
  drm/radeon: tab/whitespace cleanup

Jesse Barnes (3):
  libdrm/intel: execbuf2 support
  modetest: add optional select codepath
  libdrm: bump version number to 2.4.20 for release

Julien Cristau (3):
  libdrm_intel.pc: don't include ${includedir}/drm
  libdrm_nouveau requires libdrm
  Install headers to $(includedir)/libdrm

Kristian Høgsberg (1):
  Revert Fix pkgconfig includes for /usr/include/drm

Maarten Maathuis (1):
  nouveau: make sure initial kalloc for user bo ends up in the right place

Marcin Kościelnicki (6):
  Add config.h macro HAVE_NOUVEAU
  libkms/intel: Throw out unused intel_bo fields.
  libkms/nouveau: Add support
  tests: Add nouveau to list of supported modules.
  tests: vrefresh is actually not * 1000.
  tests/modetest: Don't get_props on a connector after freeing it.

Marek Olšák (1):
  radeon: add square-tiling flag

Patrice Mandin (2):
  nv30: update for front/back stencil inversion
  nv30: update for 8 texture units

Pauli Nieminen (4):
  libdrm: Move intel_atomic.h to libdrm core for sharing.
  libdrm_radeon: Optimize cs_gem_reloc to do less looping.
  libdrm: Fix error message if libdrm_intel|radeon is disabled and there is 
no atomic ops.
  Check HAVE_RADEON only after checking for atomic operations.

---
 ChangeLog|  397 +
 Makefile.am  |1 
 configure.ac |   51 +
 debian/changelog |9 
 debian/libdrm-intel1.symbols |2 
 debian/libdrm-radeon1.symbols|2 
 debian/patches/03_revert_abi_change.diff |  910 ++-
 debian/rules |5 
 include/drm/Makefile.am  |2 
 include/drm/i915_drm.h   |   56 +
 include/drm/radeon_drm.h |1 
 include/drm/vmwgfx_drm.h |   63 --
 intel/Makefile.am|3 
 intel/intel_atomic.h |   93 ---
 intel/intel_bufmgr.c |   12 
 intel/intel_bufmgr.h |5 
 intel/intel_bufmgr_gem.c |  348 ++-
 intel/intel_bufmgr_priv.h|5 
 intel/intel_chipset.h|   90 +--
 intel/libdrm_intel.pc.in |2 
 libdrm.pc.in |2 
 libkms/Makefile.am   |5 
 libkms/intel.c   |2 
 libkms/internal.h|2 
 libkms/libkms.pc.in  |2 
 libkms/linux.c   |4 
 libkms/nouveau.c |  220

libdrm: Changes to 'upstream-experimental'

2010-04-14 Thread Brice Goglin
 .gitignore  |6 
 Makefile.am |   54 
 README  |   85 
 RELEASING   |   66 
 bsd-core/Makefile   |   11 
 bsd-core/ati_pcigart.c  |  219 
 bsd-core/drm.h  |1 
 bsd-core/drm/Makefile   |   41 
 bsd-core/drmP.h | 1019 -
 bsd-core/drm_agpsupport.c   |  466 
 bsd-core/drm_atomic.h   |   88 
 bsd-core/drm_auth.c |  187 
 bsd-core/drm_bufs.c | 1110 -
 bsd-core/drm_context.c  |  320 
 bsd-core/drm_dma.c  |  136 
 bsd-core/drm_drawable.c |  170 
 bsd-core/drm_drv.c  |  839 -
 bsd-core/drm_fops.c |  106 
 bsd-core/drm_internal.h |1 
 bsd-core/drm_ioctl.c|  282 
 bsd-core/drm_irq.c  |  499 
 bsd-core/drm_linux_list.h   |   75 
 bsd-core/drm_lock.c |  191 
 bsd-core/drm_memory.c   |  110 
 bsd-core/drm_mode.h |1 
 bsd-core/drm_pci.c  |  125 
 bsd-core/drm_sarea.h|1 
 bsd-core/drm_scatter.c  |  190 
 bsd-core/drm_sysctl.c   |  312 
 bsd-core/drm_vm.c   |  124 
 bsd-core/i915/Makefile  |   23 
 bsd-core/i915_dma.c |1 
 bsd-core/i915_drm.h |1 
 bsd-core/i915_drv.c |  158 
 bsd-core/i915_drv.h |1 
 bsd-core/i915_irq.c |1 
 bsd-core/i915_mem.c |1 
 bsd-core/i915_reg.h |1 
 bsd-core/i915_suspend.c |1 
 bsd-core/mach64/Makefile|   23 
 bsd-core/mach64_dma.c   |1 
 bsd-core/mach64_drm.h   |1 
 bsd-core/mach64_drv.c   |  135 
 bsd-core/mach64_drv.h   |1 
 bsd-core/mach64_irq.c   |1 
 bsd-core/mach64_state.c |1 
 bsd-core/mga/Makefile   |   23 
 bsd-core/mga_dma.c  |1 
 bsd-core/mga_drm.h  |1 
 bsd-core/mga_drv.c  |  172 
 bsd-core/mga_drv.h  |1 
 bsd-core/mga_irq.c  |1 
 bsd-core/mga_state.c|1 
 bsd-core/mga_ucode.h|1 
 bsd-core/mga_warp.c |1 
 bsd-core/nouveau/@  |1 
 bsd-core/nouveau/Makefile   |   33 
 bsd-core/nouveau/machine|1 
 bsd-core/nouveau_dma.c  |1 
 bsd-core/nouveau_dma.h  |1 
 bsd-core/nouveau_drm.h  |1 
 bsd-core/nouveau_drv.c  |  148 
 bsd-core/nouveau_drv.h  |1 
 bsd-core/nouveau_fifo.c |1 
 bsd-core/nouveau_irq.c  |1 
 bsd-core/nouveau_mem.c  |1 
 bsd-core/nouveau_notifier.c |1 
 bsd-core/nouveau_object.c   |1 
 bsd-core/nouveau_reg.h  |1 
 bsd-core/nouveau_sgdma.c|  357 
 bsd-core/nouveau_state.c|1 
 bsd-core/nouveau_swmthd.c   |1 
 bsd-core/nouveau_swmthd.h   |1 
 bsd-core/nv04_fb.c  |1 
 bsd-core/nv04_fifo.c|1 
 bsd-core/nv04_graph.c   |1 
 bsd-core/nv04_instmem.c |1 
 bsd-core/nv04_mc.c  |1 
 bsd-core/nv04_timer.c   |1 
 bsd-core/nv10_fb.c  |1 
 bsd-core/nv10_fifo.c|1 
 bsd-core/nv10_graph.c   |1 
 bsd-core/nv20_graph.c   |1 
 bsd-core/nv40_fb.c  |1 
 bsd-core/nv40_fifo.c|1 
 bsd-core/nv40_graph.c   |1 
 bsd-core/nv40_mc.c  |1 
 bsd-core/nv50_fifo.c|1 
 bsd-core/nv50_graph.c   |1 
 bsd-core/nv50_grctx.h   |1 
 bsd-core/nv50_instmem.c |1 
 bsd-core/nv50_mc.c  |1 
 bsd-core/r128/Makefile  |   23 
 bsd-core/r128_cce.c |1 
 bsd-core/r128_drm.h |1 
 bsd-core/r128_drv.c |  133 
 bsd-core/r128_drv.h |1 
 bsd-core/r128_irq.c |1 
 bsd-core/r128_state.c   |1 
 bsd-core/r300_cmdbuf.c  |1 
 bsd-core/r300_reg.h |1 
 bsd-core/radeon/Makefile|   28 
 bsd-core/radeon_cp.c|1 
 bsd-core/radeon_drm.h   |1 
 bsd-core/radeon_drv.c   |  132 
 bsd-core/radeon_drv.h   |1 
 bsd-core/radeon_irq.c   |1 
 bsd-core/radeon_mem.c   |1 
 bsd-core/radeon_microcode.h |1 
 bsd-core/radeon_state.c |1 
 bsd-core/savage/Makefile|   23 
 

libdrm: Changes to 'debian-experimental'

2010-04-14 Thread Brice Goglin
 ChangeLog|  471 +
 Makefile.am  |1 
 configure.ac |   51 
 debian/changelog |   15 
 debian/libdrm-intel1.symbols |2 
 debian/libdrm-radeon1.symbols|   20 
 debian/patches/03_revert_abi_change.diff | 9100 ++-
 debian/rules |5 
 include/drm/Makefile.am  |2 
 include/drm/i915_drm.h   |   56 
 include/drm/radeon_drm.h |1 
 include/drm/vmwgfx_drm.h |   63 
 intel/Makefile.am|3 
 intel/intel_atomic.h |   93 
 intel/intel_bufmgr.c |   12 
 intel/intel_bufmgr.h |5 
 intel/intel_bufmgr_gem.c |  348 +
 intel/intel_bufmgr_priv.h|5 
 intel/intel_chipset.h|   90 
 intel/libdrm_intel.pc.in |2 
 libdrm.pc.in |2 
 libkms/Makefile.am   |5 
 libkms/intel.c   |2 
 libkms/internal.h|2 
 libkms/libkms.pc.in  |2 
 libkms/linux.c   |4 
 libkms/nouveau.c |  220 
 nouveau/Makefile.am  |3 
 nouveau/libdrm_nouveau.pc.in |3 
 nouveau/nouveau_bo.c |2 
 nouveau/nouveau_channel.c|2 
 nouveau/nouveau_class.h  | 9041 --
 nouveau/nouveau_private.h|1 
 nouveau/nouveau_reloc.c  |6 
 radeon/Makefile.am   |5 
 radeon/bof.c |  477 +
 radeon/bof.h |   90 
 radeon/libdrm_radeon.pc.in   |2 
 radeon/radeon_bo.h   |1 
 radeon/radeon_bo_gem.c   |9 
 radeon/radeon_bo_gem.h   |1 
 radeon/radeon_cs.c   |6 
 radeon/radeon_cs.h   |2 
 radeon/radeon_cs_gem.c   |  231 
 radeon/radeon_cs_int.h   |1 
 tests/kmstest/main.c |1 
 tests/modeprint/modeprint.c  |4 
 tests/modetest/modetest.c|   29 
 xf86atomic.h |   99 
 xf86drmMode.h|2 
 50 files changed, 11251 insertions(+), 9349 deletions(-)

New commits:
commit 227cebf8981fab5c24dde6af0b76a92d506ef596
Author: Brice Goglin bgog...@debian.org
Date:   Wed Apr 14 14:46:30 2010 +0200

Disable libkms for now

diff --git a/debian/changelog b/debian/changelog
index 604bb71..6c6a399 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ libdrm (2.4.20-1) UNRELEASED; urgency=low
   * New upstream release.
   * Pull upstream master up to commit 3506173b for bug fixes.
   * Update libdrm-intel1.symbols, libdrm-radeon1.symbols and shlibs.
+  * Disable libkms for now.
 
  -- Brice Goglin bgog...@debian.org  Wed, 14 Apr 2010 14:35:23 +0200
 
diff --git a/debian/rules b/debian/rules
index 711da00..41b99db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,7 @@ DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture 
-qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_ARCH_OS?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
+confflags += --disable-libkms
 ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE))
confflags += --build=$(DEB_HOST_GNU_TYPE)
 else

commit bbb086ba6afe95a258e56b39d25158e9db97ff60
Author: Brice Goglin bgog...@debian.org
Date:   Wed Apr 14 14:45:46 2010 +0200

Update libdrm-radeon1.symbols and shlibs.

diff --git a/debian/changelog b/debian/changelog
index e42fad5..604bb71 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,7 @@ libdrm (2.4.20-1) UNRELEASED; urgency=low
 
   * New upstream release.
   * Pull upstream master up to commit 3506173b for bug fixes.
-  * Update libdrm-intel1.symbols and shlibs.
+  * Update libdrm-intel1.symbols, libdrm-radeon1.symbols and shlibs.
 
  -- Brice Goglin bgog...@debian.org  Wed, 14 Apr 2010 14:35:23 +0200
 
diff --git a/debian/libdrm-radeon1.symbols b/debian/libdrm-radeon1.symbols
index 12b1231..11012d0 100644
--- a/debian/libdrm-radeon1.symbols
+++ b/debian/libdrm-radeon1.symbols
@@ -1,4 +1,22 @@
 libdrm_radeon.so.1 libdrm-radeon1 #MINVER#
+ bof_ar...@base 2.4.20-1
+ bof_array_app...@base 2.4.20-1
+ bof_array_...@base 2.4.20-1
+ bof_array_s...@base 2.4.20-1
+ bof_b...@base 2.4.20-1
+ bof_blob_s...@base 2.4.20-1
+ bof_blob_va...@base 2.4.20-1
+ bof_dec...@base 2.4.20-1
+ bof_dump_f...@base 2.4.20-1
+ bof_inc...@base 2.4.20-1
+ bof_in...@base 2.4.20-1
+ bof_int32_va...@base 2.4.20-1
+ bof_load_f...@base 2.4.20-1
+ bof_obj...@base

Bug#565344: is this still an issue?

2010-04-06 Thread Brice Goglin
Chen Gang wrote:
 With recent xorg driver, I can get screen back when suspend to memory.
 But the problem still exists when suspend to disk, so the workaround
 is still needed when I suspend to disk.
 Using the latest radeon driver from sid cannot help on this.
 
 I tried xserver-xorg-video-radeon 1:6.12.6-1 and 1:6.12.192-2, both
 not working in STD mode.
 The kernel I'm using is 2.6.32-3-686 from testing.

You want to try 2.6.32-4 since it contains DRM from 2.6.33

Brice



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bbae26c.7080...@gmail.com



Bug#576612: xserver-xorg-video-radeon: New upstream release 6.13.0, please package

2010-04-06 Thread Brice Goglin
Adrian Glaubitz wrote:
 Hæh, I filed that report under wishlist, that's just a pretty normal
 thing to do as the bug reporting system provides that option. It does
 not convey that someone actually has to fulfill my wish, that's the
 whole idea of a wishlist. You can simply ignore the request or even
 cancel it and no-one will be upset.
   

FWIW, I don't like such wishlists when they are reported so fast (i.e.
within a couple days after the upstream release). If we ever forget to
upload a new upstream release, such a wishlist may help. But in the vast
majority of cases, we are subscribed to upstream mailing lists, we know
we have to upload a new package anytime soon, but we have a real life so
we can't always upload within less 2 hours after the upstream release.

Brice





--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bbb4658.2010...@ens-lyon.org



Bug#576751: xserver-xorg: xserver crashes sometimes when running with external monitor

2010-04-06 Thread Brice Goglin
Thiemo Nagel wrote:
 Package: xserver-xorg
 Version: 1:7.5+5
 Severity: normal

 I'm seeing these crashes when working on an external monitor connected to my
 Eee PC 1000HG.  I'd estimate the frequency at which I have encountered this
 problem at approx. once every 4 hours.  I still have to find out if there is a
 specific action that triggers it.

 [...]
 X.Org X Server 1.7.6
 Release Date: 2010-03-17
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.32.10-dsa-ia32 i686 Debian
 Current Operating System: Linux eee 2.6.32-trunk-686 #1 SMP Sun Jan 10 
 06:32:16 UTC 2010 i686
 Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.32-trunk-686 
 root=/dev/mapper/sda7_crypt ro vga=6 quiet
   

First thing to do is to use linux-image-2.6.32-4-686 since it contains
many DRM updates (from 2.6.32.x and 2.6.33)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bbc1250.9090...@ens-lyon.org



Bug#576753: empty username and passwd cause crash

2010-04-06 Thread Brice Goglin
forcemerge 576602 576360 576753
thank you



jida...@jidanni.org wrote:
 Package: xdm
 Version: 1:1.1.9-1
 Severity: wishlist

 At the xdm login screen, typing just RET to both the username and
 password prompts will cause xdm to crash.
   

Please look at other bug reports before reporting a new one, we have
this one twice already. xdm only has about 30 bugs open, it's very easy
to check the entire list.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bbc1331.3080...@ens-lyon.org



xserver-xorg-video-intel: Changes to 'upstream-experimental'

2010-03-30 Thread Brice Goglin
 NEWS |   40 ++
 configure.ac |2 
 src/i830_dri.c   |5 +
 src/i830_uxa.c   |  149 ---
 uxa/Makefile.am  |5 -
 uxa/uxa-render.c |   22 +++-
 6 files changed, 157 insertions(+), 66 deletions(-)

New commits:
commit 440b4d207b730112169827d0b90b46596659b504
Author: Carl Worth cwo...@cworth.org
Date:   Mon Mar 29 11:20:20 2010 -0700

Increase version to 2.11.0

In preparation for release.

diff --git a/configure.ac b/configure.ac
index 108e283..45663c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-intel],
-2.10.903,
+2.11.0,
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 xf86-video-intel)
 

commit 1119c4523889ddedecf1722f0e9a2e4a7ad326b2
Author: Carl Worth cwo...@cworth.org
Date:   Mon Mar 29 11:19:31 2010 -0700

NEWS: Add release notes for the 2.11.0 release.

Hurrah! We made it.

diff --git a/NEWS b/NEWS
index 8fdf442..d6adb2e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,43 @@
+Release 2.11.0 (2010-03-29)
+===
+New in 2.11: DRI2 and page flipping
+---
+The most significant new feature of this release is support for new
+DRI2 APIs, allowing page flipping to occur for swaps that are
+full-screen and not rotated.
+
+Performance improvements in 2.11 compared to 2.10
+-
+Dramatically improved performance of large pixmaps on
+memory-constrained hardware, (such as 945), by using tiling.
+Note that this fix is new since the most recent release
+candidate for this release (2.10.903).
+
+https://bugs.freedesktop.org/show_bug.cgi?id=25375
+
+Elimination of software fallback with alpha-only pixmap (a fix which
+eliminated a full second from the Moblin boot time):
+
+https://bugs.freedesktop.org/show_bug.cgi?id=26189
+
+Notable bug fixes in 2.11 compared to 2.10
+--
+Fix for undesired black borders on some images, (caued several
+problems with firefox):
+
+http://bugs.freedesktop.org/show_bug.cgi?id=17933
+
+And other fixes to provide more conformance with existing
+software-rendering, (as measures by the cairo test suite), such as the
+sampling location for nearest-neighbor sampling.
+
+Other changes
+-
+Eric Anholt and Daniel Vetter both removed large piles of old and
+useless code now that the driver requires kernel modesetting
+(KMS). This continues to reduce the mainteance burden of the driver,
+making it easier to isolate and fix bugs.
+
 Snapshot 2.10.903 (2010-03-22)
 ==
 Some notable bug fixes

commit df3b26847914557eb3c9c70732d91169b1936d77
Author: Jesse Barnes jbar...@virtuousgeek.org
Date:   Fri Mar 26 10:44:55 2010 -0700

DRI2: release our private front buffer ref when buffer swapping

Pauli pointed out that we take a ref on the front buffer when exchanging
but forget to release it.  The ref is necessary since the set functions
will drop refs as necessary, but once we set the front buffer to point
at the back pixmap, we ned to release our private ref again, or we'll
leak buffers.

Reported-by: Pauli Nieminen suok...@gmail.com
Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org

diff --git a/src/i830_dri.c b/src/i830_dri.c
index 7c595dd..321faf6 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -446,12 +446,17 @@ I830DRI2ExchangeBuffers(DrawablePtr draw, DRI2BufferPtr 
front,
back-name = tmp;
 
/* Swap pixmap bos */
+
+   /* Hold a ref on the front so the set calls below don't destroy it */
dri_bo_reference(i830_get_pixmap_bo(front_priv-pixmap));
 
tmp_bo = i830_get_pixmap_bo(front_priv-pixmap);
i830_set_pixmap_bo(front_priv-pixmap,
   i830_get_pixmap_bo(back_priv-pixmap));
i830_set_pixmap_bo(back_priv-pixmap, tmp_bo); /* should be screen */
+
+   /* Release our ref, the last set should have bumped it */
+   dri_bo_unreference(tmp_bo);
 }
 
 /*

commit 362a49e71fc41541b6dc121660d98e29da4b14e8
Author: Gaetan Nadon mems...@videotron.ca
Date:   Thu Mar 25 10:07:41 2010 -0400

uxa make: remove unused XORG_INCS and DIX_CFLAGS variables

Most likely copied from xserver makefile.

Acked-by: Dan Nicholson dbn.li...@gmail.com
Signed-off-by: Gaetan Nadon mems...@videotron.ca

diff --git a/uxa/Makefile.am b/uxa/Makefile.am
index 0dfad48..c875b63 100644
--- a/uxa/Makefile.am
+++ b/uxa/Makefile.am
@@ -4,10 +4,7 @@ noinst_LTLIBRARIES = libuxa.la
 # built (in hw/xfree86/os-support/solaris) until after UXA is built
 SOLARIS_ASM_CFLAGS=
 
-INCLUDES = \
-   $(XORG_INCS)
-
-AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS) $(DIX_CFLAGS)
+AM_CFLAGS = $(CWARNFLAGS) $(XORG_CFLAGS)
 
 libuxa_la_SOURCES = \
uxa.c \

commit 0d1ac4da5288a621d0493cb109fcd1e040e6c5a7
Author: 

xserver-xorg-video-intel: Changes to 'debian-experimental'

2010-03-30 Thread Brice Goglin
 ChangeLog|  117 +++
 NEWS |   40 ++
 configure.ac |2 
 debian/changelog |6 ++
 src/i830_dri.c   |5 +
 src/i830_uxa.c   |  149 ---
 uxa/Makefile.am  |5 -
 uxa/uxa-render.c |   22 +++-
 8 files changed, 280 insertions(+), 66 deletions(-)

New commits:
commit 9488748e00a2dfc1a563d38dbc477d1b0dc97d9d
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 30 07:04:57 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index 0cec073..e2b7b7e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-xserver-xorg-video-intel (2:2.11.0-1) UNRELEASED; urgency=low
+xserver-xorg-video-intel (2:2.11.0-1) experimental; urgency=low
 
   * New upstream release.
 
- -- Brice Goglin bgog...@debian.org  Tue, 30 Mar 2010 07:01:06 +0200
+ -- Brice Goglin bgog...@debian.org  Tue, 30 Mar 2010 07:04:52 +0200
 
 xserver-xorg-video-intel (2:2.10.903-1) experimental; urgency=low
 

commit ee3510dc2f48f22addbe9e658eedfdcda4374add
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 30 07:04:50 2010 +0200

New upstream release

diff --git a/ChangeLog b/ChangeLog
index 20a5740..988698a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,120 @@
+commit 440b4d207b730112169827d0b90b46596659b504
+Author: Carl Worth cwo...@cworth.org
+Date:   Mon Mar 29 11:20:20 2010 -0700
+
+Increase version to 2.11.0
+
+In preparation for release.
+
+commit 1119c4523889ddedecf1722f0e9a2e4a7ad326b2
+Author: Carl Worth cwo...@cworth.org
+Date:   Mon Mar 29 11:19:31 2010 -0700
+
+NEWS: Add release notes for the 2.11.0 release.
+
+Hurrah! We made it.
+
+commit df3b26847914557eb3c9c70732d91169b1936d77
+Author: Jesse Barnes jbar...@virtuousgeek.org
+Date:   Fri Mar 26 10:44:55 2010 -0700
+
+DRI2: release our private front buffer ref when buffer swapping
+
+Pauli pointed out that we take a ref on the front buffer when exchanging
+but forget to release it.  The ref is necessary since the set functions
+will drop refs as necessary, but once we set the front buffer to point
+at the back pixmap, we ned to release our private ref again, or we'll
+leak buffers.
+
+Reported-by: Pauli Nieminen suok...@gmail.com
+Signed-off-by: Jesse Barnes jbar...@virtuousgeek.org
+
+commit 362a49e71fc41541b6dc121660d98e29da4b14e8
+Author: Gaetan Nadon mems...@videotron.ca
+Date:   Thu Mar 25 10:07:41 2010 -0400
+
+uxa make: remove unused XORG_INCS and DIX_CFLAGS variables
+
+Most likely copied from xserver makefile.
+
+Acked-by: Dan Nicholson dbn.li...@gmail.com
+Signed-off-by: Gaetan Nadon mems...@videotron.ca
+
+commit 0d1ac4da5288a621d0493cb109fcd1e040e6c5a7
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Thu Mar 25 09:12:09 2010 +
+
+uxa: Perform the xrgb - argb conversion not inplace
+
+After reports of segmentation faults caused by
+d6b7f96fde1add92fd11f5a75869ae6fc688bf77 and vmware, the most obvious
+cause would be illegally writing to the src data when performing the alpha
+fill inline. So force the image upload to go via a fresh buffer whenever
+we need to modify the incoming data.
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+Reported-and-tested-by: Jeff Chua jeff.chua.li...@gmail.com
+
+commit 0c47195ca805881e3fbd5b9224be5c930feeeb8c
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Mar 24 17:37:39 2010 +
+
+i830: Clip solid fills to surface.
+
+There is a reasonable surfeit of evidence to support this error,
+for instance: http://bugs.freedesktop.org/attachment.cgi?id=34417
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 5537079c29a56133446f1874d24d9e6516825edb
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Mar 24 14:59:20 2010 +
+
+uxa: After filling the alpha channel xrgb src is compatible with argb dst.
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 90a971c60769781f53827b469a9be3aab14cf71c
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Mar 24 14:50:45 2010 +
+
+uxa: Only reduce a composite to a BLT if it is wholly contained
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 2eec53d0b9232970fe3d03ce6c8940ebeea44bee
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Tue Mar 23 17:28:22 2010 +
+
+uxa: Default to using TILING_X for pixmaps.
+
+On memory constrained hardware, tiling is vital for good performance as
+it minimizes cache misses.  The downside is that for older hardware
+(which often suffers from the lack of bandwidth) requires the use of
+fences for many operations, which are in short supply and so may cause
+shorter batchbuffers. However our batch buffers are typically short and
+so this is unlikely to be a concern

xserver-xorg-video-intel: Changes to 'refs/tags/xserver-xorg-video-intel-2_2.11.0-1'

2010-03-30 Thread Brice Goglin
Tag 'xserver-xorg-video-intel-2_2.11.0-1' created by Brice Goglin 
bgog...@debian.org at 2010-03-30 19:14 +

Tagging upload of xserver-xorg-video-intel 2:2.11.0-1 to experimental.

Changes since xserver-xorg-video-intel-2_2.10.903-1:
Brice Goglin (3):
  Merge tag '2.11.0' into debian-experimental
  New upstream release
  Prepare changelog for upload

Carl Worth (2):
  NEWS: Add release notes for the 2.11.0 release.
  Increase version to 2.11.0

Chris Wilson (5):
  uxa: Default to using TILING_X for pixmaps.
  uxa: Only reduce a composite to a BLT if it is wholly contained
  uxa: After filling the alpha channel xrgb src is compatible with argb dst.
  i830: Clip solid fills to surface.
  uxa: Perform the xrgb - argb conversion not inplace

Gaetan Nadon (1):
  uxa make: remove unused XORG_INCS and DIX_CFLAGS variables

Jesse Barnes (1):
  DRI2: release our private front buffer ref when buffer swapping

---
 ChangeLog|  117 +++
 NEWS |   40 ++
 configure.ac |2 
 debian/changelog |6 ++
 src/i830_dri.c   |5 +
 src/i830_uxa.c   |  149 ---
 uxa/Makefile.am  |5 -
 uxa/uxa-render.c |   22 +++-
 8 files changed, 280 insertions(+), 66 deletions(-)
---


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nwgte-0008bw...@alioth.debian.org



mesa: Changes to 'debian-unstable'

2010-03-30 Thread Brice Goglin
 debian/changelog |5 +++--
 debian/control   |2 +-
 2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 8d98d7832011d7ba490cbc18247508469ce21ddb
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 30 17:15:15 2010 +0200

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index dad803e..e336418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-mesa (7.7.1-1) UNRELEASED; urgency=low
+mesa (7.7.1-1) unstable; urgency=low
 
   [ Brice Goglin ]
   * Remove Thierry Reding from Uploaders, closes: #572539.
@@ -7,7 +7,7 @@ mesa (7.7.1-1) UNRELEASED; urgency=low
   [ Timo Aaltonen ]
   * New upstream release.
 
- -- Brice Goglin bgog...@debian.org  Thu, 04 Mar 2010 20:51:29 +0100
+ -- Brice Goglin bgog...@debian.org  Tue, 30 Mar 2010 17:15:09 +0200
 
 mesa (7.7-4) unstable; urgency=low
 

commit ce01e79d7bd1a13928cc7a2cf6cc8816c2c47695
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 30 17:14:41 2010 +0200

Bump Standards-Version to 3.8.4

diff --git a/debian/changelog b/debian/changelog
index f76cb90..dad803e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ mesa (7.7.1-1) UNRELEASED; urgency=low
 
   [ Brice Goglin ]
   * Remove Thierry Reding from Uploaders, closes: #572539.
+  * Bump Standards-Version to 3.8.4, no changes needed.
 
   [ Timo Aaltonen ]
   * New upstream release.
diff --git a/debian/control b/debian/control
index 645f8e5..4d16f72 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: graphics
 Priority: optional
 Maintainer: Debian X Strike Force debian-x@lists.debian.org
 Uploaders: David Nusinow dnusi...@debian.org, Brice Goglin 
bgog...@debian.org
-Standards-Version: 3.8.3
+Standards-Version: 3.8.4
 Build-Depends: debhelper (= 6.0.7), quilt (= 0.40), pkg-config,
  libdrm-dev (= 2.4.15) [!hurd-i386], libx11-dev, xutils-dev,
  x11proto-gl-dev (= 1.4.8), libxxf86vm-dev,


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nwguw-60...@alioth.debian.org



mesa: Changes to 'refs/tags/mesa-7.7.1-1'

2010-03-30 Thread Brice Goglin
Tag 'mesa-7.7.1-1' created by Brice Goglin bgog...@debian.org at 2010-03-30 
19:15 +

Tagging upload of mesa 7.7.1-1 to unstable.

Changes since mesa-7.7-4:
Alex Deucher (4):
  r600: enable OQ on rv740 on drms with working pipe config
  r600: add new rs880 pci id
  r600: no need to flush on context init
  r600: recalculate point size, if point min/max size changes

Brian Paul (15):
  mesa: use simplified _BaseFormat value in render-to-texture code
  mesa: fix _BaseFormat assignment in _mesa_soft_renderbuffer_storage()
  glx: replace assertion with conditional
  mesa: s/GL_DEPTH_STENCIL/GL_DEPTH_COMPONENT/ for MESA_FORMAT_Z16 
renderbuffer
  st/mesa: don't detach renderbuffer, surface in st_finish_render_texture()
  softpipe: zero-out entire clear_flags array in sp_tile_cache_flush_clear()
  st/mesa: fix incorrect glDrawPixels into FBO
  st/mesa: fix incorrect glCopyPixels between window/FBO
  gallium/util: added surface dump code for unix
  docs: updates to 7.7.1 release notes
  st/mesa: fix st_set_framebuffer_surface() state validation
  st/mesa: s/BUFFER_FRONT_LEFT/surfIndex/
  docs: insert expected 7.7.1 release date
  docs: added news item for 7.7.1 release
  mesa: move/update hash function comments

Brice Goglin (3):
  Remove Thierry Reding from Uploaders
  Bump Standards-Version to 3.8.4
  Prepare changelog for upload

Dave Airlie (1):
  r600: fix blender picking.

Ian Romanick (7):
  mesa: set version string to 7.7.1-rc1
  Use bit-wise not instead of logical not.
  intel: Correct value of S0_VB_OFFSET_MASK to match hardware docs.
  intel: Use bit-wise not instead of logical not (i830 path)
  mesa: set version string to 7.7.1-rc2
  mesa: set version string to 7.7.1
  mesa: Add 7.7.1 release MD5 sums

Jakob Bornecrantz (3):
  st/xorg: Fix copy-topy
  st/xorg: Re-enable crtc on resize
  st/xorg: Include cursorstr.h

José Fonseca (1):
  mesa: List Quake3 extensions first.

Keith Whitwell (2):
  svga: Don't do culling while the software pipeline is active.
  mesa: Fix memory leak in decompress-with-blit.

Klaus Schnass (1):
  r600: fail to validate unsupported texture formats

Maciej Cencora (3):
  r300: remove unnecessary code
  r300: no need to flush on context init
  r300: recalculate point size, if point min/max size changes

Markus Fleschutz (1):
  glx: fix incorrect array stack memory allocation

Matthew W. S. Bell (1):
  Correct GL_EQUIV code in r67/7xx.

Michel Dänzer (5):
  st/xorg: Work around cursor reference counting bugs in older X servers.
  st/dri: Always try to set up R5G6B5 configs.
  Revert Revert mesa/st: Make ST_SURFACE_DEPTH index consistent with 
mesa's BUFFER_DEPTH.
  dri/swrast: Fix missed conversion of one pixel pointer increment.
  dri/swrast: Fix frontbuffer rendering.

Pauli Nieminen (5):
  vbo: Fix vbo_split_copy to pass correct max_index to draw.
  r200: Fix mixed indetion in r200TclFallback.
  r200: Fix swtnl fallback to flush pending rendering before transition.
  r200: Don't flush when closing elts in KMS.
  r200: Fix emit size prediction to account elt splitting.

Thomas Hellstrom (4):
  svga: Add a winsys callback to get the svga_winsys_context
  st/xorg, vmware: Make throttling configurable.
  st/xorg Avoid advertizing rotation / reflection support.
  st/xorg: Fix Xv cliprect scaling.

Timo Aaltonen (4):
  Merge remote branch 'upstream/mesa_7_7_branch' into debian-unstable
  Update the changelogs.
  Merge commit 'mesa_7_7_1' into debian-unstable
  Update the changelogs.

Török Edwin (1):
  mesa: fix deadlock in _mesa_HashFindFreeKeyBlock()

---
 ChangeLog |  495 ++
 Makefile  |2 
 debian/changelog  |   11 
 debian/control|4 
 docs/news.html|9 
 docs/relnotes-7.7.1.html  |   24 
 src/gallium/auxiliary/util/u_debug.c  |   51 +
 src/gallium/drivers/softpipe/sp_tile_cache.c  |7 
 src/gallium/drivers/svga/svga_context.c   |5 
 src/gallium/drivers/svga/svga_state_rss.c |   13 
 src/gallium/drivers/svga/svga_winsys.h|3 
 src/gallium/state_trackers/dri/dri_screen.c   |   91 +--
 src/gallium/state_trackers/xorg/xorg_crtc.c   |   24 
 src/gallium/state_trackers/xorg/xorg_dri2.c   |   14 
 src/gallium/state_trackers/xorg/xorg_driver.c |   94 ++-
 src/gallium/state_trackers/xorg/xorg_exa.c|3 
 src/gallium/state_trackers/xorg/xorg_renderer.c   |2 
 src/gallium/state_trackers/xorg/xorg_renderer.h   |2 
 src/gallium/state_trackers/xorg

Bug#575945: exa not working with 2.6.33

2010-03-30 Thread Brice Goglin
Alex Deucher wrote:
 I suspect you are missing the ucode needed by the chip.  Make sure you
 have the linux-firmware package installed.
   

Actually the package is called firmware-linux.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bb26cb4.8070...@ens-lyon.org



Bug#575493: grandr: add a tab for gamma correction

2010-03-26 Thread Brice Goglin
Christophe Lohr wrote:
 Package: grandr
 Version: 0.1+git20080326-1
 Severity: wishlist

 Hi,
   May I suggest adding a tab to allow the user to adjust the gamma correction
 of outputs.
   

grandr is not maintained. See http://cgit.freedesktop.org/xorg/app/grandr
You should rather use another software or take over maintenance and
write the patch.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bac9494.8050...@ens-lyon.org



xserver-xorg-video-ati: Changes to 'debian-unstable'

2010-03-24 Thread Brice Goglin
 debian/changelog  |6 ++
 debian/xserver-xorg-video-radeon.NEWS |3 +++
 2 files changed, 9 insertions(+)

New commits:
commit c179ebb8ca2dad2c40f647270fd84dafdd222a97
Author: Brice Goglin bgog...@debian.org
Date:   Wed Mar 24 14:33:15 2010 +0100

Specifiy in the NEWS file that KMS may break radeonhd or vesa

diff --git a/debian/changelog b/debian/changelog
index d595e6c..1dbcc40 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+xserver-xorg-video-ati (1:6.12.192-3) UNRELEASED; urgency=low
+
+  * Specifiy in the NEWS file that KMS may break radeonhd or vesa.
+
+ -- Brice Goglin bgog...@debian.org  Wed, 24 Mar 2010 14:31:06 +0100
+
 xserver-xorg-video-ati (1:6.12.192-2) unstable; urgency=low
 
   * Enable kernel mode setting by default on Linux.
diff --git a/debian/xserver-xorg-video-radeon.NEWS 
b/debian/xserver-xorg-video-radeon.NEWS
index a41527f..e994ee4 100644
--- a/debian/xserver-xorg-video-radeon.NEWS
+++ b/debian/xserver-xorg-video-radeon.NEWS
@@ -5,6 +5,9 @@ xserver-xorg-video-radeon (1:6.12.192-2) unstable; urgency=low
 native resolution on the console.  KMS also allows faster VT switching
 and mode changes.
 
+Enabling KMS may break X.org drivers that are not KMS-ready, for instance
+radeonhd or vesa.
+
 In case of trouble KMS can be disabled with the 'nomodeset' kernel
 command line parameter, or by editing /etc/modprobe.d/radeon-kms.conf.
 


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nuqik-0001s0...@alioth.debian.org



Bug#575244: xserver-xorg: Segmentation fault

2010-03-24 Thread Brice Goglin
Thue Janus Kristensen wrote:
 On Wed, Mar 24, 2010 at 3:15 PM, Brice Goglin
 brice.gog...@ens-lyon.org mailto:brice.gog...@ens-lyon.org wrote:

 Thue Janus Kristensen wrote:
  Package: xserver-xorg
  Version: 1:7.5+5
  Severity: normal
 
  I got this segmentation fault while trying to set up dual
 screens with
  the radeon driver. I don't know how much sense my xorg.conf makes

 It doesn't make any sense as of today. You're trying to use the old
 Xinerama syntax. You want to use RandR1.2 instead. See
 http://wiki.debian.org/XStrikeForce/HowToRandR12


 I have already tried generating a config based on that HOWTO, but it
 doesn't work. Even though I have xorg.conf

 Section Device
 Identifier  ati
 Driver  radeon
 BusID   PCI:1:0:0
 Option  HDMI-0 mon0
 Option  DVI-0  mon1
 EndSection

It should be Monitor-HDMI-0 instead of HDMI-0 and so on.

Or just remove these lines and rename your monitor section's identifier
from mon0 to HDMI-0 and so on.

If the wiki page isn't clear enough, please let me know.

 The KDE tool doesn't seem to work. See attached screenshots, generated
 with the same xorg.conf. I can't drag anything in the first
 screenshot. (Fair enough if you say this is not your problem)

I know some colleagues of mine use it and they seem happy with it. I
don't use KDE so I can't help you. Feel free to open a kde bug about that :)

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4baa2a88.4020...@ens-lyon.org



Bug#575274: xserver-xorg-video-radeon: not ready for testing yet

2010-03-24 Thread Brice Goglin
Package: xserver-xorg-video-radeon
Version: 1:6.12.192-2
Severity: serious

Wait for the kernel to be ready in testing before migrating.

Brice



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20100324163536.17631.57642.report...@localhost.localdomain



libdrm: Changes to 'debian-experimental'

2010-03-24 Thread Brice Goglin
Rebased ref, commits from common ancestor:
commit 197bdde16f9c405936f7a6cdce30322770022562
Author: Brice Goglin bgog...@debian.org
Date:   Wed Mar 24 22:19:10 2010 +0100

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index c1d3dda..79153c3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-libdrm (2.4.18-4) UNRELEASED; urgency=low
+libdrm (2.4.18-4) experimental; urgency=low
 
   * Steal 03_revert_abi_change.diff from Ubuntu to revert the nouveau ABI
 change.  Current Debian kernels support only the old ABI.
@@ -6,7 +6,7 @@ libdrm (2.4.18-4) UNRELEASED; urgency=low
   * Build a libdrm-nouveau1 package on Linux architectures (Closes: #568162).
 Patch adapted from the Ubuntu package. Thanks Sven Joachim!
 
- -- Brice Goglin bgog...@debian.org  Wed, 24 Mar 2010 22:12:36 +0100
+ -- Brice Goglin bgog...@debian.org  Wed, 24 Mar 2010 22:27:00 +0100
 
 libdrm (2.4.18-3) unstable; urgency=low
 

commit 9f62499e2dd1df046001d174d9a6518b3db929e4
Author: Brice Goglin bgog...@debian.org
Date:   Wed Mar 24 22:18:36 2010 +0100

Build a libdrm-nouveau1 package on Linux architectures (Closes: #568162).

diff --git a/debian/changelog b/debian/changelog
index fe4f1f0..c1d3dda 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,8 @@ libdrm (2.4.18-4) UNRELEASED; urgency=low
   * Steal 03_revert_abi_change.diff from Ubuntu to revert the nouveau ABI
 change.  Current Debian kernels support only the old ABI.
 Thanks Sven Joachim!
+  * Build a libdrm-nouveau1 package on Linux architectures (Closes: #568162).
+Patch adapted from the Ubuntu package. Thanks Sven Joachim!
 
  -- Brice Goglin bgog...@debian.org  Wed, 24 Mar 2010 22:12:36 +0100
 
diff --git a/debian/control b/debian/control
index 65f013a..cf271d8 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,7 @@ Depends:
  libdrm2 (= ${binary:Version}),
  libdrm-intel1 (= ${binary:Version}) [amd64 i386 kfreebsd-amd64 kfreebsd-i386],
  libdrm-radeon1 (= ${binary:Version}) [linux-any],
+ libdrm-nouveau1 (= ${binary:Version}) [linux-any],
  ${misc:Depends},
 Replaces:
  linux-libc-dev ( 2.6.32-10)
@@ -93,6 +94,31 @@ Description: Userspace interface to intel-specific kernel 
DRM services -- debugg
  .
  This package provides the debugging symbols for the libdrm-intel1 package.
 
+Package: libdrm-nouveau1
+Section: libs
+Architecture: linux-any
+Depends: ${shlibs:Depends},
+ ${misc:Depends},
+Description: Userspace interface to nouveau-specific kernel DRM services -- 
runtime
+ This library implements the userspace interface to the nouveau-specific kernel
+ DRM services. DRM stands for Direct Rendering Manager, which is the
+ kernelspace portion of the Direct Rendering Infrastructure (DRI). The DRI is
+ currently used on Linux to provide hardware-accelerated OpenGL drivers.
+
+Package: libdrm-nouveau1-dbg
+Section: debug
+Priority: extra
+Architecture: linux-any
+Depends: libdrm-nouveau1 (= ${binary:Version}),
+ ${misc:Depends},
+Description: Userspace interface to nouveau-specific kernel DRM -- debugging 
symbols
+ This library implements the userspace interface to the kernel DRM services.
+ DRM stands for Direct Rendering Manager, which is the kernelspace portion
+ of the Direct Rendering Infrastructure (DRI). The DRI is currently used on
+ Linux to provide hardware-accelerated OpenGL drivers.
+ .
+ This package provides the debugging symbols for the libdrm-nouveau1 package.
+
 Package: libdrm-radeon1
 Section: libs
 Architecture: linux-any
diff --git a/debian/libdrm-nouveau1.install b/debian/libdrm-nouveau1.install
new file mode 100644
index 000..7650858
--- /dev/null
+++ b/debian/libdrm-nouveau1.install
@@ -0,0 +1 @@
+usr/lib/libdrm_nouveau.so.*
diff --git a/debian/libdrm-nouveau1.symbols b/debian/libdrm-nouveau1.symbols
new file mode 100644
index 000..48ce118
--- /dev/null
+++ b/debian/libdrm-nouveau1.symbols
@@ -0,0 +1,59 @@
+libdrm_nouveau.so.1 libdrm-nouveau1 #MINVER#
+#MISSING: 2.4.12+git20090729.5a73f066# d...@base 2.4.4
+ nouveau_bo_b...@base 2.4.4
+ nouveau_bo_emit_buf...@base 2.4.4
+#MISSING: 2.4.12+git20090729.5a73f066# nouveau_bo_f...@base 2.4.4
+ nouveau_bo_handle_...@base 2.4.4
+ nouveau_bo_handle_...@base 2.4.4
+ nouveau_bo_i...@base 2.4.4
+ nouveau_bo_...@base 2.4.4
+ nouveau_bo_map_fl...@base 2.4.11-1ubuntu1~
+ nouveau_bo_map_ra...@base 2.4.11-1ubuntu1~
+ nouveau_bo_...@base 2.4.4
+ nouveau_bo_new_t...@base 2.4.11-1ubuntu1~
+ nouveau_bo_pend...@base 2.4.16
+ nouveau_bo_...@base 2.4.4
+ nouveau_bo_...@base 2.4.4
+ nouveau_bo_taked...@base 2.4.4
+#MISSING: 2.4.12+git20090729.5a73f066# nouveau_bo_t...@base 2.4.4
+ nouveau_bo_un...@base 2.4.4
+ nouveau_bo_un...@base 2.4.4
+ nouveau_bo_u...@base 2.4.4
+#MISSING: 2.4.12+git20090729.5a73f066# nouveau_bo_validate_n...@base 2.4.4
+ nouveau_bo_w...@base 2.4.11-1ubuntu1~
+ nouveau_channel_al...@base 2.4.4
+ nouveau_channel_f...@base 2.4.4
+ nouveau_device_cl...@base 2.4.4
+ nouveau_device_get_pa...@base 2.4.4

libdrm: Changes to 'refs/tags/libdrm-2.4.18-4'

2010-03-24 Thread Brice Goglin
Tag 'libdrm-2.4.18-4' created by Brice Goglin bgog...@debian.org at 
2010-03-24 21:35 +

Tagging upload of libdrm 2.4.18-4 to experimental.

Changes since libdrm-2.4.18-3:
Brice Goglin (3):
  Steal 03_revert_abi_change.diff from Ubuntu to revert the nouveau ABI 
change
  Build a libdrm-nouveau1 package on Linux architectures (Closes: #568162).
  Prepare changelog for upload

---
 debian/changelog |   10 
 debian/control   |   26 
 debian/libdrm-nouveau1.install   |1 
 debian/libdrm-nouveau1.symbols   |   59 +
 debian/patches/03_revert_abi_change.diff | 1224 +++
 debian/patches/series|1 
 debian/rules |   10 
 7 files changed, 1331 insertions(+)
---


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nuyec-0007bz...@alioth.debian.org



Bug#568162: patch for this bug

2010-03-24 Thread Brice Goglin
Sven Joachim wrote:
 tags 568162 + patch
 thanks

 Attached is a patch for this bug, adapted from the current Ubuntu libdrm
 package.  It is created with git-format-patch --stdout, I chose that
 format over sending the (only two) commit patches individually to avoid
 subject mangling by the BTS.

 The patched libdrm allows it to build and run an
 xserver-xorg-video-nouveau package, more on that in bug #568168.

 Note that there is a lintian error since the short description of
 libdrm-nouveau1-dbg exceeds 80 characters; since I don't know where to
 cut it, this is left for the maintainers.
   

Thanks a lot, I pushed this to the debian-experimental branch and
uploaded 2.4.18-4 to experimental. These packages have to go through NEW
before landing in Debian. If anybody wants them before they pass NEW,
some i386 and amd64 packages are available at:
http://people.debian.org/~bgoglin/nouveau/

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4baa8f7e.6010...@ens-lyon.org



Bug#575271: xserver-xorg-video-mga: Please add G200EH support

2010-03-24 Thread Brice Goglin
dann frazier wrote:
 Package: xserver-xorg-video-mga
 Version: 1:1.4.11.dfsg-2
 Severity: important

 Here's the required upstream commit:
   
 http://cgit.freedesktop.org/xorg/driver/xf86-video-mga/commit/?id=3f215b64889bcc7a656fc36db1eed8276b401a95
   

So, the mga driver indeed still works for some people ? Good to know.
We'll bring this patch into Squeeze, but I want to wait a bit since
Yannick Heneault commited another fix upstream today, he may have some
other patches pending. Maybe he'll even release 1.4.12 soon.

Feel free to ping me in a week or two if I forget to upload a new mga
package.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4baa90de.8040...@ens-lyon.org



xserver-xorg-video-intel: Changes to 'upstream-experimental'

2010-03-23 Thread Brice Goglin
 NEWS  |   30 
 configure.ac  |2 
 man/intel.man |   34 ++
 src/drmmode_display.c |2 
 src/i830_driver.c |2 
 src/i830_render.c |   67 +++-
 src/i830_uxa.c|   29 
 src/i915_render.c |   23 ++---
 uxa/uxa-render.c  |  117 ++
 9 files changed, 156 insertions(+), 150 deletions(-)

New commits:
commit 9c037f61a490c96f9095f7ff3fecbf41f5efe9f7
Author: Carl Worth cwo...@cworth.org
Date:   Mon Mar 22 15:23:04 2010 -0700

Update version to 2.10.903

For today's snapshot.

diff --git a/configure.ac b/configure.ac
index 3877064..108e283 100644
--- a/configure.ac
+++ b/configure.ac
@@ -22,7 +22,7 @@
 
 AC_PREREQ(2.57)
 AC_INIT([xf86-video-intel],
-2.10.902,
+2.10.903,
 [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
 xf86-video-intel)
 

commit 11142cffe4bc81e1ce465ea725fcaef024130082
Author: Carl Worth cwo...@cworth.org
Date:   Mon Mar 22 15:22:28 2010 -0700

NEWS: Add notes for 2.10.903

For today's snapshot.

diff --git a/NEWS b/NEWS
index ee18bd2..8fdf442 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,33 @@
+Snapshot 2.10.903 (2010-03-22)
+==
+Some notable bug fixes
+--
+* Fix unpredictable results in page-flipping code due to access of an
+  uninitialized variable.
+
+* Two fixes that address a number of long-outstanding failures in the
+  cairo test suite:
+
+Remove coord-adjust for nearest centre-sampling.
+
+Fill alpha on xrgb images. Closes:
+
+   Bug 17933 - x8r8g8b8 doesn't sample alpha=0 outside surface bounds
+   http://bugs.freedesktop.org/show_bug.cgi?id=17933
+
+* Fix a regression introduced in 2.10.902:
+
+Fatal server error:
+i915_emit_composite_setup: ADVANCE_BATCH:
+under-used allocation 100/104
+
+   Bug 21723 [i915 bisected] rendering makes X crash
+   http://bugs.freedesktop.org/show_bug.cgi?id=27123
+
+Other minor fixes (avoid trying to print an error message with a freed
+string, set a variable to NULL after freeing), and documentation
+updates are also included.
+
 Snapshot 2.10.902 (2010-03-15)
 ==
 Some significant bug fixes

commit f206816154fd44e61b0bdeaab1aa4c5359c3b70a
Author: Carl Worth cwo...@cworth.org
Date:   Mon Mar 22 14:14:46 2010 -0700

man: Update list of available 'sclaing mode' property values.

Include the names from the current kernel driver along with accurate
descriptions of each. Indicate how to use the values with:

xrandr --output output --set property value

and point the user to xrandr --prop for an accurate list of
currently available values.

Closes bug:

xf86-video-intel manpage needs update for KMS xrandr properties
http://bugs.freedesktop.org/show_bug.cgi?id=25606

diff --git a/man/intel.man b/man/intel.man
index ef8d372..c2447be 100644
--- a/man/intel.man
+++ b/man/intel.man
@@ -183,10 +183,20 @@ Default: Disabled.
 On 830M and better chipsets, the driver supports runtime configuration of
 detected outputs.  You can use the
 .B xrandr
-tool to control outputs on the command line.  Each output listed below may have
-one or more properties associated with it (like a binary EDID block if one is
-found).  Some outputs have unique properties which are described below.  See 
the MULTIHEAD CONFIGURATIONS section below for additional information.
+tool to control outputs on the command line as follows:
 
+.RS
+.B xrandr \-\-output
+.I output
+.B \-\-set
+.I property value
+.RE
+
+Note that you may need to quote property and value arguments that contain 
spaces.
+Each output listed below may have one or more properties associated
+with it (like a binary EDID block if one is found).  Some outputs have
+unique properties which are described below.  See the MULTIHEAD
+CONFIGURATIONS section below for additional information.
 .SS VGA
 VGA output port (typically exposed via an HD15 connector).
 
@@ -203,22 +213,26 @@ By adjusting the BACKLIGHT property, the brightness on 
the LVDS output can be ad
 .B scaling mode
 - control LCD panel scaling mode
 .TP 2
-By default, the driver will attempt to upscale resolutions smaller than the 
LCD's native size while preserving the aspect ratio.  Other modes are available 
however:
+When the currently selected display mode differs from the native panel 
resolution, various scaling options are available. These include
 .RS
 .PP
-.B center
+.B Center
 .TP 4
-Simply center the image on-screen, without scaling.
+Simply center the image on-screen without scaling. This is the only scaling 
mode that guarantees a one-to-one correspondence between native and displayed 
pixels, but some portions of the panel may be unused (so-called letterboxing).
 .PP
-.B full_aspect
+.B Full aspect
 .TP 4
-The default mode.  Try to upscale the 

xserver-xorg-video-intel: Changes to 'debian-experimental'

2010-03-23 Thread Brice Goglin
 ChangeLog |  114 
 NEWS  |   30 
 configure.ac  |2 
 debian/changelog  |   21 
 debian/control|2 
 man/intel.man |   34 ++
 src/drmmode_display.c |2 
 src/i830_driver.c |2 
 src/i830_render.c |   67 +++-
 src/i830_uxa.c|   29 
 src/i915_render.c |   23 ++---
 uxa/uxa-render.c  |  117 ++
 12 files changed, 292 insertions(+), 151 deletions(-)

New commits:
commit f0a6efadeb339a28a1f91ecf2bcd4607131907da
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 23 07:39:32 2010 +0100

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index a9bc5e9..af3f09c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-xserver-xorg-video-intel (2:2.10.903-1) UNRELEASED; urgency=low
+xserver-xorg-video-intel (2:2.10.903-1) experimental; urgency=low
 
   * New upstream release candidate.
 
- -- Brice Goglin bgog...@debian.org  Tue, 23 Mar 2010 07:38:21 +0100
+ -- Brice Goglin bgog...@debian.org  Tue, 23 Mar 2010 07:39:23 +0100
 
 xserver-xorg-video-intel (2:2.10.902-1) experimental; urgency=low
 

commit bac709198c4a9754d3e68fd61459b9568c87fe0d
Author: Brice Goglin bgog...@debian.org
Date:   Tue Mar 23 07:38:49 2010 +0100

New upstream release candidate

diff --git a/ChangeLog b/ChangeLog
index 66579fc..20a5740 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,117 @@
+commit 9c037f61a490c96f9095f7ff3fecbf41f5efe9f7
+Author: Carl Worth cwo...@cworth.org
+Date:   Mon Mar 22 15:23:04 2010 -0700
+
+Update version to 2.10.903
+
+For today's snapshot.
+
+commit 11142cffe4bc81e1ce465ea725fcaef024130082
+Author: Carl Worth cwo...@cworth.org
+Date:   Mon Mar 22 15:22:28 2010 -0700
+
+NEWS: Add notes for 2.10.903
+
+For today's snapshot.
+
+commit f206816154fd44e61b0bdeaab1aa4c5359c3b70a
+Author: Carl Worth cwo...@cworth.org
+Date:   Mon Mar 22 14:14:46 2010 -0700
+
+man: Update list of available 'sclaing mode' property values.
+
+Include the names from the current kernel driver along with accurate
+descriptions of each. Indicate how to use the values with:
+
+   xrandr --output output --set property value
+
+and point the user to xrandr --prop for an accurate list of
+currently available values.
+
+Closes bug:
+
+   xf86-video-intel manpage needs update for KMS xrandr properties
+   http://bugs.freedesktop.org/show_bug.cgi?id=25606
+
+commit d1dfab6b1649214177435629d8e85239dbe44d89
+Author: Matthias Hopf mh...@suse.de
+Date:   Wed Mar 17 15:13:51 2010 +0100
+
+Clear drmmode_output-mode_output in drmmode_output_destroy().
+
+commit 10cd04a84bcb6313903fc23b2d7791658ebc6b8e
+Author: Li Peng peng...@linux.intel.com
+Date:   Sat Mar 20 00:21:48 2010 +0800
+
+Initialize flip_count before using it
+
+Otherwise it would be a random value and drmmode_page_flip_handler()
+won't have a chance to call I830DRI2FlipEventHandler() and indicate
+a full page flip is complete.
+
+Signed-off-by: Li Peng peng...@intel.com
+
+commit 3d4b3f257fbbb69c6f236d9803abe54a90d7d434
+Author: Dave Airlie airl...@redhat.com
+Date:   Thu Mar 18 12:48:39 2010 +1000
+
+intel: free bus id in error path after printing it out.
+
+the error message prints out a freed string, spotted during
+code reappropriation to radeon driver.
+
+Signed-off-by: Dave Airlie airl...@redhat.com
+
+commit 31d5f84bb4416ef92abd97264d52cdab7a184687
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Wed Mar 17 09:11:05 2010 +
+
+i915: Correct preamble for emit_composite
+
+Fixes:
+http://bugs.freedesktop.org/show_bug.cgi?id=27123
+
+Fatal server error:
+i915_emit_composite_setup: ADVANCE_BATCH: under-used allocation 100/104
+
+Introduced with commit d6b7f96fde1add92fd11f5a75869ae6fc688bf77.
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit d6b7f96fde1add92fd11f5a75869ae6fc688bf77
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Sat Mar 6 15:49:04 2010 +
+
+Fill alpha on xrgb images.
+
+Do not try to fixup the alpha in the ff/shaders as this has the
+side-effect of overriding the alpha value of the border color, causing
+images to be padded with black rather than transparent. This can
+generate large and obnoxious visual artefacts.
+
+Fixes:
+
+  Bug 17933 - x8r8g8b8 doesn't sample alpha=0 outside surface bounds
+  http://bugs.freedesktop.org/show_bug.cgi?id=17933
+
+and many related cairo test suite failures.
+
+Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
+
+commit 910fd171a00227025abc8bcc286a740f5bae895b
+Author: Chris Wilson ch...@chris-wilson.co.uk
+Date:   Fri Mar 5 14:32:13 2010 +
+
+i830

xserver-xorg-video-intel: Changes to 'refs/tags/xserver-xorg-video-intel-2_2.10.903-1'

2010-03-23 Thread Brice Goglin
Tag 'xserver-xorg-video-intel-2_2.10.903-1' created by Brice Goglin 
bgog...@debian.org at 2010-03-23 06:44 +

Tagging upload of xserver-xorg-video-intel 2:2.10.903-1 to experimental.

Changes since xserver-xorg-video-intel-2_2.10.902-1:
Brice Goglin (6):
  Bump Standards-Version to 3.8.4
  Prepare changelog for upload
  Merge branch 'debian-unstable' into debian-experimental
  Merge tag '2.10.903' into debian-experimental
  New upstream release candidate
  Prepare changelog for upload

Carl Worth (3):
  man: Update list of available 'sclaing mode' property values.
  NEWS: Add notes for 2.10.903
  Update version to 2.10.903

Chris Wilson (3):
  i830: Remove coord-adjust for nearest centre-sampling.
  Fill alpha on xrgb images.
  i915: Correct preamble for emit_composite

Daniel Vetter (1):
  Xv overlay: fix planar YUV copy for right rotated crtcs

Dave Airlie (1):
  intel: free bus id in error path after printing it out.

Julien Cristau (4):
  Merge commit '2370af32fe31bed8e5715639023635bdb3b83b1b' into 
upstream-unstable
  Xv: enable drmmode overlay
  Merge branch '2.9-kms-overlay' into debian-unstable
  Bump libdrm-dev build-dep for the kms video overlay changes

Li Peng (1):
  Initialize flip_count before using it

Matthias Hopf (1):
  Clear drmmode_output-mode_output in drmmode_output_destroy().

---
 ChangeLog |  114 
 NEWS  |   30 
 configure.ac  |2 
 debian/changelog  |   21 
 debian/control|2 
 man/intel.man |   34 ++
 src/drmmode_display.c |2 
 src/i830_driver.c |2 
 src/i830_render.c |   67 +++-
 src/i830_uxa.c|   29 
 src/i915_render.c |   23 ++---
 uxa/uxa-render.c  |  117 ++
 12 files changed, 292 insertions(+), 151 deletions(-)
---


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1ntxqe-0002uw...@alioth.debian.org



Bug#575053: xserver-xorg-video-intel: Wrong resolution after coming out of hibernate

2010-03-23 Thread Brice Goglin
Erik de Castro Lopo wrote:
 Package: xserver-xorg-video-intel
 Version: 2:2.9.1-2
 Severity: normal

 After coming out of hibernate, the X server goes a resolution of
 2128x800 as displayed by xdpyinfo:

 screen #0:
   dimensions:2128x800 pixels (563x212 millimeters)
   resolution:96x96 dots per inch
   depths (7):24, 1, 4, 8, 15, 16, 32
   root window id:0x122

 which should be 1280x800. Running gnome-display-preoperties causes
 it to snap back to the correct resolution.
   

Can you send the output of xrandr instead ? I wonder if the driver could
be improperly detecting the status of some outputs and thus enabling two
outputs inside a large 2128x800 screen.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba86b50.6010...@ens-lyon.org



Bug#575054: xserver-xorg-video-radeon: Xorg fails to start with segmentation fault.

2010-03-23 Thread Brice Goglin
Hans Liao wrote:
 Package: xserver-xorg-video-radeon
 Version: 1:6.12.6-1
 Severity: important


 I have tried the Ubuntu live disk and X works there. So it could not be a 
 faulty card.
 I have swapped out RAM's and it still doesn't work.

 I can't find any similar bugs so would somebody please help me. I can't work 
 without my X and it's really killing me.
   

What did you change when this bug appeared? What did you upgrade from?

Can you catch a backtrace of the crash with gdb ?

You can still try radeon 6.12.192-2 from unstable in case it helps.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba878dc.1050...@ens-lyon.org



Bug#575055: xserver-xorg: Xorg crashes with segmentation fault

2010-03-23 Thread Brice Goglin
Hans Liao wrote:
 Package: xserver-xorg
 Version: 1:7.5+3
 Severity: important


 My X decides to stop working. I have tried the Ubuntu live disk and X works 
 there.
 I have ruled out RAM or display card issues.

 Please would somebody help me.
   


Looks like you reported the same bug twice ? Closing this one, we'll
work on #575054.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba8792b.8070...@ens-lyon.org



Bug#568162: patch for this bug

2010-03-23 Thread Brice Goglin
Sven Joachim wrote:
 tags 568162 + patch
 thanks

 Attached is a patch for this bug, adapted from the current Ubuntu libdrm
 package.  It is created with git-format-patch --stdout, I chose that
 format over sending the (only two) commit patches individually to avoid
 subject mangling by the BTS.

 The patched libdrm allows it to build and run an
 xserver-xorg-video-nouveau package, more on that in bug #568168.

 Note that there is a lintian error since the short description of
 libdrm-nouveau1-dbg exceeds 80 characters; since I don't know where to
 cut it, this is left for the maintainers.
   

Thanks!

I'd like to know which upstream commits are reverted by
03_revert_abi_change.diff. Do you by chance know that?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba92707.8060...@ens-lyon.org



Bug#574923: xserver-xorg-video-intel: [965Q] screen resolution not detected properly anymore on HP Compaq dc7700p

2010-03-22 Thread Brice Goglin
Fathi Boudra wrote:
 Package: xserver-xorg-video-intel
 Version: 2:2.9.1-3
 Severity: normal

   Since a recent upgrade, probed modes for output VGA1 are wrong.
   Before the upgrade, my monitor switched to 1680x1050 as expected.
   Now, 1024x768 resolution is selected.
   Using linux image 2.6.32-9, 2.6.32-10 and 2.6.33-1 doesn't help.
   Kernel mode setting can be forced to 1680x1024 using video option,
   but switch back to 1024x768 when Xorg starts.
   

If a kernel upgrade isn't involved, please try to see if downgrading
xserver-xorg-video-intel or xserver-xorg-core to testing helps.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba730ab.5020...@ens-lyon.org



xserver-xorg-video-ati: Changes to 'upstream-unstable'

2010-03-22 Thread Brice Goglin
Rebased ref, commits from common ancestor:
commit 5c256808cb5fea955eea96ffe9196473715156aa
Author: Alex Deucher alexdeuc...@gmail.com
Date:   Wed Mar 17 23:47:50 2010 -0400

XAA: disable render accel

It's been reported broken for a while.  Should fix
fdo bug 27151, others.

diff --git a/src/radeon_accelfuncs.c b/src/radeon_accelfuncs.c
index dd1defd..36f25e7 100644
--- a/src/radeon_accelfuncs.c
+++ b/src/radeon_accelfuncs.c
@@ -1332,6 +1332,7 @@ FUNC_NAME(RADEONAccelInit)(ScreenPtr pScreen, 
XAAInfoRecPtr a)
 #endif
 
 #ifdef RENDER
+info-RenderAccel = FALSE;
 if (info-RenderAccel  info-xaaReq.minorversion = 2) {
 
a-CPUToScreenAlphaTextureFlags = XAA_RENDER_POWER_OF_2_TILE_ONLY;

commit a0683be5cc082bdbdd3bc4e9b52f39f423650946
Author: Dave Airlie airl...@redhat.com
Date:   Thu Mar 18 12:36:25 2010 +1000

radeon: avoid using DRI1 init path on DRI2 driver.

I was playing with multi-seat and found this code, fixed
it up to be sane and more DRI2 like.

Signed-off-by: Dave Airlie airl...@redhat.com

diff --git a/src/drmmode_display.c b/src/drmmode_display.c
index 1121044..399a6a7 100644
--- a/src/drmmode_display.c
+++ b/src/drmmode_display.c
@@ -1151,31 +1151,11 @@ static const xf86CrtcConfigFuncsRec 
drmmode_xf86crtc_config_funcs = {
 };
 
 
-Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, char *busId, 
char *driver_name, int cpp)
+Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp)
 {
xf86CrtcConfigPtr   xf86_config;
-   RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn);
int i;
-   Bool ret;
-
-   /* Create a bus Id */
-   /* Low level DRM open */
-   if (!pRADEONEnt-fd) {
-   ret = DRIOpenDRMMaster(pScrn, SAREA_MAX, busId, driver_name);
-   if (!ret) {
-   xf86DrvMsg(pScrn-scrnIndex, X_ERROR,
-  [dri] DRIGetVersion failed to open the 
DRM\n
-  [dri] Disabling DRI.\n);
-   return FALSE;
-   }
 
-   drmmode-fd = DRIMasterFD(pScrn);
-   pRADEONEnt-fd = drmmode-fd;
-   } else {
-   xf86DrvMsg(pScrn-scrnIndex, X_ERROR,
-reusing fd for second head\n);
-   drmmode-fd = pRADEONEnt-fd;
-   }
xf86CrtcConfigInit(pScrn, drmmode_xf86crtc_config_funcs);
xf86_config = XF86_CRTC_CONFIG_PTR(pScrn);
 
diff --git a/src/drmmode_display.h b/src/drmmode_display.h
index 1576d49..2e76259 100644
--- a/src/drmmode_display.h
+++ b/src/drmmode_display.h
@@ -74,7 +74,7 @@ typedef struct {
 } drmmode_output_private_rec, *drmmode_output_private_ptr;
 
 
-extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, char 
*busId, char *driver_name, int cpp);
+extern Bool drmmode_pre_init(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int cpp);
 extern Bool drmmode_set_bufmgr(ScrnInfoPtr pScrn, drmmode_ptr drmmode, struct 
radeon_bo_manager *bufmgr);
 extern void drmmode_set_cursor(ScrnInfoPtr scrn, drmmode_ptr drmmode, int id, 
struct radeon_bo *bo);
 void drmmode_adjust_frame(ScrnInfoPtr pScrn, drmmode_ptr drmmode, int x, int 
y, int flags);
diff --git a/src/radeon_kms.c b/src/radeon_kms.c
index 1f9c5d4..15e5e3f 100644
--- a/src/radeon_kms.c
+++ b/src/radeon_kms.c
@@ -362,12 +362,67 @@ static Bool radeon_alloc_dri(ScrnInfoPtr pScrn)
 return TRUE;
 }
 
+static Bool radeon_open_drm_master(ScrnInfoPtr pScrn)
+{
+RADEONInfoPtr  info   = RADEONPTR(pScrn);
+RADEONEntPtr pRADEONEnt = RADEONEntPriv(pScrn);
+struct pci_device *dev = info-PciInfo;
+char *busid;
+drmSetVersion sv;
+int err;
+
+if (pRADEONEnt-fd) {
+   xf86DrvMsg(pScrn-scrnIndex, X_ERROR,
+   reusing fd for second head\n);
+
+   info-dri2.drm_fd = pRADEONEnt-fd;
+   goto out;
+}
+
+busid = XNFprintf(pci:%04x:%02x:%02x.%d,
+ dev-domain, dev-bus, dev-dev, dev-func);
+
+info-dri2.drm_fd = drmOpen(radeon, busid);
+if (info-dri2.drm_fd == -1) {
+
+   xf86DrvMsg(pScrn-scrnIndex, X_ERROR,
+  [drm] Failed to open DRM device for %s: %s\n,
+  busid, strerror(errno));
+   xfree(busid);
+   return FALSE;
+}
+xfree(busid);
+
+/* Check that what we opened was a master or a master-capable FD,
+ * by setting the version of the interface we'll use to talk to it.
+ * (see DRIOpenDRMMaster() in DRI1)
+ */
+sv.drm_di_major = 1;
+sv.drm_di_minor = 1;
+sv.drm_dd_major = -1;
+sv.drm_dd_minor = -1;
+err = drmSetInterfaceVersion(info-dri2.drm_fd, sv);
+if (err != 0) {
+   xf86DrvMsg(pScrn-scrnIndex, X_ERROR,
+  [drm] failed to set drm interface version.\n);
+   drmClose(info-dri2.drm_fd);
+   info-dri2.drm_fd = -1;
+
+   return FALSE;
+}
+
+pRADEONEnt-fd = info-dri2.drm_fd;
+ out:
+info-drmmode.fd = info-dri2.drm_fd;
+ 

xserver-xorg-video-ati: Changes to 'debian-unstable'

2010-03-22 Thread Brice Goglin
 .gitignore   |   84 
 ChangeLog| 3532 +++-
 Makefile.am  |   12 
 README   |   13 
 configure.ac |   72 
 debian/NEWS  |   29 
 debian/changelog |   35 
 debian/control   |   55 
 debian/radeon-kms.conf   |2 
 debian/rules |4 
 debian/xserver-xorg-video-ati.NEWS   |   18 
 debian/xserver-xorg-video-radeon.NEWS|   41 
 debian/xserver-xorg-video-radeon.postinst.in |   21 
 debian/xserver-xorg-video-radeon.postrm.in   |   21 
 debian/xserver-xorg-video-radeon.prerm.in|   21 
 man/Makefile.am  |   41 
 man/radeon.man   |   83 
 src/.gitignore   |3 
 src/AtomBios/includes/atombios.h | 1090 -
 src/Makefile.am  |   33 
 src/ati_pciids_gen.h |   35 
 src/atombios_crtc.c  | 1376 --
 src/atombios_output.c| 1421 ++
 src/drmmode_display.c| 1350 ++
 src/drmmode_display.h|   86 
 src/legacy_crtc.c|   77 
 src/legacy_output.c  |   23 
 src/pcidb/ati_pciids.csv |   35 
 src/pcidb/parse_pci_ids.pl   |2 
 src/r600_exa.c   | 1437 --
 src/r600_reg_r6xx.h  |6 
 src/r600_shader.c| 1112 +++--
 src/r600_state.h |   73 
 src/r600_textured_videofuncs.c   |  358 -
 src/r6xx_accel.c |  605 +-
 src/radeon.h |  347 +
 src/radeon_accel.c   |  209 
 src/radeon_accelfuncs.c  |   10 
 src/radeon_atombios.c|  390 +
 src/radeon_atombios.h|   18 
 src/radeon_bios.c|  119 
 src/radeon_chipinfo_gen.h|   37 
 src/radeon_chipset_gen.h |   35 
 src/radeon_commonfuncs.c |  518 +-
 src/radeon_crtc.c|  428 +-
 src/radeon_cursor.c  |   77 
 src/radeon_dga.c |  466 --
 src/radeon_dri.c |   77 
 src/radeon_dri2.c|  375 +
 src/radeon_dri2.h|   42 
 src/radeon_driver.c  |  765 +--
 src/radeon_drm.h |  153 
 src/radeon_dummy_bufmgr.h|   62 
 src/radeon_exa.c |  252 +
 src/radeon_exa_funcs.c   |  557 ++
 src/radeon_exa_render.c  |  823 ++-
 src/radeon_kms.c | 1057 +
 src/radeon_legacy_memory.c   |   25 
 src/radeon_macros.h  |   49 
 src/radeon_modes.c   |   12 
 src/radeon_output.c  |  231 -
 src/radeon_pci_chipset_gen.h |   35 
 src/radeon_pci_device_match_gen.h|   35 
 src/radeon_pm.c  |  886 
 src/radeon_probe.c   |   87 
 src/radeon_probe.h   |   41 
 src/radeon_reg.h |  278 +
 src/radeon_render.c  |8 
 src/radeon_textured_video.c  |  631 +-
 src/radeon_textured_videofuncs.c | 5705 +--
 src/radeon_vbo.c |  206 
 src/radeon_vbo.h |   62 
 src/radeon_video.c   |  192 
 src/radeon_video.h   |   27 
 src/simple_list.h|  202 
 75 files changed, 4 insertions(+), 6511 deletions(-)

New commits:
commit 6e677b632d39a0bf15961d4fb93635a908e40f97
Author: Brice Goglin bgog...@debian.org
Date:   Mon Mar 22 11:14:30 2010 +0100

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index d02aca7..d595e6c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-xserver-xorg-video-ati (1:6.12.192-2) UNRELEASED; urgency=low
+xserver-xorg-video-ati (1:6.12.192-2) unstable; urgency=low
 
   * Enable kernel mode setting by default on Linux.
   * Bump Standards-Version to 3.8.4, no changes needed.
@@ -6,7 +6,7 @@ xserver-xorg-video-ati (1:6.12.192-2) UNRELEASED; urgency=low
   * Stop installing the NEWS file in all binary packages, only
 keep the relevant entries in -radeon and -ati NEWS files.
 
- -- Brice Goglin

xserver-xorg-video-ati: Changes to 'refs/tags/xserver-xorg-video-ati-1_6.12.192-2'

2010-03-22 Thread Brice Goglin
Tag 'xserver-xorg-video-ati-1_6.12.192-2' created by Brice Goglin 
bgog...@debian.org at 2010-03-22 10:23 +

Tagging upload of xserver-xorg-video-ati 1:6.12.192-2 to unstable.

Changes since xserver-xorg-video-ati-1_6.12.192-1:
Alex Deucher (2):
  kms: fix ums naming compat for DisplayPort
  XAA: disable render accel

Brice Goglin (6):
  Bump Standards-Version to 3.8.4
  Merge branch 'master' of 
git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati into 
debian-experimental
  Pull from upstream master
  Use different NEWS file for -ati and -radeon
  Enable kernel mode setting by default on Linux
  Prepare changelog for upload

Dave Airlie (1):
  radeon: avoid using DRI1 init path on DRI2 driver.

---
 ChangeLog|   26 ++
 debian/NEWS  |   29 ---
 debian/changelog |   10 +++
 debian/control   |2 
 debian/radeon-kms.conf   |2 
 debian/rules |4 +
 debian/xserver-xorg-video-ati.NEWS   |   18 +++
 debian/xserver-xorg-video-radeon.NEWS|   41 
 debian/xserver-xorg-video-radeon.postinst.in |   21 
 debian/xserver-xorg-video-radeon.postrm.in   |   21 
 debian/xserver-xorg-video-radeon.prerm.in|   21 
 src/drmmode_display.c|   25 +
 src/drmmode_display.h|2 
 src/radeon_accelfuncs.c  |1 
 src/radeon_kms.c |   68 ---
 15 files changed, 231 insertions(+), 60 deletions(-)
---


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nten7-00047r...@alioth.debian.org



Bug#574989: xserver-xorg: X sometimes locks up on switching X sessions (VTs)

2010-03-22 Thread Brice Goglin
Martin Steigerwald wrote:
 Package: xserver-xorg
 Version: 1:7.5+5
 Severity: important

 I sometimes have two KDE sessions running, one for private stuff and one
 for work. I usually set the private one to OpenGL compositing and the
 work one to XRender compositing.

 Then when switching from my work one to the private one, sometimes the
 screen stays black. It seems that X.org switches the VT but then gets
 stuck. The mouse pointer doesn´t react to mouse movements anymore and
 I cannot switch to VTs anymore.

 I still can SSH to the machine, but then the only way to recover is to
 send a SIGKILL to the X process and to restart KDM.

 As attached X.org log says the server might get stuck in an endless
 loop.

 I think this problem does not happen, when I suspend OpenGL compositing
 on the private X session. Then I sometimes have it that X.org crashes,
 see debian bug 573994. Maybe these two bugs are related.

 mar...@shambhala:~ apt-show-versions | egrep 
 (xserver-xorg/|xserver-xorg-core/|xserver-xorg-video-radeon/|libgl1-mesa)
 libgl1-mesa-dev/squeeze uptodate 7.7-4
 libgl1-mesa-dri/squeeze uptodate 7.7-4
 libgl1-mesa-glx/squeeze uptodate 7.7-4
 xserver-xorg/sid uptodate 1:7.5+5
 xserver-xorg-core/squeeze uptodate 2:1.7.5-1
 xserver-xorg-video-radeon/sid uptodate 1:6.12.6-1

 I didn't try with xserver-xorg-video-radeon 2:1.7.5.902-1 from
 experimental yet, since last time I tested it the X process
 showed excessive CPU usage with EXA acceleration.

   

You probably want radeon 6.12.192 and KMS if you use multiple sessions
at the same time. For instance, you'll have DRI2 in all sessions.

Brice





--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba7b244.9060...@ens-lyon.org



Bug#565328: closed by Brice Goglin bgog...@debian.org (Bug#565328: fixed in xserver-xorg-video-intel 2:2.9.1-3)

2010-03-22 Thread Brice Goglin
relax wrote:
 No change, still same issue.

 Package: xserver-xorg-video-intel
 Versions:
 2:2.9.1-3
(/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages)
(/var/lib/dpkg/status)
  Description Language: de

 Package: xserver-xorg-video-intel
 Versions:
 2:2.9.1-3
(/var/lib/apt/lists/ftp.debian.org_debian_dists_unstable_main_binary-i386_Packages)
(/var/lib/dpkg/status)
  Description Language: de

 grep Xv Xorg.0.log
 (==) intel(0): Intel XvMC decoder disabled
 (WW) intel(0): Disabling Xv because no adaptors could be initialized.

Which kernel do you have ? If not done already, use Debian's
linux-image-2.6.32-4 package.

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ba7cdc7.8070...@ens-lyon.org



x11proto-dri2: Changes to 'debian-unstable'

2010-03-21 Thread Brice Goglin
 debian/changelog |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ef0bd2ec4e28445193730640171a127f8dfed86b
Author: Brice Goglin bgog...@debian.org
Date:   Sun Mar 21 10:14:51 2010 +0100

Prepare changelog for upload

diff --git a/debian/changelog b/debian/changelog
index 036ec05..f148268 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,9 @@
-x11proto-dri2 (2.2-2) UNRELEASED; urgency=low
+x11proto-dri2 (2.2-2) unstable; urgency=low
 
   * Bump xutils-dev build dependencies to 1:7.5~1 for util-macros 1.3.0
 (closes: #574497).
 
- -- Brice Goglin bgog...@debian.org  Tue, 16 Feb 2010 07:23:26 +0100
+ -- Brice Goglin bgog...@debian.org  Sun, 21 Mar 2010 10:14:39 +0100
 
 x11proto-dri2 (2.2-1) unstable; urgency=low
 


-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nthh5-cx...@alioth.debian.org



  1   2   3   4   5   6   7   8   9   10   >