/[packages]/cauldron/xbmc/current/SOURCES/0001-added-workaround-for-crash-with-nonpulse-nvidia260.patch
ViewVC logotype

Contents of /cauldron/xbmc/current/SOURCES/0001-added-workaround-for-crash-with-nonpulse-nvidia260.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 78010 - (show annotations) (download)
Sun Mar 27 11:44:10 2011 UTC (13 years ago) by ennael
File size: 973 byte(s)
imported package xbmc
1 From 156ec5cae1a954b9e86d972e209b66e35151be0e Mon Sep 17 00:00:00 2001
2 From: Anssi Hannula <anssi.hannula@iki.fi>
3 Date: Tue, 2 Nov 2010 03:02:20 +0200
4 Subject: [PATCH] added: workaround for crash with nonpulse+nvidia260
5
6 ---
7 tools/Linux/xbmc.sh.in | 5 +++++
8 1 files changed, 5 insertions(+), 0 deletions(-)
9
10 diff --git a/tools/Linux/xbmc.sh.in b/tools/Linux/xbmc.sh.in
11 index 25c62a8..62fb5f5 100644
12 --- a/tools/Linux/xbmc.sh.in
13 +++ b/tools/Linux/xbmc.sh.in
14 @@ -109,6 +109,11 @@ if [ $RET -ne 0 ]; then
15 exit $RET
16 fi
17
18 +# Workaround http://www.nvnews.net/vbulletin/showthread.php?t=156665
19 +if [ "$(readlink -f /etc/alternatives/soundprofile)" = "/etc/sound/profiles/alsa" ] && ldd "$LIBDIR/xbmc/xbmc.bin" | grep -q -E 'nvidia-glcore\.so\.260\.19\.(04|06|12)' && [ -z "$SDL_AUDIODRIVER" ]; then
20 + export SDL_AUDIODRIVER="alsa"
21 +fi
22 +
23 if which gdb >/dev/null 2>&1; then
24 # Output warning in case ulimit is unsupported by shell
25 eval ulimit -c unlimited
26 --
27 1.7.3
28

  ViewVC Help
Powered by ViewVC 1.1.30