Bug 122830 - Config tool fail to handle changing to new graphics card
Summary: Config tool fail to handle changing to new graphics card
Alias: None
Product: Fedora
Classification: Fedora
Component: system-config-display
Version: rawhide
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Paul Nasrat
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2004-05-08 20:05 UTC by Jon Burgess
Modified: 2007-11-30 22:10 UTC (History)
0 users

Clone Of:
Last Closed: 2005-01-04 15:36:40 UTC

Attachments (Terms of Use)

Description Jon Burgess 2004-05-08 20:05:37 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)

Description of problem:
I first found a problem when I switched a hard disk containing an
FC2T3 install between two machines. Kudzu sorted out most the
differences between the machines, but X would not work and
system-config-display could not fix the config file, even though it
correctly detected the different graphics card.

I strongly suspect the same problem will occur when a user swaps
graphics card in a machine.

I have a simple way to reproduce as below...

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Get a machine with a working X system running
2. Shutdown X with "init 4"
3. Edit /etc/X11/xorg.conf, changing the "Driver" line to use a
different chipset, e.g. swap ati for i810 etc.
4. Confirm that X does not start, which is expected
5. Try running "system-config-display". 

Actual Results:  system-config-display detects the correct chipset to
use but ends up reporting an error that X could not start.
Looking at the /var/log/xorg.setup.log & the corresponding
/tmp/tmp...xorg.config file shows that system-config-display still
tried to use the old chipset.

Expected Results:  I expect system-config-display should be able to
re-write the xorg.conf file to fix this problem.

Additional info:

Comment 1 Brent Fox 2004-05-17 18:33:46 UTC
Does /etc/X11/XF86Config still exist on your system?  

Comment 2 Jon Burgess 2004-05-17 18:55:46 UTC
Yes it did, so I just removed it and tried again but the problem still

I went to run level 3, editted /etc/X11/xorg.conf and changed the
driver from correct one "glint" to "ati" and then ran
system-config-display and it still failed:

[root@localhost X11]# system-config-display
* ddcprobe returned bogus values:
ID:   None
Name: None
HorizSync: None
VertSync:  None

Trying with card: 3Dlabs Permedia2 (generic)
Error, cannot start X server.
[root@localhost X11]# 

If I delete the xorg.conf file containing the bogus driver info then
it works OK.

Comment 3 Paul Nasrat 2004-08-12 10:20:53 UTC
Please retest this appears to be fixed for me using Fedora Core 3 test
1 system-config-display 1.0.17-1

Steps to reproduce:

Shutdown X
Change driver from ati to glint

It tries with config and then automatically tries using a fresh
configuration which works.

Note You need to log in before you can comment on or make changes to this bug.