← Back to team overview

ubuntu-phone team mailing list archive

Re: We have unleashed the LXD based SDK

 

Some more checks you could try:

Log into the container with:

usdk-target exec <containername>

there check if

1. /dev/dri/card0 is accessible for root:video
2. Your user is part of the group that is allowed to access /dev/dri/card0 (video)
3. If not please check if the video group there also had gid=44

If your user is NOT part of the video group , add it and check again if your apps run...

On 06/21/2016 03:07 AM, Felipe De La Puente wrote:
Hi Benjamin,

Thanks a lot for your answers and help!

On Mon, Jun 20, 2016 at 3:28 PM, Benjamin Zeller <benjamin.zeller@xxxxxxxxxxxxx <mailto:benjamin.zeller@xxxxxxxxxxxxx>> wrote:

    On 06/20/2016 06:54 PM, Felipe De La Puente wrote:
    Hi Zoltan,

    I gave the new sdk-ide a little try. I created a container for
    16.04-amd64-desktop, when I tried to build my existing projects,
    they failed not finding the qmake .pro file. Didn't have time to
    dig into the problem yet...

    Some questions:
    1. Is the change backwards compatible with projects that started
    with the old scheme?
    Yes, your projects should still compile. But you will loose
    existing project configurations, since your schroot based Kits are
    gone.
    So you need to add your new Kits to the project.
    2. Is it mandatory to reset qt-creator settings?
    No. Normally QtC should remove the old Kits once they are gone and
    discover the new ones. You can also just reset those files:
    ~/.config/QtProject/qtcreator/cmaketools.xml
    ~/.config/QtProject/qtcreator/devices.xml
    ~/.config/QtProject/qtcreator/profiles.xml
    ~/.config/QtProject/qtcreator/toolchains.xml

    This will only reset the toolchains and leave your other settings
    intact.


Today when I tried the failing project it compiled successfully, so there must have been something that got inconsistent the other day...

    3. When should we expect the NVIDIA driver issue to be fixed?
    This is a really tricky issue. We have a possible fix, but it
    seems to fail in some conditions we
    did not figure out yet. This is basically the steps to make it
    work in the chroots (not tested for typos):

    http://pastebin.ubuntu.com/17429225/


I implemented your suggested script and got the app running. It rendered the main view for an instant until the SceneGraph creation failed. So it seems something GL related is still inconsistent.

The exact debug message was:

"Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)"

    But we need to figure out the corner cases. However you can try to
    use the script to fix your container.
    I can not give you a estimate when it will be solved, first we
    need to figure out why it breaks sometimes.

    Cheers,

    Benjamin


Best Regards,
Felipe.


    On Tue, Jun 14, 2016 at 8:30 AM, Leonardo "LeartS" Donelli
    <learts92@xxxxxxxxx <mailto:learts92@xxxxxxxxx>> wrote:

        This sounds really, really great. I have a very very limited
        experience with the SDK/IDE (just trying some things around) but
        already encountered basically all the issues described in the
        preface.
        Good job.

        On 14 June 2016 at 13:38, Zoltán Balogh
        <zoltan.balogh@xxxxxxxxxxxxx
        <mailto:zoltan.balogh@xxxxxxxxxxxxx>> wrote:
        > And calling for beta testers
        >
        >
        https://developer.ubuntu.com/en/blog/2016/06/14/calling-testers-new-ubuntu-sdk-ide-post/
        >
        > cheers,
        >
        > bzoltan
        >
        > --
        > Mailing list: https://launchpad.net/~ubuntu-phone
        <https://launchpad.net/%7Eubuntu-phone>
        > Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
        <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
        > Unsubscribe : https://launchpad.net/~ubuntu-phone
        <https://launchpad.net/%7Eubuntu-phone>
        > More help   : https://help.launchpad.net/ListHelp

        --
        Mailing list: https://launchpad.net/~ubuntu-phone
        <https://launchpad.net/%7Eubuntu-phone>
        Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
        <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
        Unsubscribe : https://launchpad.net/~ubuntu-phone
        <https://launchpad.net/%7Eubuntu-phone>
        More help   : https://help.launchpad.net/ListHelp






    --
    Mailing list: https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
    <mailto:ubuntu-phone@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~ubuntu-phone
    <https://launchpad.net/%7Eubuntu-phone>
    More help   : https://help.launchpad.net/ListHelp




Follow ups

References