You are not logged in.
Since moving from Ubuntu to Arch late last year I have been using GNOME. After having a number of suspend and blank screen issues I decided to give the Enlightenment desktop environment a spin. I like many things about it and it's ability to be customized. However, I am noticing lower framrates with Dota 2 and other Steam games. I tried switching off compositing and switch from OpenGL to software compositing. This helped somewhat but the games are still not as smooth as when I run them from GNOME. There is very little documentation I can find online about Enlightenment, so I turn to the awesome Arch forums!
"Melody reigns supreme!"
-J. J. Johnson
Offline
For the best performance you could run them in a VT. That's what I do since my computer is already underpowered. This runs them in on their own X server.
https://wiki.archlinux.org/index.php/Ru … _X_display
If you do make sure your user is in the sound group or you won't be able to hear anything.
Offline
Interesting...can I launch steam with this and then run a game from there, or should I be launching the game itself? For instance, the desktop shortcut for Dota 2 uses the command
steam steam://rungameid/570so according to this Arch Wiki page, I should use this command?
xinit "steam steam://rungameid/570" -- :10"Melody reigns supreme!"
-J. J. Johnson
Offline
When I was trying that I had to use 'sudo' which would almost definitely mess with your games. I used the script that is on that page and only tweaked 1 line I think to make it work properly.
Here's my xrun,
http://bpaste.net/show/241543/
I just had to add sudo to fgconsole to get the next available VT.
Try it out.
Offline
Interesting. I guess I'm a noob. I don't know quite what to do with this. I don't see the line you changed. Which line would I change to run Dota? Thanks for the help! I save the file as .sh?
"Melody reigns supreme!"
-J. J. Johnson
Offline
You can save it as whatever you want, I called it xrun. The line I changed is line 4 because fgconsole doesn't work correctly for me without sudo.
The script there gives you control to run stuff in a simple way without having to type out a long command every time. So you don't have to change any lines for a different program. So the usage would be
xrun COMMAND
#example
xrun minecraftAs long as xrun is in your path it will work. If it's not, you just have to move to the directory the file is in and run ./xrun COMMAND. You could put it in /usr/local/bin and then sudo chmod +x /usr/local/bin/xrun to make it exucutable. Then you can call it from anywhere.
For you it would probably be `xrun "steam steam://rungameid/570"`
And you could alias that in .bashrc
alias dota2 = 'xrun "steam steam://rungameid/570"'
Then all you need to run it from command line is dota2.
Offline
Thank you again for the help, Kopkins. I tried all of this and am running into this error:
setversion 1.4 failed: Permission denied"Melody reigns supreme!"
-J. J. Johnson
Offline
I found that the xrun script didn't work for me with a playonlinux game, so I logged out of KDE, logged into console, startx'ed and ran my game thru the terminal. Ran fine, but I didn't have any difference in fps's. It was a good exercise in scripting for me, though.
An old man, trying to stay sane
Offline