X.org's radeonhd driver

Hi all,

I made an update yesterday that included kernel update. I restarted my PC a couple of minutes ago and I got a blank black screen :frowning: I realized the following:

Status 09/2010: Linux distributions, including Novell’s openSUSE, have now abandoned radeonhd as the default driver, instead using the radeon driver. radeon has more features, including Kernel Mode-Setting support and more 3D support, and it supports all Radeon generation from original R100 Radeons to R800 Radeons (HD 5000 series). Radeonhd can be continued to be updated as long as there are people find it useful.
at X.Org Wiki - radeonhd So, probably there is a problem with the driver.
Here is my Xorg.0.log (the last entries):

    26.429] (II) LoadModule: "fb"
    26.429] (II) Loading /usr/lib64/xorg/modules/libfb.so
    26.430] (II) Module fb: vendor="X.Org Foundation"
    26.430]    compiled for 1.8.0, module version = 1.0.0
    26.430]    ABI class: X.Org ANSI C Emulation, version 0.4
    26.430] (II) Loading sub module "ramdac"
    26.430] (II) LoadModule: "ramdac"
    26.430] (II) Module "ramdac" already built-in
    26.430] (II) Loading sub module "exa"
    26.430] (II) LoadModule: "exa"
    26.430] (II) Loading /usr/lib64/xorg/modules/libexa.so
    26.431] (II) Module exa: vendor="X.Org Foundation"
    26.431]    compiled for 1.8.0, module version = 2.5.0
    26.431]    ABI class: X.Org Video Driver, version 7.0
    26.431] (EE) RADEON(0): No modes.
    26.431] (II) UnloadModule: "radeon"
    26.431] (II) UnloadModule: "exa"
    26.431] (II) Unloading /usr/lib64/xorg/modules/libexa.so
    26.431] (II) UnloadModule: "fb"
    26.431] (II) Unloading /usr/lib64/xorg/modules/libfb.so
    26.431] (EE) Screen(s) found, but none have a usable configuration.
    26.431]
Fatal server error:
    26.431] no screens found
    26.431]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
    26.431] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    26.431]

Does anybody have an idea how to get the right driver or how to solve the problem?

Just one remark, I have removed the radeonhd driver in the hope that the system start to work with messa drivers, but it didnt help.

According to the Xorg.0.log it says it can’t find modes or screens in your /etc/X11/xorg.conf or KMS, whichever you’re using. What’s a “messa” driver?

Don’t use radeonhd use the radeon driver. Post your dmesg.

Do you have any idea where to find the radeon driver? I can find only the “hd” one:

pcpw:~ # zypper repos
#  | Alias                                   | Name                                   | Enabled | Refresh
---+-----------------------------------------+----------------------------------------+---------+--------
1  | Aktualizace pro openSUSE 11.3 11.3-1.82 | Aktualizace pro openSUSE 11.3          | Yes     | Yes
2  | KDE_Core_packages                       | KDE Core packages                      | Yes     | Yes
3  | KDE_Extra                               | KDE Extra                              | Yes     | Yes
4  | Libdvdcss repository                    | Libdvdcss repository                   | Yes     | Yes
5  | X11:Utilities                           | X11:Utilities                          | Yes     | Yes
6  | download.opensuse.org-STABLE            | openSUSE BuildService - OpenOffice.org | Yes     | Yes
7  | download.opensuse.org-database          | openSUSE BuildService - DatabĂĄze       | Yes     | Yes
8  | download.opensuse.org-games             | openSUSE BuildService - Hry            | Yes     | Yes
9  | download.opensuse.org-mozilla           | openSUSE BuildService - Mozilla        | Yes     | Yes
10 | download.opensuse.org-php               | openSUSE BuildService - PHP            | Yes     | Yes
11 | download.opensuse.org-standard          | HlavnĂ­ repozitĂĄĹ (Contrib)             | Yes     | Yes
12 | download.videolan.org-SuSE              | VideoLan Repository                    | Yes     | Yes
13 | network:utilities                       | network:utilities                      | Yes     | Yes
14 | openSUSE-11.3 11.3-1.82                 | openSUSE-11.3 11.3-1.82                | No      | No
15 | packman.inode.at-suse                   | Packman Repository                     | Yes     | Yes
16 | repo-debug                              | openSUSE-11.3-Debug                    | Yes     | Yes
17 | repo-non-oss                            | openSUSE-11.3-Non-Oss                  | Yes     | Yes
18 | repo-oss                                | openSUSE-11.3-Oss                      | Yes     | Yes
19 | repo-source                             | openSUSE-11.3-Source                   | Yes     | Yes
pcpw:~ # zypper search radeon
Loading repository data...
Reading installed packages...

S | Name                                       | Summary                                          | Type
--+--------------------------------------------+--------------------------------------------------+-----------
  | xorg-x11-driver-video-radeonhd             | Driver for AMD GPG (ATI) r5xx/r6xx Chipsets      | package
  | xorg-x11-driver-video-radeonhd             | Driver for AMD GPG (ATI) r5xx/r6xx Chipsets      | srcpackage
  | xorg-x11-driver-video-radeonhd-debuginfo   | Debug information for package xorg-x11-driver--> | package
  | xorg-x11-driver-video-radeonhd-debugsource | Debug sources for package xorg-x11-driver-vide-> | package

and there are no useful results at software.opensuse.org: Search Results

The dmesg output is too long, what should I search for?

OpenSUSE 11.3 is no more using xorg.conf in the “classical” way (there is no /etc/X11/xorg.conf. Instead of that there are some config files in /etc/X11/xorg.conf.d). What KMS does mean?

The radeon driver is included in the xorg-x11-driver-video package and it is the default driver for the ATI cards on opensuse 11.3. You don’t need to install something.

If you have an /etc/X11/xorg.conf remove it and reboot. Post the output of “dmesg | grep drm”

I have reinstalled the xorg-x11-driver-video package. I have no /etc/X11/xorg.conf. I still have back screen :frowning:

dmesg:

pcpw:/var/log # dmesg | grep drm
    1.894251] [drm] Initialized drm 1.1.0 20060810
    1.964697] [drm] radeon defaulting to kernel modesetting.
    1.964699] [drm] radeon kernel modesetting enabled.
    1.966623] [drm] initializing kernel modesetting (R580 0x1002:0x7244).
    1.966779] [drm] register mmio base: 0xFF9F0000
    1.966781] [drm] register mmio size: 65536
    1.967877] [drm] GPU reset succeed (RBBM_STATUS=0x10000140)
    1.967884] [drm] Possible LM64 thermal controller at 0x18
    1.967979] [drm] 1 Power State(s)
    1.967981] [drm] State 0 Default (default)
    1.967982] [drm]    16 PCIE Lanes
    1.967984] [drm]    1 Clock Mode(s)
    1.967985] [drm]            0 engine/memory: 500000/594000
    1.967991] [drm] radeon: power management initialized
    1.967995] [drm] Generation 2 PCI interface, using max accessible memory
    1.968107] [drm] radeon: using MSI.
    1.968141] [drm] radeon: irq initialized.
    1.968153] [drm] Detected VRAM RAM=256M, BAR=256M
    1.968155] [drm] RAM width 256bits DDR
    1.968210] [drm] radeon: 256M of VRAM memory ready
    1.968212] [drm] radeon: 512M of GTT memory ready.
    1.968226] [drm] GART: num cpu pages 131072, num gpu pages 131072
    1.970163] [drm] radeon: 4 quad pipes, 1 z pipes initialized.
    1.975410] [drm] PCIE GART of 512M enabled (table at 0x00040000).
    1.975426] [drm] radeon: cp idle (0x10000C03)
    1.975465] [drm] Loading R500 Microcode
    1.976991] [drm] radeon: ring at 0x0000000010000000
    1.977015] [drm] ring test succeeded in 2 usecs
    1.977119] [drm] radeon: ib pool ready.
    1.977188] [drm] ib test succeeded in 0 usecs
    1.977215] [drm] Default TV standard: NTSC
    1.977217] [drm] Default TV standard: NTSC
    1.977272] [drm:radeon_i2c_create] *ERROR* Failed to register bit i2c DVI
    1.977283] [drm] Default TV standard: NTSC
    1.977519] [drm] Radeon Display Connectors
    1.977521] [drm] Connector 0:
    1.977522] [drm]   S-video
    1.977523] [drm]   Encoders:
    1.977525] [drm]     TV1: INTERNAL_KLDSCP_DAC2
    1.977526] [drm] Connector 1:
    1.977527] [drm]   DVI-I
    1.977528] [drm]   HPD1
    1.977530] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
    1.977532] [drm]   Encoders:
    1.977533] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
    1.977534] [drm]     DFP1: INTERNAL_KLDSCP_TMDS1
    2.000413] [drm] Initialized radeon 2.3.0 20080528 for 0000:05:00.0 on minor 0

A little bit of info about KMS in the release notes:

http://www.novell.com/linux/releasenotes/x86_64/openSUSE/11.3.42/#05

Can you start up in failsafe mode ok? Have a read of these guides:

SDB:Configuring graphics cards - openSUSE

openSUSE Graphic Card Practical Theory Guide for Users

As deano_ferrai writes pls review SDB:Configuring graphics cards - openSUSE

Which kernel to you run? Post the output of “uname -a”.

The failsafe mode works fine. … i think that a similar problem is described here: Blank screen on boot after kernel update

I will go through the guidelines you suggested, hopefully it will help me. However, the question is how it is possible that an update from standard repositories causes such an situation. I mean everything was OK until that update. After the update the system can not be used (in a normal way - you can still boot to level 3) … This is the problem, why a lot of people do not like Linux, generally.

If you don’t provide the information we have asked, we cannot help you…

Sorry, here it is:

Linux pcpw 2.6.34.7-0.2-desktop #1 SMP PREEMPT 2010-09-14 14:21:06 +0200 x86_64 x86_64 x86_64 GNU/Linux

I have updated it today in hope that it will solve my problem, but without success.

Post also the “dmesg | grep drm”

It is in one of my previous posts (13-Sep-2010 19:44).

Oupps sorry ;).

[drm:radeon_i2c_create] *ERROR* Failed to register bit i2c DVI

This is wrong but i don’t know why.

If you are brave enough (i have done it without problems), enable the following repo

Index of /repositories/X11:/XOrg/openSUSE_11.3

and switch packages.

Let us know the results.

I have updated packages from the X.org repository and, consequently, I have lost the graphical interface for fail safe mode. So, now I can boot only to run level 3 (in fail safe mode) >:(

I don’t get it…

Something is very strange on your system.

I suggest you do a new clean install and start from there. It is very strange a kernel update to break the radeon driver. This kernel update has nothing to do with the drm driver, so something else is broken on your system.

Can I take a look at your repository structure? Pls post output from

 zypper repos -pdP 

From your Sept 13, 10:45 post it doesn’t look like you installed the ATI Radeonhd driver, so I doubt that’s the problem.

I don’t trust LiveCDs for installations, so I recommend using the full DVD or network install options instead if that’s your case.

If you’re still only booting into level 3, I’d like to see the output from

startx
##
tail -n 30 /var/log/Xorg.0.log
tail -n 20 .xsession-errors