Discussion:
[ozone-dev] Ozone-gbm in VMware
d***@netlove.rs
2015-01-22 14:35:28 UTC
Permalink
Hello,

I'm interested about using the Ozone-gbm platform, but I'm not sure if it is stable enough. I tried to build the content_shell at least a dozen times with not much luck.
I used this GYP_DEFINES:
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need it.
When I built without `ozone_platform_gbm`, and used the dri platform it kind of worked, the google homepage showed up, but only for the first time. When I killed the program, and tried to run it again I only saw a black screen, but when I added the log attributes (`--log-level=0 --enable-logging=stderr --v=1`) I saw that the webpage still loads, but I couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last few days I wasn't able to build it either, because of compilation errors.

So my main question is: is it supposed to work inside a VMware virtual machine? Or is this behavior expected at the moment?

By the way, I tried to follow these instructions too:
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the Chromium source already has one? I couldn't wrap my head around this.

Thanks!
Csaba

To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Daniel Nicoara
2015-01-22 16:18:04 UTC
Permalink
I am not aware of GBM support for the vmware driver, so you're not going to
be able to run that backend in VMWare.

You're likely stuck using the dri platform on vmware.
Post by d***@netlove.rs
Hello,
I'm interested about using the Ozone-gbm platform, but I'm not sure if it
is stable enough. I tried to build the content_shell at least a dozen times
with not much luck.
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need it.
When I built without `ozone_platform_gbm`, and used the dri platform it
kind of worked, the google homepage showed up, but only for the first time.
When I killed the program, and tried to run it again I only saw a black
screen, but when I added the log attributes (`--log-level=0
--enable-logging=stderr --v=1`) I saw that the webpage still loads, but I
couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last few days I
wasn't able to build it either, because of compilation errors.
So my main question is: is it supposed to work inside a VMware virtual
machine? Or is this behavior expected at the moment?
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the
Chromium source already has one? I couldn't wrap my head around this.
Thanks!
Csaba
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Dongseong Hwang
2015-02-16 20:49:18 UTC
Permalink
Hi, I also tried to test ozone gbm but failed.
I build both embedded and cros on Ubuntu and try to launch chrome or
content_shell on VT (ctrl+alt+f1) after stopping lightdm, but always failed
to create egl image (eglCreateImageKHR)

GYP_DEFINES I used is as follows,
embedded: embedded=1 ozone_platform=gbm
cros: chromeos=1 use_ozone=1 ozone_platform=gbm

command line I used is as follows,
embedded: content_shell --no-sandbox --ozone-platform=gbm
--ozone-use-surfaceless
cros: chrome --no-sandbox --ozone-platform=gbm --ozone-use-surfaceless

Could you kindly update how to build and test ozone gbm in wiki?
http://www.chromium.org/developers/design-documents/ozone

I have few questions
1. Which embedded or cros do ozone developers usually use?
2. Do I have to stop lightdm or window manager?
3. Is --ui-disable-threaded-compositing needed?
4. Do anyone success to use any VM? e.g. KVM QEMU VirtualBox VMWare

Thanks in advance!
- DS
Post by Daniel Nicoara
I am not aware of GBM support for the vmware driver, so you're not going
to be able to run that backend in VMWare.
You're likely stuck using the dri platform on vmware.
Post by d***@netlove.rs
Hello,
I'm interested about using the Ozone-gbm platform, but I'm not sure if it
is stable enough. I tried to build the content_shell at least a dozen times
with not much luck.
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need it.
When I built without `ozone_platform_gbm`, and used the dri platform it
kind of worked, the google homepage showed up, but only for the first time.
When I killed the program, and tried to run it again I only saw a black
screen, but when I added the log attributes (`--log-level=0
--enable-logging=stderr --v=1`) I saw that the webpage still loads, but I
couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last few days I
wasn't able to build it either, because of compilation errors.
So my main question is: is it supposed to work inside a VMware virtual
machine? Or is this behavior expected at the moment?
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the
Chromium source already has one? I couldn't wrap my head around this.
Thanks!
Csaba
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Dongseong Hwang
2015-02-17 10:42:13 UTC
Permalink
Following is error log
chrome os gbm : https://gist.github.com/ds-hwang/63cedc82019320584a0d
embedded content_shell gbm
: https://gist.github.com/ds-hwang/7ee43f9dffe3ba270be3
Post by Dongseong Hwang
Hi, I also tried to test ozone gbm but failed.
I build both embedded and cros on Ubuntu and try to launch chrome or
content_shell on VT (ctrl+alt+f1) after stopping lightdm, but always failed
to create egl image (eglCreateImageKHR)
GYP_DEFINES I used is as follows,
embedded: embedded=1 ozone_platform=gbm
cros: chromeos=1 use_ozone=1 ozone_platform=gbm
command line I used is as follows,
embedded: content_shell --no-sandbox --ozone-platform=gbm
--ozone-use-surfaceless
cros: chrome --no-sandbox --ozone-platform=gbm --ozone-use-surfaceless
Could you kindly update how to build and test ozone gbm in wiki?
http://www.chromium.org/developers/design-documents/ozone
I have few questions
1. Which embedded or cros do ozone developers usually use?
2. Do I have to stop lightdm or window manager?
3. Is --ui-disable-threaded-compositing needed?
4. Do anyone success to use any VM? e.g. KVM QEMU VirtualBox VMWare
Thanks in advance!
- DS
Post by Daniel Nicoara
I am not aware of GBM support for the vmware driver, so you're not going
to be able to run that backend in VMWare.
You're likely stuck using the dri platform on vmware.
Post by d***@netlove.rs
Hello,
I'm interested about using the Ozone-gbm platform, but I'm not sure if
it is stable enough. I tried to build the content_shell at least a dozen
times with not much luck.
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need it.
When I built without `ozone_platform_gbm`, and used the dri platform it
kind of worked, the google homepage showed up, but only for the first time.
When I killed the program, and tried to run it again I only saw a black
screen, but when I added the log attributes (`--log-level=0
--enable-logging=stderr --v=1`) I saw that the webpage still loads, but I
couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last few days I
wasn't able to build it either, because of compilation errors.
So my main question is: is it supposed to work inside a VMware virtual
machine? Or is this behavior expected at the moment?
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the
Chromium source already has one? I couldn't wrap my head around this.
Thanks!
Csaba
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Tiago Vignatti
2015-02-24 15:53:56 UTC
Permalink
Hi,

Your gist log tells that you're running as a normal user, so you either
have to give permission for the file descriptors mentioned
(/dev/input/*) or just run as root user -- that's what I do mostly. That
should fix the remaining problems. Besides, it might be that GPU process
is hanging somewhere else, so double check that by starting the target
with --single-process and also calling via gdb.

And now answering the questions below:

1. the GYP_DEFINES flags you mentioned are pretty much what I use as
well. So that should be fine.

2. Multiple resources accesses are always tricky and usually left behind
when new architectures are introduced. That said, you definitely need to
stop any other graphics stuff that needs kernel resources like tty, drm,
gbm, evdev etc because Ozone GBM won't play along with them.

3. not sure. I don't use it at least.

4. I never heard about anyone having success with a virtual environment
on GBM. As dnicoara said, it might be that it just works with the
software stack (Ozone DRI), but I'd say to start simple and forget at
this moment about virtualization if you're starting to hack on Ozone.


Regards,

Tiago
Post by Dongseong Hwang
Following is error log
chrome os gbm : https://gist.github.com/ds-hwang/63cedc82019320584a0d
embedded content_shell gbm
: https://gist.github.com/ds-hwang/7ee43f9dffe3ba270be3
Hi, I also tried to test ozone gbm but failed.
I build both embedded and cros on Ubuntu and try to launch chrome or
content_shell on VT (ctrl+alt+f1) after stopping lightdm, but always
failed to create egl image (eglCreateImageKHR)
GYP_DEFINES I used is as follows,
embedded: embedded=1 ozone_platform=gbm
cros: chromeos=1 use_ozone=1ozone_platform=gbm
command line I used is as follows,
embedded: content_shell --no-sandbox --ozone-platform=gbm
--ozone-use-surfaceless
cros: chrome --no-sandbox --ozone-platform=gbm --ozone-use-surfaceless
Could you kindly update how to build and test ozone gbm in wiki?
http://www.chromium.org/developers/design-documents/ozone
<http://www.chromium.org/developers/design-documents/ozone>
I have few questions
1. Which embedded or cros do ozone developers usually use?
2. Do I have to stop lightdm or window manager?
3. Is --ui-disable-threaded-compositing needed?
4. Do anyone success to use any VM? e.g. KVM QEMU VirtualBox VMWare
Thanks in advance!
- DS
On Thursday, January 22, 2015 at 6:18:06 PM UTC+2,
I am not aware of GBM support for the vmware driver, so you're
not going to be able to run that backend in VMWare.
You're likely stuck using the dri platform on vmware.
Hello,
I'm interested about using the Ozone-gbm platform, but I'm
not sure if it is stable enough. I tried to build the
content_shell at least a dozen times with not much luck.
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't
really need it.
When I built without `ozone_platform_gbm`, and used the dri
platform it kind of worked, the google homepage showed up,
but only for the first time. When I killed the program, and
tried to run it again I only saw a black screen, but when I
added the log attributes (`--log-level=0
--enable-logging=stderr --v=1`) I saw that the webpage still
loads, but I couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last
few days I wasn't able to build it either, because of
compilation errors.
So my main question is: is it supposed to work inside a
VMware virtual machine? Or is this behavior expected at the
moment?
https://github.com/kalyankondapally/Chromium-OzoneGBM
<https://github.com/kalyankondapally/Chromium-OzoneGBM>
But is it really necessary to use a separate Mesa install
when the Chromium source already has one? I couldn't wrap my
head around this.
Thanks!
Csaba
To unsubscribe from this group and stop receiving emails from it, send
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
a***@vayavyalabs.com
2018-02-27 03:01:29 UTC
Permalink
Post by d***@netlove.rs
Hello,
I'm interested about using the Ozone-gbm platform, but I'm not sure if it is stable enough. I tried to build the content_shell at least a dozen times with not much luck.
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need it.
When I built without `ozone_platform_gbm`, and used the dri platform it kind of worked, the google homepage showed up, but only for the first time. When I killed the program, and tried to run it again I only saw a black screen, but when I added the log attributes (`--log-level=0 --enable-logging=stderr --v=1`) I saw that the webpage still loads, but I couldn't see a thing, and I'm not sure why.
The gbm platform however never worked for me. And the last few days I wasn't able to build it either, because of compilation errors.
So my main question is: is it supposed to work inside a VMware virtual machine? Or is this behavior expected at the moment?
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the Chromium source already has one? I couldn't wrap my head around this.
Thanks!
Csaba
Hi every one,

We are planning to use ozone-gbm based chromium for our development board. It is based on ARM7 and has mesa implementation for OPEN GLES 2.0. Can you please let me know what may be other dependencies in order to get ozone-gbm? Do I need minigbm port for mesa?
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Daniel Nicoara
2018-02-27 15:23:37 UTC
Permalink
You'd need support for DRM/KMS for vmware and minigbm support. There's some
basic DRM/KMS support, though I've never used it so I'm not sure how far
along it is. As far as minigbm, I'm unaware of any support right now. I'm
not sure if there's any mesa GBM support either. But you'd need it and it
should be working with the EGL/GLES stack in order to get things going.
Post by d***@netlove.rs
Post by d***@netlove.rs
Hello,
I'm interested about using the Ozone-gbm platform, but I'm not sure if
it is stable enough. I tried to build the content_shell at least a dozen
times with not much luck.
Post by d***@netlove.rs
export GYP_DEFINES="embedded=1 ozone_platform_gbm=1"
Sometimes I added the `disable_nacl=1` too, because I don't really need
it.
Post by d***@netlove.rs
When I built without `ozone_platform_gbm`, and used the dri platform it
kind of worked, the google homepage showed up, but only for the first time.
When I killed the program, and tried to run it again I only saw a black
screen, but when I added the log attributes (`--log-level=0
--enable-logging=stderr --v=1`) I saw that the webpage still loads, but I
couldn't see a thing, and I'm not sure why.
Post by d***@netlove.rs
The gbm platform however never worked for me. And the last few days I
wasn't able to build it either, because of compilation errors.
Post by d***@netlove.rs
So my main question is: is it supposed to work inside a VMware virtual
machine? Or is this behavior expected at the moment?
Post by d***@netlove.rs
https://github.com/kalyankondapally/Chromium-OzoneGBM
But is it really necessary to use a separate Mesa install when the
Chromium source already has one? I couldn't wrap my head around this.
Post by d***@netlove.rs
Thanks!
Csaba
Hi every one,
We are planning to use ozone-gbm based chromium for our development board.
It is based on ARM7 and has mesa implementation for OPEN GLES 2.0. Can you
please let me know what may be other dependencies in order to get
ozone-gbm? Do I need minigbm port for mesa?
--
You received this message because you are subscribed to the Google Groups "Ozone-Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ozone-dev+***@chromium.org.
Loading...