MrMEEE / bumblebee-Old-and-abbandoned

OUTDATED!!!!! - Replaced by "The Bumblebee Project" and "Ironhide"
http://www.martin-juhl.dk/2011/08/ironhide-reporting-for-duty/
467 stars 49 forks source link

Problem with wine + Starcraft II #605

Closed LinuxFan closed 12 years ago

LinuxFan commented 12 years ago

Hi,

this is my first post. I'm using an ASUS U46S notebook with nVidia Geforce GT 540M, with Ubuntu 11.04 on it, and bumblebee (2.2.0-1~nattyubuntu10d ).

Starting any programs works without problems so far but I have trouble with starting applications through wine e.g. Starcraft II (wine 1.2.2). When I try to run it from terminal by "optirun32 wine StarCraft\ II.exe" (from the folder the game was installed to and where the executable file is placed), i get:

wine: cannot find L"C:\windows\system32\StarCraft.exe"

I would think it to be a wine issue, but giving the command "wine Starcraft\ II.exe" works perfectly (exept the extremly low framerate in game). So this seems to happen only when running wine through optirun. Creating an application launcher in the menu and running it from the UI doesn't help either. I also tried variations like

optirun32 wine ./StarCraft\ II.exe or optirun32 wine "StarCraft\ II.exe"

none of them seemed to work.

Now doing a clean install of Ubuntu 11.04 see if this helps.

Apart from that running glxgears through optirun64 shows somewhat lower framerate than usual for nVidia drivers (around 1663 frames in 5.0 seconds = 332.599 FPS compared to far higher framerate on my older notebook). Is this normal or how do I fix this if it's not. Any detailed information on how to setup an nvidia driver (and which one) after installing bumblebee (or additionally to it), would be helpful.

I apologize if this issue(s) was/were already solved, but I haven't found anything on the internet that would match my problem.

Thanks for your help and any answers

ghost commented 12 years ago

I think that's some kind of path problem I managed to solve by putting Starcraft II into the .wine folder and renaming everything to get rid of spaces in file paths (which I didn't know how to work with in wine-paths, where everything is backslash already).

I then ran: optirun64 /usr/bin/wine "C:\Games\StarcraftII\StarcraftII.exe -opengl" opengl the result was: IO: fatal IO error 11 (Resource temporarily unavailable) on X server ":8" after 7 requests (7 known processed) with 0 events remaining.

Can you reproduce that, LinuxFan?

Still didn't get me to run SC II, though :(

LinuxFan commented 12 years ago

thanks for your answer, i'll try to rename everything space-free, and then see if I get that error too (though it's strange that anything works without involving optirun)

have u any ideas on that low glxgears framerate btw? examination of 'optirun nvidia-settings -c :8' tells me the current driver version is 280.03 but the framerate seems far too low (maybe wrong module or sth). perhaps there's a way to ensure I got the latest proprietary driver for nvidia working? (not nouveu or sth)

UPDATE: @floi: I tried to reproduce your error, and I get the same message as u do, when i run it like "optirun32 wine StarcraftII.exe". If I run it like you did, I just get:

ERROR: Module nvidia is in use Error: could not unload nvidia module, leaving card turned on

when I run it my way I get those lines too, additionally to the error you posted, but I get that error only when using optirun32, when I'm using optirun64 I get the message "An error occurred starting StarCraft II. Please try again." in a wine window and one of the terminal lines says : "Direct3D9 is not availiable without OpenGL"

The message occuring when running wine through optirun32 seems to be some variation of the bug which was (according to github) fixed in https://github.com/MrMEEE/bumblebee/issues/266

Apart from that the crash while using optirun64 seems to occure due to some nVidia 3D acceleration issue. (Still looking for information about getting the latest proprietary nvidia driver to run with bumblebee, any answeres would be usefull)

ArchangeGabriel commented 12 years ago

Please try the new version here : https://github.com/Bumblebee-Project/Bumblebee.