| Author |
Message |
|
J V
|
Posted: Sat Apr 28, 2012 10:04 am |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
FYI - FFMPEG is deprecated, now you're supposed to use avconv
Code: avconv \ -f x11grab -r 30 -s hd1080 -i :0.0 \ -f alsa -ac 2 -i pulse \ -vcodec libx264 -vf 'scale=-1:720' -pre:v lossless_ultrafast \ -acodec libmp3lame \ -y out.avi Lot faster than ffmpeg too
|
|
 |
|
 |
|
kevin89
|
Posted: Sat Apr 28, 2012 10:17 am |
|
 |
| Level 1 |
 |
|
|
Joined: Fri Apr 27, 2012 3:37 pm Posts: 8
|
|
Could you also post your winecfg and other possible tweaks if your game runs at a decent rate?
For example, emulate virtual desktop? Which windows version etc?
Still trying to get my framerate up..
|
|
 |
|
 |
|
Astohan
|
Posted: Sat Apr 28, 2012 11:10 am |
|
 |
| Level 1 |
 |
|
|
Joined: Wed Apr 25, 2012 6:14 am Posts: 8
|
|
Well, Winecfg is set to Windows 7, no emulate virtual desktop.
I am using one specific regedit tweaks I did for Guild Wars 1:
UseGLSL=disabled
If set on enable, this option causes low framerate each time I turn the camera, at least on GW1 (I don't want to test if it's still true for GW2).
|
|
 |
|
 |
|
J V
|
Posted: Sat Apr 28, 2012 11:38 am |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
|
Using stock 1.5.1 /w VideoMemorySize=2048 and it works like a charm.
No other tweaks (AlwaysOfsscreen, UseGlsl etc) did anything of note. It's really the game's performance that's the problem.
|
|
 |
|
 |
|
Illiander
|
Posted: Sat Apr 28, 2012 3:42 pm |
|
 |
| Level 2 |
 |
|
|
Joined: Thu Apr 26, 2012 12:53 pm Posts: 16
|
|
Is anyone else getting an occasional crash while playing, rather than when downloading?
|
|
 |
|
 |
|
J V
|
Posted: Sat Apr 28, 2012 4:02 pm |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
|
I got fairly frequent (one an hour or so) crashes before setting video memory manually, try that.
Since then I've had maybe 2 in 10 hours of gameplay
|
|
 |
|
 |
|
Chris-WF
|
Posted: Sat Apr 28, 2012 4:57 pm |
|
 |
| Level 2 |
 |
|
|
Joined: Sun Dec 12, 2010 5:30 am Posts: 28
|
|
Hi, i don't know if it's disabled in the 2704-Beta or it is a wine-Bug:
No ingame-shop and no Market-Place between Players (the auctioneers) are available.
The Player should send or sale items from his daily work during gameplay - and i can't do this.
Reason could be a Server-Termeout but there are pictures available from this shop, cause this Beta have no NDA. So i suppose Wine have some bugs.
|
|
 |
|
 |
|
J V
|
Posted: Sat Apr 28, 2012 5:20 pm |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
Quote: KNOWN ISSUES
Commerce The Gem Store and the Trading Post may not be viewable by some players.
I wouldn't worry about it just yet.
|
|
 |
|
 |
|
J V
|
Posted: Sat Apr 28, 2012 10:00 pm |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
|
 |
|
 |
|
lensor
|
Posted: Sun Apr 29, 2012 6:59 am |
|
 |
| Level 2 |
 |
|
|
Joined: Thu Mar 22, 2012 4:00 pm Posts: 13
|
J V wrote: http://www.youtube.com/watch?v=-g6smwwtSEo - 10 minutes of linux gameplay (With commentary)
Perfect. Flawless. Fantastic.
Nuff said.
Can I ask how you recorded that? I get the same flawless performance in-game, but cannot seem to record it proper (choppy video and out-of-sync sound  ).
I have tried to specifically look at things like shadows, reflections, zooming, texture changes etc. Basically stuff that works "iffy" for GW1 (which uses the same basic engine), but everything looks really good.
My setup for the interested:
wine 1.5.3, emulating Win7 (allow the windows manager to capture the window, no special regedits etc)
Pulseaudio
Linux 3.3.3-1-ARCH
Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel GNU/Linux
Nvidia GeForce GTX570 (driver version 295.40)
12 (6x2) GB 1333 MHz
SSD HD
|
|
 |
|
 |
|
J V
|
Posted: Sun Apr 29, 2012 7:29 am |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
I recorded with avconv (ffmpeg's new version)
You need a compositing window manager for it to turn up right as it pulls straight from xorg rather than buffering or drawing from the game.
Suffice to say: It's one fast recorder
(PS: Shadows work fine in GW1 on the latest nvidia driver I've found)
This is the script I used, I'll go over each line for you:
Code: #!/bin/bash avconv \ -f x11grab -r 30 -s hd1080 -i :0.0 \ -f alsa -ac 2 -i pulse \ -f alsa -ac 2 -i hw:0,0 \ -map 0:0 -map 1:0 -map 2:0 \ -vcodec libx264 -vf 'scale=-1:720' -pre:v lossless_ultrafast \ -acodec libmp3lame \ -y $@ Code: avconv \ # start the program -f x11grab -r 30 -s hd1080 -i :0.0 \ # Create input type "x11grab" framerate 30 size 1080p (Lots of options and manual available there) input from :0.0 server -f alsa -ac 2 -i pulse \ # Create audio input type "alsa" with 2 channels from "pulse" (Set default pulse input to "Monitor of internal audio" or set it manually in recording tab after starting recorder) -f alsa -ac 2 -i hw:0,0 \ # Record audio from mic in a separate track (Makes editing a breeze) # You can find which audio device this is with arecord -l -map 0:0 -map 1:0 -map 2:0 \ # Just map them out so that it actually uses both audio tracks not just the one -vcodec libx264 -vf 'scale=-1:720' -pre:v lossless_ultrafast \ # encode with libx264, automatically scale to 720p on the fly (something is bottlenecking me at 26fps if I record full 1080p and I'd rather have a smaller 30fps) # Video preset is "lossless_ultrafast" - creates a huge file but does it quickly, you can slim it down later. -acodec libmp3lame \ # mp3 audio codec -y $@ # Automatically overwrite and put the script options at the end (For manual tweaking and choosing which file to record to)
|
|
 |
|
 |
|
virion
|
Posted: Sun Apr 29, 2012 9:37 am |
|
 |
| Level 1 |
 |
|
|
Joined: Fri Mar 23, 2012 6:41 pm Posts: 9
|
Could you confirm if Trade Post / Gem Store working for you?
I only saw blank pages/ tabs.
Someone mentioned that this could be related to wine or server problems during BWE.
http://forum.winehq.org/viewtopic.php?t=15121
Thanks
|
|
 |
|
 |
|
oly
|
Posted: Sun Apr 29, 2012 9:59 am |
|
 |
| Newbie |
 |
|
|
Joined: Sun Apr 29, 2012 9:57 am Posts: 1
|
I have to say it is running very well, only real crash was the downloader and general performance could be better currently running on two linux boxes perfectly fine though
Anyone running any guilds for us linux players ?
|
|
 |
|
 |
|
lensor
|
Posted: Sun Apr 29, 2012 10:05 am |
|
 |
| Level 2 |
 |
|
|
Joined: Thu Mar 22, 2012 4:00 pm Posts: 13
|
virion wrote: Could you confirm if Trade Post / Gem Store working for you? I only saw blank pages/ tabs. Someone mentioned that this could be related to wine or server problems during BWE. http://forum.winehq.org/viewtopic.php?t=15121Thanks
This is a know problem happening to loads of my windows-using guildies as well so should not be wine-related.
|
|
 |
|
 |
|
kevin89
|
Posted: Sun Apr 29, 2012 11:07 am |
|
 |
| Level 1 |
 |
|
|
Joined: Fri Apr 27, 2012 3:37 pm Posts: 8
|
|
J V, your games runs smooth, I'm impressed!
Astohan, I have what you describe: my framerate approaches 0 when I turn the camera. However, if I set USEGLSL to disabled, Gw2.exe won't start up with the message that my videocard is unsupported hardware. Any thoughts?
|
|
 |
|
 |
|
J V
|
Posted: Sun Apr 29, 2012 11:21 am |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
Did you try setting VideoMemorySize? Seriously, I had tons of bugs slow turning, dynamic objects flickered black with no lighting when turning etc until I set that.
Look at direct3d in http://wiki.winehq.org/UsefulRegistryKeys
|
|
 |
|
 |
|
Astohan
|
Posted: Sun Apr 29, 2012 11:46 am |
|
 |
| Level 1 |
 |
|
|
Joined: Wed Apr 25, 2012 6:14 am Posts: 8
|
Kevin89, follow the instructions given by J V.
If it solved nothing, you should try to disable the Reflections in the Options panel from the game.
I have a command line that shows the fps/framerate of any game running with wine.
First you have to install xosd, in a terminal:
Code: sudo apt-get install xosd-bin Then you go into the directory where the Gw2.exe file is. If it is located in the GW2 folder in your Documents folder: Code: cd ~/Documents/GW2 Then you launch the game with the command: Code: WINEDEBUG=+fps wine Gw2.exe 2>&1 | tee /dev/stderr | grep --line-buffered "^trace:fps:" | osd_cat --font="-sony-*-medium-*-*-*-20-*-*-*-*-*-jisx0201.1976-*" --lines="2"
You should see two red lines displaying the framerates. The last one (swapchain_gl_present) should be the correct value of your framerate.
Hope it helps ! And hope it works for you too !
|
|
 |
|
 |
|
J V
|
Posted: Sun Apr 29, 2012 11:57 am |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
|
Ooh, that's a nice debug option. It shows me standing still at a waypoint getting 45-55 fps... Nice!
|
|
 |
|
 |
|
J V
|
Posted: Sun Apr 29, 2012 12:02 pm |
|
 |
| Level 3 |
 |
|
|
Joined: Wed Mar 07, 2012 6:57 pm Posts: 74
|
|
Yeah wow: 45+ fps in kessex hills, 17 - 22 fps staring up dwayna's road in divinities reach, which I would assume is the slowest part of the game.
|
|
 |
|
 |
|
kevin89
|
Posted: Sun Apr 29, 2012 12:54 pm |
|
 |
| Level 1 |
 |
|
|
Joined: Fri Apr 27, 2012 3:37 pm Posts: 8
|
|
Thanks alot for your helpful replies!
I've added the recommended reg keys and set VideoMemorySize to 1024, used xosd to monitor my fps. When standing still, I get 10 fps, and when turning I get 0-1 fps. Disabling reflections (or lowering any of the other options) don't seem to influence the fps.
The only reg key I can't add is the UseGLSL=disabled, because my game won't start then.
Maybe ATI doesn't play nice with GW2..
|
|
 |
|
 |
|
Astohan
|
Posted: Sun Apr 29, 2012 1:04 pm |
|
 |
| Level 1 |
 |
|
|
Joined: Wed Apr 25, 2012 6:14 am Posts: 8
|
|
kevin89, the AMD/Ati drivers are generally poorly implemented in Linux and suffer from many problems.
In your case, it all depends on the model of your card and the driver you're using (the one from your distro or the official from the Ati site ?).
But I insist on the fact that the current beta session of GW2 is more a CPU stress test. In other words, whatever your GPU is, the most important part for good framerates is the CPU.
|
|
 |
|
 |
|
kevin89
|
Posted: Sun Apr 29, 2012 1:15 pm |
|
 |
| Level 1 |
 |
|
|
Joined: Fri Apr 27, 2012 3:37 pm Posts: 8
|
|
I do realise ATI doesn't always perform great on Linux. I'm using Archlinux, catalyst driver 12.4 from repos, my card is a HD6870 1G. My cpu is a AMD X4 955 BE at stock speeds.
While it isn't the fastest CPU out there, it still is very decent I think. You are right though, maybe it's best to wait until the GPU is used more.
Too bad, hoped that I could enjoy the beta some. Oh well, more to come! Thanks for the advices!
|
|
 |
|
 |
|
Codin
|
Posted: Sun Apr 29, 2012 2:16 pm |
|
 |
| Newbie |
 |
|
|
Joined: Sun Apr 29, 2012 2:09 pm Posts: 2
|
|
@kevin89, @J V
I am displaying my framerate using some commands from this thread and it will drop around 1 when there are a lot of people around or I am running around outside the city. Sometimes is happens in a city as well. I was wondering what registry keys you changed to help with the framerate.
As someone else said here I tried the UseGLSL=disabled but then GW2 won't start.
|
|
 |
|
 |
|
lensor
|
Posted: Sun Apr 29, 2012 2:26 pm |
|
 |
| Level 2 |
 |
|
|
Joined: Thu Mar 22, 2012 4:00 pm Posts: 13
|
Astohan wrote: Don't worry Tristanlogd, I have the same issue, and it's normal: Wine just can't render correctly weather effects ingame, such as rain, snow, smog. The Norn area is the most concerned by this issue though.
I don't know what your system/setting are like, but I have no problem getting beautiful snow/smoke/fire etc effects.
|
|
 |
|
 |
|
jjmckenzie
|
Posted: Sun Apr 29, 2012 6:58 pm |
|
 |
| Moderator |
 |
|
|
Joined: Wed Apr 27, 2011 11:01 pm Posts: 1153
|
On Sun, Apr 29, 2012 at 11:04 AM, Astohan <wineforum-user@winehq.org> wrote:
Quote: kevin89, the AMD/Ati drivers are generally poorly implemented in Linux and suffer from many problems.
In your case, it all depends on the model of your card and the driver you're using (the one from your distro or the official from the Ati site ?).
You have to use the Catalyst drivers for your ATI video card. The
open source drivers do not include enough functions to work with Wine.
James
|
|
 |
|
 |
|