Bug#502675: libdrm: Binary firmware in driver source

2008-10-18 Thread Ben Hutchings
Package: libdrm
Version: 2.3.1-1
Severity: serious
Justification: Policy 2.2.1

The libdrm source package includes the DRM drivers mga, r128, radeon
which include sourceless firmware images.  These could all be removed
from the source package since the drivers are built as part of
linux-2.6.

Ben.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pre-upload review for xserver-xorg-video-intel

2008-10-18 Thread Pierre Habouzit
On Sat, Oct 18, 2008 at 02:21:21PM +, Julien Cristau wrote:
> Hi,
> 
> I've looked at upstream git for fixes that we probably want in the intel
> X driver for lenny, and pushed what I came up with to [1].  I'd like to
> get the opinion of some release team member on this before I push to the
> main repo and upload (review from debian-x people would be welcome too,
> of course).
> Changelog entry and diffstat follow, let me know if I should post the
> diff on the list or if pointing to the git repo works for you.

looking at the changelog and diffstat I'd say that most of it looks
sane. The line count of the src/i830_dri.c diff looks big though, but oh
well...

-- 
·O·  Pierre Habouzit
··O[EMAIL PROTECTED]
OOOhttp://www.madism.org


pgp8V7nlRvn0K.pgp
Description: PGP signature


Bug#489051: xserver-xorg-video-vesa: fails to find valid modes

2008-10-18 Thread Sandro Tosi
Hello,
I've tested the patch at [1] and it works fine (at least on a Thinkpad
T30): is there any plan to apply it and fix the package?

Thanks,
Sandro

[1] http://bugs.archlinux.org/task/10843

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



pre-upload review for xserver-xorg-video-intel

2008-10-18 Thread Julien Cristau
Hi,

I've looked at upstream git for fixes that we probably want in the intel
X driver for lenny, and pushed what I came up with to [1].  I'd like to
get the opinion of some release team member on this before I push to the
main repo and upload (review from debian-x people would be welcome too,
of course).
Changelog entry and diffstat follow, let me know if I should post the
diff on the list or if pointing to the git repo works for you.

xserver-xorg-video-intel (2:2.3.2-2+lenny5) UNRELEASED; urgency=low

  * Cherry-pick some more patches from upstream git:
- Disable display clock gating for 4 series chips
- Pipe A force quirk for Toshiba Satellite A30.
- i830: Fix timer leak
  TimerCancel just cancels the timer: it still leaves the TimerRec intact
  and unfreed.
- Disable render standby
  Render standby is known to cause possible hang issue on some mobile
  chips, so always disable it.
- Add support for G41 chipset
  G41 is another 4 series chipset like G45/43.
- Add Cappuccino SlimPRO SP625F to no LVDS quirks list
  Looks like this platform might contain VBTs that indicate an LFP is
  present even though it isn't.  Intended to fix bz #11368.
- Add TV out quirk for HP Compaq nx6110
  Adds a TV out quirk for HP Compaq nx6110.  Fixes bz #17683.
- Do force CRT detect sequence twice on 4 series chipset
- Render register clock gating disable fix on 4 series chipset
- Disable frame buffer compression by default for GM965.
  We haven't found a way to make FBC work reliably with GM965 yet, (it
  often fails to notice CPU writes). This appears to be a specific problem
  with this device, (as we haven't gotten similar bug reports for
  subsequent devices such as GM45). So FBC is now disabled by default for
  GM965 but can still be enabled with the FrameBufferCompression option
  for experimenting/debugging
- Fix broken stolen memory counting on G4X (closes: #502387).
  On the GM45 we were assuming too little stolen memory (mostly harmless,
  except when it wasn't, until the AGP fix), and on the G45 we were
  assuming too much stolen memory, which was quite harmful when we touched
  the page that didn't get mapped.
- XAA tiling support was mis-computing adjusted pitch (>>4 instead of >>2)
  This may well explain why XAA never worked well on tiled front buffers;
  tiled buffers require a different pitch programming on 965 than
  non-tiled buffers, in dwords rather than bytes
- Handle differently tiled front/back/depth/third in DRI window management
  When moving or clearing the extra buffer contents associated with DRI
  windows, the XAA code needs to see which buffer is being manipulated in
  the Setup functions to program the tiling values correctly. Calling
  I830SelectBuffer and not then calling I830Setup... would result in
  mis-tiled rendering
  * Adjust patch 01_gen_pci_ids.diff to exclude G41 as well, so vesa is chosen
by default.  The intel driver can still be selected in xorg.conf.

 -- Julien Cristau <[EMAIL PROTECTED]>  Sat, 18 Oct 2008 15:41:04 +0200

$ git diff -M --stat xserver-xorg-video-intel-2_2.3.2-2+lenny4
 debian/changelog   |   47 +
 debian/patches/01_gen_pci_ids.diff |4 +-
 src/common.h   |7 ++-
 src/i810_driver.c  |4 +
 src/i810_reg.h |6 ++
 src/i830.h |9 ++-
 src/i830_accel.c   |9 ++-
 src/i830_crt.c |   11 +++
 src/i830_dri.c |  131 ++--
 src/i830_driver.c  |   50 +++---
 src/i830_quirks.c  |7 ++
 src/i830_xaa.c |   10 ++--
 12 files changed, 209 insertions(+), 86 deletions(-)

[1] http://git.debian.org/?p=users/jcristau/xserver-xorg-video-intel.git
(debian-unstable branch)

Thanks in advance,
Julien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#487110: Packaging of the current git master

2008-10-18 Thread Julien Cristau
On Sat, Oct 18, 2008 at 15:03:23 +0300, Alexandros Konstantinakis - Karmis 
wrote:

> for the aforementioned reasons i think packaging version 1.2.3 and  
> pushing it to experimental would be a good idea and i would be more than  
> happy to try it out and report back.
>
Xv (and DRI) should work on that hardware with the radeon driver
currently in lenny.
But yes, hopefully someone will have time to update the radeonhd package
to 1.2.3 at some point...

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#502004: X server randomly crashes on several occasions

2008-10-18 Thread venigalla sayikiran
hi,
 This is the third occassion when my X server crashed all of a
sudden. First time when X server crashed i was using iceweasel
browser. I thought the problem was with iceweasel. X crashed for
second time when i was editing configuration settings in gconf-editor.
This time X server crashed when i was using ephiphany browser.
 It seems that the problem is not with any particular package but
may be with X server xorg itslef.
 I am attaching my xorg.log file. Please search for this function
in the file. I think this particular function may be the root cause of
the problem.

 Line #690: "Error in I830WaitLpRing()"

vsayikiran


Xorg.0.log.old
Description: Binary data


Bug#487110: Packaging of the current git master

2008-10-18 Thread Alexandros Konstantinakis - Karmis

version 1.2.3 was released a few days ago

http://gitweb.freedesktop.org/?p=xorg/driver/xf86-video-radeonhd;a=commit;h=57aca005c1ede5495f326a98c411d049115cb845

it seems to fix a lot of reported bugs and also offers support for Xv. 
Xv support is the only reason a lot of ati card users (including myself) 
are still using the proprietary driver. For this to work, the driver 
would have to be compiled with Direct Rendering (DRI) enabled. 1.2.3 
also supports more (mostly newer) radeon cards than 1.2.1.


for the aforementioned reasons i think packaging version 1.2.3 and 
pushing it to experimental would be a good idea and i would be more than 
happy to try it out and report back.


thank you



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processed: reassign 502604 to xorg-server, severity of 502604 is minor

2008-10-18 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> reassign 502604 xorg-server
Bug#502604: FreeFontPath: FPE "/usr/share/fonts/X11/misc/:unscaled" refcount is 
2, should be 1
Bug reassigned from package `xorg' to `xorg-server'.

> severity 502604 minor
Bug#502604: FreeFontPath: FPE "/usr/share/fonts/X11/misc/:unscaled" refcount is 
2, should be 1
Severity set to `minor' from `normal'

>
End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



reassign 502604 to xorg-server, severity of 502604 is minor

2008-10-18 Thread Julien Cristau
reassign 502604 xorg-server 
severity 502604 minor


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#490912: marked as done (Cursor Stucked at bottom right)

2008-10-18 Thread Debian Bug Tracking System

Your message dated Sat, 18 Oct 2008 10:02:03 +
with message-id <[EMAIL PROTECTED]>
and subject line Bug#490912: fixed in xserver-xorg-input-vmmouse 1:12.5.1-3
has caused the Debian Bug report #490912,
regarding Cursor Stucked at bottom right
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
490912: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490912
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Subject: xserver-xorg-input-vmmouse
Package: xserver-xorg-input-vmmouse
Version: 1:12.5.1-2
Severity: normal
Tags: patch

*** Please type your report below this line ***
If using:
Option  "Device""/dev/input/mice"
in my /etc/X11/xorg.conf, vmmouse does not work any longer. It worked before 
last update. If I comment this lise the driver falls back to mouse, wich 
removes the ability of switching from guest OS to host OS.  iThe visible cursor 
is moving, but every click goes to the bottom right corner of the screen. It's 
seems to be an old bug who surfaced again 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442853 and 
http://bugs.freedesktop.org/show_bug.cgi?id=12506. The old proposed patch 
resolves this bug.

-- Package-specific info:
Contents of /var/lib/x11/X.roster:
xserver-xorg

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 2007-05-02 17:06 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1718228 2008-06-26 02:14 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:0f.0 VGA compatible controller: VMware Inc Abstract SVGA II Adapter

/etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 3451 2008-07-15 11:22 /etc/X11/xorg.conf
Contents of /etc/X11/xorg.conf:
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath"/usr/share/fonts/X11/misc"
FontPath"/usr/X11R6/lib/X11/fonts/misc"
FontPath"/usr/share/fonts/X11/cyrillic"
FontPath"/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath"/usr/share/fonts/X11/100dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/share/fonts/X11/75dpi/:unscaled"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/share/fonts/X11/Type1"
FontPath"/usr/X11R6/lib/X11/fonts/Type1"
FontPath"/usr/share/fonts/X11/100dpi"
FontPath"/usr/X11R6/lib/X11/fonts/100dpi"
FontPath"/usr/share/fonts/X11/75dpi"
FontPath"/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"bitmap"
Load"ddc"
Load"dri"
Load"extmod"
Load"freetype"
Load"glx"
Load"int10"
Load"vbe"
EndSection

Section "InputDevice"
Identifier"Generic Keyboard"
Driver"kbd"
Option"CoreKeyboard"
Option"XkbRules""xorg"
Option"XkbModel""pc105"
Option"XkbLayout""ch"
Option"XkbVariant""fr"
EndSection

Section "InputDevice"
Identifier"Configured Mouse"
Driver"vmmouse"
#Option"CorePointer"
Option"Device""/dev/input/mice"
Option"Protocol""IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option"Emulate3Buttons""true"
EndSection

Section "Device"
Identifier  "VMware SVGA"
Driver  "vmware"
EndSection

Section "Monitor"
Identifier  "vmware"
VendorName  "VMware, Inc"
HorizSync 1-1
VertRefresh 1-1

ModeLine "1600x1000" 100 1600 1700 1800 1900 1000 1100 1200 1300
EndSection

Section "Screen"
Identifier"Default Screen"
Device  "VMware SVGA"
Monitor "vmware"
# Don't specify DefaultColorDepth unless you know what you're

xserver-xorg-input-vmmouse_12.5.1-3_i386.changes ACCEPTED

2008-10-18 Thread Debian Installer

Accepted:
xserver-xorg-input-vmmouse_12.5.1-3.diff.gz
  to 
pool/main/x/xserver-xorg-input-vmmouse/xserver-xorg-input-vmmouse_12.5.1-3.diff.gz
xserver-xorg-input-vmmouse_12.5.1-3.dsc
  to 
pool/main/x/xserver-xorg-input-vmmouse/xserver-xorg-input-vmmouse_12.5.1-3.dsc
xserver-xorg-input-vmmouse_12.5.1-3_i386.deb
  to 
pool/main/x/xserver-xorg-input-vmmouse/xserver-xorg-input-vmmouse_12.5.1-3_i386.deb


Override entries for your package:
xserver-xorg-input-vmmouse_12.5.1-3.dsc - source x11
xserver-xorg-input-vmmouse_12.5.1-3_i386.deb - optional x11

Announcing to [EMAIL PROTECTED]
Closing bugs: 490912 


Thank you for your contribution to Debian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processing of xserver-xorg-input-vmmouse_12.5.1-3_i386.changes

2008-10-18 Thread Archive Administrator
xserver-xorg-input-vmmouse_12.5.1-3_i386.changes uploaded successfully to 
localhost
along with the files:
  xserver-xorg-input-vmmouse_12.5.1-3.dsc
  xserver-xorg-input-vmmouse_12.5.1-3.diff.gz
  xserver-xorg-input-vmmouse_12.5.1-3_i386.deb

Greetings,

Your Debian queue daemon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#502604: FreeFontPath: FPE "/usr/share/fonts/X11/misc/:unscaled" refcount is 2, should be 1

2008-10-18 Thread Anders Lagerås
Package: xorg
Version: 1:7.3+18
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Font path /usr/share/fonts/X11/misc/:unscaled seems to automatically be added 
twice.

- From Xorg.log
FreeFontPath: FPE "/usr/share/fonts/X11/misc/:unscaled" refcount is 2, should 
be 1; fixing.

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (995, 'unstable'), (700, 'testing'), (600, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=sv_SE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xorg depends on:
ii  eterm [x-terminal-emulator]   0.9.5-2Enlightened Terminal Emulator
ii  libgl1-mesa-glx [libgl1]  7.0.3-6A free implementation of the OpenG
ii  libglu1-mesa  7.0.3-6The OpenGL utility library (GLU)
ii  x11-apps  7.3+4  X applications
ii  x11-session-utils 7.3+1  X session utilities
ii  x11-utils 7.3+2  X11 utilities
ii  x11-xfs-utils 7.3+1  X font server utilities
ii  x11-xkb-utils 7.4+1  X11 XKB utilities
ii  x11-xserver-utils 7.3+5  X server utilities
ii  xauth 1:1.0.3-2  X authentication utility
ii  xfce4-terminal [x-terminal-em 0.2.8-5Xfce terminal emulator
ii  xfonts-100dpi 1:1.0.0-4  100 dpi fonts for X
ii  xfonts-75dpi  1:1.0.0-4  75 dpi fonts for X
ii  xfonts-base   1:1.0.0-5  standard fonts for X
ii  xfonts-scalable   1:1.0.0-6  scalable fonts for X
ii  xfonts-utils  1:7.4+1X Window System font utility progr
ii  xinit 1.0.9-2X server initialisation tool
ii  xkb-data  1.3-2  X Keyboard Extension (XKB) configu
ii  xserver-xorg  1:7.3+18   the X.Org X server
ii  xterm [x-terminal-emulator]   237-1  X terminal emulator

Versions of packages xorg recommends:
pn  xorg-docs  (no description available)

xorg suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkj5rZAACgkQw5UvgfnzqGrtOwCgkeOultF4LZCkWsfJiyCeOFzu
3N4AoJ5RcmNzUOEndWQmoimB0ZmhgdOT
=/p68
-END PGP SIGNATURE-



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Processing of xserver-xorg-input-vmmouse_12.5.1-3_i386.changes

2008-10-18 Thread Archive Administrator
xserver-xorg-input-vmmouse_12.5.1-3_i386.changes uploaded successfully to 
ftp.upload.debian.org
along with the files:
  xserver-xorg-input-vmmouse_12.5.1-3.dsc
  xserver-xorg-input-vmmouse_12.5.1-3.diff.gz
  xserver-xorg-input-vmmouse_12.5.1-3_i386.deb

Greetings,

Your Debian queue daemon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#502387: complete system hangup

2008-10-18 Thread Julien Cristau
tag 502387 patch
clone 502387 -1
reassign -1 linux-2.6
retitle -1 [intel agp] stolen memory counting broken on G4X
kthxbye

On Thu, Oct 16, 2008 at 13:45:28 +0200, Julien Cristau wrote:

> On Thu, Oct 16, 2008 at 08:48:12 +0200, Nico Schottelius wrote:
> 
> > Since some days, maybe since the upgrade from xserver-xorg-core
> > from 2:1.4.2-6 to 2:1.4.2-7, the system has a total hangup when
> > I specify to use the intel driver in xorg.conf.
> > 
> > It runs fine without specification, in which case xorg choses
> > vesa (that`s why I report the bug for the intel package).
> > 
> There's a reason we don't use the intel driver on cantiga by default.
> It seems the problems got tracked down recently though, see below.
> 
> > As seen below, I have the Intel Cantiga chipset runnin on the
> > Lenovo X200.
> > 
> > This happens with plain debian kernel (2.6.26) and also with
> > 2.6.27-rc6.
> > 
> The patches at [1] and [2] might help.
> 
> d-k: can we get the kernel part of this bug fixed in lenny?
> 
> Cheers,
> Julien
> 
> [1] 
> http://git.kernel.org/?p=linux/kernel/git/anholt/drm-intel.git;a=commitdiff_plain;h=2052746fc8397130c120f0194a89938b0b62b6cb
> [2] 
> http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/commit/?id=4dd00681dd0f9fce8dfd4592b46418edbbd2eeb4
> 
The kernel patch is now in mainline, commit id
82e14a6215cbc9804ecc35281e973c6c8ce22fe7 (attached).  I'll apply the X
driver fix soon.

Cheers,
Julien
>From 82e14a6215cbc9804ecc35281e973c6c8ce22fe7 Mon Sep 17 00:00:00 2001
From: Eric Anholt <[EMAIL PROTECTED]>
Date: Tue, 14 Oct 2008 11:28:58 -0700
Subject: [PATCH] agp: Fix stolen memory counting on G4X.

On the GM45, the amount of stolen memory mapped to the GTT was underestimated,
even though we had 508KB more available since the GTT doesn't take from
stolen memory. On the non-GM45 G4X, we overestimated how much stolen was
mapped to the GTT by 4KB, resulting in GPU page faults when that page was
accessed.

This update requires a corresponding update to xf86-video-intel to work
correctly.

Signed-off-by: Eric Anholt <[EMAIL PROTECTED]>
Signed-off-by: Dave Airlie <[EMAIL PROTECTED]>
---
 drivers/char/agp/intel-agp.c |   12 +++-
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c
index 016fdf0..f1fe749 100644
--- a/drivers/char/agp/intel-agp.c
+++ b/drivers/char/agp/intel-agp.c
@@ -54,8 +54,7 @@
 		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965Q_HB || \
 		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965G_HB || \
 		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GM_HB || \
-		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB || \
-		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB)
+		 agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_82965GME_HB)
 
 #define IS_G33 (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G33_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q35_HB || \
@@ -63,7 +62,8 @@
 
 #define IS_G4X (agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_IGD_E_HB || \
 		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_Q45_HB || \
-		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB)
+		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_G45_HB || \
+		agp_bridge->dev->device == PCI_DEVICE_ID_INTEL_GM45_HB)
 
 extern int agp_memory_reserved;
 
@@ -525,8 +525,10 @@ static void intel_i830_init_gtt_entries(void)
 		size += 4;
 	} else if (IS_G4X) {
 		/* On 4 series hardware, GTT stolen is separate from graphics
-		 * stolen, ignore it in stolen gtt entries counting */
-		size = 0;
+		 * stolen, ignore it in stolen gtt entries counting.  However,
+		 * 4KB of the stolen memory doesn't get mapped to the GTT.
+		 */
+		size = 4;
 	} else {
 		/* On previous hardware, the GTT size was just what was
 		 * required to map the aperture.
-- 
1.5.6.5



Processed: Re: Bug#502387: complete system hangup

2008-10-18 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tag 502387 patch
Bug#502387: [G4X] complete system hang
There were no tags set.
Tags added: patch

> clone 502387 -1
Bug#502387: [G4X] complete system hang
Bug 502387 cloned as bug 502606.

> reassign -1 linux-2.6
Bug#502606: [G4X] complete system hang
Bug reassigned from package `xserver-xorg-video-intel' to `linux-2.6'.

> retitle -1 [intel agp] stolen memory counting broken on G4X
Bug#502606: [G4X] complete system hang
Changed Bug title to `[intel agp] stolen memory counting broken on G4X' from 
`[G4X] complete system hang'.

> kthxbye
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xserver-xorg-input-vmmouse: Changes to 'debian-unstable'

2008-10-18 Thread Julien Cristau
 configure.ac |3 +++
 debian/changelog |7 +++
 src/vmmouse.c|8 
 3 files changed, 18 insertions(+)

New commits:
commit baca09c9e93fb160e9fb5e1a2283800520047747
Author: Julien Cristau <[EMAIL PROTECTED]>
Date:   Sat Oct 18 11:24:34 2008 +0200

Update debian changelog

diff --git a/debian/changelog b/debian/changelog
index 35971ec..614767b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xserver-xorg-input-vmmouse (1:12.5.1-3) unstable; urgency=low
+
+  * Cherry-pick from upstream: Properly set axis range and resolution for
+Server 1.5+ (closes: #490912).
+
+ -- Julien Cristau <[EMAIL PROTECTED]>  Sat, 18 Oct 2008 10:55:07 +0200
+
 xserver-xorg-input-vmmouse (1:12.5.1-2) unstable; urgency=low
 
   * Rebuild against xserver-xorg-dev 1.4.2 so that conversion_proc

commit ae8a59877df2ede4525c66b8e1eecd7386715bc8
Author: Philip Langdale <[EMAIL PROTECTED]>
Date:   Fri Oct 17 19:41:07 2008 -0700

Properly set axis range and resolution for Server 1.5+
(cherry picked from commit 64760dae6b1184405641b6b46a7967d114f4ab80)

diff --git a/configure.ac b/configure.ac
index a57851f..639ba74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,6 +86,9 @@ PKG_CHECK_EXISTS([xorg-server >= 1.3.99.0 xorg-server <= 
1.4.0.90],
  [AC_DEFINE([CALL_CONVERSION_PROC], 1,
 [Call conversion_proc from within the driver, as
  Xserver doesn't])])
+PKG_CHECK_EXISTS([xorg-server > 1.4.0.90],
+[AC_DEFINE([ABS_VALUATOR_AXES], 1,
+   [Define absolute valuator axes])])
 
 CFLAGS="$CFLAGS $XORG_CFLAGS "' -I$(top_srcdir)/src'
 AC_SUBST([CFLAGS])
diff --git a/src/vmmouse.c b/src/vmmouse.c
index 1e2a1c9..65db793 100644
--- a/src/vmmouse.c
+++ b/src/vmmouse.c
@@ -807,10 +807,18 @@ VMMouseDeviceControl(DeviceIntPtr device, int mode)
 );
 
   /* X valuator */
+#ifdef ABS_VALUATOR_AXES
+  xf86InitValuatorAxisStruct(device, 0, 0, 65535, 1, 0, 1);
+#else
   xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1);
+#endif
   xf86InitValuatorDefaults(device, 0);
   /* Y valuator */
+#ifdef ABS_VALUATOR_AXES
+  xf86InitValuatorAxisStruct(device, 1, 0, 65535, 1, 0, 1);
+#else
   xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1);
+#endif
   xf86InitValuatorDefaults(device, 1);
 #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0
   xf86MotionHistoryAllocate(pInfo);


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xserver-xorg-input-vmmouse: Changes to 'refs/tags/xserver-xorg-input-vmmouse-1_12.5.1-3'

2008-10-18 Thread Julien Cristau
Tag 'xserver-xorg-input-vmmouse-1_12.5.1-3' created by Julien Cristau <[EMAIL 
PROTECTED]> at 2008-10-18 09:25 +

Tagging upload of xserver-xorg-input-vmmouse 1:12.5.1-3 to unstable.

Changes since xserver-xorg-input-vmmouse-1_12.5.1-2:
Julien Cristau (1):
  Update debian changelog

Philip Langdale (1):
  Properly set axis range and resolution for Server 1.5+

---
 configure.ac |3 +++
 debian/changelog |7 +++
 src/vmmouse.c|8 
 3 files changed, 18 insertions(+)
---


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]