Bug 106830

Summary: ddcprobe fails
Product: [Retired] Red Hat Raw Hide Reporter: Daniel Malmgren <dm>
Component: redhat-config-xfree86Assignee: Brent Fox <bfox>
Status: CLOSED WORKSFORME QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0CC: barryn, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-17 19:07:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Daniel Malmgren 2003-10-11 07:56:25 UTC
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):

How reproducible:

Steps to Reproduce:
1. start the program
Actual results:
[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.

Expected results:
Not quite sure ;-)

Additional info:
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:
ID:   None
Name: None
HorizSync: None
VertSync:  None
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
    self.all_resolutions.sort (compare_resolution)
  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

Comment 1 Jeremy Katz 2003-10-13 21:25:47 UTC
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.

Comment 2 Brent Fox 2003-10-14 16:57:53 UTC
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?

Comment 3 Brent Fox 2004-01-17 00:11:55 UTC
jeremy: ping?

Comment 4 Brent Fox 2004-02-20 02:25:09 UTC
As root, try this:
kudzu --probe --bus=DDC

What is the output of that?

Comment 5 Brent Fox 2004-03-17 19:07:05 UTC
Closing due to lack of information.  Please reopen if you can provide
more data.