Bug#807015: xinit: startx freezes, mouse and keyboard don't work

2015-12-04 Thread Craig Sanders
Package: xinit
Version: 1.3.4-3
Severity: grave
Justification: renders package unusable

sometime in the last ~70 days (since I last started X or rebooted),
something has changed in X that prevents startx from working as an
ordinary user.

startx *was* working perfectly.  Now when I run startx, I can see the
xfce desktop but neither keyboard nor mouse work at all, can't even
switch VT with Ctrl-Alt-F1 to kill X.  I have to login from another
machine on the network to kill X and get back to a text console.

seems to be something to do with the error message:

  xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)


here's the entire log from 'startx > startx.log 2>&1':

X.Org X Server 1.17.3
Release Date: 2015-10-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
Current Operating System: Linux ganesh 3.19-5.dmz.1-liquorix-amd64 #1 ZEN SMP 
PREEMPT Debian 3.19-5 (2015-04-19) x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.19-5.dmz.1-liquorix-amd64 
root=/dev/md1 ro iommu=noagp iommu=noagp
Build Date: 27 October 2015  11:41:02PM
xorg-server 2:1.17.3-2 (http://www.debian.org/support) 
Current version of pixman: 0.33.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/cas/.local/share/xorg/Xorg.1.log", Time: Fri Dec  4 
18:47:52 2015
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.19-5.dmz.1-liquorix-amd64 (SMP w/6 CPU cores; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)

Versions of packages xinit depends on:
ii  coreutils   8.23-4
ii  libc6   2.21-1
ii  libx11-62:1.6.3-1
ii  x11-common  1:7.7+12
ii  xauth   1:1.0.9-1

Versions of packages xinit recommends:
ii  lxde-common [x-session-manager]   0.99.0-2
ii  lxsession [x-session-manager] 0.5.1-2
ii  metacity [x-window-manager]   1:3.18.1-1
ii  openbox [x-window-manager]3.6.1-2
ii  roxterm [x-terminal-emulator] 3.2.1-1
ii  terminator [x-terminal-emulator]  0.97-4
ii  xfce4-session [x-session-manager] 4.12.1-3
ii  xfce4-terminal [x-terminal-emulator]  0.6.3-2
ii  xfwm4 [x-window-manager]  4.12.3-1
ii  xserver-xorg [xserver]1:7.7+12
ii  xterm [x-terminal-emulator]   320-1

xinit suggests no packages.

-- no debconf information



mesa: Changes to 'ubuntu+1'

2015-12-04 Thread Timo Aaltonen
 Makefile.am |1 
 VERSION |2 
 configure.ac|  305 
 debian/changelog|  127 
 debian/control  |   15 
 debian/libgles2-mesa.symbols|4 
 debian/libosmesa6.lintian-overrides |1 
 debian/libwayland-egl1-mesa.lintian-overrides   |1 
 debian/libxatracker2.symbols|1 
 debian/mesa-opencl-icd.lintian-overrides|1 
 debian/patches/docs-Replace-sourceforge-logo-with-a-text-link.patch |   73 
 debian/patches/egl-platform-mir.patch   |   37 
 debian/patches/i915-dont-default-to-2.1.patch   |8 
 debian/patches/i965-remove-early-release-of-dri2-miptree.patch  |   25 
 debian/patches/series   |2 
 debian/rules|2 
 docs/GL3.txt|   85 
 docs/README.UVD |4 
 docs/autoconf.html  |9 
 docs/envvars.html   |9 
 docs/index.html |   79 
 docs/relnotes.html  |   11 
 docs/relnotes/10.6.6.html   |  164 
 docs/relnotes/10.6.7.html   |   75 
 docs/relnotes/10.6.8.html   |  136 
 docs/relnotes/10.6.9.html   |  130 
 docs/relnotes/11.0.0.html   |3 
 docs/relnotes/11.0.1.html   |  134 
 docs/relnotes/11.0.2.html   |   85 
 docs/relnotes/11.0.3.html   |  185 
 docs/relnotes/11.0.4.html   |  168 
 docs/relnotes/11.0.5.html   |  174 
 docs/relnotes/11.0.6.html   |  145 
 docs/relnotes/11.1.0.html   |   95 
 docs/shading.html   |   14 
 docs/specs/EXT_shader_samples_identical.txt |  176 
 docs/utilities.html |4 
 docs/vmware-guest.html  |   99 
 include/GL/internal/dri_interface.h |   11 
 include/c11/threads_posix.h |   54 
 include/pci_ids/i965_pci_ids.h  |   38 
 include/pci_ids/radeonsi_pci_ids.h  |2 
 src/egl/Makefile.am |   15 
 src/egl/SConscript  |1 
 src/egl/drivers/dri2/egl_dri2.c |  298 
 src/egl/drivers/dri2/egl_dri2.h |   25 
 src/egl/drivers/dri2/platform_android.c |1 
 src/egl/drivers/dri2/platform_drm.c |   48 
 src/egl/drivers/dri2/platform_wayland.c |   28 
 src/egl/drivers/dri2/platform_x11.c |  138 
 src/egl/drivers/dri2/platform_x11_dri3.c|  547 
 src/egl/drivers/dri2/platform_x11_dri3.h|   41 
 src/egl/egl-symbols-check   |   55 
 src/egl/main/eglcontext.c   |   49 
 src/egl/wayland/wayland-drm/wayland-drm.c   |2 
 src/egl/wayland/wayland-egl/wayland-egl.c   |   29 
 src/gallium/Android.mk  |1 
 src/gallium/Automake.inc|6 
 src/gallium/Makefile.am |   12 
 src/gallium/SConscript  |1 
 src/gallium/auxiliary/Makefile.am   |   14 
 src/gallium/auxiliary/Makefile.sources  |   15 
 src/gallium/auxiliary/draw/draw_llvm.c  |5 
 src/gallium/auxiliary/draw/draw_pipe_aapoint.c  |3 
 src/gallium/auxiliary/draw/draw_pipe_pstipple.c | 

Bug#807015: xinit: startx freezes, mouse and keyboard don't work

2015-12-04 Thread Laurent Bigonville

On Fri, 04 Dec 2015 19:03:05 +1100 Craig Sanders  wrote:
Hi,

>
> sometime in the last ~70 days (since I last started X or rebooted),
> something has changed in X that prevents startx from working as an
> ordinary user.
>
> startx *was* working perfectly. Now when I run startx, I can see the
> xfce desktop but neither keyboard nor mouse work at all, can't even
> switch VT with Ctrl-Alt-F1 to kill X. I have to login from another
> machine on the network to kill X and get back to a text console.
>
> seems to be something to do with the error message:
>
> xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
>

Are you using systemd? is libpam-systemd installed on your machine?

If it's not the case, try to install xserver-xorg-legacy and look at 
Xwrapper.config man page


Cheers,

Laurent Bigonville



Bug#789395: libdrm-nouveau2: pushbuf.c not found

2015-12-04 Thread Heiko Ernst
Am Donnerstag, 3. Dezember 2015, 22:43:38 schrieb Andreas Boll:
> Thanks for the backtrace!
> 
> Which libdrm version do you have installed?
> If you still have libdrm 2.4.60 then this is a known bug and it's
> already fixed in a newer release. So 2.4.65 which is currently in
> testing should work fine.
> 
> If this is not the case then you could try to start supertuxkart
> with the following environment variable as a workaround:
> 
> MESA_EXTENSION_OVERRIDE=-GL_ARB_draw_indirect supertuxkart

Yes now it works. Thank you. But my libdrm is 2.4.65. This is also in 
debian testing. libdrm 2.4.65 must have this bug


> 
> Thanks,
> Andreas



Bug#807015: xinit: startx freezes, mouse and keyboard don't work

2015-12-04 Thread Craig Sanders
On Fri, Dec 04, 2015 at 01:57:53PM +0100, Laurent Bigonville wrote:
> Are you using systemd? 

Nope, this particular machine is still sysvinit.

It also has over 20 years worth of cruft on it, as i first built it in
1994 and have continuously upgraded it (with debian unstable) ever since.

> is libpam-systemd installed on your machine?

Yes, because without it several important packages would be uninstalled,
including libvirt packages for some unfathomable reason - it's impossible to
have a completely non-systemd machine in debian, you can either have systemd
or you can have a hybrid of systemd + whatever else.  systemd, or at least
parts of it, is mandatory.


It is not enabled in /etc/pam.d/ though.  None of the files in there use
it.

and, yes, I have tried it with libpam_systemd enabled.  Makes no difference.


> If it's not the case, try to install xserver-xorg-legacy and look at
> Xwrapper.config man page

What good would that do?  What would it fix, and how? I am running
neither legacy drivers nor non-linux kernels.

startx worked without this until recently, i'd rather not digress into
installing and configuring random packages unless there's a good and
clearly defined reason for it.


craig

-- 
craig sanders 



Bug#807015: xinit: startx freezes, mouse and keyboard don't work

2015-12-04 Thread Craig Sanders
I have managed to get startx working again, but I'm not sure if it's the
correct way.  I added my user to the 'input' group after noticing the
following in /home/cas/.local/share/xorg/Xorg.1.log

[ 24633.131] (**) evdev: Dell Dell USB Keyboard: Device: "/dev/input/event1"
[ 24633.131] (EE) evdev: Dell Dell USB Keyboard: Unable to open evdev device 
"/dev/input/event1".

$ ls -l /dev/input/event1
crw-rw 1 root input 13, 65 Dec  4 11:57 /dev/input/event1

and similar for the mouse.


Doing this allows the mouse and keyboard to work with startx but it
seems a rather hackish and possibly completely incorrect solution.  I'm
going to have to do some research on where this input group came from
and whether it's appropriate for ordinary user accounts to be members.
I suspect it's a bad idea to do that.

I'm still getting the "xf86EnableIOPorts: failed to set IOPL for
I/O (Operation not permitted)" error message in startx.log - and
so far google has been absolutely useless in revealing what that's
about...several people have complained about it but no-one has come up
with a definitive reason for it.


craig

-- 
craig sanders