Re: drm: simpledrm: fbdev emulation error with CONFIG_DRM_SIMPLEDRM enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Thu, Aug 26, 2021, at 2:31 PM, Thomas Zimmermann wrote:
> 
> You said that the resolution is 3840 x 2160, but the attached log says 
> 1024x768. I guess that the former is the monitor's native resolution and 
> the latter is the display mode?
> 

Yes, that's the monitor native resolution and what I was running within Gnome
shell, but I believe since I'm now booting to text mode with only simpledrm
it reports 1024x768.

> The attached patch adds a few extra lines of debugging output. Could you 
> please apply it, rebuild, and report back with the log.
> 
> Best regards
> Thomas
> 

Sure, I applied the patch. Please find new dmesg output attached.

-- 
thanks,
Amanoel
[    2.441587] [drm:0xffffffffc03670cc] Initialized
[    2.447368] simple-framebuffer simple-framebuffer.0: [drm:0xffffffffc03af69d] display mode={"1024x768": 60000 47185920 1024 1024 1024 1024 768 768 768 768 0x40 0x0}
[    2.447371] simple-framebuffer simple-framebuffer.0: [drm:0xffffffffc03af6c0] framebuffer format=AR24 little-endian (0x34325241), size=1024x768, stride=4096 byte
[    2.447388] [drm:0xffffffffc0303ccb] 
[    2.447389] [drm:0xffffffffc0303e94] 
[    2.447413] [drm:0xffffffffc0303ef8] new minor registered 0
[    2.447420] [drm:0xffffffffc0304c48] adding "Unknown-1" to sysfs
[    2.447421] [drm:0xffffffffc0304aea] generating hotplug event
[    2.447423] [drm] Initialized simpledrm 1.0.0 20200625 for simple-framebuffer.0 on minor 0
[    2.447424] [drm:0xffffffffc0331399] 
[    2.447425] [drm:0xffffffffc03200d1] OBJ ID: 31 (2)
[    2.447426] [drm:0xffffffffc0380260] [CONNECTOR:31:Unknown-1]
[    2.447427] [drm:0xffffffffc0380334] [CONNECTOR:31:Unknown-1] status updated from unknown to connected
[    2.447430] [drm:0xffffffffc03805c5] [CONNECTOR:31:Unknown-1] probed modes :
[    2.447431] [drm:0xffffffffc0308be3] Modeline "1024x768": 60000 47185920 1024 1024 1024 1024 768 768 768 768 0x48 0x0
[    2.447432] [drm:0xffffffffc0331613] connector 31 enabled? yes
[    2.447433] [drm:0xffffffffc03319dd] Not using firmware configuration
[    2.447434] [drm:0xffffffffc0331c49] looking for cmdline mode on connector 31
[    2.447434] [drm:0xffffffffc0332131] looking for preferred mode on connector 31 0
[    2.447435] [drm:0xffffffffc0331d43] found mode 1024x768
[    2.447435] [drm:0xffffffffc0331f1f] picking CRTCs for 1024x768 config
[    2.447436] [drm:0xffffffffc033206b] desired mode 1024x768 set on crtc 34 (0,0)
[    2.447436] [drm:0xffffffffc03200d1] OBJ ID: 31 (2)
[    2.447437] [drm:0xffffffffc0320181] OBJ ID: 31 (3)
[    2.447437] simple-framebuffer simple-framebuffer.0: [drm:0xffffffffc0394dc7] test CRTC 0 primary plane
[    2.447438] [drm:0xffffffffc0394ec4] *ERROR* x=0 y=0, desired_mode->hdisplay=1024 desired_mode->vdisplay=1024 sizes.surface_width=768 sizes.surface_height=768
[    2.447439] [drm:0xffffffffc0394f03] *ERROR* connector->has_tile=0
[    2.447440] simple-framebuffer simple-framebuffer.0: [drm:0xffffffffc0397cba] surface width(1024), height(2304) and bpp(32)
[    2.447443] [drm:0xffffffffc031b483] bad framebuffer height 2304, should be >= 768 && <= 768
[    2.447445] simple-framebuffer simple-framebuffer.0: [drm] *ERROR* fbdev: Failed to setup generic emulation (ret=-22)
[    2.447446] simple-framebuffer simple-framebuffer.0: [drm:0xffffffffc03968de] client hotplug ret=-22
[   14.629995] systemd[1]: Starting Load Kernel Module drm...
[   14.634356] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   14.634421] systemd[1]: Finished Load Kernel Module drm.

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux