Problems with DRI and GLX with FreeBSD 5.2.1 & Xorg

tournevice

OSNN Junior Addict
Joined
13 Oct 2004
Messages
17
Hi there

I've got a problem whith my graphic card. It's a radeon 9200SE. I'm using xorg and the problem is that I can't load the glx and dri modules together without seeing my machine freezing... I've got a beautiful blackscreen and I really can't do anything...

I'm searching with google for this problem but I don't find anything that explains how to fix this. If you know how, please tell me :)

A dmesg | grep drm shows my graphic card...

At the end of /var/log/Xorg/0.log, I've got this (I don't have any warning messages or error messages :/ ):

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting
[...]

(II) RADEON(0): Wrote: rd=12, fd=101, pd=3
(==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear

Here is my xorg.conf shortened

Section "Module"

[...]

# This loads the Type1 and FreeType font modules
Load "GLcore"
Load "dbe"
Load "dri"
Load "type1"
Load "freetype"
Load "glx"

EndSection

Section "DRI"
Mode 0666
EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

[...]

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "acer"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 64.3

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-100

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
Identifier "Standard VGA"
VendorName "Unknown"
BoardName "Unknown"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
Identifier "radeon 9200SE"
Driver "radeon"
VendorName "ATI Technologies Inc"
BoardName "Radeon 9200SE"
BusID "PCI:1:0:0"
Option "AGPMode" "4" # I've tried 1 but it's still not working though
#Option "EnablePageFlip"
#VideoRam 131072
# Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "radeon 9200SE"
Monitor "acer"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768"
ViewPort 0 0
EndSubsection
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"

Screen "Screen 1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection
 
I believe you have to force the ChipID for a 9200, try adding this to the device section for the video card:

ChipID 0x514D
 
I tried to force the chipID but it doesn't work. Now, I don't have a black screen, but a screen with a cross (X) as the pointer and in the background, it's grey...It seems that it cannot load the window manager (fluxbox) or something... :/
 
post the tail end of your /var/log/Xorg.0.log
 
Here it is :

(**) Option "Protocol" "Auto"
(**) Mouse1: Device: "/dev/sysmouse"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(**) Option "Emulate3Buttons"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse1: SetupAuto: protocol is SysMouse

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) RADEON(0): Wrote: rd=12, fd=101, pd=3
(==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear
 
That was not the right log, sorry. Here it is:

(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse1: SetupAuto: protocol is SysMouse
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TrueType/, removing from list!

*** If unresolved symbols were reported above, they might not
*** be the reason for the server aborting.

Fatal server error:
Caught signal 11. Server aborting


Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(II) RADEON(0): Wrote: rd=12, fd=101, pd=3
(==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear
 
Try this ChipID:

0x5964

Also the ouput of grep EE /var/log/Xorg.0.log and grep -i ati /var/log/Xorg.0.log could be helpful.
 
Ok. So grep -i ati /var/log/Xorg.0.log gives :

Build Operating System: FreeBSD 5.2.1 i386 [ELF]
Current Operating System: FreeBSD tournevice.cruciforme 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #5: Tue Nov 2 17:46:04 CET 2004 didier@tournevice.cruciforme:/usr/src/sys/i386/compile/TOURNEVICE i386
(++) from command line, (!!) notice, (II) informational,
X.Org ANSI C Emulation: 0.2
(II) Module bitmap: vendor="X.Org Foundation"
(II) Module pcidata: vendor="X.Org Foundation"
(--) PCI:*(1:0:0) ATI Technologies Inc unknown chipset (0x5964) rev 1, Mem @ 0xe0000000/28, 0xdf000000/16, I/O @ 0xd800/8, BIOS @ 0xdffe0000/17
(II) Module GLcore: vendor="X.Org Foundation"
(II) Module dbe: vendor="X.Org Foundation"
(II) Module dri: vendor="X.Org Foundation"
(II) Module drm: vendor="X.Org Foundation"
(II) Module type1: vendor="X.Org Foundation"
(II) Module speedo: vendor="X.Org Foundation"
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
(II) Module radeon: vendor="X.Org Foundation"
(II) LoadModule: "ati"
(II) Loading /usr/X11R6/lib/modules/drivers/ati_drv.o
(II) Module ati: vendor="X.Org Foundation"
(II) Module mouse: vendor="X.Org Foundation"
(II) ATI: ATI driver (version 6.5.6) for chipsets: ati, ativga
(II) R128: Driver for ATI Rage 128 chipsets:
ATI Rage 128 Mobility M3 LE (PCI), ATI Rage 128 Mobility M3 LF (AGP),
ATI Rage 128 Mobility M4 MF (AGP), ATI Rage 128 Mobility M4 ML (AGP),
ATI Rage 128 Pro GL PA (PCI/AGP), ATI Rage 128 Pro GL PB (PCI/AGP),
ATI Rage 128 Pro GL PC (PCI/AGP), ATI Rage 128 Pro GL PD (PCI),
ATI Rage 128 Pro GL PE (PCI/AGP), ATI Rage 128 Pro GL PF (AGP),
ATI Rage 128 Pro VR PG (PCI/AGP), ATI Rage 128 Pro VR PH (PCI/AGP),
ATI Rage 128 Pro VR PI (PCI/AGP), ATI Rage 128 Pro VR PJ (PCI/AGP),
ATI Rage 128 Pro VR PK (PCI/AGP), ATI Rage 128 Pro VR PL (PCI/AGP),
ATI Rage 128 Pro VR PM (PCI/AGP), ATI Rage 128 Pro VR PN (PCI/AGP),
ATI Rage 128 Pro VR PO (PCI/AGP), ATI Rage 128 Pro VR PP (PCI),
ATI Rage 128 Pro VR PQ (PCI/AGP), ATI Rage 128 Pro VR PR (PCI),
ATI Rage 128 Pro VR PS (PCI/AGP), ATI Rage 128 Pro VR PT (PCI/AGP),
ATI Rage 128 Pro VR PU (PCI/AGP), ATI Rage 128 Pro VR PV (PCI/AGP),
ATI Rage 128 Pro VR PW (PCI/AGP), ATI Rage 128 Pro VR PX (PCI/AGP),
ATI Rage 128 GL RE (PCI), ATI Rage 128 GL RF (AGP),
ATI Rage 128 RG (AGP), ATI Rage 128 VR RK (PCI),
ATI Rage 128 VR RL (AGP), ATI Rage 128 4X SE (PCI/AGP),
ATI Rage 128 4X SF (PCI/AGP), ATI Rage 128 4X SG (PCI/AGP),
ATI Rage 128 4X SH (PCI/AGP), ATI Rage 128 4X SK (PCI/AGP),
ATI Rage 128 4X SL (PCI/AGP), ATI Rage 128 4X SM (AGP),
ATI Rage 128 4X SN (PCI/AGP), ATI Rage 128 Pro ULTRA TF (AGP),
ATI Rage 128 Pro ULTRA TL (AGP), ATI Rage 128 Pro ULTRA TR (AGP),
ATI Rage 128 Pro ULTRA TS (AGP?), ATI Rage 128 Pro ULTRA TT (AGP?),
ATI Rage 128 Pro ULTRA TU (AGP?)
(II) RADEON: Driver for ATI Radeon chipsets: ATI Radeon QD (AGP),
ATI Radeon QE (AGP), ATI Radeon QF (AGP), ATI Radeon QG (AGP),
ATI Radeon VE/7000 QY (AGP/PCI), ATI Radeon VE/7000 QZ (AGP/PCI),
ATI Radeon Mobility M7 LW (AGP),
ATI Mobility FireGL 7800 M7 LX (AGP),
ATI Radeon Mobility M6 LY (AGP), ATI Radeon Mobility M6 LZ (AGP),
ATI Radeon IGP320 (A3) 4136, ATI Radeon IGP320M (U1) 4336,
ATI Radeon IGP330/340/350 (A4) 4137,
ATI Radeon IGP330M/340M/350M (U2) 4337,
ATI Radeon 7000 IGP (A4+) 4237, ATI Radeon Mobility 7000 IGP 4437,
ATI FireGL 8700/8800 QH (AGP), ATI Radeon 8500 QL (AGP),
ATI Radeon 9100 QM (AGP), ATI Radeon 8500 AIW BB (AGP),
ATI Radeon 8500 AIW BC (AGP), ATI Radeon 7500 QW (AGP/PCI),
ATI Radeon 7500 QX (AGP/PCI), ATI Radeon 9000/PRO If (AGP/PCI),
ATI Radeon 9000 Ig (AGP/PCI), ATI FireGL Mobility 9000 (M9) Ld (AGP),
ATI Radeon Mobility 9000 (M9) Lf (AGP),
ATI Radeon Mobility 9000 (M9) Lg (AGP),
ATI Radeon 9100 IGP (A5) 5834,
ATI Radeon Mobility 9100 IGP (U3) 5835,
ATI Radeon 9200PRO 5960 (AGP), ATI Radeon 9200 5961 (AGP),
ATI Radeon 9200 5962 (AGP), ATI Radeon 9200SE 5964 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C61 (AGP),
ATI Radeon Mobility 9200 (M9+) 5C63 (AGP), ATI Radeon 9500 AD (AGP),
ATI Radeon 9500 AE (AGP), ATI Radeon 9600TX AF (AGP),
ATI FireGL Z1 AG (AGP), ATI Radeon 9700 Pro ND (AGP),
ATI Radeon 9700/9500Pro NE (AGP), ATI Radeon 9700 NF (AGP),
ATI FireGL X1 NG (AGP), ATI Radeon 9600 AP (AGP),
ATI Radeon 9600SE AQ (AGP), ATI Radeon 9600XT AR (AGP),
ATI Radeon 9600 AS (AGP), ATI FireGL T2 AT (AGP),
ATI FireGL RV360 AV (AGP), ATI Radeon Mobility 9600 (M10) NP (AGP),
ATI Radeon Mobility 9600 (M10) NQ (AGP),
ATI Radeon Mobility 9600 (M11) NR (AGP),
ATI Radeon Mobility 9600 (M10) NS (AGP),
ATI FireGL Mobility T2 (M10) NT (AGP),
ATI FireGL Mobility T2 (M11) NV (AGP), ATI Radeon 9800SE AH (AGP),
ATI Radeon 9800 AI (AGP), ATI Radeon 9800 AJ (AGP),
ATI FireGL X2 AK (AGP), ATI Radeon 9800PRO NH (AGP),
ATI Radeon 9800 NI (AGP), ATI FireGL X2 NK (AGP),
ATI Radeon 9800XT NJ (AGP)
(**) Chipset ATI Radeon 9200SE 5964 (AGP) found
(II) Module vgahw: vendor="X.Org Foundation"
(II) Module int10: vendor="X.Org Foundation"
(**) RADEON(0): Chipset: "ATI Radeon 9200SE 5964 (AGP)" (ChipID = 0x5964)
(II) Module ddc: vendor="X.Org Foundation"
(II) Module i2c: vendor="X.Org Foundation"
(II) RADEON(0): Validating modes on Primary head ---------
(II) Module fb: vendor="X.Org Foundation"
ABI class: X.Org ANSI C Emulation, version 0.2
(II) Module ramdac: vendor="X.Org Foundation"
(II) Module xaa: vendor="X.Org Foundation"
(II) Module shadowfb: vendor="X.Org Foundation"
ABI class: X.Org ANSI C Emulation, version 0.2
(!!) RADEON(0): For information on using the multimedia capabilities
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
(II) RADEON(0): Acceleration enabled

And grep EE /var/log/Xorg.0.log gives nothing, just :

(WW) warning, (EE) error, (NI) not implemented, (??) unknown

I tried lots of things, but with this ChipID (5964) and glx loaded with dri, still a black screen with a freezing or a reboot... :/ It makes me mad!!!
 
tournevice said:
I tried to force the chipID but it doesn't work. Now, I don't have a black screen, but a screen with a cross (X) as the pointer and in the background, it's grey...It seems that it cannot load the window manager (fluxbox) or something... :/


Now, that is a good sign, the X server is running, and the X is the cursor for the mouse.
 
As X said, that is good, do you have your .xinitrc file configured correctly? Also I just noticed this line which you should probably remove

Load "GLcore"
 
I removed Load "GLcore" but it's the same. What is happening is that I can see the cusror (X) and the grey background, but it appears only for 1 or 2 seconds. After that, I got the black screen and /var/log/Xorg.0.log is not updated... I've got the log from yesterday, not from today :/
 
Oh sorry! Here is my .xinitrc :

LANG=fr_FR.ISO8859-1 ; export LANG
exec xterm -e fluxbox
 
try changing

exec xterm -e fluxbox

to

exec startfluxbox
 
I tried exec fluxbox, but it's still not working. I check Xorg.0.log, and now it gives me this (don't know if it helps :/ ) :

[skip]
(II) RADEON(0): Direct rendering enabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(**) Option "Protocol" "Auto"
(**) Mouse1: Device: "/dev/sysmouse"
(**) Mouse1: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(**) Option "Emulate3Buttons"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(==) Mouse1: Buttons: 3
(II) Keyboard "Keyboard1" handled by legacy driver
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse1: SetupAuto: protocol is SysMouse
Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element /usr/X11R6/lib/X11/fonts/TrueType/, removing from list!
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xc4d3e000 at 0x283d2000
(II) RADEON(0): Wrote: rd=12, fd=101, pd=3
(==) RADEON(0): Write-combining range (0xa0000,0x10000) was already clear
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back