Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-08 Thread Arthur Marsh
Package: xserver-xorg-core
Followup-For: Bug #902965

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

After building the source package xserver-xorg-video-ati with the patches
above and installing the resulting xserver-xorg-video-radeon_18.0.1-1_amd64.deb
the xserver starts fine thanks.

*** End of the template - remove these template lines ***


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

lrwxrwxrwx 1 root root 13 Apr 10  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul  2 02:37 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Venus LE [Radeon HD 8830M] [1002:682b] (rev 87)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1323 Jul  7 19:06 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "Device"
Identifier  "Radeon Cape Verde"
#Driver "vesa"
#Driver "radeonhd"
Driver  "radeon"
# for amdgpu set:
# GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1" 
# in /etc/default/grub and re-run update-grub 
#Driver "amdgpu"
#Option "CustomEDID""VGA-0:/etc/X11/hp7500.edid" # UMS only
#Option  "AccelMethod"   "shadowfb"
#Option  "AccelMethod"   "exa"
#Option  "AccelMethod"   "xaa"
#Option "DRI" "on"
#Option "DRI" "off"
#Option "EXAVSync"  "on"
#Option "TearFree"  "on"
#Option "EnablePageFlip" "off"
#Option "SwapbuffersWait" "off"
#Option "AccelMethod" "glamor"
#Option "DRI" "3"
#
EndSection

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

KMS configuration files:

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

Kernel version (/proc/version):
---
Linux version 4.18.0-rc3+ (root@am64) (gcc version 8.1.0 (Debian 8.1.0-9)) 
#3131 SMP PREEMPT Sun Jul 8 18:19:13 ACST 2018

Xorg X server log files on system:
--
-rw-r--r-- 1 amarsh04 amarsh04 24891 Dec 19  2015 
/home/amarsh04/.local/share/xorg/Xorg.0.log
-rw-r--r-- 1 root root 12045 Jun 25  2017 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 33206 Jul  8 20:10 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[85.002] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[85.002] Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
[85.002] Current Operating System: Linux am64 4.18.0-rc3+ #3131 SMP PREEMPT 
Sun Jul 8 18:19:13 ACST 2018 x86_64
[85.002] Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro page_owner=on
[85.002] Build Date: 01 July 2018  05:07:24PM
[85.002] xorg-server 2:1.20.0-3 (https://www.debian.org/support) 
[85.002] Current version of pixman: 0.34.0
[85.002]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[85.002] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[85.002] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jul  8 20:09:09 
2018
[85.235] (==) Using config file: "/etc/X11/xorg.conf"
[85.235] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[85.761] (==) No Layout section.  Using the first Screen section.
[85.761] (==) No screen section available. Using defaults.
[85.761] (**) |-->Screen "Default Screen Section" (0)
[85.761] (**) |   |-->Monitor ""
[85.843] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[85.843] (**) |   |-->Device "Radeon Cape Verde"
[85.843] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[85.843] (==) Automatically adding devices
[

Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-07 Thread Michel Dänzer
On 2018-07-07 11:56 AM, Arthur Marsh wrote:
> Package: xserver-xorg-core
> Version: 2:1.20.0-3
> Followup-For: Bug #902965
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
> As another data point, with current Linux git head kernel, xserver-xorg-core
> 2:1.20.0-3 and radeon driver, I don't get lxdm starting on boot up, but
> running:
> 
> service lxdm restart
> 
> I get a working X session.

As I said, it's just luck when you don't hit the issue.

This patch series fixes it:

https://patchwork.freedesktop.org/series/45979/

I'm planing to merge it upstream next week.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-07 Thread Arthur Marsh
Package: xserver-xorg-core
Version: 2:1.20.0-3
Followup-For: Bug #902965

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

As another data point, with current Linux git head kernel, xserver-xorg-core
2:1.20.0-3 and radeon driver, I don't get lxdm starting on boot up, but
running:

service lxdm restart

I get a working X session.

*** End of the template - remove these template lines ***


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

lrwxrwxrwx 1 root root 13 Apr 10  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 Jul  2 02:37 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Venus LE [Radeon HD 8830M] [1002:682b] (rev 87)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1323 Jul  7 19:06 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "Device"
Identifier  "Radeon Cape Verde"
#Driver "vesa"
#Driver "radeonhd"
Driver  "radeon"
# for amdgpu set:
# GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1" 
# in /etc/default/grub and re-run update-grub 
#Driver "amdgpu"
#Option "CustomEDID""VGA-0:/etc/X11/hp7500.edid" # UMS only
#Option  "AccelMethod"   "shadowfb"
#Option  "AccelMethod"   "exa"
#Option  "AccelMethod"   "xaa"
#Option "DRI" "on"
#Option "DRI" "off"
#Option "EXAVSync"  "on"
#Option "TearFree"  "on"
#Option "EnablePageFlip" "off"
#Option "SwapbuffersWait" "off"
#Option "AccelMethod" "glamor"
#Option "DRI" "3"
#
EndSection

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

KMS configuration files:

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

Kernel version (/proc/version):
---
Linux version 4.18.0-rc3+ (root@am64) (gcc version 8.1.0 (Debian 8.1.0-9)) 
#3130 SMP PREEMPT Fri Jul 6 22:19:16 ACST 2018

Xorg X server log files on system:
--
-rw-r--r-- 1 amarsh04 amarsh04 24891 Dec 19  2015 
/home/amarsh04/.local/share/xorg/Xorg.0.log
-rw-r--r-- 1 root root 12045 Jun 25  2017 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 35101 Jul  7 19:20 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[   703.793] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[   703.793] Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
[   703.793] Current Operating System: Linux am64 4.18.0-rc3+ #3130 SMP PREEMPT 
Fri Jul 6 22:19:16 ACST 2018 x86_64
[   703.793] Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro page_owner=on
[   703.793] Build Date: 01 July 2018  05:07:24PM
[   703.793] xorg-server 2:1.20.0-3 (https://www.debian.org/support) 
[   703.793] Current version of pixman: 0.34.0
[   703.793]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   703.793] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   703.793] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Jul  7 19:20:02 
2018
[   703.793] (==) Using config file: "/etc/X11/xorg.conf"
[   703.793] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   703.793] (==) No Layout section.  Using the first Screen section.
[   703.793] (==) No screen section available. Using defaults.
[   703.793] (**) |-->Screen "Default Screen Section" (0)
[   703.793] (**) |   |-->Monitor ""
[   703.793] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[   703.793] (**) |   |-->Device "Radeon Cape Verde"
[   703.793] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[   

Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-04 Thread Michel Dänzer
On 2018-07-04 04:39 PM, Arthur Marsh wrote:
> 
> radeon: Failed to deallocate virtual address for buffer:
> radeon:size  : 8355840 bytes
> radeon:va: 0x10090

Looks like maybe you're running into https://bugs.freedesktop.org/105381
. In which case it's not specific to 2:1.20.0-3, you're just lucky when
not hitting this issue with any Xorg 1.20.


-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-04 Thread Arthur Marsh
Package: xserver-xorg-core
Followup-For: Bug #902965

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

Failed startup /var/log/lxdm.log with xserver-xorg-core 2:1.20.0-3:

** Message: 11:08:32.447: find greeter (nil)

** Message: 11:08:32.447: find idle (nil)

** Message: 11:08:32.450: 1530668312: add xserver watch

** Message: 11:08:37.883: 1530668317: start xserver in 100 retry
** Message: 11:08:37.883: exit cb

** Message: 11:08:37.883: free session


Successful /var/log/lxdm.log with xserver-xorg-core 2:1.20.0-2:

** Message: 13:13:42.892: find greeter (nil)

** Message: 13:13:42.892: find idle (nil)

** Message: 13:13:43.136: 1530675823: add xserver watch


X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
Current Operating System: Linux am64 4.18.0-rc3+ #3128 SMP PREEMPT Wed Jul 4 12:
14:58 ACST 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ root=UUID=39706f53-7c27-431
0-b22a-36c7b042d1a1 ro page_owner=on
Build Date: 24 May 2018  04:23:27PM
xorg-server 2:1.20.0-2 (https://www.debian.org/support) 
Current version of pixman: 0.34.0
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: "/var/log/Xorg.0.log", Time: Wed Jul  4 13:13:47 2018
(==) Using config file: "/etc/X11/xorg.conf"
am64:/home/amarsh04# cat /var/log/lxdm.log 
** Message: 13:13:42.892: find greeter (nil)

** Message: 13:13:42.892: find idle (nil)

** Message: 13:13:43.136: 1530675823: add xserver watch


X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
Current Operating System: Linux am64 4.18.0-rc3+ #3128 SMP PREEMPT Wed Jul 4 
12:14:58 ACST 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro page_owner=on
Build Date: 24 May 2018  04:23:27PM
xorg-server 2:1.20.0-2 (https://www.debian.org/support) 
Current version of pixman: 0.34.0
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: "/var/log/Xorg.0.log", Time: Wed Jul  4 13:13:47 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) [KMS] Kernel modesetting enabled.
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:  Symbol map for key  redefined
>   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
** Message: 13:14:00.597: 1530675840: start xserver in 96 retry
** Message: 13:14:00.597: add 0x560e3ea50380

** Message: 13:14:00.597: prepare greeter on /var/run/lxdm/lxdm-:0.auth

** Message: 13:14:00.682: start greeter on /var/run/lxdm/lxdm-:0.auth

Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
Fontconfig error: failed reading config file
** Message: 13:14:17.481: greeter 0 session 0x560e3ea50380

** Message: 13:14:17.481: user 0 session 0x560e3ea50380 cmd USER_LIST

(II) AIGLX: Suspending AIGLX clients for VT switch
radeon: Failed to deallocate virtual address for buffer:
radeon:size  : 8355840 bytes
radeon:va: 0x10090
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:  Symbol map for key  redefined
>   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
xcb_connection_has_error() returned true
(II) Server terminated successfully (0). Closing log file.
xsetroot:  unable to open display ':0'
** Message: 14:21:27.517: find greeter (nil)

** Message: 14:21:27.517: find idle (nil)

** Message: 14:21:27.621: 1530679887: add xserver watch


X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
Current Operating System: Linux am64 4.18.0-rc3+ #3128 SMP PREEMPT Wed Jul 4 
12:14:58 ACST 2018 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro page_owner=on
Build Date: 24 May 2018  04:23:27PM
xorg-server 2:1.20.0-2 (https://www.debian.org/support) 
Current version of pixman: 0.34.0
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) 

Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-04 Thread Julien Cristau
Control: tag -1 moreinfo

On 07/04/2018 04:23 AM, Arthur Marsh wrote:
> Package: xserver-xorg-core
> Version: 2:1.20.0-3
> Severity: normal
> 
> Dear Maintainer,
> 
> *** Reporter, please consider answering these questions, where appropriate ***
> 
>* What led up to the situation?
> 
> upgrading to 2:1.20.0-3 results in lxdm failing to start xserver
> 
>* What exactly did you do (or not do) that was effective (or
>  ineffective)?
> 
> downgrading to 2:1.20.0-2 resulted in a working system
> 
Please include lxdm logs?

Cheers,
Julien



Bug#902965: xserver-xorg-core: lxdm fails to start xserver with 2:1.20.0-3

2018-07-03 Thread Arthur Marsh
Package: xserver-xorg-core
Version: 2:1.20.0-3
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?

upgrading to 2:1.20.0-3 results in lxdm failing to start xserver

   * What exactly did you do (or not do) that was effective (or
 ineffective)?

downgrading to 2:1.20.0-2 resulted in a working system

   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


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

lrwxrwxrwx 1 root root 13 Apr 10  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 274 May 25 01:53 /usr/bin/Xorg

VGA-compatible devices on PCI bus:
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Venus LE [Radeon HD 8830M] [1002:682b] (rev 87)

Xorg X server configuration file status:

-rw-r--r-- 1 root root 1323 Jun 18 17:46 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
---
# xorg.conf (X.Org 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 xorg.conf manual page.
# (Type "man 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 "Device"
Identifier  "Radeon Cape Verde"
#Driver "vesa"
#Driver "radeonhd"
Driver  "radeon"
# for amdgpu set:
# GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1" 
# in /etc/default/grub and re-run update-grub 
#Driver "amdgpu"
#Option "CustomEDID""VGA-0:/etc/X11/hp7500.edid" # UMS only
#Option  "AccelMethod"   "shadowfb"
#Option  "AccelMethod"   "exa"
#Option  "AccelMethod"   "xaa"
#Option "DRI" "on"
#Option "DRI" "off"
#Option "EXAVSync"  "on"
#Option "TearFree"  "on"
#Option "EnablePageFlip" "off"
#Option "SwapbuffersWait" "off"
#Option "AccelMethod" "glamor"
#Option "DRI" "3"
#
EndSection

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

KMS configuration files:

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

Kernel version (/proc/version):
---
Linux version 4.18.0-rc3+ (root@am64) (gcc version 8.1.0 (Debian 8.1.0-9)) 
#3127 SMP PREEMPT Tue Jul 3 09:36:29 ACST 2018

Xorg X server log files on system:
--
-rw-r--r-- 1 amarsh04 amarsh04 24891 Dec 19  2015 
/home/amarsh04/.local/share/xorg/Xorg.0.log
-rw-r--r-- 1 root root 12045 Jun 25  2017 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 27830 Jul  4 11:46 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[  1107.216] 
X.Org X Server 1.20.0
X Protocol Version 11, Revision 0
[  1107.217] Build Operating System: Linux 4.9.0-6-amd64 x86_64 Debian
[  1107.217] Current Operating System: Linux am64 4.18.0-rc3+ #3127 SMP PREEMPT 
Tue Jul 3 09:36:29 ACST 2018 x86_64
[  1107.217] Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-rc3+ 
root=UUID=39706f53-7c27-4310-b22a-36c7b042d1a1 ro page_owner=on
[  1107.217] Build Date: 24 May 2018  04:23:27PM
[  1107.217] xorg-server 2:1.20.0-2 (https://www.debian.org/support) 
[  1107.217] Current version of pixman: 0.34.0
[  1107.217]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  1107.217] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1107.217] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  4 11:46:56 
2018
[  1107.217] (==) Using config file: "/etc/X11/xorg.conf"
[  1107.217] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1107.217] (==) No Layout section.  Using the first Screen section.
[  1107.217] (==) No screen section available. Using defaults.
[  1107.217] (**) |-->Screen "Default Screen Section" (0)
[  1107.217] (**) |   |-->Monitor ""
[  1107.217] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[  1107.217] (**) |   |-->Device "Radeon Cape Verde"
[  1107.217] (==) No