Bug#706171: xserver-xorg-video-nouveau: Automatic resolution detection broken in v. 1:1.0.7-1

2013-04-28 Thread Sven Joachim
On 2013-04-25 23:40 +0200, Dmitri wrote:

> Package: xserver-xorg-video-nouveau
> Followup-For: Bug #706171
>
> Sorry, my fail.
> Attachment.

Thanks.  It seems the problem is that there is no EDID information with
the 1.0.7 version of the driver.  Compare the 1.0.1 log:

> [ 76281.596] (II) NOUVEAU(0): EDID for output VGA-13
> [ 76281.596] (II) NOUVEAU(0): Manufacturer: PHL  Model: e  Serial#: 701180
> [ 76281.596] (II) NOUVEAU(0): Year: 2005  Week: 3
> [ 76281.596] (II) NOUVEAU(0): EDID Version: 1.3
> [ 76281.596] (II) NOUVEAU(0): Analog Display Input,  Input Voltage Level: 
> 0.700/0.700 V
> [ 76281.596] (II) NOUVEAU(0): Sync:  Separate
> [ 76281.596] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 36  vert.: 27
> [ 76281.596] (II) NOUVEAU(0): Gamma: 2.74
> [ 76281.596] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off; 
> RGB/Color Display
> [ 76281.596] (II) NOUVEAU(0): Default color space is primary color space
> [ 76281.596] (II) NOUVEAU(0): First detailed timing is preferred mode
> [ 76281.596] (II) NOUVEAU(0): redX: 0.625 redY: 0.336   greenX: 0.290 greenY: 
> 0.599
> [ 76281.597] (II) NOUVEAU(0): blueX: 0.149 blueY: 0.073   whiteX: 0.283 
> whiteY: 0.297
> [ 76281.597] (II) NOUVEAU(0): Supported established timings:
> [ 76281.597] (II) NOUVEAU(0): 720x400@70Hz
> [ 76281.597] (II) NOUVEAU(0): 640x480@60Hz
> [ 76281.597] (II) NOUVEAU(0): 640x480@72Hz
> [ 76281.597] (II) NOUVEAU(0): 640x480@75Hz
> [ 76281.597] (II) NOUVEAU(0): 800x600@60Hz
> [ 76281.597] (II) NOUVEAU(0): 800x600@72Hz
> [ 76281.597] (II) NOUVEAU(0): 800x600@75Hz
> [ 76281.597] (II) NOUVEAU(0): 832x624@75Hz
> [ 76281.597] (II) NOUVEAU(0): 1024x768@60Hz
> [ 76281.597] (II) NOUVEAU(0): 1024x768@70Hz
> [ 76281.597] (II) NOUVEAU(0): 1024x768@75Hz
> [ 76281.597] (II) NOUVEAU(0): 1280x1024@75Hz
> [ 76281.597] (II) NOUVEAU(0): 1152x864@75Hz

with the 1.0.7 log:

> [ 75802.168] (II) NOUVEAU(0): EDID for output VGA-7
> [ 75802.168] (II) NOUVEAU(0): Printing probed modes for output VGA-7
> [ 75802.168] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 
> 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
> [ 75802.168] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 
> 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
> [ 75802.168] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 
> 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
> [ 75802.168] (II) NOUVEAU(0): Modeline "848x480"x60.0   33.75  848 864 976 
> 1088  480 486 494 517 +hsync +vsync (31.0 kHz e)
> [ 75802.168] (II) NOUVEAU(0): Modeline "640x480"x59.9   25.18  640 656 752 
> 800  480 489 492 525 -hsync -vsync (31.5 kHz e)

Now I don't really have an idea why this happens. :( Could you please
try the 1.0.6-1[1] and 1.0.4-1[2] packages from snapshot.debian.org so
that we can narrow down in which version the regression first occurred?

Cheers,
   Sven


1. 
http://snapshot.debian.org/archive/debian/20130108T031821Z/pool/main/x/xserver-xorg-video-nouveau/xserver-xorg-video-nouveau_1.0.6-1_i386.deb

2. 
http://snapshot.debian.org/archive/debian/20121126T215358Z/pool/main/x/xserver-xorg-video-nouveau/xserver-xorg-video-nouveau_1.0.4-1_i386.deb


-- 
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/87k3nmfphq@turtle.gmx.de



Re: Packaging updates in GIT

2013-04-28 Thread Sven Joachim
On 2013-04-27 18:56 +0200, Sven Joachim wrote:

> On 2013-04-27 02:21 +0200, xmixahlx wrote:
>
>> I was playing with your X packages from the git repo and thought I'd let
>> you know of some slight broken packages.
>
> Thanks for trying our dogfood, much appreciated.
>
>> * Mesa has a bad link of libGL.so to libGL.so.1.6.0 (instead of
>> libGL.so.1.2.0).
>
> Indeed. :-(  Right now I don't see what caused this, will need to dig
> into it.

I have pushed a fix for the problem.  However, it seems there will
likely be trouble if the glx-diversions package is installed:

- glx-diversions diverts (among others) libGL.so.1.2, but the library is
  now named libGL.so.1.2.0 instead.

- libGL.so used to point to libGL.so.1 (that's why the bug does not
  appear in mesa versions uploaded to the archive), but now points to
  libGL.so.1.2.0.

I haven't tested it yet, but it seems quite possible that the libGL.so
symlink might become dangling.

Cheers,
   Sven


-- 
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/8738uah8n2@turtle.gmx.de



mesa: Changes to 'debian-experimental'

2013-04-28 Thread Sven Joachim
 debian/libgl1-mesa-dev.install.in |2 +-
 debian/not-installed  |1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 9701d3e8f39d5d9810cbaef7fadaa4f0dcf60455
Author: Sven Joachim 
Date:   Sun Apr 28 18:54:48 2013 +0200

Install the correct libGL.so symlink into libgl1-mesa-dev

Take the symlink for the libgl1-mesa-glx GL library instead of the one
for libgl1-mesa-swx11, which was dangling.

Reported-by: Michael Gan 

diff --git a/debian/libgl1-mesa-dev.install.in 
b/debian/libgl1-mesa-dev.install.in
index d915191..6c9b794 100644
--- a/debian/libgl1-mesa-dev.install.in
+++ b/debian/libgl1-mesa-dev.install.in
@@ -1,2 +1,2 @@
-usr/lib/${DEB_HOST_MULTIARCH}/libGL.so
+dri/usr/lib/${DEB_HOST_MULTIARCH}/libGL.so  usr/lib/${DEB_HOST_MULTIARCH}
 usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/gl.pc
diff --git a/debian/not-installed b/debian/not-installed
index b0217f2..0dfa764 100644
--- a/debian/not-installed
+++ b/debian/not-installed
@@ -5,7 +5,6 @@ NOT_INSTALLED := \
dri/etc/drirc \
dri/usr/include/GL/wglext.h \
dri/usr/include/GL/wmesa.h \
-   dri/usr/lib/*/libGL.so \
dri/usr/lib/*/pkgconfig/gl.pc \
usr/include/GL/glext.h \
usr/include/GL/gl.h \


-- 
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/e1uwuz7-0003ch...@vasks.debian.org



Bug#698989: libgl1-mesa-dri: glxinfo segmentation fault in nouveau_vieux_dri.so

2013-04-28 Thread Alberto
2013/3/13 Sven Joachim :
> sorry that nobody responded sooner.

Sorry also on my side, for the very late reply of your request of
additional details.

The problem is still present, and the machine has been updated before
repeating the test.

>> *glxinfo* exits with a segmentation fault on my system (nouveau default
>> driver).
>>
>> The error reported in dmesg is
>> glxinfo[4005]: segfault at 4 ip b6d80b01 sp bfb2c160 error 4 in
>> nouveau_vieux_dri.so[b6d65000+36]
>
> Can you please install the libgl1-mesa-dri-dbg package and try to get a
> backtrace?

Here were are:

Program received signal SIGSEGV, Segmentation fault.
nv04_context_engine (ctx=ctx@entry=0x806ff48) at nv04_context.c:70
70nv04_context.c: No such file or directory.
(gdb) bt
#0  nv04_context_engine (ctx=ctx@entry=0x806ff48) at nv04_context.c:70
#1  0xb7606508 in nv04_emit_tex_obj (ctx=0x806ff48, emit=65) at
nv04_state_tex.c:64
#2  0xb760455d in nv04_channel_flush_notify (chan=0x82389d8) at
nv04_context.c:99
#3  0xb7fda4ec in nouveau_pushbuf_flush () from
/usr/lib/i386-linux-gnu/libdrm_nouveau.so.1
#4  0xb7fda878 in nouveau_grobj_free () from
/usr/lib/i386-linux-gnu/libdrm_nouveau.so.1
#5  0xb76044c8 in nv04_context_destroy (ctx=0x806ff48) at nv04_context.c:161
#6  0xb75ff818 in nouveau_context_destroy (dri_ctx=0x8062750) at
nouveau_context.c:187
#7  0xb75fbf0a in driDestroyContext (pcp=0x8062750) at ../common/dri_util.c:288
#8  0xb7ee044a in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#9  0xb7eba998 in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#10 0xb7ebaa1e in ?? () from /usr/lib/i386-linux-gnu/libGL.so.1
#11 0xb7d58653 in XCloseDisplay () from /usr/lib/i386-linux-gnu/libX11.so.6
#12 0x08049b18 in ?? ()
#13 0xb7be0e46 in __libc_start_main () from
/lib/i386-linux-gnu/i686/cmov/libc.so.6
#14 0x0804a2e9 in ?? ()

>> With *glxgears* often (but not always) the desktop freezes, without rotating
>> gears (glxgears window completely black) and without possibility to regain
>> control of the system using the keyboard (but still possible from outside 
>> with
>> SSH).
>
> Is there anything in the kernel or X.org logs?

dmesg:
glxinfo[3460]: segfault at 4 ip b6d16af1 sp bfe2ba50 error 4 in
nouveau_vieux_dri.so[b6cfb000+36]

/var/log/Xorg.0.log:
nothing

--
Alberto


-- 
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/CABJTKALcCkS_NT-8_Q2Y6Hg77=dmwqjz4by1jgnn_fuojdi...@mail.gmail.com



libglu: Changes to 'debian-unstable'

2013-04-28 Thread Sven Joachim
 debian/rules |2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 8471f26995afacc4c81bffe59958fab9116a771d
Author: Sven Joachim 
Date:   Sun Apr 28 09:10:27 2013 +0200

Ensure that DEB_HOST_MULTIARCH is set in debian/rules

While dpkg-buildpackage does this for us by calling dpkg-architecture,
DEB_HOST_MULTIARCH is not set when invoking debian/rules directly,
leading to incorrect *.install files and a build failure later on:

dh_install: libglu1-mesa missing files (usr/lib//libGLU.so.*), aborting

Reported-by: Michael Gan 

diff --git a/debian/rules b/debian/rules
index 9d6d11c..16fe0c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 override_dh_clean:
for file in debian/*.in; do rm -f $${file%%.in}; done
dh_clean


-- 
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/e1uwlr7-0003rw...@vasks.debian.org