Re: [Dev] [Porting on Beaglebone] A stupid question about display porting.

2017-05-15 Thread 이상진



You can find rule for drm in /usr/lib/udev/rules.d/60-drm.rules.
You can also check git repo(/platform/upstream/systemd.git) 
 
- Original Message -
Sender : Hee-cheol Yang 
Date   : 2017-05-15 22:37 (GMT+9)
Title  : Re: [Dev] [Porting on Beaglebone] A stupid question about display porting.
 
Hello
 
First of all, thank you very much for all helps.

Until now, I found that the beaglebone black(BBB) Linux kernel supports DRM-HDMI well:
 Running modetest via HDMI which works well.
 There are /sys/class/drm/CARD0-* files.
 
So I currently testing libtdm and libtbm to display desktop interface on my TV. It seems that the main problem is that the backends coludn’t
 find DRM interfaces via udev even the kernel itself supports it, because no udev rules are desscribed in the udev configuration directories.

 
Unfortunately, as I know, TI doesn’t officially support any other graphic stacks except X windows system. So my current plan is to benchmark
 wayland based solutions which someone ported on the same board.
After that, I will try to port opengl-es stack.
 
Thanks very much for your help again.

 
Best regards.
 
Heecheol, Yang
 
보낸 사람:
박보람 보낸 날짜: 2017년 5월 12일 금요일 오후
 5:12 받는 사람: heecheol.y...@outlook.com 참조: dev@lists.tizen.org 제목: Re: [Dev] [Porting on Beaglebone] A stupid question about display porting.
 
Hello
 
To port tizen on new device, the backend of libtdm and libtbm should be prepared. Usually, if kernel supports DRM interface, libtdm-drm and libtbm-dumb wouldn't have any problem.
So, you'd better check the kernel DRM module first with "modetest" tool.
To use it, you need to download and install libdrm-tools and libkms rpm pkgs from

http://download.tizen.org/snapshots/tizen/3.0-common/latest/repos/arm-wayland/packages/armv7l/

Belows are simple example how to use it.
 
root@localhost:~# modetest
...
trying to open device 'exynos'...success.

CRTCs:
id  fb  pos size
20  34  (0,0)   (1920x1080)
  1920x1080 60 1920 2008 2052 2200 1080 1084 1089 1125 flags: phsync, pvsync; type: preferred, driver
  props:
. root@localhost:~# modetest -P 20:1920x1080@AR24   <== 20(crtc id). The image which contains many red, yellow, green lines should be displayed on screen.
 
If "modetest -P 20:1920x1080@AR24" works fine, need to tdm and tbm operation with "dlogutil TDM TBM" command.
 
Regards
Boram

On 05/12/2017 12:40 AM, Hee-cheol Yang wrote:
>
> Hello,
>
> First of all, I am very sorry for my sound-stupid question.
>
> This quest may be out out the scope of this mailing list.
>
> If so, please ignore this mail.
>
>  
>
>  
>
> I am trying to port tizen 3.0-common on Beaglebone Black board, which is based on TI’s AM335x SoC.
>
> And currently, I booted the latest Tizen3.0-common rootfs(http://download.tizen.org/snapshots/tizen/3.0-common/latest/images/arm-wayland/common-wayland-3parts-armv7l-artik/)
 on the modified Beaglebone’s Linux kernel, which is configured to support SMACK. As you may expected, it is not working correctly, so I am trying to solve the problems step by step.
>
>  
>
> My first goal is to display something in the Monitor via HDMI interfance (Beaglebone black board’s default display is the HDMI monitor). And it seems that the HDMI itself seems to working because:
>
> /dev/fb0 is exposed.
> Something is displayed when I run “dd if=/dev/urandom of=/dev/fb0”
>
>  
>
> However, even the /dev/fb0 seems to be working, Any Tizen-relased graphics are not displayed the monitor, and after spending several days of searching, I found that TDM and TBM are need to be ported for the SOC. In this case, AM335x SOC.
>
>  
>
> But As I understand, using libtdm-drm and libdbm-dummy is sufficient to show basic display components without porting any device-specific interfaces for libtdx’s interface between front and backends. Also, when I used libtdm-drm
 and libdbm-dummy, it seems that something recognizable graphics are suddenly displayed in the HDMi monitor.
>
>  
>
> So I wonder that is is not sufficient to use these two components. If not, am I doing correctly to display somrting in the monitor? I mean, is is true that when I correctly port the libtbm and libtbm for AM335x like exynos, the Tizen’s
 graphic stack is sufficiently ported?
>
>  
>
> I would be very appreciate if something give me any recommendations.
>
>  
>
> Best regards.
>
>  
>
> Heecheol, Yang.
>
>  
> ___
> Dev mailing list
> Dev@lists.tizen.org
> https://lists.tizen.org/listinfo/dev 
 
 
 
 
 
___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev
 
 
 

___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev


Re: [Dev] [SDL2] making x11 available to app

2016-09-22 Thread 이상진



Hi.
 
Tizen 3.0 supports only wayland.
 
- Original Message -
Sender : 라빈드라  책임/선행S/W Lab(VD)/삼성전자
Date : 2016-09-22 16:25 (GMT+9)
Title : [Dev] [SDL2] making x11 available to app
 Hi,
I am trying to launch x11 app (based on SDL2) from command terminal on tizen
3.0.
However, I get the error :
 Could not initialize SDL(x11 not available).
It basically means that SDL2 was not able to detect  x11 on tizen.

What would be the way to resolve this error ?

Regards,
Ravindra Sande

___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev

 ___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev


Re: [Dev] Xserver upgrade on Tizen 2.3

2016-04-04 Thread 이상진
Title: Samsung Enterprise Portal mySingle


Dear joshua.
 
In Tizen, main implication of upgrading is DRI3.
But i recommand use dir2 in tizen2.3.
 
 
--- Original Message ---
Sender : Joshua Varghese
Date : 2016-04-04 17:58 (GMT+09:00)
Title : [Dev] Xserver upgrade on Tizen 2.3
 Hi,We are trying to achieve H/W acceleration on our MIPS-based platform with Tizen 2.3 Wearable profile. However, our Graphics vendor has suggested us to use Xorg-server version 1.16.x for better results and compatibility. Tizen 2.3 has Xorg-server version 1.13.0, however 2.4 seems to have 1.16.0. What would be implication of upgrading Xorg server to 1.16.x on Tizen 2.3?Thanks & Regards,Joshua___Dev mailing listDev@lists.tizen.orghttps://lists.tizen.org/listinfo/dev




___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev


Re: [Dev] Xwayland and QT support

2014-06-27 Thread 이상진
There are no plan support OpenGL on ARM/Exynos.
Only support OpenGLES. 

> -Original Message-
> From: Dev [mailto:dev-boun...@lists.tizen.org] On Behalf Of Tomasz Olszak
> Sent: Friday, June 27, 2014 9:01 PM
> To: Stanislav Vorobiov
> Cc: dev@lists.tizen.org
> Subject: Re: [Dev] Xwayland and QT support
> 
> 2014-06-27 13:33 GMT+02:00 Stanislav Vorobiov :
> > Hi,
> >
> > Just FYI, on standalone emulator there's a mouse instead of
> > touchscreen, so you can interact with Qt5 apps just fine. Also, I saw a
> patch recently that fixed touchscreen support for Qt5, though I don't know
> if it was merged or not.
> >
> > On 06/27/2014 03:29 PM, Roman Kubiak wrote:
> >> I was wondering is Xwayland going to be part of the Tizen:Common image.
> >> I was able to build it myself and run some basic Xorg native apps
> >> (xterm, blackbox) so it works. I built it on our M0 target
> (ARM/Exynos4412) so i guess X86 should not be an issue. The only part that
> did not work on ARM was GLX support, there seems to be no OpenGL support
> on Exynos/MALI, open GLES and that's not the same thing. Did anyone try
> this at all ?
> >>
> >> Also i saw some QT5 apps on the current Common image, but did you
> >> notice that QT does not react to touch events on either the M0 target
> (other wayland apps react to touch events) or on the emulator, all those
> apps are dead, only keyboard works on the emulator, but you can't move the
> window or interact with it's content.
> 
> It[1] was not merged yet, However you can built Qt locally and test it
> with the patch (see jira bug).
> I will talk with guys from qtwayland about the fact how to solve the
issue.
> 
> https://bugs.tizen.org/jira/browse/TC-308
> 
> --
> regards,
> Tomasz Olszak
> Qt for Tizen | http://qt-project.org/wiki/Tizen
> ___
> Dev mailing list
> Dev@lists.tizen.org
> https://lists.tizen.org/listinfo/dev

___
Dev mailing list
Dev@lists.tizen.org
https://lists.tizen.org/listinfo/dev