[Touch-packages] [Bug 2021907] Re: Black display on boot and Mobility Radeon HD 4670 related freezes and crashes on iMac 11, 2

2023-06-03 Thread Hashim Mahmoud
** Changed in: xserver-xorg-video-ati (Ubuntu)
   Status: New => Confirmed

** Changed in: libdrm (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/2021907

Title:
  Black display on boot and Mobility Radeon HD 4670 related freezes and
  crashes on iMac 11,2

Status in libdrm package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed
Status in xserver-xorg-video-ati package in Ubuntu:
  Confirmed

Bug description:
  I have a mid-2010 iMac (iMac 11,2), with a Mobility Radeon HD 4670, running
  Linux Mint 21.1 Xfce Edition, and it has several issues. I've decided to 
report
  the issue here since it seems to be a kernel bug, and since Mint is based on
  Ubuntu where its kernels are built, I thought it'd be wise to report here and
  escalating to the LKML if necessary. Firstly, its display turns off when it
  boots, unless an external display is connected, in which case both displays
  work fine. But the backlight can't be controlled by typical programs
  (brightness buttons don't work, and xbacklight says 'No outputs have backlight
  property') apart from light (https://github.com/haikarainen/light); but that
  only works on kernels 5.15.*, not on 6.3.4, on that kernel only the brightness
  value changes, but to no effect. Upon bootup, I can see:

  uhci_hcd :00:1a.0: Found HC with no IRQ. Check BIOS/PCI :00:1a.0 
setup!
  uhci_hcd :00:1a.0: init :00:1a.0 fail, -19
  uhci_hcd :00:1d.0: Found HC with no IRQ. Check BIOS/PCI :00:1d.0 
setup!
  uhci_hcd :00:1d.0: init :00:1d.0 fail, -19

  at the top of the screen for a few seconds before the Mint splash screen
  takes over.

  The device's internal display turns off upon wake up from suspend,
  giving the following output in dmesg:

  PM: suspend entry (deep)
  Filesystems sync: 0.020 seconds
  Freezing user space processes ... (elapsed 0.002 seconds) done.
  OOM killer disabled.
  Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
  printk: Suspending console(s) (use no_console_suspend to debug)
  sd 1:0:0:0: [sda] Synchronizing SCSI cache
  sd 1:0:0:0: [sda] Stopping disk
  ACPI: EC: interrupt blocked
  ACPI: PM: Preparing to enter system sleep state S3
  ACPI: EC: event blocked
  ACPI: EC: EC stopped
  ACPI: PM: Saving platform NVS memory
  Disabling non-boot CPUs ...
  smpboot: CPU 1 is now offline
  smpboot: CPU 2 is now offline
  smpboot: CPU 3 is now offline
  ACPI: PM: Low-level resume complete
  ACPI: EC: EC started
  ACPI: PM: Restoring platform NVS memory
  Enabling non-boot CPUs ...
  x86: Booting SMP configuration:
  smpboot: Booting Node 0 Processor 1 APIC 0x1
  Disabled fast string operations
  CPU1 is up
  smpboot: Booting Node 0 Processor 2 APIC 0x4
  Disabled fast string operations
  CPU2 is up
  smpboot: Booting Node 0 Processor 3 APIC 0x5
  Disabled fast string operations
  CPU3 is up
  ACPI: PM: Waking up from system sleep state S3
  ACPI: EC: interrupt unblocked
  ACPI: EC: event unblocked
  sd 1:0:0:0: [sda] Starting disk
  [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
  [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  radeon :01:00.0: WB enabled
  radeon :01:00.0: fence driver on ring 0 use gpu addr 0x1c00
  radeon :01:00.0: fence driver on ring 3 use gpu addr 0x1c0c
  radeon :01:00.0: fence driver on ring 5 use gpu addr 0x0005c598
  debugfs: File 'radeon_ring_gfx' in directory '0' already present!
  debugfs: File 'radeon_ring_dma1' in directory '0' already present!
  [drm] ring test on 0 succeeded in 1 usecs
  [drm] ring test on 3 succeeded in 2 usecs
  debugfs: File 'radeon_ring_uvd' in directory '0' already present!
  [drm] ring test on 5 succeeded in 1 usecs
  [drm] UVD initialized successfully.
  [drm] ib test on ring 0 succeeded in 0 usecs
  [drm] ib test on ring 3 succeeded in 0 usecs
  ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  ata1.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: supports DRM functions and may not be fully accessible
  ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: supports DRM functions and may not be fully accessible
  ata1.00: configured for UDMA/133
  ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata2.00: configured for UDMA/100
  firewire_core :05:00.0: rediscovered device fw0
  [drm] ib test on ring 5 succeeded
  [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status failed
  [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
  [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status failed
  [drm:radeon_dp_link_train [radeon]] *ERROR*

[Touch-packages] [Bug 2021907] Re: Black display on boot and Mobility Radeon HD 4670 related freezes and crashes on iMac 11, 2

2023-06-03 Thread Hashim Mahmoud
** Also affects: libdrm (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: xserver-xorg-video-ati (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libdrm in Ubuntu.
https://bugs.launchpad.net/bugs/2021907

Title:
  Black display on boot and Mobility Radeon HD 4670 related freezes and
  crashes on iMac 11,2

Status in libdrm package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in xserver-xorg-video-ati package in Ubuntu:
  New

Bug description:
  I have a mid-2010 iMac (iMac 11,2), with a Mobility Radeon HD 4670, running
  Linux Mint 21.1 Xfce Edition, and it has several issues. I've decided to 
report
  the issue here since it seems to be a kernel bug, and since Mint is based on
  Ubuntu where its kernels are built, I thought it'd be wise to report here and
  escalating to the LKML if necessary. Firstly, its display turns off when it
  boots, unless an external display is connected, in which case both displays
  work fine. But the backlight can't be controlled by typical programs
  (brightness buttons don't work, and xbacklight says 'No outputs have backlight
  property') apart from light (https://github.com/haikarainen/light); but that
  only works on kernels 5.15.*, not on 6.3.4, on that kernel only the brightness
  value changes, but to no effect. Upon bootup, I can see:

  uhci_hcd :00:1a.0: Found HC with no IRQ. Check BIOS/PCI :00:1a.0 
setup!
  uhci_hcd :00:1a.0: init :00:1a.0 fail, -19
  uhci_hcd :00:1d.0: Found HC with no IRQ. Check BIOS/PCI :00:1d.0 
setup!
  uhci_hcd :00:1d.0: init :00:1d.0 fail, -19

  at the top of the screen for a few seconds before the Mint splash screen
  takes over.

  The device's internal display turns off upon wake up from suspend,
  giving the following output in dmesg:

  PM: suspend entry (deep)
  Filesystems sync: 0.020 seconds
  Freezing user space processes ... (elapsed 0.002 seconds) done.
  OOM killer disabled.
  Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
  printk: Suspending console(s) (use no_console_suspend to debug)
  sd 1:0:0:0: [sda] Synchronizing SCSI cache
  sd 1:0:0:0: [sda] Stopping disk
  ACPI: EC: interrupt blocked
  ACPI: PM: Preparing to enter system sleep state S3
  ACPI: EC: event blocked
  ACPI: EC: EC stopped
  ACPI: PM: Saving platform NVS memory
  Disabling non-boot CPUs ...
  smpboot: CPU 1 is now offline
  smpboot: CPU 2 is now offline
  smpboot: CPU 3 is now offline
  ACPI: PM: Low-level resume complete
  ACPI: EC: EC started
  ACPI: PM: Restoring platform NVS memory
  Enabling non-boot CPUs ...
  x86: Booting SMP configuration:
  smpboot: Booting Node 0 Processor 1 APIC 0x1
  Disabled fast string operations
  CPU1 is up
  smpboot: Booting Node 0 Processor 2 APIC 0x4
  Disabled fast string operations
  CPU2 is up
  smpboot: Booting Node 0 Processor 3 APIC 0x5
  Disabled fast string operations
  CPU3 is up
  ACPI: PM: Waking up from system sleep state S3
  ACPI: EC: interrupt unblocked
  ACPI: EC: event unblocked
  sd 1:0:0:0: [sda] Starting disk
  [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
  [drm] PCIE GART of 1024M enabled (table at 0x0014C000).
  radeon :01:00.0: WB enabled
  radeon :01:00.0: fence driver on ring 0 use gpu addr 0x1c00
  radeon :01:00.0: fence driver on ring 3 use gpu addr 0x1c0c
  radeon :01:00.0: fence driver on ring 5 use gpu addr 0x0005c598
  debugfs: File 'radeon_ring_gfx' in directory '0' already present!
  debugfs: File 'radeon_ring_dma1' in directory '0' already present!
  [drm] ring test on 0 succeeded in 1 usecs
  [drm] ring test on 3 succeeded in 2 usecs
  debugfs: File 'radeon_ring_uvd' in directory '0' already present!
  [drm] ring test on 5 succeeded in 1 usecs
  [drm] UVD initialized successfully.
  [drm] ib test on ring 0 succeeded in 0 usecs
  [drm] ib test on ring 3 succeeded in 0 usecs
  ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
  ata1.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: supports DRM functions and may not be fully accessible
  ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
  ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata1.00: supports DRM functions and may not be fully accessible
  ata1.00: configured for UDMA/133
  ata2.00: ACPI cmd ef/10:03:00:00:00:a0(SET FEATURES) filtered out
  ata2.00: configured for UDMA/100
  firewire_core :05:00.0: rediscovered device fw0
  [drm] ib test on ring 5 succeeded
  [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status failed
  [drm:radeon_dp_link_train [radeon]] *ERROR* clock recovery failed
  [drm:radeon_dp_link_train [radeon]] *ERROR* displayport link status failed
  [drm:radeon_dp_link_train [