summaryrefslogtreecommitdiffstats
path: root/include/d3dadapter
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2015-09-09 15:52:09 +0200
committerEmil Velikov <[email protected]>2015-09-11 19:19:31 +0100
commitb0578c0061275900b4ff2ffbe018fd039cb3ee9e (patch)
treea4d4e48916b03c21de806c9bfba38f2ab7186e54 /include/d3dadapter
parentb3dfd67feb21ff6ca15cfd1b57623d5b09cb2238 (diff)
nv30: Disable msaa unless requested from the env by NV30_MAX_MSAA
Some modern apps try to use msaa without keeping in mind the restrictions on videomem of older cards. Resulting in dmesg saying: [ 1197.850642] nouveau E[soffice.bin[3785]] fail ttm_validate [ 1197.850648] nouveau E[soffice.bin[3785]] validating bo list [ 1197.850654] nouveau E[soffice.bin[3785]] validate: -12 Because we are running out of video memory, after which the program using the msaa visual freezes, and eventually the entire system freezes. To work around this we do not allow msaa visauls by default and allow the user to override this via NV30_MAX_MSAA. Signed-off-by: Hans de Goede <[email protected]> [imirkin: move env var lookup to screen so that it's only done once] Signed-off-by: Ilia Mirkin <[email protected]> Cc: "10.6 11.0" <[email protected]> (cherry picked from commit 3e9df0e3af7a8a84147ae48f588e9c435bf65b98)
Diffstat (limited to 'include/d3dadapter')
0 files changed, 0 insertions, 0 deletions