NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xsrc/50599: xf86-video-r128 6.10.0 breaks rage 128 pro ultra



>Number:         50599
>Category:       xsrc
>Synopsis:       xf86-video-r128 6.10.0 breaks rage 128 pro ultra
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 30 15:00:00 +0000 2015
>Originator:     Patrick Welche
>Release:        NetBSD/i386 D2015.07.20.02.30.00
>Organization:
>Environment:
>Description:
A Dell Dimension 4300 with a

001:00:0: ATI Technologies Rage 128 Pro Ultra TF AGP (VGA display)

was successfully running -current/i386 + GNOME 2 at surprisingly high resolution until the large X update in July:

  OK : D2015.07.20.00.01.00
  ?? : D2015.07.20.01.00.00 doesn't build
  ?? : D2015.07.20.02.00.00 doesn't build
  BAD: D2015.07.20.02.30.00

That includes an update of xf86-video-r128 from 6.9.2 to 6.10.0.

A test is to netboot a fresh unconfigured distribution, and simply "startx". "OK" springs into life, "BAD" fails with "no screens found".
This is without a /etc/X11/xorg.conf in both cases.

"OK" complains in Xorg.0.log:
[   236.533] (--) R128(0): VideoRAM: 16384 kByte (128-bit SDR SGRAM 1:1)
[   236.534] (**) R128(0): Using external CRT for display
[   236.548] (II) R128(0): Primary Display == Type 3
[   236.548] (WW) R128(0): Can't determine panel dimensions, and none specified.
        Disabling programming of FP registers.
[   236.549] (II) R128(0): PLL parameters: rf=2950 rd=65 min=12500 max=35000; xclk=13000
[   236.549] (II) Loading sub module "ddc"

whereas "BAD" doesn't:
[    24.578] (--) R128(0): VideoRAM: 16384 kByte (128-bit SDR SGRAM 1:1)
[    24.578] (II) Loading sub module "ddc"

Both successfully read EDID and Modelines.

"BAD" then ends with:
[    25.719] (II) R128(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[    25.734] (II) R128(0): PLL parameters: rf=2950 rd=65 min=12500 max=35000; xclk=13000
[    25.735] (II) R128(0): Output DVI-0 has no monitor section
[    25.735] (II) R128(0): I2C bus "DVI-0" initialized.
[    25.735] (II) R128(0): I2C device "DVI-0:ddc2" registered at address 0xA0.
[    25.739] (WW) R128(0): remove MTRR 0 - 1000
[    25.741] (II) UnloadModule: "r128"
[    25.741] (II) Unloading r128
[    25.741] (II) UnloadModule: "vbe"
[    25.741] (II) Unloading vbe
[    25.741] (II) UnloadModule: "int10"
[    25.741] (II) Unloading int10
[    25.741] (II) UnloadModule: "vgahw"
[    25.741] (II) Unloading vgahw
[    25.742] (EE) Screen(s) found, but none have a usable configuration.
[    25.742] 
Fatal server error:
[    25.742] no screens found
[    25.742] 

The equivalent point in "OK":
[   237.676] (II) R128(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz)
[   237.676] (==) R128(0): Using gamma correction (1.0, 1.0, 1.0)
[   237.684] (II) Loading sub module "i2c"
[   237.685] (II) LoadModule: "i2c"
[   237.685] (II) Module "i2c" already built-in
[   237.685] (II) R128(0): I2C bus "DDC" initialized.
[   237.685] (II) R128(0): I2C device "DDC:ddc2" registered at address 0xA0.
[   237.689] (II) ioctl failed 25
[   237.689] (EE) R128(0): No DFP detected
[   237.689] (II) R128(0): <default monitor>: Using hsync range of 30.00-81.00 kHz
[   237.689] (II) R128(0): <default monitor>: Using vrefresh range of 56.00-75.00 Hz
[   237.689] (II) R128(0): <default monitor>: Using maximum pixel clock of 145.00 MHz
[   237.689] (II) R128(0): Estimated virtual size for aspect ratio 1.5926 is 1680x1050
[   237.689] (II) R128(0): Clock range:  12.50 to 350.00 MHz
[   237.689] (II) R128(0): Not using default mode "640x350" (vrefresh out of range)
...
and then success.

I tried

  http://cgit.freedesktop.org/xorg/driver/xf86-video-r128/commit/?id=d6dd6c9ad5ba8e4950c9398d93298fea48745263

on the off-chance, but still no joy.

(BTW what is AVOID_FBDEV meant to do?)


>How-To-Repeat:
Boot unconfigured vanilla -current/i386 more recent than D2015.07.20.00.01.00 on box with a
vga0 at pci1 dev 0 function 0: vendor 1002 product 5446 (rev. 0x00)
001:00:0: ATI Technologies Rage 128 Pro Ultra TF AGP (VGA display)
card, and try "startx".

>Fix:



Home | Main Index | Thread Index | Old Index