FreeBSDDesktop / kms-drm

the DRM part of the linuxkpi-based KMS
63 stars 26 forks source link

Black screen with UHD630 #253

Closed ykla closed 3 years ago

ykla commented 3 years ago

20201106_214724 20201106_214834

FreeBSD12.2 UHD630 After pkg install drm-fbsd12.0-kmod and I set i915KMS.ko in rc.conf then reboot with black screen. No any error output.

zeising commented 3 years ago

What happens if you rebuild drm-fbsd12.0-kmod locally against updated 12.2 sources? See also https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250700

ykla commented 3 years ago

I reinstall by ports, also black screen.

zeising commented 3 years ago

Have you verified that you have the 12.2 sources in /usr/src?

ykla commented 3 years ago

I have sources in /usr/src. 20201108_224146

zeising commented 3 years ago

Yes, but are they for FreeBSD 12.2?

sssme commented 3 years ago

YES, My PC also 12.2-Release, build drm-kmod from local , after reboot the pc is black screen

zeising commented 3 years ago

For every case, when it has worked on FreeBSD 12.1 but broke on FreeBSD 12.2, the problem has been that drm-fbsd12.0-kmod has been out of sync with the FreeBSD kernel. Can you verify that you actually have the sources for FreeBSD 12.2 (and not another version) and then rebuild drm-fbsd12.0-kmod from ports.

sssme commented 3 years ago

when i install fb12.2-release, i select src and ports. Just before , I rm -rf /usr/ports and /usr/src , then I download src.txz and ports.txz from http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.2-RELEASE/src.txz and http://ftp.freebsd.org/pub/FreeBSD/releases/amd64/12.2-RELEASE/ports.txz. And i tar -xzvf src.txz -C / and tar -xvzf ports.txz -C / . Then , i pkg install xorg gnome3 and add _dbus_enable="YES", hald_enable="YES" , gdm_enable="YES", gnome_session="YES", kldlist="/boot/modules/i915kms.ko" to /etc/rc.conf, it also black screen.

zeising commented 3 years ago

Yes, but I am telling you that you need to build drm-fbsd12.0-kmod from ports, in neither of the steps you describe above have you done that.

sssme commented 3 years ago

Thank you . it is OK.🤙🤙🤙