Opened 3 years ago

Last modified 3 years ago

#17379 new bug

random ati driver hangs on non-x86 "Unable to get EDID info"

Reported by: kallisti5 Owned by: gerald.zajac
Priority: normal Milestone: Unscheduled
Component: Drivers/Graphics/ati Version: R1/beta3
Keywords: Cc:
Blocked By: Blocking:
Platform: riscv64

Description

hang occurs around 50% of the time.

hang boot:

ati: init_hardware() - device supported
ati: init_driver() match found; name: graphics/1002_5046_000100
ati: init_driver() 1 supported devices
loaded driver /boot/system/add-ons/kernel/drivers/dev/graphics/ati
framebuffer: init_hardware()
ati: device_open() - name: graphics/1002_5046_000100
ati: Chip revision: 0x0
ati: PLL parameters: rf=2700 rd=4 min=12000 max=35000; xclk=23000
ati: Interrupt assigned:  yes
ati: device_open() returning 0x0,  open count: 1
ati: device_ioctl(); ioctl: 8300, buffer: 0x3b705d5a10, bufLen: 1024
ati: Enter InitAccelerant()
ati: device_ioctl(); ioctl: 10122, buffer: 0x3b705d58ec, bufLen: 4
ati: Vendor ID: 0x1002,  Device ID: 0x5046
ati: Rage128_Init()
ati: Video Memory size: 16 MB  frameBufferOffset: 0x0  cursorOffset: 0xfff000
ati: RAM type: 64-bit SDR SGRAM 1:1
ati: device_ioctl(); ioctl: 10124, buffer: 0x3b705d5860, bufLen: 128
module: Search for generic/bios/v1 failed.
ati: GetEdidFromBIOS(): failed to get BIOS module: 0x80006003
ati: CreateModeList(); Unable to get EDID info
ati: Leave InitAccelerant(), result: 0x0

non-hang boot:

radeon_hd: init_hardware
ati: init_hardware() - device supported
ati: init_driver() match found; name: graphics/1002_5046_000100
ati: init_driver() 1 supported devices
loaded driver /boot/system/add-ons/kernel/drivers/dev/graphics/ati
framebuffer: init_hardware()
ati: device_open() - name: graphics/1002_5046_000100
ati: Chip revision: 0x0
ati: PLL parameters: rf=2700 rd=4 min=12000 max=35000; xclk=23000
ati: Interrupt assigned:  yes
ati: device_open() returning 0x0,  open count: 1
ati: device_ioctl(); ioctl: 8300, buffer: 0x3f790dba10, bufLen: 1024
ati: Enter InitAccelerant()
ati: device_ioctl(); ioctl: 10122, buffer: 0x3f790db8ec, bufLen: 4
ati: Vendor ID: 0x1002,  Device ID: 0x5046
ati: Rage128_Init()
ati: Video Memory size: 16 MB  frameBufferOffset: 0x0  cursorOffset: 0xfff000
ati: RAM type: 64-bit SDR SGRAM 1:1
ati: device_ioctl(); ioctl: 10124, buffer: 0x3f790db860, bufLen: 128
module: Search for generic/bios/v1 failed.
ati: GetEdidFromBIOS(): failed to get BIOS module: 0x80006003
ati: CreateModeList(); Unable to get EDID info
ati: Leave InitAccelerant(), result: 0x0
ati: SetDisplayMode() begin
ati: ProposeDisplayMode()  1024x768, pixel clock: 65000 kHz, space: 0x8
ati: Set display mode: 1024x768  virtual size: 1024x768  color depth: 32 bits/pixel
ati:    mode timing: 65000  1024 1048 1184 1344  768 771 777 806
ati:    mode hFreq: 48.4 kHz  vFreq: 60.0 Hz  -hSync -vSync
ati: Rage128_EngineInit()  bits/pixel: 32
ati: SetDisplayMode() done
ati: Rage128_SetDPMSMode() mode: 1, display type: 0

testing command:

qemu-system-riscv64 -m 2048 -M virt -kernel firmware/u-boot/riscv64/qemu/u-boot.bin -device ati-vga -drive file=haiku-mmc.image,format=raw,if=virtio -usb -device usb-ehci,id=echi -device usb-kbd -device usb-tablet

Change History (1)

comment:1 by X512, 3 years ago

Maybe related to #17380.

Note: See TracTickets for help on using tickets.