Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 106501
Summary: | redhat-config-xfree86-0.9.9-2 crashes w/ some ATI Radeons | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Heslep <mark> | ||||
Component: | redhat-config-xfree86 | Assignee: | Brent Fox <bfox> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | rawhide | CC: | barryn, chris.ricker, dcbw, elwoo, erik.burgess, gireesh_bhat, hburde, memeyou, mharris, mike, wtogami | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2003-10-23 19:29:57 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 100643 | ||||||
Attachments: |
|
Description
Mark Heslep
2003-10-07 20:49:06 UTC
Hmm, seems like something is strange with kudzu's probing. Try this: 1) su to root 2) run 'python' 3) type 'import kudzu' 4) type 'vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL)' 5) print vc[0] Please attach the output to this report. ]# python
Python 2.2.3 (#1, Jun 10 2003, 16:41:13)
[GCC 3.3 20030604 (Red Hat Linux 3.3-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import kudzu
>>> vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL)
>>> print vc[0]
Desc: ATI|Radeon R300 NG [FireGL X1]
Driver: Card:ATI FireGL X1
Device: None
Tried again w/ latest updates from rawhide: $ rpm -q kudzu initscripts kudzu-1.1.32-1 initscripts-7.36-2 Idenitical results, though there seems to be much of a time lag: $ redhat-config-xfree86 --reconfig Trying with card: ATI FireGL X1 Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xconf.py", line 406, in ? dialog = xConfigDialog.XConfigDialog(hardware_state, xconfig, vc) File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 397, in __init__ key, value = string.split(card.driver, ":") ValueError: unpack list of wrong size I'm getting a similar crash of redhat-config-xfree86 on a fresh install of Fedora Core test3. My video card is Sapphire Radeon 9000. Hmm, I can't explain what's going on since kudzu seems to be probing your card just fine. Redo the Python commands like before but this time call 'print vc' instead of 'print vc[0]'. This will show the entire list of videocards that kudzu has probed. Maybe it's mis-detecting some other card as a video card... Python 2.2.3 (#1, Jun 10 2003, 16:41:13) [GCC 3.3 20030604 (Red Hat Linux 3.3-5)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import kudzu >>> vc = kudzu.probe(kudzu.CLASS_VIDEO,kudzu.BUS_PCI,kudzu.PROBE_ALL) >>> print vc [Desc: ATI|Radeon R300 NG [FireGL X1] Driver: Card:ATI FireGL X1 Device: None , Desc: ATI|Radeon R300 [FireGL X1] (Secondary) Driver: unknown Device: None ] >>> $ python
Python 2.2.3 (#1, Jun 10 2003, 16:41:13)
[GCC 3.3 20030604 (Red Hat Linux 3.3-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Identical results here with Fedora 0.95
>>> import kudzu
>>> vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL)
>>> print vc
[Desc: ATI|Radeon R300 NG [FireGL X1]
Driver: Card:ATI FireGL X1
Device: None
, Desc: ATI|Radeon R300 [FireGL X1] (Secondary)
Driver: unknown
Device: None
]
Also, the monitor probe comes back w/ nil: >>> vc = kudzu.probe(kudzu.CLASS_MONITOR, kudzu.BUS_PCI,kudzu.PROBE_ALL) >>> print vc [] >>> As does /usr/sbin/ddcprobe directly: $ /usr/sbin/ddcprobe Monitor DDC probe results Monitor DDC Probe failed. redhat-config-xfree86 failes to start for me as well, on a Radeon 9000 Pro with a KDS monitor attached (this is listed though in the hwdata file). [mike@bart mike]$ redhat-config-xfree86 * ddcprobe returned bogus values: ID: PTS03e5 Name: None HorizSync: 30-98 VertSync: 50-160 Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xconf.py", line 406, in ? dialog = xConfigDialog.XConfigDialog(hardware_state, xconfig, vc) File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 398, in __init__ key, value = string.split(card.driver, ":") ValueError: unpack list of wrong size Couple other comments.. Kudzu is turned off to start on boot currently... kudzu-1.1.33-1 initscripts-7.37-1 XFree86-4.3.0-39 redhat-config-xfree86-0.9.10-1 Oh, and here is the python info you wanted as you had someone else do in earlier comments... Desc: ATI|Radeon R250 If [Radeon 9000] Driver: Card:ATI Radeon 9000 Device: fb0 Bug still exists in version redhat-config-xfree86-0.9.12-1 redhat-config-xfree86 was working until today (17 Oct.) when I updated packages via up2date (yum - rawhide). I recomplied the nVidia drivers, to boot the new kernel, with the usual export CC=gcc32. Running the Display Settings from the menu, the dialog window just sits there. When invoked from a console, I get the following: root]# redhat-config-xfree86 * ddcprobe returned bogus values: ID: None Name: None HorizSync: None VertSync: None Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 250, in ok self.xconfig.monitor.remove(1) IndexError: index out-of-bounds current versions: XFree86-4.3.0-40 kernel-2.4.22-1.2096.nptl redhat-config-xfree86-0.9.13-1 Elton - your last comment is unrelated to the original report of a problem with dualhead configuration on ATI hardware. You're using Nvidia hardware with proprietary drivers. While it does appear that you're experiencing a legitimate bug in the tool, it is an unrelated bug in my opinion. Please file a brand new bug report for new bugs instead of adding new bugs to existing defect reports. Otherwise, when the original issue is fixed in a given bug report and it gets closed, any other issues reported by other people which aren't related to the original report get permanently lost. Thanks in advance. Oops... Mike ... will do. Someone on the fedora list indicated this was *the* bug report, but I am now filing a separate bug report against redhat-config-xfree86-0.9.13-1 I am having exactly the same problem as Mike Harris describes above. My hardware is a DELL Dimension L667r with an Intel i810 4MB onboard video card and I have another SiS 300 PCI video card with 32MB. Although RH has never recognised the PCI card during install(even with Onboard Video DISABLED in the BIOS) I was able to install RH with the Onboard card, run redhat-config-xfree86 and change the display card to the PCI one. Now however, redhat-config-xfree86-0.9.13-1 when run gives me the same error as Mike describes. I have to manually edit the XF86Config file to get the SiS card to be used. Does my system qualify as dual-head? Is this the right bug# to be adding my comments to? Ohh and by the way I am using Fedora Test3 version but even Test2 on this machine had the same problem just before test3 was released. This bug sounds more and more like a "in general" bug, not so much about the hardware itself? I too am hitting this "unpack list of wrong size" error with my Radeon 9200 128MB on my Athlon64, running 32bit Fedora Core 0.95. I am however able to modify XF86Config manually, which seems to work fine with full DRI. redhat-config-xfree86-0.9.13-1 still has the same problem.
>>> vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL)
>>> print vc
[Desc: ATI|Radeon R250 If [Radeon 9000]
Driver: Card:ATI Radeon 9000
Device: None
, Desc: ATI|Radeon R250 [Radeon 9000] (Secondary)
Driver: unknown
Device: None
]
*** Bug 107472 has been marked as a duplicate of this bug. *** Created attachment 95411 [details]
patch for video cards without a driver
This patch should fix the string.split() traceback; it was hiccuping on cards
that didn't have a driver defined.
pardon my ignorance, but how do I (newbieized please...) apply the patch. Thanks. I tried the patch with my Radeon 9200 128MB. r-c-x is able to run and configure settings. When I click "OK", it fails to quit the program. The console says: Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 250, in ok self.xconfig.monitor.remove(1) IndexError: index out-of-bounds Is this a different bug? lspci 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon RV280 [Radeon 9200] (rev 01) 01:00.1 Display controller: ATI Technologies Inc: Unknown device 5941 (rev 01) ----------------------------------------- [root@wibbit redhat-config-xfree86]# python Python 2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import kudzu >>> vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL) >>> print vc[0] Desc: ATI|Radeon RV280 [Radeon 9200] Driver: Card:ATI Radeon 9200 Device: fb0 >>> ------------------------------------------ [root@wibbit redhat-config-xfree86]# python Python 2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import kudzu >>> vc = kudzu.probe(kudzu.CLASS_VIDEO, kudzu.BUS_PCI, kudzu.PROBE_ALL) >>> print vc [Desc: ATI|Radeon RV280 [Radeon 9200] Driver: Card:ATI Radeon 9200 Device: fb0 , Desc: ATI|unknown device 1002:5941 Driver: unknown Device: fb0 ] >>> ------------------------------------------- [root@wibbit redhat-config-xfree86]# python Python 2.2.3 (#1, Oct 15 2003, 23:33:35) [GCC 3.3.1 20030930 (Red Hat Linux 3.3.1-6)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import kudzu >>> vc = kudzu.probe(kudzu.CLASS_MONITOR, kudzu.BUS_PCI,kudzu.PROBE_ALL) >>> print vc [] >>> ------------------------------------------- [root@wibbit redhat-config-xfree86]# /usr/sbin/ddcprobe Videocard DDC probe results Description: ATI Technologies Inc. V280 Memory (MB): 64 Monitor DDC probe results ID: AOCa790 Name: AOC A790 Horizontal Sync (kHZ): 30-95 Vertical Sync (HZ) : 50-160 Width (mm): 320 Height(mm): 240 -------------------------------------------- These are the outputs you have asked for through out the history of this bug. After applying the patch, i am able to get up the configuation settings. However, when going to the Dual head section, ticking "Use dual head", for the "second video card:" when selecting the drop down list it appears to be blank (other then a really little square that seems to be a selection outline if that makes sense?). When clicking OK, I get the following at the prompt. [root@wibbit mnt]# redhat-config-xfree86 in hydrate_second Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 250, in ok self.xconfig.monitor.remove(1) IndexError: index out-of-bounds I hope this information is of use, and appologise in advance if I have duplicated unrequired info. Doug For Elton Woo (and any others reading this). To apply the patch down load it (there is a link to it at the bottom of the page), then move to the directory with xConfigDialog.py in it. They type cat patchfile | patch. So for me I do cd /usr/share/redhat-config-xfree86 cat /tmp/r-c-x.patch | patch Please note, that this has not fixed all of the problems, there is now an error on clicking OK. Hope this helps. Doug For those that are seeing the following traceback: Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 250, in ok self.xconfig.monitor.remove(1) IndexError: index out-of-bounds this is a different bug than what was originally reported. Please refer to bug #107790. Should be fixed in redhat-config-xfree86-0.9.15-1. Everybody please test with it from ftp://people.redhat.com/bfox/redhat-config-xfree86-0.9.15-1.noarch.rpm and see if it works for you. It should appear in Rawhide as soon as Rawhide is up and running again. Please reopen this report if this update doesn't fix the problem. I had to modify notting's patch just a bit. The line: if card.driver[0:4] == "Card:": should be: if card.driver[0:5] == "Card:": *** Bug 106103 has been marked as a duplicate of this bug. *** Still not fixed. Using R300. [memeyou@Wolley memeyou]$ redhat-config-xfree86 Traceback (most recent call last): File "/usr/share/redhat-config-xfree86/xconf.py", line 406, in ? dialog = xConfigDialog.XConfigDialog(hardware_state, xconfig, vc) File "/usr/share/redhat-config-xfree86/xConfigDialog.py", line 450, in __init__ self.xml.get_widget("secondMonitorLabel").set_text(monitor_list[1].modelname) TypeError: GtkLabel.set_text() argument 1 must be string, not None [memeyou@Wolley memeyou]$ rpm -q redhat-config-xfree86 redhat-config-xfree86-0.9.15-1 [memeyou@Wolley memeyou]$ /sbin/lspci ... 03:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 AD [Radeon 9500 Pro] 03:00.1 Display controller: ATI Technologies Inc Radeon R300 Secondary (DVI) output ... Seems to work with package included with FC1. redhat-config-xfree86-0.9.15-1 *** Bug 108021 has been marked as a duplicate of this bug. *** |