You are here
The forum
Cannot force Starcraft 2 to use optimus card
Author | Replies |
szalejot | Saturday 15 June 2013 at 13:53 |
szalejot
|
I have Asus K53SV laptop (Intel HD3000 + nVidia GeForce GT540m) with Ubuntu 13.04 installed. I have installed Starcraft 2 Heart of the Swarm under PoL. Works fine.After that I installed Bumblebee, which also works (glxspheres test shows ~60fps, with optirun ~100fps). But in Starcraft 2 I have the same framerate, it goes down to ~15fps when more units fights and all settings are on low. On windows I can play with Ultra textures and High effects and framerate drops to ~28fps. I've added PRE_WINE=optirun to playonlinux.cfg, also tried to run PoL from terminal with optirun command. None of this works, still I have this crap framerate on low settings. If additional info about hardware/system/configuration is needed I can provide it, just tell me what I need to check. Any help will be appreciated. |
Ronin DUSETTE | Saturday 15 June 2013 at 18:54 |
Ronin DUSETTE
|
Take that out of Linux config. That doesnt need to be in there.
Create a desktop shortcut for the game you are using, and then right-click and edit that shortcut. In there, you will see the path to the command. You should be able to just add optirun before the command to start POL and the game. Please: Post debug logs & full computer specs in first post No private messages for general help, use the forums Read the wiki, Report broken scripts |
szalejot | Saturday 15 June 2013 at 22:52 |
szalejot
|
When I made that game does not want to run (sometimes after clicking shortcut nothing happens, sometimes I've got SC2 launcher but after clicking "Play" launcher disappears and game do not launch)
|
Ronin DUSETTE | Saturday 15 June 2013 at 22:57 |
Ronin DUSETTE
|
Hmmmm. Im still new to the whole optirun thing. I know you can just put it before the command, but Im not too sure on how to work the shortcuts any other way. I dont happen to have a device that requires it. Be a little patient, though. Im sure that someone will chime in regarding. Ill also respond if I have any other information.
Please: Post debug logs & full computer specs in first post No private messages for general help, use the forums Read the wiki, Report broken scripts |
szalejot | Sunday 16 June 2013 at 9:30 |
szalejot
|
Ok, I have ran shortcut command in terminal, here is output: (command 'optirun /usr/share/playonlinux/playonlinux' and than starting SC2 from PoL window works)
michal@michal-laptop:~$ optirun /usr/share/playonlinux/playonlinux --run "SC2" ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'librrfaker.so' from LD_PRELOAD cannot be preloaded: ignored. [POL_System_CheckFS] Message: Checking filesystem for StarCraft II.exe [POL_Wine_SetVersionEnv] Message: Setting wine version path: 1.5.26, x86 [POL_Wine_SetVersionEnv] Message: "/home/michal/.PlayOnLinux//wine/linux-x86/1.5.26" exists [POL_Wine] Message: Running wine-1.5.26 StarCraft II.exe [POL_Wine] Message: Notice: PlayOnLinux deliberately disables winemenubuilder. See http://www.playonmac.com/fr/page-26-Winemenubuilder.html Argument[0]: 'C:/users/Public/Application Data/Battle.net/Agent/Agent.1737/Agent.exe' Argument[1]: '--locale=enUS' Agent is running as Administrator. Database Insert: /option Database Insert: /agent Database Insert: / Database Insert: /version Database Insert: /repair Database Insert: /update Database Insert: /game/s2_enus Database Insert: /uninstall Database Insert: /install Database Insert: /gamesession Database Insert: /agent/download Database Insert: /backfill Database Insert: /game Database Insert: /createshortcut Database Insert: /game/client Database Insert: /spawned Database Insert: /agent/download Database Insert: /register Initialize HttpProtocol Server Called. Agent started on port #1120 Executing operation: disable_firewall applicationPath="C:\\users\\Public\\Application Data\\Battle.net\\Agent\\Agent.1737\\Agent.exe" applicationName="Battle.net Update Agent" Firing Event: "database flush event" Request Issued: GET /agent Response: 200 { "update" : {}, "install" : {}, "backfill" : {}, "pid" : 49.000000, "state" : 1007.000000, "version" : "1.6.0.1737", "type" : "retail", "opt_in_feedback" : false, "authorization" : "89E393BF38C660338618ED417C1790B5" } Request Issued: GET /game Response: 200 { "client" : { "link" : "/game/client" }, "s2_enus" : { "link" : "/game/s2_enus" } } Request Issued: GET /agent Response: 200 { "update" : {}, "install" : {}, "backfill" : {}, "pid" : 49.000000, "state" : 1007.000000, "version" : "1.6.0.1737", "type" : "retail", "opt_in_feedback" : false, "authorization" : "89E393BF38C660338618ED417C1790B5" } Request Issued: GET /game/client AgentAsAdmin failed to add a firewall exception for 'C:\\users\\Public\\Application Data\\Battle.net\\Agent\\Agent.1737\\Agent.exe'. Registered Periodic Event: "auth validation event" with a resolution of 10000 and a start delay of 10000 Registered Event: "shutdown event" Registered Event: "database flush event" Response: 200 { "uid_override" : "battle.net", "install_dir" : "C:/users/Public/Application Data/Battle.net/Client", "expansion_level" : 0.000000, "current_version" : 1974.000000, "local_version" : "0.5.2.1974", "opaque_product_specific" : { "ui" : "hots" }, "supports_multibox" : true, "switcher" : true, "use_sparse" : false, "operations" : [], "playable" : true, "ever_playable" : true, "last_played" : 0.000000, "update_progress" : 0.000000, "needs_rebase" : false, "product" : "Clnt", "update_method" : "client update", "patch_url" : "http://enUS.patch.battle.net:1119/patch", "patch_url_beta" : "", "config_url" : "", "mfil_hash" : "00000000000000000000000000000000", "torrent_hash" : "00000000000000000000000000000000", "alternate" : false, "supports_offline" : true, "patch_application_complete" : false, "download_complete" : false, "background_download_available" : false, "background_download_complete" : false, "perform_ogg_to_wav" : false, "baseline" : "" } Request Issued: GET /game/s2_enus PostTo succeeded status: 0 for url: http://enUS.patch.battle.net:1119/patch Post Data: Post Response: http://attdist.blizzard.com/sc2patch/update/B16117-5C52FCF1/sc2-1-22280-x86-Win-enUS-bnet-bin-component-dl;sc2-1-22280-x86-Win-enUS-bnet-bin-component-dl;69B17A0F007E49F5B37E2876C87A17DA;22280 dist.blizzard.com.edgesuite.net|llnw.blizzard.com ;;1737;0;1737 Response: 200 { "uid_override" : "", "install_dir" : "C:/Program Files/StarCraft II", "selected_locale" : "enUS", "selected_asset_locale" : "enUS", "expansion_level" : 2.000000, "current_version" : 25604.000000, "local_version" : "2.0.8.25604", "opaque_product_specific" : {}, "supports_multibox" : false, "switcher" : true, "use_sparse" : false, "operations" : [], "playable" : true, "ever_playable" : true, "last_played" : 0.000000, "update_progress" : 1.000000, "needs_rebase" : false, "product" : "S2", "update_method" : "patch on demand", "patch_url" : "http://EU.patch.battle.net:1119/patch", "patch_url_beta" : "http://public-test.patch.battle.net:1119/patch", "config_url" : "http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/s2-24621-164D664E6A79442FD8488D79C79C752B.xml", "mfil_hash" : "D1EA87F627B43684BA614EA3ED844047", "torrent_hash" : "8AB9CD9398A3B5D2FD00F1E4A1EBB2DA", "alternate" : false, "supports_offline" : true, "installed_locales" : [ "enUS" ], "display_locales" : [ "enUS", "esMX", "ptBR", "deDE", "enGB", "esES", "frFR", "itIT", "plPL", "ruRU", "koKR", "zhTW" ], "patch_application_complete" : true, "download_complete" : true, "background_download_available" : false, "background_download_complete" : false, "perform_ogg_to_wav" : false, "baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-us-win-B8F7E8559017DE50FA32CC1CD5F4B83C.torrent" } Request Issued: POST /version {"uid":"client"} Database Insert: /version/client Response: 200 { "response_uri" : "/version/client" } Request Issued: POST /version {"uid":"s2_enus"} Database Insert: /version/s2_enus Response: 200 { "response_uri" : "/version/s2_enus" } Request Issued: GET /agent Response: 200 { "update" : {}, "install" : {}, "backfill" : {}, "pid" : 49.000000, "state" : 1004.000000, "update_applied" : true, "playable" : true, "patch_application_complete" : true, "download_complete" : true, "version" : "1.6.0.1737", "type" : "retail", "opt_in_feedback" : false, "authorization" : "89E393BF38C660338618ED417C1790B5" } Request Issued: GET /version/client Response: 200 { "state" : 1007.000000, "local_version" : "0.5.2.1974", "playable" : true, "needs_rebase" : false, "current_version" : 1974.000000, "build" : 1974.000000, "patch_application_complete" : false, "download_complete" : false, "background_download_available" : false, "background_download_complete" : false } Request Issued: POST /gamesession { "uid" : "client", "launch_arguments" : [ "--gamepath=C:\\\\Program Files\\\\StarCraft II", "--game=s2_enus" ] } Agent::Product::StartSession() - Begin Waiting Agent::Product::StartSession() - End Waiting Launched C:/users/Public/Application Data/Battle.net/Client/Blizzard Launcher.exe as PID: 47 w/ --gamepath=C:\\Program Files\\StarCraft II --game=s2_enus ********************************************** GameSession BringToFrontFunc: hasChild: true, pid 47, childPid 0. PostTo succeeded status: 0 for url: http://enUS.patch.battle.net:1119/patch Post Data: Post Response: http://attdist.blizzard.com/sc2patch/update/B16117-5C52FCF1/sc2-1-22280-x86-Win-enUS-bnet-bin-component-dl;sc2-1-22280-x86-Win-enUS-bnet-bin-component-dl;69B17A0F007E49F5B37E2876C87A17DA;22280 dist.blizzard.com.edgesuite.net|llnw.blizzard.com ;;;; http://dist.blizzard.com.edgesuite.net/tools-pod/Blob.1949.Client05HotS;;1D7DEBDC0824E2B0426E39C72ED015ED;0 Firing Event: "database flush event" Handle Event: "database flush event" Database Insert: /gamesession/client Database Insert: /gamesession/client/1 Response: 200 { "response_uri" : "/gamesession/client" } Request Issued: GET /version/s2_enus Response: 200 { "state" : 1007.000000, "local_version" : "2.0.8.25604", "playable" : true, "needs_rebase" : false, "current_version" : 25604.000000, "build" : 25604.000000, "patch_appl[POL_Wine] Message: Wine return: 0 michal@michal-laptop:~$ ication_complete" : true, "download_complete" : true, "background_download_available" : false, "background_download_complete" : false } Response: 200 (null) CheckChildPid: found child pid: 68 using path ntdll.dll. PostTo succeeded status: 0 for url: http://EU.patch.battle.net:1119/patch Post Data: Post Response: http://attdist.blizzard.com/sc2patch/update/B16117-5C52FCF1/sc2-1-22280-x86-Win-enGB-bnet-bin-component-dl;sc2-1-22280-x86-Win-enGB-bnet-bin-component-dl;68D030FE44DF8E6D860A53BCF3A0931E;22280 dist.blizzard.com.edgesuite.net|llnw.blizzard.com http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/s2-24621-164D664E6A79442FD8488D79C79C752B.xml;8AB9CD9398A3B5D2FD00F1E4A1EBB2DA;D1EA87F627B43684BA614EA3ED844047;25604 http://dist.blizzard.com.edgesuite.net/sc2-pod/Blob.24621.Swarm20Rebase;03A2273E0D8F6508F09EDBCCEB3BE027;5EA8056A81CA3F1AB47F4619DD363689;0 Firing Event: "database flush event" Handle Event: "database flush event" Handle Event: "auth validation event" Registered Periodic Event: "shutdown event" with a resolution of 10000 and a start delay of 10000 GameSession: Could not set the process of the pid 47/child-pid 68 to the foreground. Handle Event: "shutdown event" Handle Event: "auth validation event" Agent is shutting down Firing Event: "database flush event" Database Remove: /option Database Remove: /gamesession/client Database Remove: /gamesession/client/1 Queue 'default' Resource for delete Deferred delete of 'default' Resource Database Remove: /version/s2_enus Deferred delete of 'default' Resource completed Database Remove: /agent Queue 'download' Resource for delete Deferred delete of 'download' Resource Database Remove: /version/client Deferred delete of 'download' Resource completed Database Remove: / Database Remove: /register Queue 'registerroot' Resource for delete Deferred delete of 'registerroot' Resource Database Remove: /game Deferred delete of 'registerroot' Resource completed Database Remove: /game/client Queue 'game' Resource for delete Deferred delete of 'game' Resource Database Remove: /game/s2_enus Deferred delete of 'game' Resource completed Queue 'game' Resource for delete Deferred delete of 'game' Resource Deferred delete of 'game' Resource completed Queue 'gameroot' Resource for delete Deferred delete of 'gameroot' Resource Database Remove: /repair Deferred delete of 'gameroot' Resource completed Queue 'repairroot' Resource for delete Deferred delete of 'repairroot' Resource Deferred delete of 'repairroot' Resource completed Queue 'agentroot' Resource for delete Deferred delete of 'agentroot' Resource Database Remove: /gamesession Queue 'composite' Resource for delete Queue 'gamesessionroot' Resource for delete Database Remove: /backfill Queue 'backfillroot' Resource for delete Database Remove: /spawned Queue 'spawnedroot' Resource for delete Deferred delete of 'agentroot' Resource completed Queue 'optionroot' Resource for delete Deferred delete of 'composite' Resource Database Remove: /version Deferred delete of 'composite' Resource completed Queue 'async_task' Resource for delete Deferred delete of 'gamesessionroot' Resource Deferred delete of 'gamesessionroot' Resource completed Queue 'async_task' Resource for delete Deferred delete of 'backfillroot' Resource Deferred delete of 'backfillroot' Resource completed Queue 'versionroot' Resource for delete Deferred delete of 'spawnedroot' Resource Database Remove: /update Deferred delete of 'spawnedroot' Resource completed Queue 'updateroot' Resource for delete Deferred delete of 'optionroot' Resource Database Remove: /createshortcut Deferred delete of 'optionroot' Resource completed Deferred delete of 'async_task' Resource Queue 'createshortcut' Resource for delete Database Remove: /uninstall Deferred delete of 'async_task' Resource completed Deferred delete of 'async_task' Resource Queue 'uninstallroot' Resource for delete Database Remove: /install Deferred delete of 'async_task' Resource completed Deferred delete of 'versionroot' Resource Deferred delete of 'versionroot' Resource completed Deferred delete of 'updateroot' Resource Deferred delete of 'updateroot' Resource completed Deferred delete of 'createshortcut' Resource Deferred delete of 'createshortcut' Resource completed Deferred delete of 'uninstallroot' Resource Deferred delete of 'uninstallroot' Resource completed Deferred delete of 'installroot' Resource Deferred delete of 'installroot' Resource completed Queue 'installroot' Resource for delete Deferred delete of 'root' Resource Deferred delete of 'root' Resource completed Queue 'root' Resource for delete Database Remove: /agent/download Deferred delete of 'download' Resource Deferred delete of 'download' Resource completed Queue 'download' Resource for delete Deleting remaining resources [VGL] ERROR: Could not open display :8. |
This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com