Bug#832794: xserver-xorg-core: modesetting on some Intel hw causes xmgrace graphical glitches

2016-12-22 Thread Francesco Poli
On Thu, 15 Dec 2016 18:55:23 +0100 Andreas Boll wrote:

> Version: 2:1.18.99.902-1
> 
> Hi,
> 
> as mentioned in the forwarded bug report, this bug has been fixed in
> xserver 1.19.
> 
> Closing this bug accordingly.

I have just tested modesetting again on the box where I originally
experienced this bug.
I can confirm that the issue is indeed fixed in at least
xserver-xorg-core/2:1.19.0-2

Thanks a lot to each person involved in the resolution!
Bye.

-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgplRMuXt7yCo.pgp
Description: PGP signature


Bug#832794: xserver-xorg-core: modesetting on some Intel hw causes xmgrace graphical glitches

2016-08-01 Thread Francesco Poli
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=97169


On Mon, 1 Aug 2016 19:39:53 +0200 Francesco Poli wrote:

> On Mon, 1 Aug 2016 20:22:15 +0300 Timo Aaltonen wrote:
[...]
> > Thanks, I've reproduced this and filed it upstream:
> > 
> > https://bugs.freedesktop.org/show_bug.cgi?id=97169
> 
> Thanks to you! :-)
> This is really appreciated.

By the way, I am setting the forwarded field accordingly...

Thanks again!

-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgp9sx5J8RbRH.pgp
Description: PGP signature


Bug#832794: xserver-xorg-core: modesetting on some Intel hw causes xmgrace graphical glitches

2016-08-01 Thread Francesco Poli
On Mon, 1 Aug 2016 20:22:15 +0300 Timo Aaltonen wrote:

> On 29.07.2016 00:27, Francesco Poli (wintermute) wrote:
[...]
> > Hello again X Strike Force,
> > I found out another regression caused by the use of the modesetting X
> > video driver on one box (this regression does not seem to show on
> > another box with more recent Intel graphics hardware...).
> > 
> > Steps to reproduce (on a box with the graphics hardware described below):
[...]
> 
> Thanks, I've reproduced this and filed it upstream:
> 
> https://bugs.freedesktop.org/show_bug.cgi?id=97169

Thanks to you! :-)
This is really appreciated.

> 
> What more recent gfx ghw have you tested that doesn't see this? BDW at
> least seems ok here.

The following hardware seems to work fine with xmgrace (and the
modesetting X video driver):

  $ LC_ALL=C lspci -nn | grep 'VGA compatible controller'
  00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation 
Core Processor Family Integrated Graphics Controller [8086:0106] (rev 09)

Another box where xmgrace seems to work fine (with the modesetting X
video driver) has the following hardware:

  $ LC_ALL=C lspci -nn | grep 'VGA compatible controller'
  00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 
v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)


I hope this helps to pinpoint the issue.
Thanks for your time!



-- 
 http://www.inventati.org/frx/
 There's not a second to spare! To the laboratory!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgpyIT_6o_srm.pgp
Description: PGP signature


Bug#832794: xserver-xorg-core: modesetting on some Intel hw causes xmgrace graphical glitches

2016-08-01 Thread Timo Aaltonen
On 29.07.2016 00:27, Francesco Poli (wintermute) wrote:
> Package: xserver-xorg-core
> Version: 2:1.18.4-1
> Severity: normal
> 
> Hello again X Strike Force,
> I found out another regression caused by the use of the modesetting X
> video driver on one box (this regression does not seem to show on
> another box with more recent Intel graphics hardware...).
> 
> Steps to reproduce (on a box with the graphics hardware described below):
> 
>   # aptitude install grace
>   $ xmgrace
> 
> A blank plot is shown by default. The background should be white, but,
> instead, a matrix of equally-spaced black dots is displayed on the
> background.

Thanks, I've reproduced this and filed it upstream:

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

What more recent gfx ghw have you tested that doesn't see this? BDW at
least seems ok here.


-- 
t



Bug#832794: xserver-xorg-core: modesetting on some Intel hw causes xmgrace graphical glitches

2016-07-28 Thread Francesco Poli (wintermute)
Package: xserver-xorg-core
Version: 2:1.18.4-1
Severity: normal

Hello again X Strike Force,
I found out another regression caused by the use of the modesetting X
video driver on one box (this regression does not seem to show on
another box with more recent Intel graphics hardware...).

Steps to reproduce (on a box with the graphics hardware described below):

  # aptitude install grace
  $ xmgrace

A blank plot is shown by default. The background should be white, but,
instead, a matrix of equally-spaced black dots is displayed on the
background.

Select Plot appearance... from the Plot menu and change the Color
in the Page background section. For instance, choose Orange as
Page background Color and check Fill.
Click on the Accept button.

The background should become uniformly orange. Instead, the background
stays transparent (white with the regular black dot grid).

Select Set appearance... from the Plot menu and right-click on
the Select set area: a context menu appears, where you can select
Create new → By formula.

Enter

  Start at: 0
  Stop at: 1
  Length: 1001
  Set type: XY
  X = $t
  Y = sin(9*$t)

and click on the Accept button.

Then, in the Select set area, click on the (+) G0.S0[2][1001] set
and change the Line properties Width to 3. Click on the Accept button.

You should see the top half of a sinusoid drawn with continuous
black thick line on orange background. What I see is instead
the top half of a sinusoid drawn with discontinuous black thick
line on transparent background (see the attaced
grace_modesetting_screenshot.png).

However, if you print the plot to an EPS file, the result is as
intended: select Print setup... from the File menu.
Choose Device EPS and enter File name grace_print.eps : then,
click on the Accept button and select Print from the File menu.

The resulting EPS file is attached (grace_print.eps): as I said,
it looks as intended, although the interactive GUI fails to
paint the correct background and fails to draw the continuous line.


On more recent Intel graphics hardware, the modesetting X video driver
does not exhibit such glitches (xmgrace GUI shows what you will get
in the EPS print).
Forcing the use of the "intel" X video driver also makes these glitches
go away (see attached grace_intel_screenshot.png).


For your convenience, I am also attaching a non-interactive way
to reproduce the bug (see file grace_sin.agr): issue the following
command

  $ xmgrace -hdevice EPS -printfile grace_print.eps grace_sin.agr

You will see the GUI with the sinusoidal plot (and the glitches,
on the Intel graphics hardware under consideration).
Select Print from the File menu and you'll get the grace_print.eps
file.


Please investigate this bug and fix it and/or forward my bug report
upstream, as appropriate.

Thanks for your time.



P.S.: to the extent that my attachments are copyrighted, I hereby
  release them under the same terms as most of the X.org code
  (that is to say, the first license listed in [1])

[1] 
https://tracker.debian.org/media/packages/x/xorg-server/copyright-2%3A1.18.4-1

-- Package-specific info:
X server symlink status:

lrwxrwxrwx 1 root root 13 Nov  6  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul 20 05:00 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
00:02.0 VGA compatible controller [0300]: Intel Corporation 4 Series Chipset 
Integrated Graphics Controller [8086:2e22] (rev 03)

/etc/X11/xorg.conf does not exist.

/etc/X11/xorg.conf.d does not exist.

KMS configuration files:

/etc/modprobe.d/i915-kms.conf:
  options i915 modeset=1
/etc/modprobe.d/radeon-kms.conf:
  options radeon modeset=1

Kernel version (/proc/version):
---
Linux version 4.6.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.0 
20160609 (Debian 5.4.0-6) ) #1 SMP Debian 4.6.4-1 (2016-07-18)

No Xorg X server log files found.

udev information:
-
P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7
E: EV=3
E: ID_FOR_SEAT=input-acpi-LNXPWRBN_00
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_PATH=acpi-LNXPWRBN:00
E: ID_PATH_TAG=acpi-LNXPWRBN_00
E: KEY=10 0
E: MODALIAS=input:b0019vp0001e-e0,1,k74,ramlsfw
E: NAME="Power Button"
E: PHYS="LNXPWRBN/button/input0"
E: PRODUCT=19/0/1/0
E: PROP=0
E: SUBSYSTEM=input
E: TAGS=:seat:
E: USEC_INITIALIZED=12889923

P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event4
N: input/event4
E: BACKSPACE=guess
E: DEVNAME=/dev/input/event4
E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event4
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_PATH=acpi-LNXPWRBN:00
E: ID_PATH_TAG=acpi-LNXPWRBN_00
E: LIBINPUT_DEVICE_GROUP=19/0/1/0:LNXPWRBN/button
E: MAJOR=13
E: MINOR=68
E: SUBSYSTEM=input
E: TAGS=:power-switch:
E: USEC_INITIALIZED=13081371
E: XKBLAYOUT=us
E: XKBMODEL=pc104
E: XKBOPTIONS=compose:menu

P: /devices/LNXSYSTM:00/LNXSYBUS:00/P