You are not logged in.

#101 2012-07-05 22:37:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Gusar wrote:

Why fbdev? Use the intel driver, but activate Shadow. You'll get modesetting and Xv for video playback.

Do you mean the -sna intel drivers?

Offline

#102 2012-07-05 22:40:12

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Doesn't matter which, because Shadow turns off all acceleration anyway.

Offline

#103 2012-07-05 23:03:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I get hung GPU shortly after boot with the -sna drivers:

[    44.806] (WW) intel(0): Textured video not supported on this hardware
[    44.806] (WW) intel(0): Option "Shadow" is not used
[   231.655] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[   231.655] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.
$ cat /etc/X11/xorg.conf.d/20-intel.conf 
Section "Device"
  Identifier "card0"
  Driver "intel"
  Option "Shadow" "True"
EndSection

What am I doing wrong?



BTW, you said

Gusar wrote:

SNA supports all Intel graphics from gen2 (i8xx) onwards, which means only gen1 (i810/i815) isn't supported.

and the package description says these drivers are for i810 too:

$ pacman -Qs sna
local/xf86-video-intel-sna 2.19.0-6 (xorg-drivers xorg)
    X.org Intel i810/i830/i915/945G/G965+ video drivers with SNA acceleration

Offline

#104 2012-07-05 23:16:21

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

The package description is wrong.

About Shadow, according to the source, it's only available when you compile in uxa. But the -sna package should contain uxa as well, you need to use --disable-uxa to get rid of it. At least that's true for git, it seems it's not the case for the 2.19 release. I'll investigate further.

Edit: The 2.19 release doesn't have the --with-default-accel option that git has. And it seems there are also quite some other differences between 2.19 and git. So it's possible that the -sna package doesn't contain uxa as I thought it does. Which means it also doesn't have Shadow.

Long story short: If you want Shadow, install the -uxa package.

Last edited by Gusar (2012-07-05 23:31:24)

Offline

#105 2012-07-06 06:03:22

Rupp
Member
Registered: 2010-02-14
Posts: 47

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Gusar wrote:

Why fbdev? Use the intel driver, but activate Shadow. You'll get modesetting and Xv for video playback.

I use fbdev for a number of reasons over the intel driver. Fbdev appears to run slightly faster than the intel driver with the shadow option. X starts faster too using fbdev. As for video playback, I've used x11 for playback, and haven't yet suffered because of it. For my computer and maybe my computer alone, it works better than the intel driver that seems like it will never get back to the point of not needing to have things disabled to run correctly.

Offline

#106 2012-07-09 18:24:31

snoxu
Member
Registered: 2010-01-24
Posts: 141

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Just tried these drivers on my Intel 82845G system.

sna is unusable on my system for now at least. Weird graphical glitches:
Screenshot: http://s13.postimage.org/wj8zqcmd1/Deep … t_0701.png

The screenshot is actually diferent than what I'm viewing which is strange. There are none of those blocky window things. It's just the text and icons that are unreadable.

I also get similar glitches with Intel HD graphics (Arrandale system). Sna is a no go.

So for now the uxa drivers are working. I no longer need the need a 20-intel.conf with the Shadow option on 82845G. So I'm guessing I'm getting somekind of acceleration. But I can not view 720p video in vlc:

Your video output acceleration driver does not support the required resolution: 1280x544 pixels. The maximum supported resolution is 1024x544.
Video output acceleration will be disabled. However, rendering videos with overly large resolution may cause severe performance degration.

Something is not recognizing my screen resolution (1280x1024) correctly.

With mplayer I get no video, just sound

Last edited by snoxu (2012-07-09 18:55:46)

Offline

#107 2012-07-09 18:34:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

snoxu wrote:

sna is unusable on my system for now at least. Weird graphical glitches:
Screenshot: http://s13.postimage.org/wj8zqcmd1/Deep … t_0701.png

I got the same glitches but they were limited to a line or paragraph of text.

The other thing I observed was the screen went black for about 2-3 sec. when closing tab, switching tab or even all by itself.

Offline

#108 2012-07-09 19:08:32

snoxu
Member
Registered: 2010-01-24
Posts: 141

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I thing I may need to enable Shadow again with the uxa driver because now my 82845G system hangs after a few minutes of use. I'm running xfce but I don't think that matters.

Offline

#109 2012-07-10 09:29:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

snoxu wrote:

I thing I may need to enable Shadow again with the uxa driver because now my 82845G system hangs after a few minutes of use.

Yup, that's what I did.

Offline

#110 2012-07-17 19:09:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I have a problem with the new drivers from [testing] (version 2.20) - my gpu hangs.
If I get it right, uxa is the default so why does it happen? Is

Option "Shadow" "True"

being ignored now?

If you need some more info (dmesg, X log etc.) just ask.

Offline

#111 2012-07-17 21:59:20

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Still works here:

[ 10525.519] (**) intel(0): Option "Shadow" "true"
[ 10525.519] (II) intel(0): Integrated Graphics Chipset: Intel(R) 945GME
[ 10525.519] (--) intel(0): Chipset: "945GME"
[ 10525.519] (**) intel(0): Shadow buffer enabled, 2D GPU acceleration disabled.

Offline

#112 2012-07-17 22:57:37

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

xf86-video-intel-uxa 2.19:

[    20.570] (**) intel(0): Option "Shadow" "True"
[    20.571] (II) intel(0): Integrated Graphics Chipset: Intel(R) 845G
[    20.571] (--) intel(0): Chipset: "845G"
[    20.571] (**) intel(0): Shadow buffer enabled, 2D GPU acceleration disabled.

xf86-video-intel 2.20:

[    15.746] (**) intel(0): Option "Shadow" "True"
[    15.746] (II) intel(0): Integrated Graphics Chipset: Intel(R) 845G
[    15.746] (--) intel(0): Chipset: "845G"
...
[    30.045] (EE) intel(0): Detected a hung GPU, disabling acceleration.

I didn't change anything in my /etc/X11/xorg.conf.d/20-intel.conf (I don't have /etc/X11/xorg.conf). Are any changes needed?

Where can I find info about AccelMethod? Neither 'man intel' nor 'man xorg.conf' knows anything about this option.

Offline

#113 2012-07-17 23:09:42

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Nope, no changes to the config needed.

About the AccelMethod option, "use the force Luke"... err, I mean the source smile: http://cgit.freedesktop.org/xorg/driver … _options.c, the commit that added it: http://cgit.freedesktop.org/xorg/driver … 4e1d07c6dc. The Arch package doesn't have glamor, only uxa and sna.

Offline

#114 2012-07-17 23:16:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I did try adding

Option "AccelMethod" "uxa"

and while it did appear in the log just as

Option "Shadow" "True"

did, the gpu hung just the same.

The commit says

The appropriate backend must also be enabled at compile time for the runtime option to be available (i.e. --enable-uxa (default) --enable-sna --enable-glamor)

and https://projects.archlinux.org/svntogit … ideo-intel has only '--enable-dri'. Is this a bug?

Offline

#115 2012-07-17 23:21:41

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

That message says what was true at the time of the commit. But it's not true anymore, sna was made to be compiled by default shortly before the 2.20 release: http://cgit.freedesktop.org/xorg/driver … 5f776be971 and uxa is always compiled, unless explicitly disabled.

Last edited by Gusar (2012-07-17 23:25:30)

Offline

#116 2012-07-17 23:25:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Ah, OK.
I still have to find a way for my card to work with the new drivers. Should I try compiling them in a different way?

Offline

#117 2012-07-17 23:27:45

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I don't think compiling differently would do anything. Doesn't hurt to try though, just add --disable-sna

One thing though, Shadow was removed immediately after the 2.20 release, so 2.21 won't have it anymore: http://cgit.freedesktop.org/xorg/driver … d879080f6b. So if SNA isn't working for you, you should report that. SNA is meant to be the savior of gen2. It works very well on my gen3, soon I'll also try on gen5 (Ironlake).

Last edited by Gusar (2012-07-17 23:30:48)

Offline

#118 2012-07-18 02:41:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Even with '--disable-sna' I get a hung gpu. '--disable-dri' didn't help either.
In 3 out of the last 6 hang-ups (with difrent configurations) the only thing I could do with a keyboard is the magic sysrq.

With

Option "AccelMethod" "sna"

and w/o

Option "Shadow" "True"

I get

[    15.192] (WW) intel(0): Detected unsupported/dysfunctional hardware, disabling acceleration.
[    15.373] (WW) intel(0): Textured video not supported on this hardware
[    15.385] (WW) intel(0): cannot enable DRI2 whilst the GPU is wedged

and it seems to work OK for over an hour of uptime.


As for the package description, I think that since the drivers are back in one package, it's correct again.

Offline

#119 2012-07-21 02:31:04

snoxu
Member
Registered: 2010-01-24
Posts: 141

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Sorry nevermind

Last edited by snoxu (2012-07-21 02:41:17)

Offline

#120 2012-07-25 00:03:49

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

xf86-video-intel 2.20.1 with sna are pretty slow (about a second) when switching tags or creating / destroying terminals in dwm. Load avg gets high if I switch back and forth.
I've got back to uxa for now - it's faster but not as fast as it used to be.

Edit: Experiencing hung gpu with uxa ...

Last edited by karol (2012-07-25 00:18:12)

Offline

#121 2012-07-25 01:02:27

steve___
Member
Registered: 2008-02-24
Posts: 452

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Good to know.  Thanks for posting.

Offline

#122 2012-07-25 02:10:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

I've tried xaa, but the gpu hangs too.

Offline

#123 2012-07-25 09:32:36

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

There's no xaa in the driver, hasn't been there for a loooong time. Well, except for gen1 (i810/i815). 2.20.1 doesn't have Shadow either. If SNA gives you hangs, follow these instructions: https://bugs.freedesktop.org/show_bug.cgi?id=47324#c11. You need to mount debugfs before that.

Regarding general slowness... file a bug for that too. And make sure you're not trying to use X while the GPU is hung, your slowness sounds exactly as if you are.

Last edited by Gusar (2012-07-25 09:33:33)

Offline

#124 2012-07-25 14:02:40

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Gusar wrote:

Regarding general slowness... file a bug for that too. And make sure you're not trying to use X while the GPU is hung, your slowness sounds exactly as if you are.

The info about hung gpu is printed in the X log

[  6224.750] (EE) intel(0): Detected a hung GPU, disabling acceleration.
[  6224.750] (EE) intel(0): When reporting this, please include i915_error_state from debugfs and the full dmesg.

and I get no such info with sna drivers.
The warnings I get with sna:

[    16.267] (WW) intel(0): Detected unsupported/dysfunctional hardware, disabling acceleration.
[    16.865] (WW) intel(0): Textured video not supported on this hardware
[    16.876] (WW) intel(0): loading DRI2 whilst the GPU is wedged.

Offline

#125 2012-07-25 14:08:03

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: Intel 82845G and xorg 1.8 - anyone got it working?

Is that even after a reboot? A wedged GPU definitely doesn't sound good.

Offline

Board footer

Powered by FluxBB