| Summary: | Display goes dead with intel_do_flush_locked failed: Input/output error on Dell XPS m1330 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Jens Grassel <freebsd-ports> | ||||||
| Component: | kern | Assignee: | freebsd-x11 (Nobody) <x11> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | manu, zeising | ||||||
| Priority: | --- | ||||||||
| Version: | 12.2-RELEASE | ||||||||
| Hardware: | amd64 | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Jens Grassel
2021-03-03 15:42:21 UTC
drmn0 warnings suggest you have /boot/kernel/i915kms.ko or /boot/kernel/drm2.ko loaded (check "kldstat -v" output). graphics/drm-kmod installs /boot/modules/i915kms.ko and /boot/modules/drm.ko. pkg-message (e.g., run "pkg info -xD drm-.\*kmod") actually documents you need to use kld_list="/boot/modules/i915kms.ko" in rc.conf(5) on FreeBSD < 13.0. If after fixing the confusion drm-kmod is still not stable on i965GM (Intel Gen4) consider upgrading to FreeBSD >= 13.0 which contains numerious DRM, LinuxKPI and upstream LTS stability fixes, including for old GPUs. Thanks for the info. Indeed the wrong drivers where loaded, however: If I use the `/boot/modules/i915kms.ko` in the `kld_list` setting then I get no Xorg running at all ("No screens found").
So I guess it is either downgrading to 12.1 or upgrading to 13.0 for me. ;-)
Thanks again and kind regards,
Jens
(In reply to Jens Grassel from comment #2) Do you have any xorg conf? Can you provide the xorg log when it is not working (with /boot/modules/i915kms.ko), as well as dmesg from when you are loading that driver. (In reply to Niclas Zeising from comment #3) Sure, here is the xorg config: <---snip---> Section "Device" Identifier "Card0" Driver "intel" Option "AccelMethod" "uxa" # Option "TearFree" "true" EndSection <---snip---> I'll attach the dmesg and Xorg.log file to the ticket. Kind regards, Jens Created attachment 222998 [details]
Xorg logfile
Created attachment 222999 [details]
dmesg output
(In reply to Jens Grassel from comment #6) It looks like /boot/modules/i915kms.ko isn't loaded. How are you loading this module? Which version of drm-*-kmod do you have installed? (In reply to Niclas Zeising from comment #7) Looks like it is loaded to me: ``` % sysrc kld_list kld_list: /boot/modules/i915kms.ko sysctlinfo sysctlbyname_improved ubtbcmfw vboxdrv % kldstat -v | grep i915 17 1 0xffffffff82b2e000 12ccb0 i915kms.ko (/boot/modules/i915kms.ko) 530 i915kms % pkg info | grep ^drm- drm-fbsd12.0-kmod-4.16.g20201016_1 DRM modules for the linuxkpi-based KMS components drm-kmod-g20190710_1 Metaport of DRM modules for the linuxkpi-based KMS components ``` Kinds regards, Jens I can't see in the dmesg you posted that it attached to any hardware. That's most likely why xorg won't start. When you load the driver, your screen usually flickers when it changes mode, does that happen? (In reply to Niclas Zeising from comment #9) No flickering, just plain text console. (In reply to Jens Grassel from comment #10) Now that you mentioned it, before (when it worked) the text console was also in higher resolution, now it sticks to 80x25. Kind regards, Jens So the driver doesn't attach. How have you installed the driver? How are you loading the driver? Which GPU? (In reply to Niclas Zeising from comment #12) So far the i195 module was loaded (and still is via kld_list directive) and provided graphics. However if the one from base is loaded every time OpenGL is used the display goes completely dead until reboot. This happens since the upgrade from 12.1 to 12.2. If the i195 module from the drm-kmod package is loaded then I get no graphics at all. According to the old logs it is a i965GM GPU. Maybe I should take a peek into 13.0 or downgrade. Kind regards, Jens Hi, I found the time to upgrade to 13-RC3 and there the issue seems solved. No display issues so far. Thanks to everyone involved in FreeBSD land. =) Kind regards, Jens Reporters says it's ok now, closing. |