element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Raspberry Pi
  • Products
  • More
Raspberry Pi
Forum WINE Support
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 9 replies
  • Subscribers 143 subscribers
  • Views 276 views
  • Users 0 members are here
  • dvr
  • security
  • wine
  • windows
Related

WINE Support

Former Member
Former Member over 10 years ago

[Forgive me for such a noob question.  I'm not well versed in Linux and have never tried to use WINE.  That said...]

 

Will the RPi support an installation of WINE; specifically WINE running ContaCam?

 

I am interested in running ContaCam (http://www.contaware.com), a Security Serveillance application with motion detection, DVR, integrated web server, supporting webcams, WDM and DV, and IP cameras.  It's feature set is exactly what I need and I am familiar with the application.  I know ContaCam will run in WINE, but I have no idea if WINE will run on RPi and even if it will then are the resources required by ContaCam available.  When looking at Windows Task Manager, I see that ContaCam is taking about 65,000 K in resources.

 

Thanks in advance,

Andrew

  • Reply
  • Cancel
  • Cancel

Top Replies

  • Former Member
    Former Member over 10 years ago in reply to bodgy +1

    No, Wine won't run - at all.  Wine only runs on x86 systems, it is not a processor emulator and cannot translate x86 code into Arm code, it only provides an alternative API implementation for Windows…

  • fustini
    fustini over 10 years ago

    Interesting question.  I've seen a few folks asking if it will run Windows which it definately can not.  However, if their interest is to run a specific Windows app like you, then I could see how WINE could be a good solution.

     

    There is a developer VM that Russell Davis created which allows folks to get started building software for the Raspberry Pi on their x86 computers.  You might want to check it out and see if WINE is an available package for either of the existing RPi distros (the VM includes all 3).  If not, you can try to compile compile it in the VM.  Here's more info on the dev VM:

     

    http://www.element14.com/community/message/47127

     

    Cheers,

    Drew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to fustini

    Thanks.  I was thinking of trying the VMs, but thought I'd ask first.  I've used VMs quite a few times, but never paid much attention to the RAM & CPU settings.  If I recall, they default to a percentage of the RAM that I have avaliable and utilize as much CPU as they can.  I guess I'll need to look and see if these VMs throttle these settings to something realistic for RPi (256mb/700mHz).

     

    Thanks again,

    Andrew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • fustini
    fustini over 10 years ago in reply to Former Member

    Actually, I just realized that I wasn't thinking about ARM versus x86.  I think a Windows x86 VM wouldn't run on an ARM device like the Pi (and memory would probably be an issue, too).

     

    I also suspect that a x86 Windows app wouldn't run on ARM with WINE either.  But one way to find out would be to use the developer VM to try to compile WINE for the Raspberry Pi.  (The point of the developer VM is that is has scratchbox setup which allows you to build [aka cross-compile] software for any of the 3 ARM Linux distros available for the Raspberry Pi.)

     

    Cheers,

    Drew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to fustini

      I guess it comes back around to my original question, "Will the RPi support an installation of WINE..."?  I can do the experimentation myself, but if someone already knows the answer then it will let me use the time to move on to other areas of the project.

     

    And if it turns out that ContaCam can't be run then I'm open to suggestions of a reasonably full featured application that will at the least detect motion (with sensitivity adjustments), capture still images of the triggering event, and capture video of the triggering event.

     

    Thanks again,

    Andrew

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • bodgy
    bodgy over 10 years ago in reply to Former Member

    I vaguely recall a university project called CUCAM which might have the souce code available for cross compile.  Somewhere I think I have the bundle downloaded.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • bodgy
    bodgy over 10 years ago in reply to fustini

    I know I'm going to have to go to the foot of my stairs and hang my head in shame, but I wonder if the Windows 8 Arm OS due out later this year would be capable of running on a Pi or similar.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 10 years ago in reply to bodgy

    No, Wine won't run - at all.  Wine only runs on x86 systems, it is not a processor emulator and cannot translate x86 code into Arm code, it only provides an alternative API implementation for Windows OS calls.

     

    No, Windows 8 won't run - at all.  MS only permit Win8 to run on Arm systems that are designed ONLY to run Win8 and which prevent any other OS being installed to replace it - clearly not the Raspberry Pi, then.

     

    The answer to both these questions is in http://www.raspberrypi.org/faqs - sorry it's not the news you were hoping for, but no chance.

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Think about it. You have 256MB RAM. You then want to run Wine on it, and Windows on top of that and some Windows applications on top of that. Even if Wine did work your Pi would melt under the strain. If you want to run Windows applications the solution is to get a PC.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 10 years ago

    Read the FAQs    Doh!  I totally missed it.  I should perform text searches instead of just scanning the list.

     

    For the memory issue, I was thinking of running Wind2K, which is pretty light.  But I had/have no idea of the weight of Linux or WINE, or how efficient Linux/WINE could swap memory to a card.  In the long run, it doesn't matter as ARM is the limiting factor.

     

    The light is slowly coming on...  I just hadn't realized how limiting ARM might be.  So far I haven't found existing motion detection software that runs on ARM.  I hope it doesn't kill my project before it gets off the ground.

     

    Thank you  RorschachUK for pointing me to the definitive answer.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube