ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
643 stars 74 forks source link

Poor Performance for TF2 on AMD 12.11 beta 11 drivers #22

Closed jorgenpt closed 11 years ago

jorgenpt commented 11 years ago

Issue transferred from ValveSoftware/steam-for-linux#85 @GoldenStake posted at 2012-12-20T08:12:24Z:

When playing TF2 on the latest AMD 12.11 beta 11 drivers, and with a newer Graphics card, HD68xx to HD79xx I have the HD7850 graphics card You will sometimes see a major performance drop compared to the older drivers, and this error message will continuously be spammed in the developer console:

IDirect3DQuery9::GetData(): Occlusion query flush took 32.843ms!

The current work around is to revert the optimizations that were done in the latest driver patch

sudo sed -i s/hl2/hl3/ /etc/ati/atiogl.xml

But this is still an existing bug.

System Information:

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2667 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported

Network Information:
    Network Speed:  

Operating System Version:
    Ubuntu 12.04.1 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.2.0-23-generic
    X Server vendor:  The X.Org Foundation
    X Server release:  11103000

Video Card:
    Driver:  ATI Technologies Inc. AMD Radeon HD 7800 Series
    Driver Version:  4.2.11995 Compatibility Profile Context
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x6819
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 18.78" x 10.55"  (21.54" diag)
                                            47.7cm x 26.8cm  (54.7cm diag)
    Primary VRAM Not Detected

Sound card:
    Audio device: VIA VT1828S

Memory:
    RAM:  7976 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  790330 Mb
    Largest Free Hard Disk Block:  359563 Mb

Installed software:

Recent Failure Reports:
    Thu Dec 20 07:59:58 2012 GMT: file ''/tmp/dumps/crash_20121220025955_1.dmp'', upload >yes: ''CrashID=bp-4c2abd7e-270-4003-83d9-9ff872121219''
jorgenpt commented 11 years ago

@MilesRdz posted at 2012-12-21T05:53:44Z:

I'm having this very same issue.

jorgenpt commented 11 years ago

@MeteorBlume posted at 2012-12-21T15:43:20Z:

I can confirm these performance problems on an AMD A8 Vision Integrated Chip.

jorgenpt commented 11 years ago

@dance posted at 2012-12-23T13:23:10Z:

Encountered the same with Beta11 drivers on HD 6850

jorgenpt commented 11 years ago

@elthommo posted at 2013-01-05T10:45:41Z:

I am having this problem as well. I think part of the problem is to do with switchable graphics. I installed the latest beta drivers and got an "Unsupported Hardware" notice overlayed on the screen. I have a HP Pavilion laptop, these have switchable graphics as standard.

Operating System Version: Ubuntu 12.04.1 LTS (64 bit) Kernel Name: Linux Kernel Version: 3.2.0-35-generic X Server vendor: The X.Org Foundation X Server release: 11103000

Video Card: Driver: ATI Technologies Inc. AMD Radeon HD 6520G

Driver Version:  4.2.11986 Compatibility Profile Context
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 60 Hz
VendorID:  0x1002
DeviceID:  0x6741
Number of Monitors:  1
Number of Logical Video Cards:  2
Primary Display Resolution:  1366 x 768
Desktop Resolution: 1366 x 768
Primary Display Size: 13.54" x 7.64"  (15.51" diag)

Processor : AMD A6-3410MX APU with Radeon(tm) HD Graphics × 4 Graphics: Vesa SUMO

jorgenpt commented 11 years ago

@MeteorBlume posted at 2013-01-05T10:56:17Z:

I already thought that the switchable graphics could be the problem here.

jorgenpt commented 11 years ago

@kylepl posted at 2013-01-06T00:28:30Z:

Seeing the same issue in with the 12.11 beta and HD 7950, Ubuntu 12.10.

GoldenStake's sed fix solved the problem for me, thanks!

jorgenpt commented 11 years ago

@ManOfFlash posted at 2013-01-12T14:56:40Z:

Confirm. Game is laggy by wawes and console spammed like: ... IDirect3DQuery9::GetData(): Occlusion query flush took 5.480ms! IDirect3DQuery9::GetData(): Occlusion query flush took 4.588ms! IDirect3DQuery9::GetData(): Occlusion query flush took 4.330ms! IDirect3DQuery9::GetData(): Occlusion query flush took 5.543ms! IDirect3DQuery9::GetData(): Occlusion query flush took 3.064ms! IDirect3DQuery9::GetData(): Occlusion query flush took 4.690ms! ... Only when vertical sync enabled.

Processor Information: Vendor: AuthenticAMD Speed: 3200 Mhz 4 logical processors 4 physical processors HyperThreading: Unsupported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Unsupported SSE42: Unsupported

Network Information: Network Speed:

Operating System Version: Linux (64 bit) Kernel Name: Linux Kernel Version: 3.6.11-gentoo X Server vendor: The X.Org Foundation X Server release: 11301000

Video Card: Driver: ATI Technologies Inc. ATI Radeon HD 5700 Series

Driver Version:  4.2.11995 Compatibility Profile Context
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID:  0x1002
DeviceID:  0x68b8
Number of Monitors:  1
Number of Logical Video Cards:  1
Primary Display Resolution:  1680 x 1050
Desktop Resolution: 1680 x 1050
Primary Display Size: 18,66" x 11,65"  (21,97" diag)
                                        47,4cm x 29,6cm  (55,8cm diag)
Primary VRAM Not Detected

Sound card: Audio device:

Memory: RAM: 19974 Mb

Miscellaneous: UI Language: English LANG: ru_RU.UTF-8 Microphone: Not set Total Hard Disk Space Available: 29533 Mb Largest Free Hard Disk Block: 14139 Mb

Installed software:

Recent Failure Reports: Sat Jan 12 14:26:13 2013 GMT: file ''/tmp/dumps/crash_20130112212608_1.dmp'', upload yes: ''CrashID=bp-c1a08b9f-9726-460f-adba-75c522130112''

jorgenpt commented 11 years ago

@dance posted at 2013-01-13T10:25:35Z:

I'd like to say that situation is much better for me now. I didn't touch video drivers. TF2 runs now at 65+ fps usually, but fps drops still sometimes happen.

jorgenpt commented 11 years ago

@elthommo posted at 2013-01-13T18:33:10Z:

Nothing has changed since the last update. FPS is seriously poor.

jorgenpt commented 11 years ago

@MilesRdz posted at 2013-01-17T03:11:44Z:

Catalyst 13.1 should be released tomorrow. Though you shouldn't get your hopes up.

jorgenpt commented 11 years ago

@MilesRdz posted at 2013-01-18T02:52:09Z:

Just installed install Catalyst 13.1 and performance is still... "shitty". The DX9 flush error is no longer there, but the frame dumping performance is.

jorgenpt commented 11 years ago

@brodock posted at 2013-02-01T02:13:01Z:

AMD Catalyst™ 13.2 Beta 3 for Linux claim to provide 300% boots for TF2 on linux. Haven't tested yet

jorgenpt commented 11 years ago

@MilesRdz posted at 2013-02-01T09:51:19Z:

Performance issues remained for me with 13.2 beta 3.

jorgenpt commented 11 years ago

@brodock posted at 2013-02-01T15:34:40Z:

I've tried it and the performance problem still remain too

jorgenpt commented 11 years ago

@dance posted at 2013-02-09T18:09:48Z:

After upgrading to 13.2 beta3 drivers I'm totally happy. Game runs now at good average fps, I've noticed no drops in 30 minutes. And FPS now rises up to unbelievable mark of 165 sometimes.

But loading time is still too long, though it's another issue...

elthommo commented 11 years ago

This is sorted for me now - I got the latest driver update to work but I needed to run a script I found on Phoronix to remove the ' unsupported hardware' notice.

bdeen-valve commented 11 years ago

If there's further issues with these AMD drivers, please contact the AMD driver people. Find a link here: https://github.com/ValveSoftware/Source-1-Games#driver-contact-information

ghost commented 11 years ago

I am from https://github.com/ValveSoftware/Source-1-Games/issues/50

Today decided to try TF2 once again. Before steam update I could load TF2, but I could not join server or look at my items. After steam update TF2 no longer loads successfully even once. Closest I have come to is being stuck in a start screen (that appeared in 4 minutes) and sound looping forever in background (short recording of looping sound: http://www.mediafire.com/?p328eyrssrx5lql ). That was after I let steam check the integrity of local game files. Here is a console output, I don't see anything unusual, other than me killing TF2 (because it was stuck in sound loop):

notrealname@rrrrr:~$ steam Running Steam on ubuntu 12.10 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) unlinked 0 orphaned pipes Installing breakpad exception handler for appid(steam)/version(1360966495_client) [0220/220725:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Generating new string page texture 2: 48x256, total string texture memory is 49.15 KB Generating new string page texture 3: 384x256, total string texture memory is 442.37 KB Installing breakpad exception handler for appid(steam)/version(1360966495_client)

(steam:3970): GLib-GIO-CRITICAL **: g_dbus_connection_emit_signal: assertion `object_path != NULL && g_variant_is_object_path (object_path)' failed Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Adding license for package 0 Adding license for package 11795 Adding license for package 13437 roaming config store loaded successfully - 866 bytes. migrating temporary roaming config store ExecCommandLine: "/home/notrealname/.local/share/Steam/ubuntu12_32/steam" Generating new string page texture 81: 1024x256, total string texture memory is 1.49 MB Generating new string page texture 82: 64x256, total string texture memory is 1.56 MB Generating new string page texture 83: 128x256, total string texture memory is 1.69 MB Generating new string page texture 84: 128x256, total string texture memory is 131.07 KB Generating new string page texture 85: 256x256, total string texture memory is 1.95 MB Generating new string page texture 86: 32x256, total string texture memory is 1.98 MB Generating new string page texture 88: 16x256, total string texture memory is 2.00 MB System startup time: 53.64 seconds Running Steam on ubuntu 12.10 64-bit STEAM_RUNTIME has been set by the user to: /home/notrealname/.local/share/Steam/ubuntu12_32/steam-runtime ExecCommandLine: "/home/notrealname/.steam/root/ubuntu12_32/steam steam://open/driverhelperready" ExecSteamURL: "steam://open/driverhelperready" Installing breakpad exception handler for appid(steam)/version(1360966495_client) Installing breakpad exception handler for appid(steam)/version(1360966495_client) Generating new string page texture 92: 128x256, total string texture memory is 2.13 MB Game update: AppID 440 "Team Fortress 2", ProcID 4190, IP 0.0.0.0:0 ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded: ignored. saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully SDL video target is 'x11' SDL video target is 'x11' This system supports the OpenGL extension GL_EXT_framebuffer_object. This system supports the OpenGL extension GL_EXT_framebuffer_blit. This system supports the OpenGL extension GL_EXT_framebuffer_multisample. This system DOES NOT support the OpenGL extension GL_APPLE_fence. This system DOES NOT support the OpenGL extension GL_NV_fence. This system supports the OpenGL extension GL_ARB_sync. This system supports the OpenGL extension GL_EXT_draw_buffers2. This system supports the OpenGL extension GL_EXT_bindable_uniform. This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. This system supports the OpenGL extension GL_ARB_map_buffer_range. This system supports the OpenGL extension GL_ARB_vertex_buffer_object. This system supports the OpenGL extension GL_ARB_occlusion_query. This system DOES NOT support the OpenGL extension GL_APPLE_texture_range. This system DOES NOT support the OpenGL extension GL_APPLE_client_storage. This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer. This system supports the OpenGL extension GL_ARB_vertex_array_bgra. This system supports the OpenGL extension GL_EXT_vertex_array_bgra. This system supports the OpenGL extension GL_ARB_framebuffer_object. This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker. This system DOES NOT support the OpenGL extension GL_ARB_debug_output. This system supports the OpenGL extension GL_EXT_direct_state_access. This system DOES NOT support the OpenGL extension GL_NV_bindless_texture. This system supports the OpenGL extension GL_AMD_pinned_memory. This system DOES NOT support the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled. This system supports the OpenGL extension GL_EXT_texture_sRGB_decode. This system DOES NOT support the OpenGL extension GL_NVX_gpu_memory_info. This system supports the OpenGL extension GL_ATI_meminfo. This system supports the OpenGL extension GL_EXT_texture_compression_s3tc. This system DOES NOT support the OpenGL extension GLX_EXT_swap_control_tear. GL_NV_bindless_texture: DISABLED GL_AMD_pinned_memory: DISABLED GL_EXT_texture_sRGB_decode: AVAILABLE Installing breakpad exception handler for appid(gameoverlayui)/version(20130215122411_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) Installing breakpad exception handler for appid(gameoverlayui)/version(1.0_client) [0220/221027:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation Using breakpad crash handler Setting breakpad minidump AppID = 440 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit Steam_SetMinidumpSteamID: Caching Steam ID: 76561198044368178 [API loaded yes] Steam_SetMinidumpSteamID: Setting Steam ID: 76561198044368178 Did not detect any valid joysticks. GL_NVX_gpu_memory_info: UNAVAILABLE GL_ATI_meminfo: AVAILABLE GL_ATI_meminfo: GL_TEXTURE_FREE_MEMORY_ATI: Total Free: 969591, Largest Avail: 756880, Total Aux: 1540681, Largest Aux Avail: 1387 GL_MAX_SAMPLES_EXT: 4 [0220/221032:ERROR:resource_bundle.cc(411)] Failed to load /home/notrealname/.local/share/Steam/SteamApps/notrealaccount/Team Fortress 2/cef_gtk.pak Some features may not be available. [0220/221032:WARNING:proxy_service.cc(646)] PAC support disabled because there is no system implementation CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 1650 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3745513472 CShaderDeviceMgrBase::GetRecommendedConfigurationInfo: CPU speed: 1650 MHz, Processor: AuthenticAMD GlobalMemoryStatus: 3745513472 IDirect3DDevice9::Create: BackBufWidth: 1366, BackBufHeight: 768, D3DFMT: 3, BackBufCount: 1, MultisampleType: 0, MultisampleQuality: 0 Loaded program cache file "glbaseshaders.cfg", total keyvalues: 266, total successfully linked: 266 Loaded program cache file "glshaders.cfg", total keyvalues: 441, total successfully linked: 441 Precache: Took 96510 ms, Vertex 997, Pixel 1860 Game.so loaded for "Team Fortress" /home/notrealname/.local/share/Steam/SteamApps/notrealaccount/Team Fortress 2/hl2.sh: line 72: 4196 Killed ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" Game removed: AppID 440 "Team Fortress 2", ProcID 4196 saving roaming config store to 'sharedconfig.vdf' roaming config store 2 saved successfully Generating new string page texture 100: 256x256, total string texture memory is 393.22 KB