All of lore.kernel.org
 help / color / mirror / Atom feed
* Black screen with KABINI with kernel 4.5 with or without DAL
@ 2016-04-04 15:25 Boszormenyi Zoltan
  2016-04-05  3:40 ` Michel Dänzer
  0 siblings, 1 reply; 5+ messages in thread
From: Boszormenyi Zoltan @ 2016-04-04 15:25 UTC (permalink / raw)
  To: DRI devel

[-- Attachment #1: Type: text/plain, Size: 2879 bytes --]

Hi,

we have a bunch of Zotac ZBOX NANO-AQ01 with this APU:

[    2.234372] [drm] initializing kernel modesetting (KABINI 0x1002:0x9832 0x1002:0x0123).

For our application, we force 1440x900 resolution via this modeline ("cvt 1440 900"):

     Modeline    "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync

The application is Chromium in kiosk mode. The problem is that
sometimes the screen stays black after KMS kicks in.

Currently the kernel is 4.5 with or without the DAL WIP patchset, i.e. a "git diff" between
b562e44f507e863c6792946e4e1b1449fbbac85d from Linus's GIT and
629edeae23ba531f6f5ceacf3f1fa71ba5132303 from git://people.freedesktop.org/~agd5f/linux :

commit 629edeae23ba531f6f5ceacf3f1fa71ba5132303
Author: Eric Yang <eric.yang2@amd.com>
Date:   Wed Mar 16 16:38:28 2016 -0400

     drm/amd/dal: fix division by 0 on boot for dce80

     DCE80 used to have bandwidth parameters initialized with the dce110
     numbers. This was taken out a while ago, leaving the parameters to
     be uninitialized. This causes division by 0 on boot. This change
     resolves this by skipping bandwidth calculation and displaymark
     programming. For now, we will have dce80 always running safemark

     Reviewed-by: Eagle Yeh <eagle.yeh@amd.com>
     Signed-off-by: Eric Yang <eric.yang2@amd.com>
     Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

We use Xorg 1.16.4 and xf86-video-ati GIT with TearFree, commit ID
10b7c3def58bb34acc38f076bc230e25b454ab79. The same behaviour
is present with 4693b1bd5b5c381e8b7b68a6f7f0c6696d6a68df.

Attached is the dmesg and Xorg logs from both good and bad booting
with the DAL kernel, with "drm.debug=0x1e log_buf_len=1M" kernel options.

Our extra xorg.conf to force the 1440x900 is this:

Section "Monitor"
     Identifier    "HDMI-0"
     Option        "AutoServerLayout" "on"
     Option        "Position" "0 0"
     Modeline    "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
EndSection

Section "Monitor"
     Identifier    "DisplayPort-0"
     Option        "AutoServerLayout" "on"
     Option        "Position" "0 0"
     Modeline    "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync
EndSection

Section "Device"
     Identifier    "RADEON"
     Driver        "radeon"
     Option        "AutoServerLayout" "on"
     Option        "Monitor-HDMI-0" "HDMI-0"
     Option        "Monitor-DisplayPort-0" "DisplayPort-0"
     Option        "TearFree" "on"
EndSection
Section "Screen"
     Identifier    "SCREEN"
     Option        "AutoServerLayout" "on"
     SubSection "Display"
         Viewport   0 0
         Modes        "1440x900"
         Depth     24
     EndSubSection
EndSection

Can someone fix this black screen problem?

Thanks in advance,
Zoltán Böszörményi


[-- Attachment #2: logs-black-screen.tgz --]
[-- Type: application/x-compressed-tar, Size: 57599 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-04-06  8:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 15:25 Black screen with KABINI with kernel 4.5 with or without DAL Boszormenyi Zoltan
2016-04-05  3:40 ` Michel Dänzer
2016-04-05  4:07   ` Boszormenyi Zoltan
2016-04-05  6:27     ` Michel Dänzer
2016-04-06  8:52       ` Boszormenyi Zoltan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.