On Tue, 2009-12-22 at 17:49 +0000, Steffen Schaumburg wrote:
> Ok I just realised that KMS has to be activated in staging. So I tried
> that now, but without success :(
>
> So I tried 3 kernel configs now.
>
> In common they have:
> Kernel 2.6.32 (gentoo-sources)
> xorg-server 1.7.3
> using the xorg radeon/ati driver
> identical xorg.conf and kdmrc (attached)
> Both boot in text mode fine
>
> The differences (all configs are attached):
> 1) had KMS and DRM off
> 2) DRM on
> 3) DRM and KMS on
>
> Now the results vary quite a bit.
>
> All of them start booting in textmode on the monitor connected to the
> primary graphics card.
> 1 and 2 continue to boot and allow me to do a text login. However with
> KMS on by default the monitor suddenly goes black (but not into standby)
> during boot, I think when it starts loading the modules but I'm not
> quite sure, it's hard to tell because the messages come so fast at that
> point. However I can still login blindly. If I try to start KDM nothing
> changes on the screens.
>
> As said 1 and 2 let me login normally so here's what happens from then:
> With the kernel without DRM I can start KDM and it displays on the
> screen connected to the secondary card (note: this is the first entry in
> kdmrc). I can then login and work on that monitor just fine, in fact I'm
> writing this email from it.
> With the kernel with DRM it's not so good. The second monitor turns on
> but both just go blank and stay blank.
>
> Note that in all of the scenarios I can always cause an orderly shutdown
> by pressing the power button.
>
> Any ideas?
>
> Thanks, Steffen
>
> > Okay I tried turning off arbiter by just editing .config
> > ("CONFIG_VGA_ARB=n") but when I type my usual "make && make
> > modules_install" it changes it back automatically. I tried rebooting
> > into this new kernel anyways but it continues to load arbiter as
> > evidenced in the boot messages and as expected it still doesn't work. I
> > haven't been able to turn off arbiter in make menuconfig as its
> > automatically turned on by other options so it doesn't even show up in
> > there.
You don't want to turn it off. It is needed to cleanly boot with two
VGA cards.> > > > Does anyone have any ideas what I'm doing? Or is anyone out here running > > a multiseat setup with radeon cards? I'd be very very grateful if you > > could send me your xorg.conf, ?dm config (e.g. > > /usr/share/config/kdm/kdmrc), the version numbers of your xorg-server, > > type&version of driver (at this stage I'd even try the proprietary > > drivers) and what you use to launch X as well as its version. > > > > So any tips, no matter how unlikely you think they are to work, would be > > greatly appreciated. Given how you've mentioned DRM failing, have you checked it's successfully loading the microcode for both cards? DRM should be working with multiple cards. I have a dual Radeon system RV280 (PCI) + R420 (AGP), I too was having some problems bringing it up successfully. What I found is I had to go with what the DRM driver determines to be the card order (PCI as primary), not what the BIOS has set (AGP as primary). It is apparently essential to have the cards initialised in this order. Until you get it working, you probably want to use -retro so you can tell you've got the server running properly. I haven't yet tried multi-seat, but have it working with multi-screen, I had hoped to find some way of binding input devices to a single screen, but the code isn't yet in place, so I'll be trying multi-seat again. (I previously had it working with the old UMS drivers.) I've attached the drm log from my boot with two working Radeons + KMS. I won't be about for a couple of weeks so I won't be able to help further until then.
[drm] Initialized drm 1.1.0 20060810 [drm] radeon kernel modesetting enabled. [drm] radeon: Initializing kernel modesetting. [drm] register mmio base: 0xCFFC0000 [drm] register mmio size: 65536 [drm] GPU reset succeed (RBBM_STATUS=0x00000140) [drm] GPU not posted. posting now... [drm] Generation 2 PCI interface, using max accessible memory [drm] radeon: VRAM 128M [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF [drm] radeon: GTT 512M [drm] radeon: GTT from 0x20000000 to 0x3FFFFFFF [drm] radeon: irq initialized. [drm] Detected VRAM RAM=128M, BAR=128M [drm] RAM width 64bits DDR [drm] radeon: 128M of VRAM memory ready [drm] radeon: 512M of GTT memory ready. [drm] GART: num cpu pages 131072, num gpu pages 131072 [drm] radeon: cp idle (0x02000603) [drm] Loading R200 Microcode [drm] radeon: ring at 0x0000000020000000 [drm] ring test succeeded in 0 usecs [drm] radeon: ib pool ready. [drm] ib test succeeded in 0 usecs [drm] DFP table revision: 4 [drm] Radeon Display Connectors [drm] Connector 0: [drm] VGA [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 [drm] Encoders: [drm] CRT1: INTERNAL_DAC1 [drm] Connector 1: [drm] DVI-I [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 [drm] Encoders: [drm] CRT2: INTERNAL_DAC2 [drm] DFP1: INTERNAL_TMDS1 [drm] fb mappable at 0xB8040000 [drm] vram apper at 0xB8000000 [drm] size 5242880 [drm] fb depth is 24 [drm] pitch is 5120 fb0: radeondrmfb frame buffer device [drm] Initialized radeon 2.0.0 20080528 for 0000:00:06.0 on minor 0 [drm] radeon: Initializing kernel modesetting. [drm] register mmio base: 0xCFDF0000 [drm] register mmio size: 65536 [drm] GPU reset succeed (RBBM_STATUS=0x00000140) [drm] Generation 2 PCI interface, using max accessible memory [drm] radeon: VRAM 128M [drm] radeon: VRAM from 0x00000000 to 0x07FFFFFF [drm] radeon: GTT 128M [drm] radeon: GTT from 0xD0000000 to 0xD7FFFFFF [drm] radeon: irq initialized. [drm] Detected VRAM RAM=128M, BAR=128M [drm] RAM width 128bits DDR [drm] radeon: 128M of VRAM memory ready [drm] radeon: 128M of GTT memory ready. [drm] radeon: 3 quad pipes, 1 z pipes initialized. [drm] radeon: cp idle (0x10000C03) [drm] Loading R400 Microcode [drm] radeon: ring at 0x00000000D0000000 [drm] ring test succeeded in 1 usecs [drm] radeon: ib pool ready. [drm] ib test succeeded in 0 usecs [drm] Radeon Display Connectors [drm] Connector 0: [drm] VGA [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 [drm] Encoders: [drm] CRT1: INTERNAL_DAC1 [drm] Connector 1: [drm] S-video [drm] Encoders: [drm] TV1: INTERNAL_DAC2 [drm] Connector 2: [drm] DVI-I [drm] DDC: 0x68 0x68 0x68 0x68 0x68 0x68 0x68 0x68 [drm] Encoders: [drm] CRT2: INTERNAL_DAC2 [drm] DFP1: INTERNAL_TMDS1 [drm] fb mappable at 0xA0040000 [drm] vram apper at 0xA0000000 [drm] size 8294400 [drm] fb depth is 24 [drm] pitch is 7680 fb1: radeondrmfb frame buffer device [drm] Initialized radeon 2.0.0 20080528 for 0000:01:00.0 on minor 1 [drm] TMDS-12: set mode 1280x1024 1a [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm] TMDS-12: set mode 1920x1080 2c [drm] TMDS-12: set mode 1280x1024 1a [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm] TMDS-12: set mode 1920x1080 2d [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm] TMDS-12: set mode 1920x1080 2e [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm] TMDS-12: set mode 1920x1080 2f [drm] TMDS-12: set mode 1280x1024 1a [drm:drm_mode_getfb] *ERROR* invalid framebuffer id [drm] TMDS-12: set mode 1920x1080 30
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
