Hi,

Perhaps I'm lucky today and someone already knows the solution to
my problem. I've bought an used Radeon card in order to convert
my old PC to dual-head setup:

radeondrm0 at pci1 dev 0 function 0 "ATI Radeon X550" rev 0x00
drm0 at radeondrm0
radeondrm0: msi
"ATI Radeon X550 Sec" rev 0x00 at pci1 dev 0 function 1 not configured
radeondrm0: RV380
Bogus possible_clones: [ENCODER:45:DAC-45] possible_clones=0x6 (full encoder 
mask=0x7)
Bogus possible_clones: [ENCODER:47:TV-47] possible_clones=0x5 (full encoder 
mask=0x7)
Bogus possible_clones: [ENCODER:48:TMDS-48] possible_clones=0x3 (full encoder 
mask=0x7)
radeondrm0: 1920x1080, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0

The dual-head configuration works for awhile but as soon as it
starts doing something "heavy" (like web browser loading bloated
site) the entire system freezes. After rebooting,
/var/log/messages is full of:

/bsd: drm:pid28762:radeon_ring_test_lockup *ERROR* ring 0 stalled
for more than 30760msec
/bsd: drm:pid28762:radeon_fence_check_lockup *WARNING* GPU lockup (current 
fence id 0x00000000000011ec last fence id 0x000000000000125b on ring 0)

When I disable acceleration, like that:

Section "Device"
 Identifier "radeon0"
 Driver "radeon"
 Option "NoAccel"
EndSection

things do work and nothing hangs. 

I don't use this computer for nothing big these days so I could
live with that, but I wouldn't mind a working setup with some
acceleration, so if anyone experienced this, I'd appreciate
sharing the solution.

Here is how my card is reported in Xorg.log:

[ 31240.949] (II) LoadModule: "radeon"
[ 31240.949] (II) Loading /usr/X11R6/lib/modules/drivers/radeon_drv.so
[ 31240.968] (II) Module radeon: vendor="X.Org Foundation"
[ 31240.968]    compiled for 1.21.1.13, module version = 22.0.0
[ 31240.968]    Module class: X.Org Video Driver
[ 31240.968]    ABI class: X.Org Video Driver, version 25.2
[ 31240.968] (II) RADEON: Driver for ATI/AMD Radeon chipsets:
[ 31240.971] (II) [KMS] Kernel modesetting enabled.
[ 31240.971] (II) RADEON(0): RADEONPreInit_KMS
[ 31240.971] (II) RADEON(0): Creating default Display subsection in Screen 
section
        "Default Screen Section" for depth/fbbpp 24/32
[ 31240.971] (==) RADEON(0): Depth 24, (--) framebuffer bpp 32
[ 31240.971] (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp 
pixmaps)
[ 31240.971] (==) RADEON(0): Default visual is TrueColor
[ 31240.972] (==) RADEON(0): RGB weight 888
[ 31240.972] (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
[ 31240.972] (--) RADEON(0): Chipset: "ATI Radeon X550 (RV370)" (ChipID = 
0x5b63)
[ 31240.972] (II) Loading sub module "fb"
[ 31240.972] (II) LoadModule: "fb"
[ 31240.972] (II) Module "fb" already built-in
[ 31240.972] (II) Loading sub module "dri2"
[ 31240.972] (II) LoadModule: "dri2"
[ 31240.972] (II) Module "dri2" already built-in
[ 31240.972] (II) Loading sub module "exa"
[ 31240.972] (II) LoadModule: "exa"
[ 31240.977] (II) Loading /usr/X11R6/lib/modules/libexa.so
[ 31240.987] (II) Module exa: vendor="X.Org Foundation"
[ 31240.987]    compiled for 1.21.1.13, module version = 2.6.0
[ 31240.987]    ABI class: X.Org Video Driver, version 25.2
[ 31240.987] (II) RADEON(0): KMS Color Tiling: enabled
[ 31240.987] (II) RADEON(0): KMS Color Tiling 2D: disabled
[ 31240.987] (==) RADEON(0): TearFree property default: auto
[ 31240.987] (II) RADEON(0): KMS Pageflipping: enabled
[ 31240.987] (II) RADEON(0): SwapBuffers wait for vsync: enabled
[ 31240.987] (II) RADEON(0): Initializing outputs ...
[ 31241.013] (II) RADEON(0): Output VGA-0 has no monitor section
[ 31241.039] (II) RADEON(0): Output DVI-0 has no monitor section
[ 31241.039] (II) RADEON(0): 2 crtcs needed for screen.
[ 31241.040] (II) RADEON(0): Allocated crtc nr. 0 to this screen.
[ 31241.040] (II) RADEON(0): Allocated crtc nr. 1 to this screen.
[ 31241.066] (II) RADEON(0): EDID for output VGA-0
[ 31241.066] (II) RADEON(0): Manufacturer: PHL  Model: 988  Serial#: 62868
[ 31241.066] (II) RADEON(0): Year: 2022  Week: 47
[ 31241.066] (II) RADEON(0): EDID Version: 1.3
[ 31241.066] (II) RADEON(0): Analog Display Input,  Input Voltage Level: 
0.700/0.700 V
[ 31241.066] (II) RADEON(0): Sync:  Separate
[ 31241.066] (II) RADEON(0): Max Image Size [cm]: horiz.: 53  vert.: 30
[ 31241.066] (II) RADEON(0): Gamma: 2.20
[ 31241.066] (II) RADEON(0): DPMS capabilities: Off; RGB/Color Display
[ 31241.066] (II) RADEON(0): First detailed timing is preferred mode
[ 31241.066] (II) RADEON(0): redX: 0.670 redY: 0.313   greenX: 0.283 greenY: 
0.651
[ 31241.066] (II) RADEON(0): blueX: 0.153 blueY: 0.058   whiteX: 0.313 whiteY: 
0.329
[ 31241.066] (II) RADEON(0): Supported established timings:
[ 31241.066] (II) RADEON(0): 720x400@70Hz
[ 31241.066] (II) RADEON(0): 640x480@60Hz
[ 31241.066] (II) RADEON(0): 640x480@67Hz
[ 31241.066] (II) RADEON(0): 640x480@72Hz
[ 31241.066] (II) RADEON(0): 640x480@75Hz
[ 31241.066] (II) RADEON(0): 800x600@56Hz
[ 31241.066] (II) RADEON(0): 800x600@60Hz
[ 31241.066] (II) RADEON(0): 800x600@72Hz
[ 31241.066] (II) RADEON(0): 800x600@75Hz
[ 31241.066] (II) RADEON(0): 832x624@75Hz
[ 31241.066] (II) RADEON(0): 1024x768@60Hz
[ 31241.066] (II) RADEON(0): 1024x768@70Hz
[ 31241.066] (II) RADEON(0): 1024x768@75Hz
[ 31241.066] (II) RADEON(0): 1280x1024@75Hz
[ 31241.066] (II) RADEON(0): Manufacturer's mask: 0
[ 31241.066] (II) RADEON(0): Supported standard timings:
[ 31241.066] (II) RADEON(0): #0: hsize: 1920  vsize 1080  refresh: 60  vid: 
49361
[ 31241.066] (II) RADEON(0): #1: hsize: 1680  vsize 1050  refresh: 60  vid: 179
[ 31241.066] (II) RADEON(0): #2: hsize: 1440  vsize 900  refresh: 60  vid: 149
[ 31241.066] (II) RADEON(0): #3: hsize: 1280  vsize 1024  refresh: 60  vid: 
32897
[ 31241.066] (II) RADEON(0): #4: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[ 31241.066] (II) RADEON(0): #5: hsize: 1280  vsize 720  refresh: 60  vid: 49281
[ 31241.066] (II) RADEON(0): Supported detailed timing:
[ 31241.066] (II) RADEON(0): clock: 148.5 MHz   Image Size:  527 x 296 mm
[ 31241.066] (II) RADEON(0): h_active: 1920  h_sync: 2008  h_sync_end 2052 
h_blank_end 2200 h_border: 0
[ 31241.066] (II) RADEON(0): v_active: 1080  v_sync: 1084  v_sync_end 1089 
v_blanking: 1125 v_border: 0
[ 31241.066] (II) RADEON(0): Serial No: UK02247062868
[ 31241.066] (II) RADEON(0): Monitor name: PHL 242S9
[ 31241.066] (II) RADEON(0): Ranges: V min: 48 V max: 75 Hz, H min: 30 H max: 
85 kHz, PixClock max 185 MHz
[ 31241.066] (II) RADEON(0): EDID (in hex):
[ 31241.066] (II) RADEON(0):    00ffffffffffff00410c880994f50000
[ 31241.066] (II) RADEON(0):    2f20010368351e782a9b75ab5048a627
[ 31241.066] (II) RADEON(0):    0e5054bfef00d1c0b300950081808140
[ 31241.066] (II) RADEON(0):    81c001010101023a801871382d40582c
[ 31241.066] (II) RADEON(0):    45000f282100001e000000ff00554b30
[ 31241.066] (II) RADEON(0):    32323437303632383638000000fc0050
[ 31241.066] (II) RADEON(0):    484c2032343253390a202020000000fd
[ 31241.066] (II) RADEON(0):    00304b1e5512000a2020202020200035
[ 31241.066] (II) RADEON(0): Printing probed modes for output VGA-0
8<------------cut modeline probing ------------>8
[ 31241.093] (II) RADEON(0): Output VGA-0 connected
[ 31241.093] (II) RADEON(0): Output DVI-0 connected
[ 31241.093] (II) RADEON(0): Using spanning desktop for initial modes
[ 31241.093] (II) RADEON(0): Output VGA-0 using initial mode 1920x1080 +0+0
[ 31241.093] (II) RADEON(0): Output DVI-0 using initial mode 1920x1080 +1920+0
[ 31241.093] (II) RADEON(0): mem size init: gart size :1fdff000 vram size: 
s:10000000 visible:f757000
[ 31241.093] (II) RADEON(0): EXA: Driver will allow EXA pixmaps in VRAM
[ 31241.093] (--) RADEON(0): Display dimensions: (531, 299) mm
[ 31241.093] (--) RADEON(0): DPI set to (183, 91)
[ 31241.093] (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
[ 31241.093] (II) Loading sub module "ramdac"
[ 31241.093] (II) LoadModule: "ramdac"
[ 31241.093] (II) Module "ramdac" already built-in
[ 31241.093] (II) RADEON(0): [DRI2] Setup complete
[ 31241.093] (II) RADEON(0): [DRI2]   DRI driver: r300
[ 31241.093] (II) RADEON(0): [DRI2]   VDPAU driver: r300
[ 31241.093] (II) RADEON(0): Front buffer size: 16200K
[ 31241.093] (II) RADEON(0): VRAM usage limit set to 213339K
[ 31241.094] (==) RADEON(0): DRI3 disabled
[ 31241.094] (==) RADEON(0): Backing store enabled
[ 31241.094] (II) RADEON(0): Direct rendering enabled
[ 31241.094] (II) RADEON(0): Initializing Acceleration
[ 31241.094] (II) RADEON(0): Render acceleration enabled for R300/R400/R500 
type cards.
[ 31241.094] (II) EXA(0): Driver allocated offscreen pixmaps
[ 31241.094] (II) EXA(0): Driver registered support for the following 
operations:
[ 31241.094] (II)         Solid
[ 31241.094] (II)         Copy
[ 31241.094] (II)         Composite (RENDER acceleration)
[ 31241.094] (II)         UploadToScreen
[ 31241.094] (II)         DownloadFromScreen
[ 31241.094] (II) RADEON(0): Acceleration enabled
[ 31241.094] (II) RADEON(0): Initializing DPMS
[ 31241.094] (==) RADEON(0): DPMS enabled
[ 31241.094] (II) RADEON(0): Initializing Cursor
[ 31241.094] (==) RADEON(0): Silken mouse enabled
[ 31241.094] (II) RADEON(0): Initializing Xv
[ 31241.094] (II) RADEON(0): Set up textured video
[ 31241.094] (II) RADEON(0): [XvMC] Associated with Radeon Textured Video.
[ 31241.094] (II) RADEON(0): [XvMC] Extension initialized.
[ 31241.094] (II) RADEON(0): Initializing kms color map
[ 31241.095] (II) RADEON(0): RADEONScreenInit finished

Reply via email to