Bug#567999: xserver-xorg-video-radeon: Please compile with kernel-based modesetting (KMS) enabled
On 2 February 2010 06:40, Pauli Nieminen suok...@gmail.com wrote: On Mon, Feb 1, 2010 at 9:15 PM, Brice Goglin brice.gog...@ens-lyon.org wrote: Last time I tried, I had some problems with the radeon kernel driver being loaded too late (see [1]). What do you use on Ubuntu in /etc/modprobe.d/ or on the kernel command line ? Brice [1] https://bugs.freedesktop.org/show_bug.cgi?id=25607 Ubuntu is putting radeon.ko (+drm.ko+ttm.ko+drmkmshelper.ko) to initrd and loading it early in the boot. I don't know the details how it is archived. I don't know about Ubuntu, but I managed to get radeon.ko loaded early in the boot process on Debian by including it in the initramfs with a hook script. It could be loaded earlier and easier, except for udev not being available to handle the firmware loading when /etc/initramfs-tools/modules is processed. See Debian bug 561476 [1] for my fix, and bugs 543717 [2] and 557439 [3] for related initramfs/firmware discussion. [1] http://bugs.debian.org/561476 [2] http://bugs.debian.org/543717 [3] http://bugs.debian.org/557439 -- Paul TBBle Hampson, paul.hamp...@pobox.com ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati
Bug#558290: src:xserver-xorg-video-ati: debian/rules loses shlibs substvar for xserver-xorg-video-radeon
Package: src:xserver-xorg-video-ati Version: 1:6.12.3-1 Severity: normal The current xserver-xorg-video-ati debian/rules file has the following lines in its binary-arch rule: dh_shlibdeps -- --warnings=6 cp -f debian/xserver-xorg-video-ati.substvars debian/xserver-xorg-video-radeon.substvars # xsfbs serverabi hack This replaces the shlibs for xserver-xorg-video-radeon with the shlibs for xserver-xorg-video-ati, leaving xserver-xorg-video-radeon depending on insufficiently recent versions of some libraries, and missing dependancies on others. eg. on my box, the following is the xserver-xorg-video-ati shlibs for 6.12.3: shlibs:Depends=libc6 (= 2.2.5), libpciaccess0 (= 0) while xserver-xorg-video-radeon gets: shlibs:Depends=libc6 (= 2.7), libdrm2 (= 2.3.1), libpciaccess0 (= 0.10.2) ie. xserver-xorg-video-radeon is missing its libdrm2 dependancy. Simply exchanging the two lines in the rules file appears to work correctly, as the misc:Depends substvar is empty in both cases, and the other substvars are what the cp line is attempting to insert into the radeon substvars file. A quick look at the xsfbs rules file suggests that calling the serverabi rule from it with PACAKGE set to xserver-xorg-video-radeon might be a better fix though, but I haven't tried this, and I'm not totally sure that's even possible in makefile syntax. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (950, 'unstable'), (900, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-rc8 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati
[PATCH] Fetch clock info before setting up connectors
RADEONProbePLLParameters sets pll-reference_div, and RADEONGetPanelInfoFromReg uses it. This ensures that the former is called before the latter. --- src/radeon_driver.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/radeon_driver.c b/src/radeon_driver.c index 925b8ee..1c433e2 100644 --- a/src/radeon_driver.c +++ b/src/radeon_driver.c @@ -2497,14 +2497,14 @@ static Bool RADEONPreInitControllers(ScrnInfoPtr pScrn, xf86Int10InfoPtr pInt10 RADEONGetBIOSInfo(pScrn, pInt10); +RADEONGetClockInfo(pScrn); + if (!RADEONSetupConnectors(pScrn)) { return FALSE; } RADEONPrintPortMap(pScrn); -RADEONGetClockInfo(pScrn); - for (i = 0; i config-num_output; i++) { xf86OutputPtr output = config-output[i]; -- 1.5.2 This is for branch randr-1.2, and fixes the problem that appeared in 117220527de9fd3158f600645bcfcaf46847f45f for BIOS-less cards. Basically, the lack of BIOS made RADEONGetPanelInfoFromReg fall back onto the probed reference_div, which had not yet been probed. I hope this formats OK, it's my first use of git-format-patch. -- --- Paul TBBle Hampson, B.Sc, LPI, MCSE On-hiatus Asian Studies student, ANU The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] Of course Pacman didn't influence us as kids. If it did, we'd be running around in darkened rooms, popping pills and listening to repetitive music. -- Kristian Wilson, Nintendo, Inc, 1989 License: http://creativecommons.org/licenses/by/2.1/au/ --- pgp4WsXY0TeAP.pgp Description: PGP signature ___ xorg-driver-ati mailing list xorg-driver-ati@lists.x.org http://lists.x.org/mailman/listinfo/xorg-driver-ati