LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 04-24-2022, 01:14 PM   #1
lord_grimlor
LQ Newbie
 
Registered: Apr 2022
Posts: 1

Rep: Reputation: 0
DXVK error when alt-tabbing from game running in Proton


I've been experiencing crashes due to a DXVK error while playing through Dragon Age II using Steam Proton.
The crash is easy to reproduce. Once the game loads up to the start menu, I press alt tab or the windows key, and the game crashes.

I enabled all the logging I'm aware of, but I could only find one related message, and it was from a d3d11 log specific to this game:
steamapps/common/Dragon Age II/bin_ship/DragonAge2_d3d11.log

Code:
info:  Restoring display mode: 2560x1440@60
info:  Setting display mode: 2560x1440@60
err:   DxvkMemoryAllocator: Memory allocation failed
err:     Size:      1200128
err:     Alignment: 256
err:     Mem flags: 0x7
err:     Mem types: 0x781
err:   Heap 0: 678 MB allocated, 453 MB used, 961 MB allocated (driver), 6362 MB budget (driver), 8192 MB total
err:   Heap 1: 586 MB allocated, 553 MB used, 679 MB allocated (driver), 11898 MB budget (driver), 11898 MB total
err:   Heap 2: 202 MB allocated, 181 MB used, 245 MB allocated (driver), 0 MB budget (driver), 246 MB total
The only discussions I could find online regarding a DxvkMemoryAllocator error were from 3 years ago, but that error was apparently fixed in nvidia driver 440, so I don't think it's the same cause. https://github.com/doitsujin/dxvk/issues/1100

Since this crash is so easy and consistent to reproduce, I'm motivated to try and figure out the source of the error.
However, I'm not sure how to continue debugging this. I've looked through all the logs I know of, and came up with only that one error message.

If anyone could offer some info or resources that can help me continue digging into this, it would be much appreciated.

Thanks!

### System information

Kernel: 5.13.0-39-generic
Desktop: KDE Plasma 5.22.5
Distro: Ubuntu 21.10 (Impish Indri)
GPU: NVIDIA TU104 [GeForce RTX 2080 SUPER]
Driver: nvidia 510.54
Display resolution: 2560x1440~60Hz
Proton: 1649946742 experimental-7.0-20220414
DXVK: v1.10.1
Game: Dragon Age II
 
Old 04-25-2022, 11:11 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Don't Alt-Tab while running the game.
You could wrap it in a script that disables alt-tabbing while you play it.

Quote:
Originally Posted by lord_grimlor View Post
I've been experiencing crashes due to a DXVK error while playing through Dragon Age II using Steam Proton.
The crash is easy to reproduce. Once the game loads up to the start menu, I press alt tab or the windows key, and the game crashes.

I enabled all the logging I'm aware of, but I could only find one related message, and it was from a d3d11 log specific to this game:
steamapps/common/Dragon Age II/bin_ship/DragonAge2_d3d11.log

Code:
info:  Restoring display mode: 2560x1440@60
info:  Setting display mode: 2560x1440@60
err:   DxvkMemoryAllocator: Memory allocation failed
err:     Size:      1200128
err:     Alignment: 256
err:     Mem flags: 0x7
err:     Mem types: 0x781
err:   Heap 0: 678 MB allocated, 453 MB used, 961 MB allocated (driver), 6362 MB budget (driver), 8192 MB total
err:   Heap 1: 586 MB allocated, 553 MB used, 679 MB allocated (driver), 11898 MB budget (driver), 11898 MB total
err:   Heap 2: 202 MB allocated, 181 MB used, 245 MB allocated (driver), 0 MB budget (driver), 246 MB total
The only discussions I could find online regarding a DxvkMemoryAllocator error were from 3 years ago, but that error was apparently fixed in nvidia driver 440, so I don't think it's the same cause. https://github.com/doitsujin/dxvk/issues/1100

Since this crash is so easy and consistent to reproduce, I'm motivated to try and figure out the source of the error.
However, I'm not sure how to continue debugging this. I've looked through all the logs I know of, and came up with only that one error message.

If anyone could offer some info or resources that can help me continue digging into this, it would be much appreciated.

Thanks!

### System information

Kernel: 5.13.0-39-generic
Desktop: KDE Plasma 5.22.5
Distro: Ubuntu 21.10 (Impish Indri)
GPU: NVIDIA TU104 [GeForce RTX 2080 SUPER]
Driver: nvidia 510.54
Display resolution: 2560x1440~60Hz
Proton: 1649946742 experimental-7.0-20220414
DXVK: v1.10.1
Game: Dragon Age II
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Valve Releases Proton 6.3-7 with Support for Life is Strange: True Colors, DXVK 1.9.2 LXer Syndicated Linux News 0 10-01-2021 03:53 PM
LXer: D9VK is no more as it merges with DXVK, making DXVK a D3D 9/10/11 to Vulkan layer LXer Syndicated Linux News 0 12-18-2019 09:00 AM
LXer: Steam Play Proton 4.11-6 is out with newer DXVK, support for The Surge 2 and GTA 5 launcher fixes LXer Syndicated Linux News 0 09-26-2019 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 12:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration