Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Unable to get N900 display in Xephyr when in ARMEL mode

    Reply
    bluehash | # 1 | 2009-10-24, 16:02 | Report

    Hello,

    I just finished installing scratchbox last night and everything went smoothly. I could even compile a few sample programs successfully.

    Problem is when I'm in ARMEL mode, I'm unable to export the display to Xephyr. In X86, I can see the display.
    My steps:
    [sbox-FREMANTLE_ARMEL: ~] > export DISPLAY=:2
    [sbox-FREMANTLE_ARMEL: ~] > af-sb-init.sh start

    I'm getting qemu segfaults and the following error:
    getsockopt level=1 optname=17 not yet supported

    Any help would be appreciated. Thanks!

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt sbox_log.txt (8.2 KB, 650 views)
    The Following User Says Thank You to bluehash For This Useful Post:
    int_ua

     
    allnameswereout | # 2 | 2009-10-24, 16:06 | Report

    Yes, known QEMU bug, your problem is addressed in FAQ. Solution: use FREMANTLE_X86 instead. FREMANTLE_ARMEL is not intended for what you are trying anyway.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to allnameswereout For This Useful Post:
    bluehash, codeMonkey

     
    qwerty12 | # 3 | 2009-10-24, 16:06 | Report

    Originally Posted by http://wiki.maemo.org/Documentation/Maemo5_Final_Installation#Known_Issues_in_the_SDK
    Known Issues in the SDK
    • Armel target does not bring up the UI framework
    I'm here to make this message longer.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
    bluehash, int_ua

     
    bluehash | # 4 | 2009-10-24, 16:11 | Report

    Thanks guys!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    larsivi | # 5 | 2010-04-15, 11:50 | Report

    Originally Posted by allnameswereout View Post
    Yes, known QEMU bug, your problem is addressed in FAQ. Solution: use FREMANTLE_X86 instead. FREMANTLE_ARMEL is not intended for what you are trying anyway.
    I find this solution hard to accept. As a developer of graphical applications (OGL ES ++), there needs to be support for testing on ARMEL (low level code used to prepare the graphics, and the OGL ES implementation itself, are things that are likely to behave differently on X86 and ARMEL making it absolutely necessery to test as much as possible before deployment). I understand that there are additional emulation issues when it comes to graphical hardware, but I would at very least expect the GUI to work. The competition (Android, etc) does not appear to have similar restrictions.

    Another aspect is that OGL ES normally isn't easily available to test on X86 targets, and the differences relative to standard OGL makes such testing also necessary.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to larsivi For This Useful Post:
    int_ua

     
    Joorin | # 6 | 2010-04-15, 16:58 | Report

    @larsivi

    The Maemo idea that "cross compiling" means "run your armel compiled compiler through qemu to generate armel code" is the root of some of this evil.

    Why isn't there an i386 compiled compiler that generates armel code?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to Joorin For This Useful Post:
    int_ua

     
    daperl | # 7 | 2010-04-15, 17:15 | Report

    Originally Posted by larsivi View Post
    I find this solution hard to accept. As a developer of graphical applications (OGL ES ++), there needs to be support for testing on ARMEL (low level code used to prepare the graphics, and the OGL ES implementation itself, are things that are likely to behave differently on X86 and ARMEL making it absolutely necessery to test as much as possible before deployment). I understand that there are additional emulation issues when it comes to graphical hardware, but I would at very least expect the GUI to work. The competition (Android, etc) does not appear to have similar restrictions.

    Another aspect is that OGL ES normally isn't easily available to test on X86 targets, and the differences relative to standard OGL makes such testing also necessary.
    Hard to accept? Before deployment? I think you need to come in, sit down, and have a beer. This is the Wild West. Around here, we build and test on our devices.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    ancoldsun | # 8 | 2010-04-16, 18:31 | Report

    Originally Posted by daperl View Post
    Hard to accept? Before deployment? I think you need to come in, sit down, and have a beer. This is the Wild West. Around here, we build and test on our devices.
    "test on our devices" so this mean we have to accet the risk that may thrash our devices ? is that whatu mean .Then u must be a richman cuz u didn't care whether ur device is thrashed or not . but many of us dont have much money although we are really interested in maemo app dev ( especially ogles app ) but we do not want to take that risk

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to ancoldsun For This Useful Post:
    int_ua

     
vBulletin® Version 3.8.8
Normal Logout