I have finally encountered this problem in such a way that everything went awry.
Running Simcity 4 Rush Hour with the following command line:
env WINEPREFIX="/home/john/.wine" wine C:\\PROG\~FBU\\Maxis\\SIMC\~ZMW\\Apps\\SimCity\ 4.exe -intro:off
Which brought up the game, just fine.
I opened my largest city, and very soon after that, while I was adding something to the layout, the graphics went totally mad. I started getting blocks of four colours (RBGK) everywhere. So I did a save and quit to region. The region map was a mash of colours, mostly red. So I quit the game.
At this point, I noticed that my upper panel was different. Its style had reverted to some kind of default, and the icons were different, and the background was not of the theme I was using. I had originally reset to use metacity to reduce the graphics load.
The O/S is UBUNTU 10.04 with current updates and wine 1.2 (just released).
So, I did a restart. When the system reloaded and I logged on, I found that my ethernet link icon on the panel had been corrupted?? I stooged around a bit, but found nothing. So a did another boot. At this point, I got everything back to normal.
I am now in a quandary. Could this be a wine problem, or a Linux problem. Its easy to point fingers, but that's not the way to get the solution. So, I am starting here.
Simcity 4 is a legacy program written (released) in 2002. It knows nothing from modern paging techniques, etc. It fails if you have any special graphics funtions turned on in your GPU. It doesn't even understand anti-aliasing. Multiple processors kill it, and it crashes to the desktop. If there is any kind of memory or virtual memory hiccup, it crashes to the desktop.
I have run this program for many years on XP and had nothing happen like this. The interesting thing is that the operating system did not protect itself and was stepped on. To really get a handle on this, I need someone who has an intimate knowledge of how memory management is done in Linux and what, if anything, wine does to make its programs work correctly.
Help!
John Winterton, CCP (retired).
This could be a multiple supplier problem
-
- Level 4
- Posts: 217
- Joined: Sun May 09, 2010 5:53 pm
This could be a multiple supplier problem
On 07/20/2010 12:01 PM, A Nonny Moose wrote:
however, in this case WINE will automatically target your .wine
directory by default. Only in the case of installing to a non-default
path such as:
/home/john/wine/simcity_4
would setting WINEPREFIX be necessary.
with WINE on and off for the last four years. I think I saw the
graphical symptom you described on one occasion a long time ago while
using Debian or Ubuntu. I do not recall that I did anything to fix the
matter, in fact I think I just quit playing the game for awhile.
Resetting your window management to metacity is a very good idea
whenever using any WINE program. Usually programs with simple graphics
do not have a problem, e.g. Original StarCraft/Brood War will run
flawlessly with no graphical errors whatsoever under Compiz Fusion. But
its a bad idea to assume this is true for every program. Maxis really
does some strange stuff anyway. Always reset to metacity before
launching that game and see if the same error ever repeats.
Currently, I will see minor screen drawing bugs when zoning (which
disappear after committing the zone), and sometimes Sims and Sim
vehicles aren't visible or only partially visible at certain zoom levels
(shadow/masking error?). Its still playable for me though. I also do not
use Ubuntu. I use Archlinux.
Bryan
Its good practice to specify WINEPREFIX with your terminal command,I have finally encountered this problem in such a way that everything went awry.
Running Simcity 4 Rush Hour with the following command line:
env WINEPREFIX="/home/john/.wine" wine C:\\PROG\~FBU\\Maxis\\SIMC\~ZMW\\Apps\\SimCity\ 4.exe -intro:off
however, in this case WINE will automatically target your .wine
directory by default. Only in the case of installing to a non-default
path such as:
/home/john/wine/simcity_4
would setting WINEPREFIX be necessary.
I have SimCity 4 installed on my PC as well. I've probably played itWhich brought up the game, just fine.
I opened my largest city, and very soon after that, while I was adding something to the layout, the graphics went totally mad. I started getting blocks of four colours (RBGK) everywhere. So I did a save and quit to region. The region map was a mash of colours, mostly red. So I quit the game.
At this point, I noticed that my upper panel was different. Its style had reverted to some kind of default, and the icons were different, and the background was not of the theme I was using. I had originally reset to use metacity to reduce the graphics load.
The O/S is UBUNTU 10.04 with current updates and wine 1.2 (just released).
So, I did a restart. When the system reloaded and I logged on, I found that my ethernet link icon on the panel had been corrupted?? I stooged around a bit, but found nothing. So a did another boot. At this point, I got everything back to normal.
I am now in a quandary. Could this be a wine problem, or a Linux problem. Its easy to point fingers, but that's not the way to get the solution. So, I am starting here.
Simcity 4 is a legacy program written (released) in 2002. It knows nothing from modern paging techniques, etc. It fails if you have any special graphics funtions turned on in your GPU. It doesn't even understand anti-aliasing. Multiple processors kill it, and it crashes to the desktop. If there is any kind of memory or virtual memory hiccup, it crashes to the desktop.
I have run this program for many years on XP and had nothing happen like this. The interesting thing is that the operating system did not protect itself and was stepped on. To really get a handle on this, I need someone who has an intimate knowledge of how memory management is done in Linux and what, if anything, wine does to make its programs work correctly.
with WINE on and off for the last four years. I think I saw the
graphical symptom you described on one occasion a long time ago while
using Debian or Ubuntu. I do not recall that I did anything to fix the
matter, in fact I think I just quit playing the game for awhile.
Resetting your window management to metacity is a very good idea
whenever using any WINE program. Usually programs with simple graphics
do not have a problem, e.g. Original StarCraft/Brood War will run
flawlessly with no graphical errors whatsoever under Compiz Fusion. But
its a bad idea to assume this is true for every program. Maxis really
does some strange stuff anyway. Always reset to metacity before
launching that game and see if the same error ever repeats.
Currently, I will see minor screen drawing bugs when zoning (which
disappear after committing the zone), and sometimes Sims and Sim
vehicles aren't visible or only partially visible at certain zoom levels
(shadow/masking error?). Its still playable for me though. I also do not
use Ubuntu. I use Archlinux.
Bryan
-
- Level 4
- Posts: 217
- Joined: Sun May 09, 2010 5:53 pm
I am beginning to feel like Schroedinger's cat. (meoxh)
I ran again to try and get some definitive logs. Well, I got a wonderful log containing all kinds of stuff I don't yet understand. It is 9MB long, which is a lot of reading. I compressed it into a .tar.gz and it went to 36.tK. If anyone is interested, I could put it on my private web site as an FTP:// file.
Meanwhile, I guess I have a lot of reading to do.
Meanwhile, I guess I have a lot of reading to do.
Re: This could be a multiple supplier problem
I've been playing SimCity 4 Deluxe off and on for a couple of years in Wine. I bind the process to one core and run it in a virtual desktop. No crashes, and the only graphical issue I have is the occasional flickering tooltips, which is known to be a problem with nvidia cards.A Nonny Moose wrote: Simcity 4 is a legacy program written (released) in 2002. It knows nothing from modern paging techniques, etc. It fails if you have any special graphics funtions turned on in your GPU. It doesn't even understand anti-aliasing. Multiple processors kill it, and it crashes to the desktop. If there is any kind of memory or virtual memory hiccup, it crashes to the desktop.
The command I use to start it:
Code: Select all
taskset -c 0 env WINEPREFIX=/home/dimesio/sc4 wine '/home/dimesio/sc4/drive_c/Program Files/Maxis/SimCity 4 Deluxe/simcity 4.exe' -d:opengl -intro:off