[Bug 292214] Re: Xinerama broken since intrepid on MGA

2009-04-28 Thread Andy MacLean
I upgraded to 9.04 recently and have also been using Bryce's patch with no problems. -- Xinerama broken since intrepid on MGA https://bugs.launchpad.net/bugs/292214 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2009-04-09 Thread Andy MacLean
Yes, I saw the mga_hal comment. The mga_hal is a binary only part of the driver which gets loaded in to perform certain functions on certain mga cards. I had a look but couldn't find the mga_hal binary on my system at all, implying that it doesn't need this for dual head mode. Presumably there's

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2009-04-09 Thread Andy MacLean
Zaist: The mga_hal error you've got is generated if the driver decides it needs the HAL using this macro: #define MGA_DH_NEEDS_HAL(x) (((x)-Chipset == PCI_CHIP_MGAG400) \ ((x)-ChipRev 0x80)) In other words for some revisions of the MGA 400 chip family you need to

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2009-04-08 Thread Andy MacLean
Well I'd like to see this in Jaunty. What is it you need? Do you want me to put Jaunty on a machine, install your package and check it? -- Xinerama broken since intrepid on MGA https://bugs.launchpad.net/bugs/292214 You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-20 Thread Andy MacLean
I wonder if the framebuffer for the second head is too small. By default you only get 8Mb for it and you've a high resolution display. Have you tried using Option Crtc2Half true in the device section for both heads? That should split the framebuffer more evenly and might make the second head

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-13 Thread Andy MacLean
Here's a new version of the patch that works with both 1 and 2 head mode. The package in my PPA has been updated to have the newer version. ** Attachment added: mga-driver-3.patch http://launchpadlibrarian.net/19618287/mga-driver-3.patch -- Xinerama broken since intrepid on MGA

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-13 Thread Andy MacLean
I see the same RANDR behaviour here, it works in single head mode but not in multi-head. Doing 'xdpyinfo |grep RANDR' shows the extension present in one case but not the other. I don't think this is anything to do with my patch though, we have an Ubuntu 8.04 machine here that behaves in exactly

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-12 Thread Andy MacLean
Here is a better patch for the mga driver which doesn't require the changes to libpciaccess. This one eliminates the duplicate mappings and counts how many heads are using mapping to prevent unmapping too early. It also fixes a bug I found where the i2c monitor detection on the second head

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-12 Thread Andy MacLean
I finally got the whole source package building/PPA thing working properly. I've put an mga package in my ppa with the nicer fix in it. It works without the libpciaccess patch and is running fine on my machine. https://launchpad.net/~andy-ub1/+archive -- Xinerama broken since intrepid on MGA

[Bug 292214] Re: Xinerama broken since intrepid on MGA

2008-11-12 Thread Andy MacLean
Thanks for the feedback, that's a silly mistake in the patch. The patched version of the driver ONLY works with a dual head setup, it can't be used when there's only 1 screen or you get a NULL deref. Should have thought of that really. Will do another one tomorrow (my home PC doesn't have a

[Bug 292214] Re: Xinerama broken in intrepid

2008-11-10 Thread Andy MacLean
Oops, sent the above without a comment. The second patch is against the xserver-xorg-video-mga package. Patch in the src directory again. It maps the framebuffers correctly and makes the mga driver work in xinerama mode for me. As with the above, this works for me but use at your own risk! --

[Bug 292214] Re: Xinerama broken in intrepid

2008-11-10 Thread Andy MacLean
OK. I'm going to try to do a better patch than this which just changes the MGA driver but for now you need two patches. Here is the first against the libpciaccess library which disables the duplicate mapping check. This isn't how it should be done, but it's a quick hack and it does get the

[Bug 292214] Re: Xinerama broken in intrepid

2008-11-10 Thread Andy MacLean
** Attachment added: Patch to fix framebuffer mapping in mga driver http://launchpadlibrarian.net/19533999/mga.patch -- Xinerama broken in intrepid https://bugs.launchpad.net/bugs/292214 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 292214] Re: Xinerama broken in intrepid

2008-11-07 Thread Andy MacLean
I have the same issue with a G550 card in dual head mode and managed to change the code to get it all working with some nasty hacks. It looks like it was broken when they changed the driver to use libpciaccess to map memory regions instead of using the old xf86MapPciMem calls. There are two