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

List:       kwin
Subject:    kwin composite extension running on ATI proprietary driver
From:       "Anton Moiseyev" <benderamp () gmail ! com>
Date:       2007-07-19 0:28:57
Message-ID: 9aa228cf0707181728y220c4e6o1e1d16318a5f0d80 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello,

I have ATI card x1900xt with proprietary ATI driver running on opensuse 10.2.


I have kde4 recent svn version (the lats one was dated July 15) compiled and
running. I'm trying to run kwin with composite opengl extensions enabled
above Xgl xserver. Compiz is running just fine with my configuration.

I have already posted some more details here:
https://bugs.kde.org/show_bug.cgi?id=147177

I could not find the version of kwin in svn which did work on my machine.
Some new information I have gathered with experiments with the current
version:

In scene_opengl.cpp after the single following change:

// create destination buffer
bool SceneOpenGL::initBuffer()
{
...
        buffer = XCreateWindow( display(), wspace->overlayWindow(), 0, 0,
displayWidth(), displayHeight(),
            0, visual->depth, InputOutput, visual->visual, CWColormap,
&attrs );
        if( !hasGLXVersion( 1, 3 ))
            glxbuffer = glXCreateWindow( display(), fbcbuffer, buffer, NULL
);
        else
            glxbuffer = buffer;
        wspace->setupOverlay( buffer );
...


(the hasGLXVersion(1,3) call returns false on my machine) kwin stops
crashing itself and Xgl (as the unmodified svn version always does), and kde
starts. But not normally. Initially I can see the default Xgl grey screen
with the kde4's splash screen and the environment load progress animation.
After a while at some point animation stops - I have grey Xgl background and
static picture of the startup splash in the middle. If I move the mouse
pointer slowly thought the screen, I can see that the kde has started and
works, but nothing is displayed on the screen - for example if I put mouse
to the middle of the screen, press alt on the keyboard and while holding it,
would make drag with the mouse, the mouse pointer would change to cross-hair
- this is I'm moving the kde startup tips'n'tricks window. I can also find
its corner and resize it with the mouse - the mouse pointer changes to the
corresponding shape - the windows do exist, they are just not painted.


I could attach the log, but I do not know how I can collect it - I'm
starting kde from the 1st non-graphical virtual console screen and
copy/paste does not work there. Redirecting the output in the way like this:
"startkde > kde.log" also does not work - I receive kde.log file with 0
size, and all the messages continue appearing in the console.

[Attachment #5 (text/html)]

Hello, <br> <br>I have ATI card x1900xt with proprietary ATI driver running on \
opensuse 10.2. <br> <br> I have kde4 recent svn version (the lats one was dated July \
15) compiled and running. I&#39;m trying to run kwin with composite opengl extensions \
enabled above Xgl xserver. Compiz is running just fine with my configuration.  \
<br><br>I have already posted some more details here:&nbsp;&nbsp; <a \
href="https://bugs.kde.org/show_bug.cgi?id=147177">https://bugs.kde.org/show_bug.cgi?id=147177</a><br><br>I \
could not find the version of kwin in svn which did work on my machine. Some new \
information I have gathered with experiments with the current version: <br><br>In \
scene_opengl.cpp after the single following change:<br><br><span style="font-style: \
italic; color: rgb(153, 153, 153);">// create destination buffer</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"> <span style="font-style: \
italic; color: rgb(153, 153, 153);">bool SceneOpenGL::initBuffer()</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, 153);">{</span> <br style="font-style: italic; color: \
rgb(153, 153, 153);"><span style="font-style: italic; color: rgb(153, 153, \
153);">...</span><br style="font-style: italic; color: rgb(153, 153, 153);"><span \
style="font-style: italic; color: rgb(153, 153, 153);"> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buffer = XCreateWindow( display(), \
wspace-&gt;overlayWindow(), 0, 0, displayWidth(), displayHeight(),</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, 153);"> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0, \
visual-&gt;depth, InputOutput, visual-&gt;visual, CWColormap, &amp;attrs );</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, \
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(  <span style="font-weight: \
bold; color: rgb(0, 0, 0);">!</span>hasGLXVersion( 1, 3 ))</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, \
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;glxbuffer \
= glXCreateWindow( display(), fbcbuffer, buffer, NULL ); </span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, \
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else</span><br \
style="font-style: italic; color: rgb(153, 153, 153);"><span style="font-style: \
italic; color: rgb(153, 153, 153);"> \
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;glxbuffer = \
buffer;</span><br style="font-style: italic; color: rgb(153, 153, 153);"><span \
style="font-style: italic; color: rgb(153, 153, \
153);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wspace-&gt;setupOverlay( \
buffer );</span><br style="font-style: italic; color: rgb(153, 153, 153);"> <span \
style="font-style: italic; color: rgb(153, 153, 153);">...</span><br><br><br>(the \
hasGLXVersion(1,3) call returns false on my machine) kwin stops crashing itself and \
Xgl (as the unmodified svn version always does), and kde starts. But not normally. \
Initially I can see the default Xgl grey screen with the kde4&#39;s splash screen and \
the environment load progress animation. After a while at some point animation stops \
- I have grey Xgl background and static picture of the startup splash in the middle. \
If I move the mouse pointer slowly thought the screen, I can see that the kde has \
started and works, but nothing is displayed on the screen - for example if I put \
mouse to the middle of the screen, press alt on the keyboard and while holding it, \
would make drag with the mouse, the mouse pointer would change to cross-hair - this \
is I&#39;m moving the kde startup tips&#39;n&#39;tricks window. I can also find its \
corner and resize it with the mouse - the mouse pointer changes to the corresponding \
shape - the windows do exist, they are just not painted. <br><br><br>I could attach \
the log, but I do not know how I can collect it - I&#39;m starting kde from the 1st \
non-graphical virtual console screen and copy/paste does not work there. Redirecting \
the output in the way like this: &quot;startkde &gt;  kde.log&quot; also does not \
work - I receive kde.log file with 0 size, and all the messages continue appearing in \
the console.<br><br>



_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin


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

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