View previous topic :: View next topic |
Author |
Message |
Joseph K. Guru
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Thu Aug 11, 2011 11:46 pm Post subject: xf86-video-intel: "sna" flag |
|
|
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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Aug 12, 2011 10:19 am Post subject: |
|
|
rsync, and enjoy...
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 |
|
|
Gusar Advocate
Joined: 09 Apr 2005 Posts: 2665 Location: Slovenia
|
Posted: Fri Aug 12, 2011 11:07 am Post subject: |
|
|
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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Aug 12, 2011 11:59 am Post subject: |
|
|
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 |
|
|
mark_alec Bodhisattva
Joined: 11 Sep 2004 Posts: 6066 Location: Melbourne, Australia
|
Posted: Sat Aug 20, 2011 3:00 am Post subject: |
|
|
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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Wed Aug 24, 2011 11:15 am Post subject: |
|
|
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 |
|
|
da_monumental_1 n00b
Joined: 20 Jan 2005 Posts: 18
|
Posted: Wed Aug 31, 2011 3:50 am Post subject: |
|
|
Mesa-7.11 made compiz segfault on my lowly laptop. Downgrading to 7.10.3 solved my problem. |
|
Back to top |
|
|
emc Guru
Joined: 02 Jul 2004 Posts: 564 Location: Cracow, Poland
|
Posted: Fri Sep 02, 2011 1:44 pm Post subject: |
|
|
i will try with my eeepc netbook with Integrated GMA 950 |
|
Back to top |
|
|
jsevilleja n00b
Joined: 21 May 2010 Posts: 14
|
Posted: Fri Sep 02, 2011 4:22 pm Post subject: |
|
|
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 |
|
|
<3 Veteran
Joined: 21 Oct 2004 Posts: 1081
|
Posted: Sat Sep 03, 2011 4:45 pm Post subject: |
|
|
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 |
|
|
epsilon72 Guru
Joined: 20 Sep 2007 Posts: 568
|
Posted: Mon Oct 31, 2011 8:24 pm Post subject: |
|
|
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 |
|
|
geki Advocate
Joined: 13 May 2004 Posts: 2387 Location: Germania
|
Posted: Tue Nov 01, 2011 11:27 am Post subject: |
|
|
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. _________________ hear hear |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Thu Nov 03, 2011 11:08 am Post subject: |
|
|
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.) _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
Shining Arcanine Veteran
Joined: 24 Sep 2009 Posts: 1110
|
Posted: Fri Nov 04, 2011 5:27 am Post subject: |
|
|
Veldrin wrote: | rsync, and enjoy...
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 |
|
|
Mepho Arch/Herd Tester
Joined: 31 Jul 2011 Posts: 14
|
Posted: Mon Dec 05, 2011 12:13 pm Post subject: |
|
|
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 |
|
|
Shining Arcanine Veteran
Joined: 24 Sep 2009 Posts: 1110
|
Posted: Mon Dec 05, 2011 2:45 pm Post subject: |
|
|
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 |
|
|
epsilon72 Guru
Joined: 20 Sep 2007 Posts: 568
|
Posted: Wed Dec 07, 2011 11:34 pm Post subject: |
|
|
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 |
|
|
fangwen Tux's lil' helper
Joined: 23 Oct 2011 Posts: 128 Location: Shanghai, China
|
Posted: Thu Dec 08, 2011 1:38 pm Post subject: |
|
|
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 |
|
|
Mepho Arch/Herd Tester
Joined: 31 Jul 2011 Posts: 14
|
Posted: Sun Dec 11, 2011 4:22 pm Post subject: |
|
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Sun Dec 11, 2011 4:24 pm Post subject: |
|
|
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. |
|
Back to top |
|
|
Mepho Arch/Herd Tester
Joined: 31 Jul 2011 Posts: 14
|
Posted: Thu Dec 15, 2011 10:29 am Post subject: |
|
|
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 |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
|
Back to top |
|
|
Joseph K. Guru
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Wed Jan 18, 2012 4:50 am Post subject: |
|
|
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 |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8936
|
Posted: Wed Jan 18, 2012 11:22 am Post subject: |
|
|
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. |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Mon Jan 23, 2012 9:58 am Post subject: |
|
|
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 |
|
|
|