Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Screen command failed on QNX 6.6 VMWare: (11 Items)
   
Screen command failed on QNX 6.6 VMWare  
Hi all !
In QNX 6.6 i run screen command error Memory fault (core dumped) on QNX 6.6 VMWare.
How to fix it ? Thanks you.
Attachment: Image QNX 6.6-2015-08-26-17-04-59.png 1.48 KB
Re: Screen command failed on QNX 6.6 VMWare  
Hi Tran,

Try this instead:
    export GRAPHICS_ROOT=/usr/lib/graphics/vmware
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRAPHICS_ROOT
    gpu_drv
    screen

James
Re: Screen command failed on QNX 6.6 VMWare  
Hi James !
Thanks for the help.I tried and failed.
[image: Hình ảnh nội tuyến 1]
I'm trying install QNX 6.6 for VMWare and i installed
patch-660-3875-660-Graphics-GA
[image: Hình ảnh nội tuyến 1]
After, I copied the files in the guide at links
http://www.qnx.com/developers/articles/rel_5948_26.html.
And i enable 3D graphics on VMWare but when i run "screen" commands, i get
error :
[image: Hình ảnh nội tuyến 2]
I recheck graphics on vmware and found a warning :
[image: Hình ảnh nội tuyến 3]
Can you teach me how to enable 3D graphics ? I want to build Qt5 with GUI
for QNX 6.6 VMWare.I installed Qt5.3.1 and QNX SDP.I build a
program successfull.Can you teach me how to run it on QNX 6.6 VMWare ? Can
you help me used through TeamViewer ?

2015-08-26 19:51 GMT+07:00 James McDonnell <community-noreply@qnx.com>:

> Hi Tran,
>
> Try this instead:
>     export GRAPHICS_ROOT=/usr/lib/graphics/vmware
>     export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRAPHICS_ROOT
>     gpu_drv
>     screen
>
> James
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post114346
> To cancel your subscription to this discussion, please e-mail
> general-qt-unsubscribe@community.qnx.com
>
Attachment: HTML sf-attachment-mime30595 3.98 KB Image sf-attachment-mime30596 46.47 KB
Re: Screen command failed on QNX 6.6 VMWare  
Hi Tran-

Does this VMware image run?  Perhaps you can use it as a model.

http://www.qnx.com/download/feature.html?programid=26854

Dennis
Re: Screen command failed on QNX 6.6 VMWare  
Hi Dannis !
Thank you very much.
- I used QNX SDP 6.6 runtime ISO for VMWare.Links download here :
http://www.qnx.com/download/feature.html?programid=26217
- I installed with many options :
Guest operating systems : Other.Version : Other.
Memory : 2GB
Processors : 4
Hard Disk (IDE) : 20GB
- I install qnx-sdp-6.6 and qnx-sdk-for-apps-and-media for windows host.And
i install patch-660-3875-660-Graphics-GA with applypatch command.
-  I copy files to VMWare
Host (under *$QNX_TARGET/*)Virtual machine (under root directory(/)...
View Full Message
Attachment: HTML sf-attachment-mime30600 8.84 KB
Re: Screen command failed on QNX 6.6 VMWare  
i tried :
export GRAPHICS_ROOT=/usr/lib/graphics/vmware
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GRAPHICS_ROOT
and
echo $GRAPHICS_ROOT
result : /usr/lib/graphics/vmware
echo $LD_LIBRARY_PATH
result : usr/lib:/lib:/lib/dll:/usr/lib/graphics/vmware
but i still get the error : no gpu support

2015-08-29 22:46 GMT+07:00 Hung Tran <hungelc18@gmail.com>:

> Hi Dannis !
> Thank you very much.
> - I used QNX SDP 6.6 runtime ISO for VMWare.Links download here :
> http://www.qnx.com/download/feature.html?programid=26217
> - I installed with many options :
> Guest operating systems : Other.Version : Other.
> Memory : 2GB
> Processors : 4
> Hard Disk (IDE) : 20GB
> - I install qnx-sdp-6.6 and qnx-sdk-for-apps-and-media for windows
> host.And i install patch-660-3875-660-Graphics-GA with applypatch command.
> -  I copy files to VMWare
> Host (under *$QNX_TARGET/*)Virtual machine (under root directory(/) )
> etc/system/config/scaling.confetc/system/config/scaling.conf
> usr/share/gles/textures/brick_wall.tga
> usr/share/gles/textures/brick_wall.tgausr/share/gles/textures/bubble.png
> usr/share/gles/textures/bubble.pngusr/share/images/wallpaper.jpg
> usr/share/images/wallpaper.jpgx86/bin/screeninfobin/screeninfo
> x86/lib/dll/libwfdcfg-sample.solib/dll/libwfdcfg-sample.so
> x86/lib/dll/screen-gles1.solib/dll/screen-gles1.so
> x86/lib/dll/screen-gles2blt.solib/dll/screen-gles2blt.so
> x86/lib/dll/screen-gles2.solib/dll/screen-gles2.sox86/lib/dll/screen-sw.so
> lib/dll/screen-sw.sox86/lib/libgestures.so.1lib/libgestures.so.1
> x86/lib/libinputevents.so.1lib/libinputevents.so.1x86/lib/libkalman.so.1
> lib/libkalman.so.1x86/lib/libmtouch-calib.so.1lib/libmtouch-calib.so.1
> x86/lib/libmtouch-devi.so.1lib/libmtouch-devi.so.1
> x86/lib/libmtouch-fake.so.1lib/libmtouch-fake.so.1
> x86/lib/libmtouch-inject.so.1lib/libmtouch-inject.so.1x86/sbin/gpu_drv
> sbin/gpu_drvx86/sbin/screensbin/screenx86/usr/bin/calib-touch
> usr/bin/calib-touchx86/usr/bin/display_imageusr/bin/display_image
> x86/usr/bin/egl-configsusr/bin/egl-configsx86/usr/bin/eventsusr/bin/events
> x86/usr/bin/font-freetypeusr/bin/font-freetypex86/usr/bin/gles1-gears
> usr/bin/gles1-gearsx86/usr/bin/gles2-gearsusr/bin/gles2-gears
> x86/usr/bin/gles2-mazeusr/bin/gles2-mazex86/usr/bin/gpudbgusr/bin/gpudbg
> x86/usr/bin/print-gesturesusr/bin/print-gesturesx86/usr/bin/screenshot
> usr/bin/screenshotx86/usr/bin/sw-vsyncusr/bin/sw-vsyncx86/usr/bin/vkey
> usr/bin/vkeyx86/usr/bin/yuv-testusr/bin/yuv-test
> x86/usr/lib/graphics/vmware/graphics.conf
> usr/lib/graphics/vmware/graphics.conf
> x86/usr/lib/graphics/vmware/libAtcDecompressor.so
> usr/lib/graphics/vmware/libAtcDecompressor.so
> x86/usr/lib/graphics/vmware/libAtcDecompressor.so.1
> usr/lib/graphics/vmware/libAtcDecompressor.so.1
> x86/usr/lib/graphics/vmware/libegl_gallium.so
> usr/lib/graphics/vmware/libegl_gallium.so
> x86/usr/lib/graphics/vmware/libHwEGL.sousr/lib/graphics/vmware/libHwEGL.so
> x86/usr/lib/graphics/vmware/libHwglapi.so
> usr/lib/graphics/vmware/libHwglapi.so
> x86/usr/lib/graphics/vmware/libHwGLESv1_CM_g.so
> usr/lib/graphics/vmware/libHwGLESv1_CM_g.so
> x86/usr/lib/graphics/vmware/libHwGLESv1_CM.so
> usr/lib/graphics/vmware/libHwGLESv1_CM.so
> x86/usr/lib/graphics/vmware/libHwGLESv2.so
> usr/lib/graphics/vmware/libHwGLESv2.so
> x86/usr/lib/graphics/vmware/libHwGPU.sousr/lib/graphics/vmware/libHwGPU.so
> x86/usr/lib/graphics/vmware/libHwWFDvmware.so
> usr/lib/graphics/vmware/libHwWFDvmware.so
> x86/usr/lib/graphics/vmware/libllvmpipe_drv.so
> usr/lib/graphics/vmware/libllvmpipe_drv.so
> x86/usr/lib/graphics/vmware/libmesa_texcompress_atc.so
> usr/lib/graphics/vmware/libmesa_texcompress_atc.so
> x86/usr/lib/graphics/vmware/libmesa_texcompress_pvrt.so
>...
View Full Message
Attachment: HTML sf-attachment-mime30603 10.13 KB
Re: Screen command failed on QNX 6.6 VMWare  
Hi Tran,

I get the error you're seeing when I don't enable 3D graphics. Does VMWare Workstation allow you to check the box 
despite the "3D accelerations is not supported in this guest operating system" message?  In VMWare Fusion, I'm able to 
do this and then screen is able to start.  What's your host OS?

I don't have TeamViewer.

James
Attachment: Image Screen Shot 2015-08-31 at 10.22.30 AM.png 54.7 KB
Re: Screen command failed on QNX 6.6 VMWare  
Hi James !
Thanks for helping me.Today, i have fixed this problem.It seems like i
install patch graphics error.I'm trying to uninstall this patch and
reinstall it.I try again and succeed.
But i have a problem with deploy Qt Applications to QNX VMWare.I'm trying
to run Qt widget application with no add OpenGL module on QNX 6.6 VMWare
target.It run successfully.Then i'm trying to run Qt widget application
with add OpenGL module and format code is OpenGL ES.I'm run it on QNX 6.6
VMWare with commands :
- run gpu_drv
- run screen (QNX 6.6 VMWare Screen is black).
- run program ./sample_glwidget but nothing happened.
Can you guide me how to deploy Qt Application with OpenGL ES to QNX VMWare ?

2015-08-31 21:26 GMT+07:00 James McDonnell <community-noreply@qnx.com>:

> Hi Tran,
>
> I get the error you're seeing when I don't enable 3D graphics. Does VMWare
> Workstation allow you to check the box despite the "3D accelerations is not
> supported in this guest operating system" message?  In VMWare Fusion, I'm
> able to do this and then screen is able to start.  What's your host OS?
>
> I don't have TeamViewer.
>
> James
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post114385
> To cancel your subscription to this discussion, please e-mail
> general-qt-unsubscribe@community.qnx.com
>
Attachment: HTML sf-attachment-mime30611 2.06 KB
Re: Screen command failed on QNX 6.6 VMWare  
Derived from QOpenGLWidiget?  QNX doesn't support QOpenGLWidget :-(.

Take a look at the slog2 output from the Qt application (slog2info) to see whether this is the case.

Try the openglwindow example instead to see whether OpenGL is working.  Or run the gles2-gears example (not a Qt 
application).
Re: Screen command failed on QNX 6.6 VMWare  
Oh ! Thanks James for your information.I found the libQt5OpenGL in
directory : C:\QNX-qt\Qt-5.3.1-x86\lib.How to use Qt OpenGL on QNX ? Do QNX
support Qt OpenGL on QtQuick ? How to use openglwindow on Qt ? What's
include header files?

2015-08-31 22:46 GMT+07:00 James McDonnell <community-noreply@qnx.com>:

> Derived from QOpenGLWidiget?  QNX doesn't support QOpenGLWidget :-(.
>
> Take a look at the slog2 output from the Qt application (slog2info) to see
> whether this is the case.
>
> Try the openglwindow example instead to see whether OpenGL is working.  Or
> run the gles2-gears example (not a Qt application).
>
>
>
> _______________________________________________
>
> Qt General
> http://community.qnx.com/sf/go/post114387
> To cancel your subscription to this discussion, please e-mail
> general-qt-unsubscribe@community.qnx.com
>
Attachment: HTML sf-attachment-mime30615 1.44 KB
Re: Screen command failed on QNX 6.6 VMWare  
"OpenGL Window Example" is a Qt example that comes with Qt Creator.  It uses direct GL calls to display a spinning 
triangle with a gradient fill.

To setup Qt in the running VM, I usually use an NFS share that maps the Qt base directory from my host to /Qt5 in the VM
 and then do the following exports:
  export QML_IMPORT_PATH=/Qt5/qml
  export QML2_IMPORT_PATH=/Qt5/qml  
  export QT_LIB_PATH=/Qt5/lib  
  export QT_LIBRARY_PATH=/Qt5/lib
  export QT_PLUGIN_PATH=/Qt5/plugins
  export QT_QPA_FONTDIR=/Qt5/lib/fonts
  export QT_QPA_PLATFORM=qnx:nofullscreen
  export QQNX_PHYSICAL_SCREEN_SIZE=277,159
This makes all of Qt available.  You could also copy Qt to the VM.