bug: 211759 title: Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250) - needs backport of newer -ati date-reported: Fri, 04 Apr 2008 11:37:37 -0000 date-updated: Thu, 03 Feb 2011 12:40:58 -0000 reporter: hoobasco (hbx) duplicate-of: duplicates: 183970 216404 225871 attachments: https://bugs.launchpad.net/bugs/211759/+attachment/279597/+files/Xorg.0.log.old application/x-trash https://bugs.launchpad.net/bugs/211759/+attachment/279598/+files/dmesg.log text/plain https://bugs.launchpad.net/bugs/211759/+attachment/279599/+files/lspci.log text/plain https://bugs.launchpad.net/bugs/211759/+attachment/279600/+files/uname-r.log text/plain https://bugs.launchpad.net/bugs/211759/+attachment/296328/+files/Xorg.0.log.old application/x-trash https://bugs.launchpad.net/bugs/211759/+attachment/296331/+files/xorg.conf_ati text/plain patches: https://bugs.launchpad.net/bugs/211759/+attachment/296176/+files/xpress1250.patch text/plain tags: ati radeonhd valid-xorg-conf xorg subscribers: hoobasco (hbx) Antoine Pairet (b-ly) Timo Saloranta (timo-saloranta) Simon Sprünker (simons.spruenker) task: xserver-xorg-driver-ati status: Fix Released date-created: Mon, 12 May 2008 23:23:48 -0000 date-inprogress: Wed, 14 May 2008 21:52:11 -0000 date-closed: Wed, 14 May 2008 21:52:11 -0000 reporter: Bryce Harrington (bryce) watch: https://bugs.freedesktop.org/show_bug.cgi?id=15914 importance: Medium assignee: milestone: task: xserver-xorg-video-ati (Ubuntu) status: Fix Released date-created: Fri, 04 Apr 2008 11:37:37 -0000 date-confirmed: Tue, 13 May 2008 19:18:13 -0000 date-inprogress: Fri, 18 Jul 2008 13:56:20 -0000 date-closed: Fri, 18 Jul 2008 13:56:20 -0000 date-fix-committed: Fri, 18 Jul 2008 13:56:20 -0000 date-fix-released: Fri, 18 Jul 2008 13:56:20 -0000 reporter: hoobasco (hbx) importance: High component: main assignee: milestone: intrepid-alpha-3 task: xserver-xorg-video-ati (Ubuntu Intrepid) status: Fix Released date-created: Mon, 12 May 2008 18:24:57 -0000 date-confirmed: Tue, 13 May 2008 19:18:13 -0000 date-inprogress: Fri, 18 Jul 2008 13:56:20 -0000 date-closed: Fri, 18 Jul 2008 13:56:20 -0000 date-fix-committed: Fri, 18 Jul 2008 13:56:20 -0000 date-fix-released: Fri, 18 Jul 2008 13:56:20 -0000 reporter: Bryce Harrington (bryce) importance: High assignee: milestone: intrepid-alpha-3 Content-Type: multipart/mixed; boundary="===============6898012004519166110==" MIME-Version: 1.0 --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The live CD of versions * 7.10 * 8.04 will fail to start X server on laptops using the on-board graphic card ATI = XPRESS 1250. needs backport of newer -ati. The problem is fixed in intrepid --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:37:00 -0000 Message-Id: <20080419133700.24873.28288.malone@gangotri.canonical.com> This bug affects every laptop equipped with a radeon X1250. To function properly, these card needs one of the following driver: * newer ati driver than the one provided by Hardy * radeonhd driver which is not avalaible with livecd If one boots with Hardy LiveCD, X will fail to start, installing radeonhd and editing xorg.conf than restarting gdm "solves" the problem. However, this can't be done by everyone! --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:39:09 -0000 Message-Id: <20080419133909.28244.98251.malone@gandwana.canonical.com> --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:40:39 -0000 Message-Id: <20080419134039.28083.40345.malone@gandwana.canonical.com> --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:41:21 -0000 Message-Id: <20080419134121.28083.84639.malone@gandwana.canonical.com> --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:41:31 -0000 Message-Id: <20080419134131.24873.56584.malone@gangotri.canonical.com> --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 19 Apr 2008 13:43:17 -0000 Message-Id: <20080419134317.24873.85803.malone@gangotri.canonical.com> Of course, the card also work with the fglrx --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Mon, 12 May 2008 16:10:33 -0000 Message-Id: <20100914061434.25325.52842.launchpad@loganberry.canonical.com> PCI ID 1002:7942 "ATI Xpress 1250" is not listed in ati_pciids_gen.h, so users with this motherboard must use the -radeonhd or -fglrx driver. Is it as simple as adding the pci id to this file, or is additional work required to support it? http://launchpadlibrarian.net/13577403/Xorg.0.log.old http://launchpadlibrarian.net/13577413/dmesg.log http://launchpadlibrarian.net/13577420/lspci.log --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Mon, 12 May 2008 16:21:41 -0000 Message-Id: <20100914061434.25325.60982.launchpad@loganberry.canonical.com> Created an attachment (id=3D16493) Add pci id support for xpress 1250 I don't know if more is required than to just add the pci id, but here's a go at that. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: agd5f (agd5f) Date: Mon, 12 May 2008 17:34:50 -0000 Message-Id: <20100914061434.25325.27487.launchpad@loganberry.canonical.com> Created an attachment (id=3D16494) possible patch It'll need more than just ids. The memory controller has changed substantially. Does this patch work? --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Mon, 12 May 2008 18:24:46 -0000 Message-Id: <20080512182447.31366.71133.malone@gangotri.canonical.com> Obviously it's too late to do anything about this for 7.10 or 8.04, but this should be high priority to fix for Intrepid. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Mon, 12 May 2008 18:27:22 -0000 Message-Id: <20080512182722.11457.77800.malone@potassium.ubuntu.com> There is a 6.8.0 version of the -ati driver available now in Intrepid. Could you please test against Intrepid when you get a chance? --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Timo Aaltonen (tjaalton) Date: Mon, 12 May 2008 19:14:58 -0000 Message-Id: <20080512191458.7617.24737.malone@gandwana.canonical.com> Hardy has 6.8.0 as well, which should support X1250. Although, the driver doesn't seem to list 1002,7942 as supported pci-id, so maybe that's the problem here? --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Timo Aaltonen (tjaalton) Date: Mon, 12 May 2008 22:08:33 -0000 Message-Id: <20080512220833.4056.59796.malone@gangotri.canonical.com> git version of -ati does not have 1002:7942 listed while radeonhd does. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Mon, 12 May 2008 23:21:25 -0000 Message-Id: <20100914061434.25325.28579.launchpad@loganberry.canonical.com> Hi,=20 I have a X1250 and like to test Alex's patch, can someone explain me how to= apply this patch (Ubuntu Hardy Heron). Thanks in adavance, --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Mon, 12 May 2008 23:22:26 -0000 Message-Id: <20080512232226.26399.5997.malone@gandwana.canonical.com> Is it as simple as adding the pci id to the respective files? --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Tue, 13 May 2008 00:01:55 -0000 Message-Id: <20100914061434.25325.99439.launchpad@loganberry.canonical.com> @Antoine, you'll need to build the -ati driver from git and apply the patch. Alex, any chance of a patch that applies against 6.8.0? Looks like the code this one modifies has changed fairly substantially since 6.8.0 so maybe not, but if so it might be backportable to Hardy. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 02:35:53 -0000 Message-Id: <20100914061434.25325.85099.launchpad@loganberry.canonical.com> Hi, I pulled the latest sources from git: git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati Then I applied the patch: patch --verbose -uN < alex_deucher.diff The patch applied succesfully (had to enter manually the path to the files = to patch) Then I edited my xorg.conf file and set the ati driver, then I restarted X = and the computer crashed. I had to restart by pressing Ctrl+Alt+Delete. In the Xorg.0.log: (EE) RADEON(0): Timeout trying to update memory controller settings ! (EE) RADEON(0): You will probably crash now ... I'll attach this log and my xorg.conf, regards, Antoine --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 02:37:07 -0000 Message-Id: <20100914061434.25325.29016.launchpad@loganberry.canonical.com> Created an attachment (id=3D16503) log using ati driver from git with Alex's patch applied --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 02:38:38 -0000 Message-Id: <20100914061434.25325.29018.launchpad@loganberry.canonical.com> Created an attachment (id=3D16504) xorg configuration file, using ati driver --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 02:40:24 -0000 Message-Id: <20100914061434.25325.36715.launchpad@loganberry.canonical.com> Created an attachment (id=3D16505) same as above, but with text/plain as myme type so it can be viewed without= downloading --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: agd5f (agd5f) Date: Tue, 13 May 2008 05:26:19 -0000 Message-Id: <20100914061434.25325.21345.launchpad@loganberry.canonical.com> Created an attachment (id=3D16507) alternate patch Can you try this one? You'll want to apply with -p1: patch -p1 -i rs600-2.diff --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 09:26:50 -0000 Message-Id: <20080513092650.31491.56408.malone@gangotri.canonical.com> Hi, I pulled the latest sources from git: git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati Then I applied the patch: patch --verbose -uN < alex_deucher.diff The patch applied succesfully (had to enter manually the path to the files = to patch) Then I edited my xorg.conf file and set the ati driver, then I restarted X = and the computer crashed. I had to restart by pressing Ctrl+Alt+Delete. In the Xorg.0.log: (EE) RADEON(0): Timeout trying to update memory controller settings ! (EE) RADEON(0): You will probably crash now ...=20 I'll attach this log and my xorg.conf, regards, Antoine ps: will also post this message on bugzilla at freedesktop.org --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 09:34:33 -0000 Message-Id: <20080513093434.26399.40029.malone@gandwana.canonical.com> --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 11:38:34 -0000 Message-Id: <20100914061434.25325.82666.launchpad@loganberry.canonical.com> (In reply to comment #9) > Created an attachment (id=3D16507) [details] > alternate patch >=20 > Can you try this one? You'll want to apply with -p1: > patch -p1 -i rs600-2.diff >=20 Great! Thanks for the good job, Alex's second patch works. I'm now able to run the= radeon driver. The only error I see in Xorg.0.log is: (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM [dri] Disabling DRI. Next step is to know whether it will possible to apply this patch to versio= n 6.8.0 (Ubuntu Hardy's version)=20 If you need information like the .rej files when I try to apply the patch t= o the package's source from Hardy depot, feel free to ask! regards, Antoine --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 11:39:38 -0000 Message-Id: <20100914061434.25325.77364.launchpad@loganberry.canonical.com> Created an attachment (id=3D16510) Xorg log when succesfully using radeon driver on X1250 chip --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: agd5f (agd5f) Date: Tue, 13 May 2008 12:52:37 -0000 Message-Id: <20100914061434.25325.23350.launchpad@loganberry.canonical.com> (In reply to comment #10) > Great! > Thanks for the good job, Alex's second patch works. I'm now able to run t= he > radeon driver. >=20 Excellent! > The only error I see in Xorg.0.log is: > (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM > [dri] Disabling DRI. >=20 The drm will need some work to support the RS600. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Tue, 13 May 2008 18:48:11 -0000 Message-Id: <20080513184811.11457.71709.malone@potassium.ubuntu.com> The bug is resolved upstream. Alex Deucher wrote a patch that resolved the = problem. http://bugs.freedesktop.org/show_bug.cgi?id=3D15914 Now it would be great if the patch is applicable to version 6.8.0 of the dr= iver so it could be backported to Hardy. If you need information like .rej files when apllying the patch to Hardy's = current version, feel free to ask, Thanks for the great job you do, regards, Antoine --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: agd5f (agd5f) Date: Wed, 14 May 2008 10:44:14 -0000 Message-Id: <20100914061434.25325.90013.launchpad@loganberry.canonical.com> Committed: 71fa57f871dba03260dba2180ce1dab44048ac1a --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Fri, 30 May 2008 08:38:21 -0000 Message-Id: <20080530083821.8380.61612.malone@gandwana.canonical.com> Unfortunately the patch does not apply to the 6.8.0 driver we have in Hardy. I had a go at making it fit 6.8.0 this evening. Unfortunately some of the patch depends on code not present in 6.8.0 and that, if ported, wouldn't be viable to include in Hardy. (Indeed, the size of the patch even without the dependent code is beyond what would likely be acceptable by the SRU team.) Instead, I think the better approach is to wait until the next release of the driver (6.8.1 or 6.9.0 or whatever) and then pull it in via hardy-backports. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Bryce Harrington (bryce) Date: Fri, 18 Jul 2008 13:56:18 -0000 Message-Id: <20080718135619.30684.9125.malone@potassium.ubuntu.com> xserver-xorg-video-ati 6.9.0 has been uploaded to Intrepid, so I'm considering this fixed for Intrepid. --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: Antoine Pairet (b-ly) Date: Sat, 13 Sep 2008 20:43:42 -0000 Message-Id: <20080913204342.21230.63668.malone@gangotri.canonical.com> I confirm this is fixed in Intrepid. I just tested the Daily Live CD and ha= d no graphical problem.=20 Thanks, --===============6898012004519166110== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Author: hoobasco (hbx) Date: Thu, 06 Nov 2008 09:02:39 -0000 Message-Id: <20081106090239.3247.865.malone@gangotri.canonical.com> I confirm also that 8.10 liveCD works with my Samsung R60 Aura without any problems. Great work, thank You very much for this fix. hr --===============6898012004519166110==--