Multiseat with VGAArbiter on 2 Radeon cards - found KMS

Steffen Schaumburg steffen at schaumburger.info
Sat Jan 9 10:36:00 PST 2010


Hi,
I'll be brief, due to some changed circumstances I unfortunately no
longer have a need (and in a couple of days won't have the equipment any
more either) for dual seat. However I wanted to share what I got in case
somebody else is trying to get it to work. So this is what happened
since my last mail:
- I tried the cards (one HD 34xx, one HD4350) individually. I finally
figured out how to get it to load the firmware/microcode: copy the
appropriate file(s) from
http://people.freedesktop.org/~agd5f/radeon_ucode/ to
{kernel-sources-root}/firmware/radeon/ and tell it about it, see my
attached config. But unfortunately with the 4350 it just blackscreened.
- So I traded the 4350 against another 34xx (so now I was trying with
two HD34xx cards). Now with a normal kdmrc (attached) and no xorg-conf
at all it booted fine, loaded X fine, it even played 720p videos fine.
- So I tried putting my multiseat xorg.conf and kdmrc (both attached)
back in but now unfortunately when I tried to start kdm (using
/etc/init.d/xdm start) it just crashed on me again.

So that's about it, if anyone has any further questions to me about this
I'd be more than happy to help.
Other than that, thanks everyone for helping me out, and sorry for not
seeing it through.

Steffen

>> 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.
>   




More information about the xorg mailing list