From: Denys Dmytriyenko <denys@ti.com>
To: Yury Luneff <yury.lunev@gmail.com>
Cc: meta-ti@yoctoproject.org
Subject: Re: Weston not starting up with SGX drivers on BeagleBone Black
Date: Mon, 27 Mar 2017 14:36:08 -0400 [thread overview]
Message-ID: <20170327183608.GE29187@edge> (raw)
In-Reply-To: <DC609EBE-9306-49A9-94AB-116C9E60CD1B@gmail.com>
On Sun, Mar 26, 2017 at 08:41:48PM +0300, Yury Luneff wrote:
> Hello again.
>
> I seem to resolved this issue. I had to set initial video mode for tilcdc to
> be 1024x768@60 Hz in uEnv.txt. Then Weston started nicely with —current-mode
> being 1024x768.
Sounds good. Glad you were able to resolve it! Let us know if you have any
other issues.
--
Denys
> 26 марта 2017 г., в 4:30, Yury Luneff <yury.lunev@gmail.com> написал(а):
> >
> > Hello!
> >
> > I’m trying to get Weston running on BeagleBone Black with TI’s SGX drivers. Kernel is 4.9.13-g102f61776e from meta-ti (morty branch) and the drivers alike.
> > I have Weston 1.11 with patches from meta-arago (the patch that forces using card0 whereas I have card0 for tilcdc and card1 for pvrsrvkm plus the Mesa/GBM dealing patch). I had it running with SGX drivers already, but all of a sudden it ceased to startup properly.
> >
> > # weston --tty=1 -B drm-backend.so --current-mode
> > …
> > [16:07:05.845] Output HDMI-A-1, (connector 26, crtc 24)
> > mode 1360x768@60.4, preferred, current
> > ...
> > [16:07:05.957] set mode failed: Invalid argument
> >
> > I’ve posted complete Weston startup log here: http://pastebin.com/bHbdDMas
> >
> > The failure reason is listed in dmesg log:
> > tilcdc 4830e000.lcdc: Invalid pitch: fb and crtc widths must be the same
> >
> > I see the patch comments in https://patchwork.kernel.org/patch/7856821/ that introduced this sanity check for tilcdc, but I’m not sure how to achieve proper setup with my case.
> >
> > I have put 'gbm-format=rgb565’ in /etc/weston.ini. tilcdc’s pixel format seems to be the same: /sys/bus/platform/drivers/tilcdc/4830e000.lcdc/graphics/fb0/bits_per_pixel equals to 16.
> >
> > I’m not sure how tilcdc and pvrsrvkm should work between each other but the result is weston/wayland not starting because of some framebuffer mode conflict.
> >
> > I had it working very little time ago and I did it by specifying --current-mode for Weston, but now this option doesn’t help as Weston tries to set_mode anyway.
> >
> > Please, give me an advice on how to debug this.
> >
> > Thanks!
> > —
> > Yury Lunev
> >
> >
>
> —
> Yury Lunev
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
prev parent reply other threads:[~2017-03-27 18:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-26 1:30 Weston not starting up with SGX drivers on BeagleBone Black Yury Luneff
2017-03-26 17:41 ` Yury Luneff
2017-03-27 18:36 ` Denys Dmytriyenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170327183608.GE29187@edge \
--to=denys@ti.com \
--cc=meta-ti@yoctoproject.org \
--cc=yury.lunev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.