Red Hat Bugzilla – Bug 106830
Last modified: 2007-04-18 12:58:18 EDT
Description of problem:
I'm not really sure what the command ddcprobe is supposed to return, but it just
fails in my case.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start the program
[root@Datorn rpm]# ddcprobe
Videocard DDC probe results
Description: NVidia Corporation NV11 (GeForce2) Board
Memory (MB): 32
Monitor DDC probe results
Monitor DDC Probe failed.
Not quite sure ;-)
I'm using nvidias latest drivers for my GForce2 card.
This makes my redhat-config-xfree86 fail to start too. I get the following from it:
[root@Datorn rpm]# redhat-config-xfree86
* ddcprobe returned bogus values:
Traceback (most recent call last):
File "/usr/share/redhat-config-xfree86/xconf.py", line 350, in ?
hardware_state = XF86HardwareState(xconfig)
File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 143, in __init__
File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 272, in
File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 50, in
a1 = resolution_area(res1)
File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 46, in
(w, h) = resolution_from_string(res)
File "/usr/lib/python2.2/site-packages/rhpl/xhwstate.py", line 42, in
(w, h) = string.split (res, "x")
ValueError: unpack list of wrong size
DDC doesn't always work (depends on a variety of bios, video bios and monitor),
so redhat-config-xfree86 should also handle the case where it can't be used.
Jeremy, I agree that redhat-config-xfree86 needs to handle the case when the
ddcprobe doesn't work, but in this case it appears the bug is in xhwstate.py in
rhpl since it's trying to split an empty string. Shouldn't it return some kind
of error in this case instead of tracebacking?
As root, try this:
kudzu --probe --bus=DDC
What is the output of that?
Closing due to lack of information. Please reopen if you can provide