[SOLVED] Re: Failed to open DRM device

2010-11-02 Thread Zhang Weiwu
On 10/25/2010 11:59 PM, Luca Tettamanti wrote: I guess that the OP wants to known why sometimes DRM/KMS is not initialized even on the primary card. Zhang, is radeon module loaded *before* X is started? I think your mentioning of the kernel module load time hinted me to a solution. I added

Re: Failed to open DRM device

2010-10-26 Thread Zhang Weiwu
On 10/25/2010 11:59 PM, Luca Tettamanti wrote: Zhang, is radeon module loaded *before* X is started? I suppose I should look for kernel document to see how to get the radeon module loaded and what available parameters are there (so that it doesn't try to probe the second VGA card). But I didn't

Re: Failed to open DRM device

2010-10-26 Thread Alex Deucher
On Tue, Oct 26, 2010 at 2:53 AM, Zhang Weiwu zhangwe...@realss.com wrote:  On 10/25/2010 11:59 PM, Luca Tettamanti wrote: Zhang, is radeon module loaded *before* X is started? I suppose I should look for kernel document to see how to get the radeon module loaded and what available parameters

Re: Failed to open DRM device

2010-10-26 Thread Zhang Weiwu
On 10/26/2010 03:26 PM, Alex Deucher wrote: The driver automatically loads on all supported devices. In most cases multiple cards work fine, however, for some reason, it's not able to access the vbios on one of your cards. What should I do now? Must I remove one of the cards? (Previous

Re: Failed to open DRM device

2010-10-26 Thread Alex Deucher
On Tue, Oct 26, 2010 at 3:29 AM, Zhang Weiwu zhangwe...@realss.com wrote:  On 10/26/2010 03:26 PM, Alex Deucher wrote: The driver automatically loads on all supported devices.  In most cases multiple cards work fine, however, for some reason, it's not able to access the vbios on one of your

Re: Failed to open DRM device

2010-10-25 Thread Alex Deucher
] drmOpenDevice: node name is /dev/dri/card15 [    17.290] (EE) RADEON(0): [drm] Failed to open DRM device for pci::01:00.0: No such file or directory [    17.290] (EE) RADEON(0): Kernel modesetting setup failed A check at /dev/dri is like this: yulia...@andalusia:~$ ls -lh /dev/dri/ total 0

Re: Failed to open DRM device

2010-10-25 Thread Zhang Weiwu
On 10/25/2010 11:32 PM, Alex Deucher wrote: The drm is not able to access the rom on your secondary card so it's not able to initialize it. From your dmesg: [ 16.705425] radeon :02:00.0: Invalid ROM contents [ 16.705469] radeon :02:00.0: Invalid ROM contents [ 16.705480]

Re: Failed to open DRM device

2010-10-25 Thread Alex Deucher
On Mon, Oct 25, 2010 at 11:43 AM, Zhang Weiwu zhangwe...@realss.com wrote:  On 10/25/2010 11:32 PM, Alex Deucher wrote: The drm is not able to access the rom on your secondary card so it's not able to initialize it.  From your dmesg: [   16.705425] radeon :02:00.0: Invalid ROM contents [  

Re: Failed to open DRM device

2010-10-25 Thread Zhang Weiwu
On 10/25/2010 11:50 PM, Alex Deucher wrote: You can specify the busid of the card you want X to start on in the device section of your xorg.conf: e.g., BusID PCI:2:0:0 I am confused. My second post showed than when things works, X is using :1:0:0, so my preferred card should be

Re: Failed to open DRM device

2010-10-25 Thread Zhang Weiwu
On 10/25/2010 11:59 PM, Luca Tettamanti wrote: I guess that the OP wants to known why sometimes DRM/KMS is not initialized even on the primary card. True! Zhang, is radeon module loaded *before* X is started? Errh, how do I know for sure? I am too stupid to figure out if a module is loaded

Re: Failed to open DRM device

2010-10-25 Thread Alex Deucher
On Mon, Oct 25, 2010 at 12:17 PM, Zhang Weiwu zhangwe...@realss.com wrote:  On 10/25/2010 11:50 PM, Alex Deucher wrote: You can specify the busid of the card you want X to start on in the device section of your xorg.conf: e.g., BusID PCI:2:0:0 I am confused. My second post showed than when