[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [kwin] [Bug 329478] kwin crashes on start because of OpenGL settings
From:       Thomas Lübking <thomas.luebking () gmail ! com>
Date:       2014-01-01 21:45:24
Message-ID: bug-329478-17878-AgcrFCfwof () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=329478

--- Comment #25 from Thomas Lübking <thomas.luebking@gmail.com> ---
Created attachment 84401
  --> https://bugs.kde.org/attachment.cgi?id=84401&action=edit
patch skipping glXCreateContextAttribsARB

The patch simply skips glXCreateContextAttribsARB() invocation - there's no way
it could enter mainline, but if this is it and given the linked bug and the
inability to override the extension via mesa, we might want to add an
environment variable to unsupport GLX_ARB_create_context

nb: the patch looks more complex than it is, because there's another "silly"
patch to try the GL version in it because of mentioned bug #327310 as well;
it's however "inactive"

to compile:

# only if this is some git clone
git checkout KDE/4.11
# do not attempt to compile git master (being KDE4++)

Then move the patch into the kde-workspace/kwin subdir and run
   patch -p2 < test_329478.diff
what will hopefully just work (patch was drawn against my local branch,
there'll likely be a hunk message, but anything that does not say "error" is
ok)

Next in kde-workspace (ie. "cd .."):
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -DCMAKE_BUILD_TYPE=Release
..
cd kwin
make && sudo make install

Building "-DCMAKE_BUILD_TYPE=Debug" oc. would be nicer towards developers, but
i assume you're gonna keep the version in case it works ;-)

-- 
You are receiving this mail because:
You are watching all bug changes.=
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic