From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 105880] [dc] No support for LVDS or VGA connectors (Cannot find any crtc or sizes) Date: Fri, 25 May 2018 08:11:54 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1664571672==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 50A456E8D4 for ; Fri, 25 May 2018 08:11:54 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1664571672== Content-Type: multipart/alternative; boundary="15272359142.8FeaB06.24079" Content-Transfer-Encoding: 7bit --15272359142.8FeaB06.24079 Date: Fri, 25 May 2018 08:11:54 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D105880 --- Comment #20 from Pontus Gr=C3=A5sk=C3=A6g --- I got to here from the bug detailed in Ubuntu Launchpad - https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1761751 It looks like amdgpu code does not support VGA on Kaveri, either. I have a Lenovo Z50-75 laptop with AMD A10-7300, (Kaveri gpu) information extracted from #lshw when booted with amdgpu.dc=3D0 [some infor= mation purposefully withheld] description: Notebook product: 80EC (LENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75) vendor: LENOVO version: Lenovo Z50-75 serial: XXX width: 64 bits capabilities: smbios-2.7 dmi-2.7 vsyscall32 configuration: boot=3Dnormal chassis=3Dnotebook family=3DIDEAPAD sku=3DLENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75 uuid=3DXXX *-core description: Motherboard product: Lancer 5B3 vendor: LENOVO physical id: 0 version: XXX serial: XXX slot: Chassis Location Unknown *-firmware description: BIOS vendor: LENOVO physical id: 0 version: A4CN40WW (V 2.09) date: 08/24/2015 size: 128KiB capacity: 8128KiB capabilities: pci upgrade shadowing cdboot bootselect edd int5printscreen int9keyboard int14serial int17printer int10video pc98 acpi = usb biosbootspecification netboot *-cpu description: CPU product: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G vendor: Advanced Micro Devices [AMD] physical id: 2c bus info: cpu@0 version: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G slot: Socket FS1r2 size: 1227MHz capacity: 1900MHz width: 64 bits clock: 100MHz *-cache:1 description: L2 cache physical id: 2e slot: L2 Cache size: 4MiB capacity: 4MiB clock: 1GHz (1.0ns) capabilities: pipeline-burst internal write-back unified configuration: level=3D2 ... *-pci:0 description: Host bridge product: Family 15h (Models 30h-3fh) Processor Root Complex vendor: Advanced Micro Devices, Inc. [AMD] physical id: 100 bus info: pci@0000:00:00.0 version: 00 width: 32 bits clock: 33MHz *-display description: VGA compatible controller product: Kaveri [Radeon R6 Graphics] vendor: Advanced Micro Devices, Inc. [AMD/ATI] physical id: 1 bus info: pci@0000:00:01.0 version: 00 width: 64 bits clock: 33MHz capabilities: pm pciexpress msi vga_controller bus_master cap_= list rom configuration: driver=3Damdgpu latency=3D0 resources: irq:35 memory:e0000000-efffffff memory:f0000000-f07fffff ioport:2000(size=3D256) memory:f0b00000-f0b3ffff memory:c0000-dffff ... information extracted from #cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 21 model : 48 model name : AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G ... It has a VGA output as well as HDMI and internal screen. When booted with kernel parameters amdgpu.cik_support=3D1 amdgu.dc=3D1, the= VGA port does not work. The dmesg output when booted with amdgpu=3D1 contains error messages of the= form: [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:3! type 0 expected 3 in context [drm] radeon kernel modesetting enabled. fb: switching to radeondrmfb from EFI VGA [drm] amdgpu kernel modesetting enabled. [drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988 0x00). [drm] register mmio base: 0xF0B00000 [drm] register mmio size: 262144 [drm] BIOS signature incorrect 0 0 [drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-= bit [drm] Detected VRAM RAM=3D1024M, BAR=3D1024M [drm] RAM width 64bits UNKNOWN [drm] amdgpu: 1024M of VRAM memory ready [drm] amdgpu: 3072M of GTT memory ready. [drm] GART: num cpu pages 262144, num gpu pages 262144 [drm] PCIE GART of 1024M enabled (table at 0x000000F400040000). [drm] Internal thermal controller without fan control [drm] amdgpu: dpm initialized [drm] Found UVD firmware Version: 1.55 Family ID: 9 [drm] Found VCE firmware Version: 50.10 Binary ID: 2 [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:3! type 0 expected 3 [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:4! type 0 expected 3 [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:5! type 0 expected 3 [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service for connector index:6! type 0 expected 3 [drm] Display Core initialized with v3.1.27! [drm] SADs count is: -2, don't need to read it [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [drm] Driver supports precise vblank timestamp query. [drm] UVD initialized successfully. [drm] VCE initialized successfully. [drm] fb mappable at 0xA042A000 [drm] vram apper at 0xA0000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 fbcon: amdgpudrmfb (fb0) is primary device amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device [drm] Initialized amdgpu 3.23.0 20150101 for 0000:00:01.0 on minor 0 The VGA port works when booted with kernel parameters amdgpu.cik_support=3D1 amdgpu.dc=3D0 graaskaeg --=20 You are receiving this mail because: You are the assignee for the bug.= --15272359142.8FeaB06.24079 Date: Fri, 25 May 2018 08:11:54 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Comme= nt # 20 on bug 10588= 0 from Pont= us Gr=C3=A5sk=C3=A6g
I got to here from the bug detailed in Ubuntu Launchpad -
ht=
tps://bugs.launchpad.net/ubuntu/+source/linux/+bug/1761751

It looks like amdgpu code does not support VGA on Kaveri, either.

I have a Lenovo Z50-75 laptop with AMD A10-7300, (Kaveri gpu)

information extracted from #lshw when booted with amdgpu.dc=3D0 [some infor=
mation
purposefully withheld]

description: Notebook
    product: 80EC (LENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75)
    vendor: LENOVO
    version: Lenovo Z50-75
    serial: XXX
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 vsyscall32
    configuration: boot=3Dnormal chassis=3Dnotebook family=3DIDEAPAD
sku=3DLENOVO_MT_80EC0_BU_idea_FM_Lenovo Z50-75 uuid=3DXXX
  *-core
       description: Motherboard
       product: Lancer 5B3
       vendor: LENOVO
       physical id: 0
       version: XXX
       serial: XXX
       slot: Chassis Location Unknown
     *-firmware
          description: BIOS
          vendor: LENOVO
          physical id: 0
          version: A4CN40WW (V 2.09)
          date: 08/24/2015
          size: 128KiB
          capacity: 8128KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd
int5printscreen int9keyboard int14serial int17printer int10video pc98 acpi =
usb
biosbootspecification netboot
     *-cpu
          description: CPU
          product: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
          vendor: Advanced Micro Devices [AMD]
          physical id: 2c
          bus info: cpu@0
          version: AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
          slot: Socket FS1r2
          size: 1227MHz
          capacity: 1900MHz
          width: 64 bits
          clock: 100MHz

        *-cache:1
             description: L2 cache
             physical id: 2e
             slot: L2 Cache
             size: 4MiB
             capacity: 4MiB
             clock: 1GHz (1.0ns)
             capabilities: pipeline-burst internal write-back unified
             configuration: level=3D2
...
     *-pci:0
          description: Host bridge
          product: Family 15h (Models 30h-3fh) Processor Root Complex
          vendor: Advanced Micro Devices, Inc. [AMD]
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 00
          width: 32 bits
          clock: 33MHz
        *-display
             description: VGA compatible controller
             product: Kaveri [Radeon R6 Graphics]
             vendor: Advanced Micro Devices, Inc. [AMD/ATI]
             physical id: 1
             bus info: pci@0000:00:01.0
             version: 00
             width: 64 bits
             clock: 33MHz
             capabilities: pm pciexpress msi vga_controller bus_master cap_=
list
rom
             configuration: driver=3Damdgpu latency=3D0
             resources: irq:35 memory:e0000000-efffffff
memory:f0000000-f07fffff ioport:2000(size=3D256) memory:f0b00000-f0b3ffff
memory:c0000-dffff
...


information extracted from #cat /proc/cpuinfo
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 21
model           : 48
model name      : AMD A10-7300 Radeon R6, 10 Compute Cores 4C+6G
...

It has a VGA output as well as HDMI and internal screen.

When booted with kernel parameters amdgpu.cik_support=3D1 amdgu.dc=3D1, the=
 VGA
port does not work.
The dmesg output when booted with amdgpu=3D1 contains error messages of the=
 form:
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:3! type 0 expected 3

in context

[drm] radeon kernel modesetting enabled.
fb: switching to radeondrmfb from EFI VGA
[drm] amdgpu kernel modesetting enabled.
[drm] initializing kernel modesetting (KAVERI 0x1002:0x130A 0x17AA:0x3988
0x00).
[drm] register mmio base: 0xF0B00000
[drm] register mmio size: 262144
[drm] BIOS signature incorrect 0 0
[drm] vm size is 64 GB, 2 levels, block size is 10-bit, fragment size is 9-=
bit
[drm] Detected VRAM RAM=3D1024M, BAR=3D1024M
[drm] RAM width 64bits UNKNOWN
[drm] amdgpu: 1024M of VRAM memory ready
[drm] amdgpu: 3072M of GTT memory ready.
[drm] GART: num cpu pages 262144, num gpu pages 262144
[drm] PCIE GART of 1024M enabled (table at 0x000000F400040000).
[drm] Internal thermal controller without fan control
[drm] amdgpu: dpm initialized
[drm] Found UVD firmware Version: 1.55 Family ID: 9
[drm] Found VCE firmware Version: 50.10 Binary ID: 2
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:3! type 0 expected 3
[amdgpu]] *ERROR* construct: Invalid Connector ObjectID from Adapter Service
for connector index:4! type 0 expected 3
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:5! type 0 expected 3
[drm:construct [amdgpu]] *ERROR* construct: Invalid Connector ObjectID from
Adapter Service for connector index:6! type 0 expected 3
[drm] Display Core initialized with v3.1.27!
[drm] SADs count is: -2, don't need to read it
[drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[drm] Driver supports precise vblank timestamp query.
[drm] UVD initialized successfully.
[drm] VCE initialized successfully.
[drm] fb mappable at 0xA042A000
[drm] vram apper at 0xA0000000
[drm] size 8294400
[drm] fb depth is 24
[drm]    pitch is 7680
fbcon: amdgpudrmfb (fb0) is primary device
amdgpu 0000:00:01.0: fb0: amdgpudrmfb frame buffer device
[drm] Initialized amdgpu 3.23.0 20150101 for 0000:00:01.0 on minor 0

The VGA port works when booted with kernel parameters amdgpu.cik_support=3D1
amdgpu.dc=3D0

graaskaeg


You are receiving this mail because:
  • You are the assignee for the bug.
= --15272359142.8FeaB06.24079-- --===============1664571672== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1664571672==--