Bug#837451: xserver-xorg-core: visual flashes followed by hard crash upon keyboard interaction with thinkpad x201

2016-11-27 Thread Gabriel Filion
Hello,

intrigeri:
> Gabriel Filion:
> 
>> […] and found out that xserver-xorg-core version 1.18.3-2 was
>> introducing this issue. Downgrading to 1.18.3-1 makes the visual flashes and
>> hard crashes go away.
> 
> /usr/share/doc/xserver-xorg-core/NEWS.Debian.gz reads:
> 
> xorg-server (2:1.18.3-2) unstable; urgency=medium
> 
>   X now defaults to using built-in modesetting video driver on Intel
>   hardware which is "4th gen GMA" and newer, so roughly speaking on hardware
>   from 2007 and up. If this triggers new bugs on your hw, please file them
>   against the xserver.
> 
>   Continuing to use the -intel driver is possible by dropping the template
>   xorg.conf to /etc/X11:
> 
>   # cp /usr/share/doc/xserver-xorg-video-intel/xorg.conf /etc/X11
> 
>  -- Timo Aaltonen   Tue, 19 Jul 2016 04:28:05 +0300
> 
> So perhaps the modesetting video driver breaks things on your system.
> Can you please try switching back to the -intel driver with 2:1.18.3-2
> or newer?

I'm sorry for this big delay, but I've finally taken the time to test
this out.

I can confirm that the visual glitches and crashes are still present in
the latest version of the package, 2:1.19.0-2.

Also, when using the above-mentioned technique for forcing the driver to
"intel" (I've confirmed that it loaded by looking at
~/.local/share/xorg/Xorg.log.0), I don't see visual flashes anymore.



signature.asc
Description: OpenPGP digital signature


Bug#845981: xserver-xorg: Desktop freezes

2016-11-27 Thread Michael Rasmussen
Package: xserver-xorg
Version: 1:7.7+18
Severity: important

Dear Maintainer,

After latest xserver-xorg upgrade the desktop constantly freezes. It was 
working with 1:7.7+17. Symptom seems to be related to the lock file 
(/tmp/.X0-lock) which in some way confuses the X server so it thinks another x 
server is already running. I have downgraded to the version in stretch so the 
log file below is replaced with Xorg.0.log provided by 1:7.7+18.

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

lrwxrwxrwx 1 root root 13 Oct  3  2012 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Sep  6 15:09 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series] [1002:68f9]

Xorg X server configuration file status:

-rw-r--r-- 1 root root 774 May 16  2015 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
Section "Device"
 Driver "radeon"
 Identifier "My GPU"
 Option "AccelMethod" "XAA"
 # XAA/EXA
 Option "AccelDFS""1"
 # 1/0 On for PCIE, off for AGP
 # Manpage: Use  or  don't  use accelerated EXA DownloadFromScreen hook
 # when possible.
 #Option "AGPMode" "1"
 # 1-8 Does not affect PCIE models.
 #Option "AGPFastWrite" "1"
 # 1/0 Does not affect PCIE models. Not recommended.
 #Option "GARTSize" "64"
 # 0-64 Megabytes of gart (system) memory used.
 # Wrongly defaults to 8MB sometimes, see your logfile.
 # Bigger seems better.
 Option "EnablePageFlip" "1"
 # 1/0 Increases 3D performance substantially
 # seemingly in XAA mode only
 Option "ColorTiling" "1"
 # 1/0 Increases 3D performance substantially
 # affected stability only positively on my system
EndSection

/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.8.0-1-amd64 (debian-ker...@lists.debian.org) (gcc version 5.4.1 
20161019 (Debian 5.4.1-3) ) #1 SMP Debian 4.8.7-1 (2016-11-13)

Xorg X server log files on system:
--
-rw-r- 1 root adm  0 Apr 24  2016 /var/log/Xorg.20.log
-rw-r- 1 root adm  0 May 29 09:03 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 41734 Nov 27 10:20 /var/log/Xorg.0.log.1

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log.1):
-
[14.589] 
X.Org X Server 1.19.0
Release Date: 2016-11-15
[14.589] X Protocol Version 11, Revision 0
[14.589] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[14.589] Current Operating System: Linux sleipner 4.8.0-1-amd64 #1 SMP 
Debian 4.8.7-1 (2016-11-13) x86_64
[14.589] Kernel command line: BOOT_IMAGE=/vmlinuz-4.8.0-1-amd64 
root=UUID=aee6bc10-58e7-4966-a6c1-f1822dcee938 ro cgroup_enable=memory 
elevator=deadline quiet splash
[14.589] Build Date: 23 November 2016  07:20:23PM
[14.589] xorg-server 2:1.19.0-2 (https://www.debian.org/support) 
[14.589] Current version of pixman: 0.34.0
[14.589]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[14.589] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[14.589] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Nov 27 10:11:40 
2016
[14.592] (==) Using config file: "/etc/X11/xorg.conf"
[14.592] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[14.596] (==) No Layout section.  Using the first Screen section.
[14.596] (==) No screen section available. Using defaults.
[14.596] (**) |-->Screen "Default Screen Section" (0)
[14.596] (**) |   |-->Monitor ""
[14.598] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[14.598] (**) |   |-->Device "My GPU"
[14.598] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[14.598] (==) Automatically adding devices
[14.598] (==) Automatically enabling devices
[14.598] (==) Automatically adding GPU devices
[14.598] (==) Max clients allowed: 256, resource mask: 0x1f
[14.604] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[14.604]Entry deleted from font path.
[14.607] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[14.607] (==) ModulePath set to "/usr/lib/xorg/modules"

Bug#845644: xorg-server: breaks virtualbox build

2016-11-27 Thread Emilio Pozuelo Monfort
On 25/11/16 15:25, Gianfranco Costamagna wrote:
> Source: xorg-server
> Severity: serious
> Version: 2:1.19.0-2
> 
> Justification: breaks virtualbox build, and seems really an xorg issue
> 
> 
> Hi, I don't know what happened, but the new os.h is including signal.h but 
> sigset_t is not defined.
> 
> +#include 
> +
> +extern _X_EXPORT int
> +xthread_sigmask(int how, const sigset_t *set, sigset_t *oldest);
> 
> 
> for some reasons this part of signal.h
> #if defined __need_sigset_t || (defined _SIGNAL_H && defined __USE_POSIX)
> # ifndef __sigset_t_defined
> #  define __sigset_t_defined
> typedef __sigset_t sigset_t;
> # endif
> # undef __need_sigset_t
> #endif
> 
> 
> is not picked up (__need_sigset_t is not defined?)

My question is, why is __USE_POSIX not defined?

Not sure if this would be the xserver's fault for not defining _XOPEN_SOURCE or
__need_sigset_t, or virtualbox. I'm thinking the latter as in a simple test
case, including signal.h without doing anything else gives me sigset_t.

Cheers,
Emilio



Bug#830523: Easy workaround found

2016-11-27 Thread Shai Berger
Hello,

I was able to find an easy workaround for this problem:

0) Make sure xserver-xorg-input-evdev (or some other input driver to handle 
the keyboard and mouse) is installed. If your system is not brand-new, they 
are probably installed anyway

1) Disable the configuration that causes libinput to be used:

sudo mv /usr/share/X11/xorg.conf.d/40-libinput.conf{,.disabled}

2) Restart X

Maintainers: Do you know if this has been reported upstream? Conversely, do 
you know of a reason to suspect that this is a Debian-only problem?

Thanks for your good work,

Shai.