Bug 2649 - X is mucking with video cards it does not own
Summary: X is mucking with video cards it does not own
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 18:55 UTC by Jon Smirl
Modified: 2007-02-22 14:26 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Jon Smirl 2005-03-03 18:55:21 UTC
I have two video cards:
PCI Rage128
AGP Radeon

X is loaded on the Rage128 on VT7
X is not configured to support the radeon

I switch to VT1 and load radeonfb
This works fine.

Now I switch to VT7 and dump PCI config space for the radeon

[root@jonsmirl 0000:01:00.0]# hexdump config >/foo
[root@jonsmirl 0000:01:00.0]# diff /foo /bar
1c1
< 0000000 1002 4966 0080 02b0 0001 0300 4010 0080
---
> 0000000 1002 4966 0083 02b0 0001 0300 4010 0080
4c4
< 0000030 0000 fea0 0058 0000 0000 0000 010b 0008
---
> 0000030 0000 fe90 0058 0000 0000 0000 010b 0008
[root@jonsmirl 0000:01:00.0]#

Somebody is changing PCI command from 83 to 80 and disabling my
radeon's memory and iospace. Who is doing this? It has to be X since
it doesn't happen if I switch to VT6 or VT8.

Why is X mucking with a card it doesn't have a driver loaded for?
Where is this happening in the X code?

Jon Smirl írta:
> Somebody is changing PCI command from 83 to 80 and disabling my
> radeon's memory and iospace. Who is doing this? It has to be X since
> it doesn't happen if I switch to VT6 or VT8.
>
> Why is X mucking with a card it doesn't have a driver loaded for?
> Where is this happening in the X code?
>

Hm. Someone other than a Linux-ruby user finally complaining. :-)
Try patching XFree or XOrg with the proper patch

http://www.ltn.lv/~aivils/files/080_pci_isolate_device_feature.diff

for XFree, or

http://www.ltn.lv/~aivils/files/Xorg-6.7.0-isolate_device.patch

for XOrg, it's applicable for XOrg-6.8.x, too.

Then add
         Option         "SingleCard" "on"
to your Section "ServerLayout".

Best regards,
Zoltán Böszörményi
Comment 1 Erik Andren 2006-04-02 18:50:00 UTC
Did this resolve your issue?
Comment 2 Timo Jyrinki 2007-02-22 14:26:26 UTC
Marking broken (status null/blank) bugs in xorg with no activity in a long time as fixed. Please reopen if you think it's necessary, but first do a search if a similar bug report is already filed and in a NEW/ASSIGNED state. These bugs do not currently show in most search results as they do not have any status.

Sorry for this janitorial spam, you know where to send hate mails to when your inbox gets full of bugs you're subscribed to.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.