Bug#992685: x11-xserver-utils: xrandr does not list 2nd monitor connected via hdmi

2021-08-22 Thread Harald
Package: x11-xserver-utils
Version: 7.7+8
Severity: normal
X-Debbugs-Cc: bugrep...@gehirnspen.de

Good morning!

I own a XMG Core 15 laptop and fail to connect to a monitor in addition to the
internal laptop display via HDMI.

harald@kalle:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
eDP connected primary 1920x1080+0+0 (normal left inverted right x axis y axis)
344mm x 194mm
   1920x1080120.04*+  48.01
   1680x1050120.04
   1280x1024120.04
   1440x900 120.04
   1280x800 120.04
   1280x720 120.04
   1024x768 120.04
   800x600  120.04
   640x480  120.04


The laptop has an internal AMD graphic card and a dedicated Nvidia card:

harald@kalle:~$ lspci |grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation TU117M [GeForce GTX 1650
Ti Mobile] (rev a1)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Renoir (rev c7)

xrandr for some reason does not recognize the internal GPU:
harald@kalle:~$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x54 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 4 outputs: 1 associated providers: 0 name:Unknown AMD Radeon GPU
@ pci::06:00.0
Provider 1: id: 0x85 cap: 0xf, Source Output, Sink Output, Source Offload, Sink
Offload crtcs: 4 outputs: 3 associated providers: 0 name:modesetting


even though amdgpu is loaded:
harald@kalle:~$ lsmod |grep amd
edac_mce_amd   32768  0
kvm_amd   114688  0
kvm   917504  1 kvm_amd
ccp   106496  1 kvm_amd
amdgpu   6606848  5
gpu_sched  40960  1 amdgpu
i2c_algo_bit   16384  2 amdgpu,nouveau
ttm   114688  2 amdgpu,nouveau
drm_kms_helper274432  2 amdgpu,nouveau
drm   618496  8 gpu_sched,drm_kms_helper,amdgpu,ttm,nouveau

harald@kalle:~$ sudo dmesg |grep amdgpu
[1.392300] [drm] amdgpu kernel modesetting enabled.
[1.392468] amdgpu: Topology: Add CPU node
[1.392537] fb0: switching to amdgpudrmfb from EFI VGA
[1.392626] amdgpu :06:00.0: vgaarb: deactivate vga console
[1.392670] amdgpu :06:00.0: enabling device (0006 -> 0007)
[1.392719] amdgpu :06:00.0: amdgpu: Trusted Memory Zone (TMZ) feature
disabled as experimental (default)
[1.393769] amdgpu :06:00.0: amdgpu: Fetched VBIOS from VFCT
[1.393770] amdgpu: ATOM BIOS: 113-RENOIR-026
[1.393800] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_sdma.bin
[1.393824] amdgpu :06:00.0: amdgpu: VRAM: 512M 0x00F4 -
0x00F41FFF (512M used)
[1.393825] amdgpu :06:00.0: amdgpu: GART: 1024M 0x -
0x3FFF
[1.393826] amdgpu :06:00.0: amdgpu: AGP: 267419648M 0x00F8
- 0x
[1.393916] [drm] amdgpu: 512M of VRAM memory ready
[1.393917] [drm] amdgpu: 3072M of GTT memory ready.
[1.394174] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_asd.bin
[1.394186] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_ta.bin
[1.394200] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_pfp.bin
[1.394208] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_me.bin
[1.394215] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_ce.bin
[1.394227] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_rlc.bin
[1.394278] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_mec.bin
[1.394325] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_mec2.bin
[1.395161] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_dmcub.bin
[1.395248] amdgpu :06:00.0: firmware: direct-loading firmware
amdgpu/renoir_vcn.bin
[2.207002] amdgpu :06:00.0: amdgpu: RAS: optional ras ta ucode is not
available
[2.230940] amdgpu :06:00.0: amdgpu: RAP: optional rap ta ucode is not
available
[2.232106] amdgpu :06:00.0: amdgpu: SMU is initialized successfully!
[2.362091] amdgpu: Topology: Add dGPU node [0x1636:0x1002]
[2.362096] amdgpu :06:00.0: amdgpu: SE 1, SH per SE 2, CU per SH 18,
active_cu_number 26
[2.385552] fbcon: amdgpudrmfb (fb1) is primary device
[2.967382] amdgpu :06:00.0: [drm] fb1: amdgpudrmfb frame buffer device
[2.967440] amdgpu :06:00.0: amdgpu: ring gfx uses VM inv eng 0 on hub 0
[2.967441] amdgpu :06:00.0: amdgpu: ring comp_1.0.0 uses VM inv eng 1
on hub 0
[2.967441] amdgpu :06:00.0: amdgpu: ring comp_1.1.0 uses VM inv eng 4
on hub 0
[2.967442] amdgpu :06:00.0: amdgpu: ring comp_1.2.0 uses VM inv eng 5
on hub 0
[2.967443] amdgpu :06:00.0: amdgpu: ring comp_1.3.0 uses VM inv eng 6
on hub 0
[2.967443] amdgpu :06:00.0: amdgpu: ring comp_1.0.1 uses VM inv eng 7
on hub 0
[2.967444] amdgpu :06:00.0: amdgpu: ring comp_1.1.1 uses 

Bug#992732: xserver-xorg: Problems to bring up X server with AMD Picasso graphics cards

2021-08-22 Thread Son Gohan
Package: xserver-xorg
Version: 1:7.7+23
Severity: normal
X-Debbugs-Cc: songo...@kamehouse.com

Dear Maintainer,

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

   * What led up to the situation?q
   * What exactly did you do (or not do) that was effective (or
 ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

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


-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

VGA-compatible devices on PCI bus:
--
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Picasso [1002:15d8] (rev cd)

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

Contents of /etc/X11/xorg.conf.d:
-
total 0

/etc/modprobe.d contains no KMS configuration files.

Kernel version (/proc/version):
---
Linux version 5.10.0-8-amd64 (debian-ker...@lists.debian.org) (gcc-10 (Debian 
10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2) #1 SMP 
Debian 5.10.46-4 (2021-08-03)

Xorg X server log files on system:
--
-rw-r--r-- 1 emonge emonge 43458 Feb 20  2021 
/home/emonge/.local/share/xorg/Xorg.1.log
-rw-r--r-- 1 root   root   28380 Aug 22 13:18 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file (/var/log/Xorg.0.log):
-
[ 4.568] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 4.568] Build Operating System: linux Debian
[ 4.568] Current Operating System: Linux angellodebiansofia 5.10.0-8-amd64 
#1 SMP Debian 5.10.46-4 (2021-08-03) x86_64
[ 4.568] Kernel command line: BOOT_IMAGE=/vmlinuz-5.10.0-8-amd64 
root=/dev/mapper/angellodebiansofia--vg-root ro quiet splash pci=noaer 
vsyscall=emulate
[ 4.568] Build Date: 13 April 2021  04:07:31PM
[ 4.568] xorg-server 2:1.20.11-1 (https://www.debian.org/support) 
[ 4.568] Current version of pixman: 0.40.0
[ 4.568]Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 4.568] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 4.569] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Aug 22 13:18:06 
2021
[ 4.569] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 4.570] (==) No Layout section.  Using the first Screen section.
[ 4.570] (==) No screen section available. Using defaults.
[ 4.570] (**) |-->Screen "Default Screen Section" (0)
[ 4.570] (**) |   |-->Monitor ""
[ 4.571] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 4.571] (==) Automatically adding devices
[ 4.571] (==) Automatically enabling devices
[ 4.571] (==) Automatically adding GPU devices
[ 4.571] (==) Max clients allowed: 256, resource mask: 0x1f
[ 4.572] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 4.572]Entry deleted from font path.
[ 4.572] (==) FontPath set to:
/usr/share/fonts/X11/misc,
built-ins
[ 4.572] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 4.572] (II) The server relies on udev to provide the list of input 
devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
[ 4.572] (II) Loader magic: 0x561f828f6e40
[ 4.572] (II) Module ABI versions:
[ 4.572]X.Org ANSI C Emulation: 0.4
[ 4.572]X.Org Video Driver: 24.1
[ 4.572]X.Org XInput driver : 24.1
[ 4.572]X.Org Server Extension : 10.0
[ 4.572] (++) using VT number 7

[ 4.572] (II) systemd-logind: logind integration requires -keeptty and 
-keeptty was not provided, disabling logind integration
[ 4.573] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 4.583] (--) PCI:*(3@0:0:0) 1002:15d8:103c:879e rev 205, Mem @ 
0xe000/268435456, 0xf000/2097152, 0xfe30/524288, I/O @ 
0xd000/256, BIOS @ 0x/131072
[ 4.583] (II) LoadModule: "glx"
[ 4.585] (II) Loading /usr/lib/xorg/modules/extensions/lib

Bug#979276: xserver-xorg-video-intel: Server fails to start: "Illegal instruction"

2021-08-22 Thread Stefan Monnier
> I just tried to upgrade my `testing` installation but the problem is
> still present.  Did you install the patch there?

I just upgraded to the new `bullseye` release and the problem is
still there.


Stefan