Bug 234646

Summary: kldload radeon kms - black screen
Product: Base System Reporter: lumiwa
Component: kernAssignee: freebsd-x11 mailing list <x11>
Status: New ---    
Severity: Affects Only Me CC: jmd, lumiwa
Priority: --- Flags: lumiwa: maintainer-feedback? (jmd)
Version: 12.0-RELEASE   
Hardware: amd64   
OS: Any   
Attachments:
Description Flags
xorg.log and part of /var/log/messages
none
try to use drm-fbsd11.2-kmod from ports with atilegacy none

Description lumiwa 2019-01-05 23:01:38 UTC
Created attachment 200816 [details]
xorg.log and part of /var/log/messages

My system is FreeBSD 12.0-RELEASE (amd640), new installed on the new hard drive.
Computer is iMac with Radeom 4850 graphics card, the boot is UEFI and everything works except graphics card problem.
When I kldload /boot/modules/radeonkms.ko I got black screen and computer is still responsive.
I try also to boot computer with  hw.syscons.disable=1 in /boot/loader.conf and in /etc/rc.conf I have kldload /boot/modules/radeonkms.ko
and again black screen.
I have installed drm-legacy-kmod and xf86-video-ati-legacy but I tried also with new ati driver and drm for 12 and the same result.
On the old system when I use ati driver version 7.9 and kldload radeon.ko from kernel worked without problem. On the old system the new ATI driver didn't work and none of the drm-kmod didn't work too.
Now I am using scfb driver and it works.
I do not know if is a bug in the drivers or something else.

Thank you.

Please check attached logs.
Comment 1 lumiwa 2019-01-07 23:22:13 UTC
Created attachment 200894 [details]
try to use drm-fbsd11.2-kmod from ports with atilegacy

I deinstall drm-legacy-kmod and install drm-fbsd11.2-kmod but again black screen.
Please, check attaced logs.
Comment 2 lumiwa 2019-01-27 16:22:14 UTC
I did try to run FreeBSD 11.2 on the borrowed dock station and it boot (slow but...) and everything was O.K. - no black screen when switched to fb. I did also "startx" and open Openbox.
The difference from the new system is that on the old drive I had freebsd-boot and uefi partitions but on the new one I have just uefi.