Opened 6 years ago

Last modified 23 months ago

#14607 new bug

Radeon HD driver does not support UltraWide displays

Reported by: roiredxsoto Owned by: kallisti5
Priority: normal Milestone: Unscheduled
Component: Drivers/Graphics/radeon_hd Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Good day,

Box Specs: AMD A8-5600K, 16GB Ram, Radeon RX560, Dell U3415W ultrawide

~> uname -a
Haiku Cygnvs 1 hrev52379 Oct  1 2018 14:59:14 x86_64 x86_64 Haiku

Expected behaviour:

  • turn on box, boot to desktop without issues

Observed behaviour:

  • turn on box, modules load, black screen, screen goes to sleep mode, no desktop

Reproduce:

  • Anytime that VESA safe mode driver is commented out in /boot/home/config/settings/kernel/drivers/kernel

VESA driver works "fine", RadeonHD driver always results in black screen and display going to sleep mode after all system modules loaded, thus desktop is not loaded, but box is still on. Have to manually force hardware shutdown, as press power button once does not shut down the box as with the USB issues.

Attachments (17)

20181006-A8-listdev.txt (3.5 KB ) - added by roiredxsoto 6 years ago.
listdev file
20181006-A8-listDrivers.txt (1.7 KB ) - added by roiredxsoto 6 years ago.
list of drivers "listimage | grep drivers/"
20181006-A8-syslog_VESA (130.3 KB ) - added by roiredxsoto 6 years ago.
syslog with VESA driver loaded, set as default in /boot/home/config/settings/kernel/drivers/kernel
20181006-A8-previous_syslogBeforeBacktoVesa (189.5 KB ) - added by roiredxsoto 6 years ago.
presumed syslog of using RadeonHD driver on boot
syslog (229.0 KB ) - added by roiredxsoto 4 years ago.
20200803-Syslog
20200804-syslog2-afterCrash (272.7 KB ) - added by roiredxsoto 4 years ago.
Syslog file after crash.
20200804-syslog1-SafeMode (44.6 KB ) - added by roiredxsoto 4 years ago.
Syslog with default failsafe settings on RX570
20200804-syslog.old-presumedSyslog1 (512.1 KB ) - added by roiredxsoto 4 years ago.
Syslog.old file after crash, presumed to be same as Syslog1
syslog.2 (484.2 KB ) - added by roiredxsoto 3 years ago.
new syslog after booting again in failsafe
syslog.old (512.0 KB ) - added by roiredxsoto 3 years ago.
old syslog
syslog.3 (194.3 KB ) - added by roiredxsoto 3 years ago.
Syslog after blacklisting again the video driver, using safe mode video
syslog.2.old (512.1 KB ) - added by roiredxsoto 3 years ago.
Presumed syslog of boot process that ended up in app_server crash
syslog.4 (131.3 KB ) - added by roiredxsoto 3 years ago.
20210322 Syslog
syslog.3.old (512.0 KB ) - added by roiredxsoto 3 years ago.
20210322 Syslog.old
IMG_20210322_173141345.jpg (1.5 MB ) - added by roiredxsoto 3 years ago.
White screen with debug info starting
IMG_20210322_173217000.jpg (821.4 KB ) - added by roiredxsoto 3 years ago.
20210322 White screen after the debug lines stalled. Nothing happened afterwards for more than 2 minutes, stayed like this until reboot
previous_syslog (140.5 KB ) - added by modeenf 23 months ago.

Change History (25)

by roiredxsoto, 6 years ago

Attachment: 20181006-A8-listdev.txt added

listdev file

by roiredxsoto, 6 years ago

Attachment: 20181006-A8-listDrivers.txt added

list of drivers "listimage | grep drivers/"

by roiredxsoto, 6 years ago

Attachment: 20181006-A8-syslog_VESA added

syslog with VESA driver loaded, set as default in /boot/home/config/settings/kernel/drivers/kernel

by roiredxsoto, 6 years ago

presumed syslog of using RadeonHD driver on boot

comment:1 by roiredxsoto, 4 years ago

Good day,

VESA mode is no longer available, only 'framebuffer' is there for the Radeon RX570 and the Radeon RX560 (on hrev54477). Not sure if that makes any difference.

Regards,
RR

Last edited 4 years ago by roiredxsoto (previous) (diff)

comment:2 by kallisti5, 4 years ago

weird.. All of the attached logs seem to just show using VESA mode.

Any log lines related to the radeon_hd driver will show "radeon_hd" These logs only show the driver loading for the card, but the accelerant is never called.

So, it appears you haven't captured the radeon_hd driver being used in the attached syslogs.

Generally if radeon_hd doesn't work for some reason, it will say so.

Maybe next time you try, look at syslog_old as well as syslog? There should be 30+ lines matching "radeon_hd" in the relevant logs.

I double checked, and your card is definitely supported in the driver:

{0x67ff, 12, 1, RADEON_POLARIS11, CHIP_STD, "Radeon RX 560"},

We need to more clearly state that the vesa/framebuffer driver is being used in our logging. :-|

by roiredxsoto, 4 years ago

Attachment: syslog added

20200803-Syslog

comment:3 by roiredxsoto, 4 years ago

Good day @kallisti5,

I attached today's syslog from the Haikbox with the RX560 (1680x1050), and there are actually some lines with the radeon_hd text in there. This syslog is using the SafeVideo mode, as I never got Haiku to boot without safevideo, unless something has changed lately. :)

I will try to boot again without the SafeVideo and see if can get to desktop here with the RX560 and at home with the RX570, and update the info accordingly.

Thanks and regards,
RR

PD.: This happens with the Ultrawide (3440x1440) and a normal 16:9 (1680x1050) display

Last edited 4 years ago by roiredxsoto (previous) (diff)

comment:4 by kallisti5, 4 years ago

Thanks, the new logs still don't show anything useful...

KERN: radeon_hd: init_hardware
KERN: radeon_hd: init_driver
KERN: radeon_hd: init_driver: GPU(0) Radeon RX 560, revision = 0xcf
KERN: radeon_hd: publish_devices
KERN: radeon_hd: find_device
KERN: loaded driver /boot/system/add-ons/kernel/drivers/dev/graphics/radeon_hd

There will be 30+ lines of log data when radeon_hd is used. This shows the radeon_hd driver was loaded, and found a card... but these are the logs from VESA.

Please check syslog *and* syslog_old.

The general process when this happens goes:

1) Boot Haiku normally. Black or corrupt screen? 2) wait 2 minutes with the black / corrupt screen. 3) Hold ctl+alt+del until the machine reboots. 4) Boot Haiku again. This tap space space just before haiku boot screen appears. 5) Select fail safe video

Step 3 is important because the potential for the logs to no be written to disk yet exists if you just hard reset via the physical button or power off.

comment:5 by roiredxsoto, 4 years ago

Good day @kallisti5,

I did the steps you pointed out and got the syslog files that are attached today. Nonetheless, this I did with the home haikbox, with the RX570. Didn't have time at work to turn on the haikbox and do the test with the RX560. Will do there when I get free time. In the meantime, let me know if the attached Syslogs are of any help or if you need I do more testing.

Regards,
RR

by roiredxsoto, 4 years ago

Attachment: 20200804-syslog2-afterCrash added

Syslog file after crash.

by roiredxsoto, 4 years ago

Attachment: 20200804-syslog1-SafeMode added

Syslog with default failsafe settings on RX570

by roiredxsoto, 4 years ago

Syslog.old file after crash, presumed to be same as Syslog1

comment:6 by roiredxsoto, 3 years ago

Good day @kallisti5,

Today I had some time to check the syslog and syslog.old files and certified what you said, the loaded driver is the VESA, though Screen prefs still shows I'm using Framebuffer.

Tested just now with:

~> uname -a
Haiku hawku 1 hrev54953 Feb 10 2021 07:02:19 x86_64 x86_64 Haiku
~>

But no 30+ lines with the radeon_hd, nor in syslog, nor in syslog.old. I'll go with the process you pointed out again and check the outcome to see if there is something new there.

Allright, I did the test again and when booting without failsafe, the screen turns white and stays there. I've waited for more than two minutes and then pressed Ctr+Alt+Del for more than a minute without any response, so I rebooted via the reset button. Strange it didn't reboot? Could it be because of the KM switch?

The new syslog.old has few lines with "radeon_hd" the new syslog has plenty of them, but they seem a duplication (ignorance on my side) and they appear spaced throughout the syslof file.

Let me know if you need me to carry more testing.

Thanks.
Regards,
RR

Last edited 3 years ago by roiredxsoto (previous) (diff)

by roiredxsoto, 3 years ago

Attachment: syslog.2 added

new syslog after booting again in failsafe

by roiredxsoto, 3 years ago

Attachment: syslog.old added

old syslog

by roiredxsoto, 3 years ago

Attachment: syslog.3 added

Syslog after blacklisting again the video driver, using safe mode video

by roiredxsoto, 3 years ago

Attachment: syslog.2.old added

Presumed syslog of boot process that ended up in app_server crash

comment:7 by roiredxsoto, 3 years ago

Good day,

~> uname -a
Haiku hawku 1 hrev55009 Mar 22 2021 06:58:52 x86_64 x86_64 Haiku

Today I carried the test again (but on the integrated Radeon Vega):

1- add the comment to the fail-safe mode in kernel settings
2- boot Haiku
3- (new) the white screen came out with all the debug jitter scrolling through the screen until it stalled
4- after stalle, waited for more than 2 minutes with the screen like that
5- pressed Ctrl+alt+del for nearly 4 minutes, nothing happened
6- hard reboot

Attached are the new Syslog and Syslog.old, as well as some pics. And now that I have time to review the Syslogs, there is nothing about those 30 lines of "radeon" anywhere. Strange :?

Hope this helps
Regards,
RR

Last edited 3 years ago by roiredxsoto (previous) (diff)

by roiredxsoto, 3 years ago

Attachment: syslog.4 added

20210322 Syslog

by roiredxsoto, 3 years ago

Attachment: syslog.3.old added

20210322 Syslog.old

by roiredxsoto, 3 years ago

Attachment: IMG_20210322_173141345.jpg added

White screen with debug info starting

by roiredxsoto, 3 years ago

Attachment: IMG_20210322_173217000.jpg added

20210322 White screen after the debug lines stalled. Nothing happened afterwards for more than 2 minutes, stayed like this until reboot

comment:8 by modeenf, 23 months ago

Strange I have the same Card (Rx 560) with the same problem in hrev56193. My radeon_hd shows..

Perhaps my log can give som clue? sorry for "Hijacking" your ticket..

Last edited 23 months ago by modeenf (previous) (diff)

by modeenf, 23 months ago

Attachment: previous_syslog added
Note: See TracTickets for help on using tickets.