Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xf86-video-intel: "sna" flag
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 400
Location: Melbourne, Australia

PostPosted: Thu Aug 11, 2011 11:46 pm    Post subject: xf86-video-intel: "sna" flag Reply with quote

I'm sure that most people with an Intel graphics card have heard about SNA and how it is going to blow your socks off, but if not, the article is here. What is also important from that article is the second-last paragraph, the "PS", which states that SNA requires a particular patchset on X to work. The question is, when is that patch going to make it into mainline xorg-server? And if we enable SNA without the patch, will the Intel driver still function? Does SNA require using the classic Intel mesa driver or does it work with Gallium too? Cheers.
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Fri Aug 12, 2011 10:19 am    Post subject: Reply with quote

rsync, and enjoy... :D

The latest intel driver (2.16.0) supports sna. apparently only a xorg-server-1.10 is required.


just my .02$
V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
Gusar
Advocate
Advocate


Joined: 09 Apr 2005
Posts: 2643
Location: Slovenia

PostPosted: Fri Aug 12, 2011 11:07 am    Post subject: Reply with quote

This only works with the classic driver. Intel only works on that, while the gallium driver is being worked on by Google.

@Veldrin: So the required X patch is included in xorg-server 1.10? Can you post a link that confirms it?
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Fri Aug 12, 2011 11:59 am    Post subject: Reply with quote

I am not exactly sure how to answer - even less how to test this properly.

the xf86-video-intel-2.16.0 ebuild mentions the following:
Code:
RDEPEND="x11-libs/libXext
        x11-libs/libXfixes
        x11-libs/libXvMC
        >=x11-libs/libxcb-1.5
        >=x11-libs/libdrm-2.4.23[video_cards_intel]
        sna? (
                >=x11-base/xorg-server-1.10
        )"
DEPEND="${RDEPEND}


building it against xorg-server-1.10.3 and 1.10.99.902 behave the same way. a quick grep reveals the following
Code:
root@xarfai ~ # grep -i sna /var/log/Xorg.0.log
[ 17537.084] (II) intel(0): SNA initialized with Broadwater backend
root@xarfai ~ #
which tells me, that it using sna.

OTOH, I am using a rather old card (00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) (rev 0c)), so its effects might be different.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Sat Aug 20, 2011 3:00 am    Post subject: Reply with quote

I found that my desktop was unstable with sna enabled - hibernate wouldn't work, desktop effects under KDE would sometimes die and computer froze.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1942
Location: Zurich, Switzerland

PostPosted: Wed Aug 24, 2011 11:15 am    Post subject: Reply with quote

using xorg-server-1.10.3, some (even all) (context) menu would not appear at first. I either had to reclick, or move the mouse over the menu to make it visible again.
upgrading to 1.10.4 fixed the problem.

V.
_________________
read the portage output!
If my answer is too concise, ask for an explanation.
Back to top
View user's profile Send private message
da_monumental_1
n00b
n00b


Joined: 20 Jan 2005
Posts: 17
Location: Lumberton, NC

PostPosted: Wed Aug 31, 2011 3:50 am    Post subject: Reply with quote

Mesa-7.11 made compiz segfault on my lowly laptop. Downgrading to 7.10.3 solved my problem.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 390
Location: Cracow, Poland

PostPosted: Fri Sep 02, 2011 1:44 pm    Post subject: Reply with quote

i will try with my eeepc netbook with Integrated GMA 950
Back to top
View user's profile Send private message
jsevilleja
n00b
n00b


Joined: 21 May 2010
Posts: 14

PostPosted: Fri Sep 02, 2011 4:22 pm    Post subject: Reply with quote

For me, xf86-video-intel-2.16 with sna enabled causes freezes and errors when showing characters like 'á é í ó ú' with gentoo ~amd64 hardened
Back to top
View user's profile Send private message
<3
l33t
l33t


Joined: 21 Oct 2004
Posts: 742

PostPosted: Sat Sep 03, 2011 4:45 pm    Post subject: Reply with quote

enabling it is causing problems for me to. In KDE my computer feels extremely unresponsive and takes a few minutes to process a keystroke. Disabling it made the problem go away.
Back to top
View user's profile Send private message
epsilon72
Guru
Guru


Joined: 20 Sep 2007
Posts: 566

PostPosted: Mon Oct 31, 2011 8:24 pm    Post subject: Reply with quote

The sna flag makes the video on my system extremely buggy - as mentioned before it makes kde unresponsive to the point of it being useless, and even in a twm session xterm does not update itself without me moving the window to a different spot.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2116
Location: Germania

PostPosted: Tue Nov 01, 2011 11:27 am    Post subject: Reply with quote

I just updated to x11-drivers/xf86-video-intel-2.16.901.
That fixed my issues with flickering videos, conky and xinerama running a compositing manager.
Like playing video on screen 1 and screen 0 being fubared.
_________________
boost|trans-follow xcb|instruction set analyzer
___
the self obscures the truth. I am no one, and so my words alone come from the truth of this world. amen.
Back to top
View user's profile Send private message
Yamakuzure
Veteran
Veteran


Joined: 21 Jun 2006
Posts: 1385
Location: Bardowick, Germany

PostPosted: Thu Nov 03, 2011 11:08 am    Post subject: Reply with quote

geki wrote:
I just updated to x11-drivers/xf86-video-intel-2.16.901.
That fixed my issues with flickering videos, conky and xinerama running a compositing manager.
Like playing video on screen 1 and screen 0 being fubared.
That would be great, I'll try that. I have masked the 2.16.0 driver, because it causes freezes and hangups in KDE. No matter which combination I use. OpenGL +sna, OpenGL -sna, GLES +sna, GLES -sna, all cause trouble with it, while the 2.15.0-r1 driver works flawlessly with GLES. (mesa set to classic drivers, of course.)
_________________
I *do* know that I easily aggravate people due to my condensed writing. Rule of thumb: If I wrote anything that can be understood in two different ways, and one way offends you, then I meant the other! ;)
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Fri Nov 04, 2011 5:27 am    Post subject: Reply with quote

Veldrin wrote:
rsync, and enjoy... :D

The latest intel driver (2.16.0) supports sna. apparently only a xorg-server-1.10 is required.


just my .02$
V.


It causes text corruption in Microsoft Word 2007 when I use it.

geki wrote:
I just updated to x11-drivers/xf86-video-intel-2.16.901.
That fixed my issues with flickering videos, conky and xinerama running a compositing manager.
Like playing video on screen 1 and screen 0 being fubared.


This fixes the text corruption issue in Microsoft Word, but it suffers from a regression that affects flash such that maximizing videos on youtube doesn't work properly.
Back to top
View user's profile Send private message
Mepho
Arch/Herd Tester
Arch/Herd Tester


Joined: 31 Jul 2011
Posts: 14

PostPosted: Mon Dec 05, 2011 12:13 pm    Post subject: Reply with quote

Not sure this is "sna" related, but my tablet with old gma950 (i915) is running terribly on latest drivers (.1[6,7]).
When im using just one screen it's good (either only internal 12" screen or external 24"), but when I want both (external monitor + tablet for note taking),
everything on tablet screen is slow (2D performance, when I take note in xournal, it takes like 3 seconds to render it while normally it's delayed behind my pen only for some 50ms, its barely noticeable).
I did revert back to 2.15 and everything works smoothly again. I was hoping this would get fixed somehow in 2.17, but it's still there.
_________________
I WANT YOU
FOR GENTOO.
Back to top
View user's profile Send private message
Shining Arcanine
Veteran
Veteran


Joined: 24 Sep 2009
Posts: 1110

PostPosted: Mon Dec 05, 2011 2:45 pm    Post subject: Reply with quote

mark_alec wrote:
I found that my desktop was unstable with sna enabled - hibernate wouldn't work, desktop effects under KDE would sometimes die and computer froze.


I had issues with SNA and the 2.16.0 driver too, but the latest 2.17.0 driver appears to have fixed those problems. I now have it turned on all the time.
Back to top
View user's profile Send private message
epsilon72
Guru
Guru


Joined: 20 Sep 2007
Posts: 566

PostPosted: Wed Dec 07, 2011 11:34 pm    Post subject: Reply with quote

With sna enabled on the 2.17 driver, X crashes whenever I change resolution a second time. If I change once it's fine, but on the second change it crashes every time.
Otherwise it seems to be fine.

edit: This is with the 3.1.4 kernel and xorg-server-1.11.2-r2
Back to top
View user's profile Send private message
fangwen
Tux's lil' helper
Tux's lil' helper


Joined: 23 Oct 2011
Posts: 128
Location: Shanghai, China

PostPosted: Thu Dec 08, 2011 1:38 pm    Post subject: Reply with quote

I didn't see sna flag with "emerge -pv x11-drivers/xf86-video-intel".
_________________
All operating systems suck. This one just sucks less.
Back to top
View user's profile Send private message
Mepho
Arch/Herd Tester
Arch/Herd Tester


Joined: 31 Jul 2011
Posts: 14

PostPosted: Sun Dec 11, 2011 4:22 pm    Post subject: Reply with quote

fangwen wrote:
I didn't see sna flag with "emerge -pv x11-drivers/xf86-video-intel".


sna feature is in current testing drivers (>= .16).
_________________
I WANT YOU
FOR GENTOO.
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Sun Dec 11, 2011 4:24 pm    Post subject: Reply with quote

Shining Arcanine wrote:
mark_alec wrote:
I found that my desktop was unstable with sna enabled - hibernate wouldn't work, desktop effects under KDE would sometimes die and computer froze.


I had issues with SNA and the 2.16.0 driver too, but the latest 2.17.0 driver appears to have fixed those problems. I now have it turned on all the time.

Then I'll have a second try soon. A few weeks ago it was all a corrupted mess.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Mepho
Arch/Herd Tester
Arch/Herd Tester


Joined: 31 Jul 2011
Posts: 14

PostPosted: Thu Dec 15, 2011 10:29 am    Post subject: Reply with quote

Mepho wrote:
Not sure this is "sna" related, but my tablet with old gma950 (i915) is running terribly on latest drivers (.1[6,7]).
When im using just one screen it's good (either only internal 12" screen or external 24"), but when I want both (external monitor + tablet for note taking),
everything on tablet screen is slow (2D performance, when I take note in xournal, it takes like 3 seconds to render it while normally it's delayed behind my pen only for some 50ms, its barely noticeable).
I did revert back to 2.15 and everything works smoothly again. I was hoping this would get fixed somehow in 2.17, but it's still there.


I did upgrade w/o sna flag and everything works ok for me on 950 (3100 on backup notebook works with sna just fine). I'll drop the word when we stabilize new driver on bugzilla, this sna thingy seems unstable for now.
_________________
I WANT YOU
FOR GENTOO.
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1668
Location: Berlin, Germany

PostPosted: Thu Dec 15, 2011 6:12 pm    Post subject: Reply with quote

xf86-video-intel-2.17.0-r3 will go stable soon.
sna will remain disabled by default until the major regressions have been fixed (https://bugs.freedesktop.org/show_bug.cgi?id=43144 and others)
Back to top
View user's profile Send private message
Joseph K.
Guru
Guru


Joined: 07 Jun 2006
Posts: 400
Location: Melbourne, Australia

PostPosted: Wed Jan 18, 2012 4:50 am    Post subject: Reply with quote

Thanks to everyone for their responses so far, I'd half forgotten about the issue. I just tried SNA again and although there were no horrible glitches as in the past, there were some regressions compared with non-SNA: the graphics actually felt a little slower and there was noticeable tearing. So although this is a better state than a couple of months ago, it does not appeared to have reached maturity (on my i945 chip anyway). If anyone has experienced the tearing and slow performance and fixed it, please let us know! Cheers.


On a side note, I just realized that since I don't use the Gallium driver in Mesa (although I was using Google's i915 driver in the past), I can disable a bunch of flags (gallium, llvm, xvmc), which cuts down compilation time and installation size. Bonus!
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2467
Location: Austria

PostPosted: Wed Jan 18, 2012 11:22 am    Post subject: Reply with quote

I still get annoying graphic corruptions in composited KDE-4 with the SNA flag, so it remains disabled. I do test the live userspace driver and the latest drm kernel commits several times per week.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 1668
Location: Berlin, Germany

PostPosted: Mon Jan 23, 2012 9:58 am    Post subject: Reply with quote

If you notice any display corruption or other strange behaviour, it is a good idea to report this on https://bugs.freedesktop.org/ (if no report already exists). You may also want to test latest git using the live ebuild from the x11 overlay.

I expect that Intel will drop the old acceleration method sooner or later, somewhat depending on how many issues with sna they are aware of.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum