openSUSE12.1-64 Notebook is not booting into KDE after graphic driver installation (2 cards)

Hi i have a problem with my new notebook:
CPU: i5-2430M
Graphic: Intel HD Grafik 3000 / AMD Radeon HD 6630M (yes it seems that there are two graphic cards in, see the output of “/usr/sbin/hwinfo --gfxcard” on the bottom of this post)

I installed openSUSE 12.1 64-bit two days ago, i had no problems. But yesterday wanted to install the graphic driver (AMD driver) following this tutorial:
SDB:AMD/ATI-Grafiktreiber – openSUSE
it is in german but basically i just added the mentioned repository (the 12.1 version) and then installed the driver with YAST using the repo (i selected the 64 bit driver: fglrx64_xpic_SUSE…)

After a restart the notebook was not able to boot right into KDE, instead of showing me the KDE logon i just got a console logon, trying to run “startx” as root gave me the following errors:


    hostname: Name or service not known
    xauth: file /root/.serverauth.1466 does not exist

    X.Org X Server 1.10.4
    Release Date: 2911-08.19
    X Protocol Version 11, Revision 0
    Build Operating System: openSUSE SUSE LINUX
    Current Operating System: Linux L-Space.site 3.1.0-1.2-desktop #1 SMP PREEMT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64
    Kernel command line: root=/dev/disk/by-id/ata-TOSHIBA_MK5059GSXP_91T1F8S3S-part2 resume=/dev/disk/by-id/ata-TOSHIBA_MK5059GSXP_91T1F8S3S-part1 splash=silent quiet vga=0x317
    Build Date: 10 November 2011  03:34:36PM

    Current version of pixman: 0.22.0
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
    Marker: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.o.log", Time: Tue Mar 20 19:16:31 2012
    (==) Using config file "/etc/X11/xorg.conf"
    (==) Using config directory: "/etc/X11/xorg.conf.d"
    (==) Using sstem config directory "/usr/share/X11/xorg.conf.d"
    FATAL: Module fglrx not found.
    (EE) No devices detected.

    Fatal server error:
    no screens found

    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.

    xinit: giving up
    xinit: unable to cennect to X server: Connection refused
    xinit: server error

    xinit failed. /usr/bin/Xorg is not setuid, maybe that´s the reason?
    If so either use a display manager (strongly recommended) or adjust /etc/permissions.local


the /var/log/Xorg.0.log contains:


        58.424]
    X.Org X Server 1.10.4
    Release Date: 2011-08-19
        58.424] X Protocol Version 11, Revision 0
        58.424] Build Operating System: openSUSE SUSE LINUX
        58.424] Current Operating System: Linux L-Space.site 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) x86_64
        58.424] Kernel command line: root=/dev/disk/by-id/ata-TOSHIBA_MK5059GSXP_91T1F8S3S-part2 resume=/dev/disk/by-id/ata-TOSHIBA_MK5059GSXP_91T1F8S3S-part1 splash=silent quiet vga=0x317
        58.424] Build Date: 10 November 2011  03:34:36PM
        58.424]
        58.424] Current version of pixman: 0.22.0
        58.424]    Before reporting problems, check http://wiki.x.org
       to make sure that you have the latest version.
        58.424] Markers: (--) probed, (**) from config file, (==) default setting,
       (++) from command line, (!!) notice, (II) informational,
       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
        58.424] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Mar 20 19:16:31 2012
        58.424] (==) Using config file: "/etc/X11/xorg.conf"
        58.424] (==) Using config directory: "/etc/X11/xorg.conf.d"
        58.424] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
        58.424] (==) ServerLayout "aticonfig Layout"
        58.424] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
        58.424] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
        58.424] (**) |   |-->Device "aticonfig-Device[0]-0"
        58.424] (==) Automatically adding devices
        58.425] (==) Automatically enabling devices
        58.425] (==) FontPath set to:
       /usr/share/fonts/misc:unscaled,
       /usr/share/fonts/Type1/,
       /usr/share/fonts/100dpi:unscaled,
       /usr/share/fonts/75dpi:unscaled,
       /usr/share/fonts/URW/,
       /usr/share/fonts/cyrillic:unscaled,
       /usr/share/fonts/truetype/,
       built-ins
        58.425] (==) ModulePath set to "/usr/lib64/xorg/modules/updates,/usr/lib64/xorg/modules"
        58.425] (II) The server relies on udev to provide the list of input devices.
       If no devices become available, reconfigure udev or disable AutoAddDevices.
        58.425] (II) Loader magic: 0x7d9140
        58.425] (II) Module ABI versions:
        58.425]    X.Org ANSI C Emulation: 0.4
        58.425]    X.Org Video Driver: 10.0
        58.425]    X.Org XInput driver : 12.2
        58.425]    X.Org Server Extension : 5.0
        58.425] (--) PCI:*(0:0:2:0) 8086:0116:104d:907b rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00008000/64
        58.425] (--) PCI: (0:1:0:0) 1002:6741:104d:907b rev 0, Mem @ 0xa0000000/268435456, 0xc8400000/131072, I/O @ 0x00007000/256, BIOS @ 0x????????/131072
        58.425] (II) Open ACPI successful (/var/run/acpid.socket)
        58.425] (II) "extmod" will be loaded by default.
        58.425] (II) "dbe" will be loaded by default.
        58.425] (II) "glx" will be loaded by default.
        58.426] (II) "record" will be loaded by default.
        58.426] (II) "dri" will be loaded by default.
        58.426] (II) "dri2" will be loaded by default.
        58.426] (II) LoadModule: "extmod"
        58.426] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
        58.426] (II) Module extmod: vendor="X.Org Foundation"
        58.426]    compiled for 1.10.4, module version = 1.0.0
        58.426]    Module class: X.Org Server Extension
        58.426]    ABI class: X.Org Server Extension, version 5.0
        58.426] (II) Loading extension MIT-SCREEN-SAVER
        58.426] (II) Loading extension XFree86-VidModeExtension
        58.426] (II) Loading extension XFree86-DGA
        58.426] (II) Loading extension DPMS
        58.426] (II) Loading extension XVideo
        58.426] (II) Loading extension XVideo-MotionCompensation
        58.426] (II) Loading extension X-Resource
        58.426] (II) LoadModule: "dbe"
        58.427] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
        58.427] (II) Module dbe: vendor="X.Org Foundation"
        58.427]    compiled for 1.10.4, module version = 1.0.0
        58.427]    Module class: X.Org Server Extension
        58.427]    ABI class: X.Org Server Extension, version 5.0
        58.427] (II) Loading extension DOUBLE-BUFFER
        58.427] (II) LoadModule: "glx"
        58.427] (II) Loading /usr/lib64/xorg/modules/updates/extensions/libglx.so
        58.427] (II) Module glx: vendor="Advanced Micro Devices, Inc."
        58.427]    compiled for 6.9.0, module version = 1.0.0
        58.427] (II) Loading extension GLX
        58.427] (II) LoadModule: "record"
        58.428] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
        58.428] (II) Module record: vendor="X.Org Foundation"
        58.428]    compiled for 1.10.4, module version = 1.13.0
        58.428]    Module class: X.Org Server Extension
        58.428]    ABI class: X.Org Server Extension, version 5.0
        58.428] (II) Loading extension RECORD
        58.428] (II) LoadModule: "dri"
        58.428] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
        58.428] (II) Module dri: vendor="X.Org Foundation"
        58.428]    compiled for 1.10.4, module version = 1.0.0
        58.428]    ABI class: X.Org Server Extension, version 5.0
        58.428] (II) Loading extension XFree86-DRI
        58.428] (II) LoadModule: "dri2"
        58.429] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
        58.429] (II) Module dri2: vendor="X.Org Foundation"
        58.429]    compiled for 1.10.4, module version = 1.2.0
        58.429]    ABI class: X.Org Server Extension, version 5.0
        58.429] (II) Loading extension DRI2
        58.429] (II) LoadModule: "fglrx"
        58.429] (II) Loading /usr/lib64/xorg/modules/drivers/fglrx_drv.so
        58.441] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
        58.441]    compiled for 1.4.99.906, module version = 8.95.3
        58.441]    Module class: X.Org Video Driver
        58.441] (II) Loading sub module "fglrxdrm"
        58.441] (II) LoadModule: "fglrxdrm"
        58.441] (II) Loading /usr/lib64/xorg/modules/linux/libfglrxdrm.so
        58.441] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
        58.441]    compiled for 1.4.99.906, module version = 8.95.3
        58.441] (II) ATI Proprietary Linux Driver Version Identifier:8.95.3
        58.441] (II) ATI Proprietary Linux Driver Release Identifier: 8.95                                 
        58.441] (II) ATI Proprietary Linux Driver Build Date: Feb 14 2012 21:05:02
        58.441] (--) using VT number 2

        58.445] (WW) Falling back to old probe method for fglrx
        58.450] (II) Loading PCS database from /etc/ati/amdpcsdb
        58.451] (--) Chipset Supported AMD Graphics Processor (0x6741) found
        58.452] (II) fglrx: intel VGA device detected, load intel driver.
        58.452] (II) LoadModule: "intel"
        58.452] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
        58.452] (II) Module intel: vendor="X.Org Foundation"
        58.452]    compiled for 1.10.4, module version = 2.16.0
        58.452]    Module class: X.Org Video Driver
        58.452]    ABI class: X.Org Video Driver, version 10.0
        58.454] ukiDynamicMajor: failed to open /proc/ati/major
        58.454] ukiDynamicMajor: failed to open /proc/ati/major
        58.454] (WW) PowerXpress feature is not supported
        58.454] (EE) No devices detected.
        58.454]
    Fatal server error:
        58.454] no screens found
        58.454]
    Please consult the The X.Org Foundation support
        at http://wiki.x.org
     for help.
        58.454] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
        58.454]

Someone told me installing the driver the way i did could only fail because i have two graphic cards in my pc!? Typing: “/usr/sbin/hwinfo --gfxcard”
gave me this output:


    10: PCI 02.0: 0300 VGA compatible controller (VGA)
      [Created at pci.319]
      Unique ID: _Znp.zVi4Gs_yZeC
      SysFS ID: /devices/pci0000:00/0000:00:02.0
      SysFS BusID: 0000:00:02.0
      Hardware Class: graphics card
      Model: "Intel VGA compatible controller"
      Vendor: pci 0x8086 "Intel Corporation"
      Device: pci 0x0116
      SubVendor: pci 0x104d "Sony Corporation"
      SubDevice: pci 0x907b
      Revision: 0x09
      Driver: "i915"
      Driver Modules: "drm"
      Memory Range: 0xc0000000-0xc03fffff (rw,non-prefetchable)
      Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)
      I/O Ports: 0x8000-0x803f (rw)
      IRQ: 50 (1779 events)
      I/O Ports: 0x3c0-0x3df (rw)
      Module Alias: "pci:v00008086d00000116sv0000104Dsd0000907Bbc03sc00i00"
      Driver Info #0:
        Driver Status: i915 is active
        Driver Activation Cmd: "modprobe i915"
      Config Status: cfg=no, avail=yes, need=no, active=unknown

    22: PCI 100.0: 0300 VGA compatible controller (VGA)
      [Created at pci.319]
      Unique ID: VCu0.172Un_q4T56
      Parent ID: vSkL.F6JxlpC7ff5
      SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
      SysFS BusID: 0000:01:00.0
      Hardware Class: graphics card
      Model: "ATI VGA compatible controller"
      Vendor: pci 0x1002 "ATI Technologies Inc"
      Device: pci 0x6741
      SubVendor: pci 0x104d "Sony Corporation"
      SubDevice: pci 0x907b
      Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable,disabled)
      Memory Range: 0xc8400000-0xc841ffff (rw,non-prefetchable,disabled)
      I/O Ports: 0x7000-0x7fff (rw,disabled)
      Memory Range: 0xc8420000-0xc843ffff (ro,non-prefetchable,disabled)
      IRQ: 7 (no events)
      Module Alias: "pci:v00001002d00006741sv0000104Dsd0000907Bbc03sc00i00"
      Driver Info #0:
        Driver Status: radeon is not active
        Driver Activation Cmd: "modprobe radeon"
      Config Status: cfg=no, avail=yes, need=no, active=unknown
      Attached to: #9 (PCI bridge)

    Primary display adapter: #10


so i just found this thread: http://forums.opensuse.org/english/get-technical-help-here/laptop/445072-i-have-problem-switchable-graphics-laptop.html
in the laptop subforum.
It seems that using vgaswitcheroo is nessecary to use the radion card at all. Is it possible that the method i used to install the AMD driver failed because the internal intel graphic card was activated? Maybe YAST or the driver script tried to use the AMD driver for the intel card? Is this possible?

Anyway i thought that using the vgaswitcheroo switch, switching my cards first (as described in the other thread) is a prerequisite for installing the AMD radeon driver. Maybe with the radion card activated and not the intel, the driver installation will work?

But when tryng to switch the cards (the intel chip is default and always connected but both cards are powered) by:


echo "DDIS" > /sys/kernel/debug/vgaswitcheroo/switch

or


echo DDIS > /sys/kernel/debug/vgaswitcheroo/switch

this leads to a freeze when loggin of from my KDE session!
At first iam thrown to the console logon but its freezed, the curser is not blinking.

Can anyone help?

btw: i uninstalled the AMD driver first, by using the failsave booting option, this way i was able to run KDE and then using YAST to uninstall the driver, now i can boot into KDE the normal way.

Hi sabo007,

I have a mux-less AMD switchable graphics set-up, which basically means that the display adapter connects to the intel GPU and the AMD driver only does rendering work. This is pretty painful and means that i have never been able to use the AMD card, with or without the proprietary driver.

I use a Dell Vostro 3350 laptop with AMD Radeon™ HD 6490M GDDR5, 512MB and Intel® HD Graphics 3000.

Check out this site: X.Org Wiki - RadeonFeature which says:

"6 There are two versions of hybrd graphics: MUXed and MUX-less. MUXed have a display MUX to switch the displays between the discrete and integrated cards. MUXed systems can be switched using vgaswitcheroo. MUX-less do not have a display MUX and the displays are only connected to the integrated card. On MUX-less systems, the discrete card is solely for rendering, not display. At the moment the X server does not support rendering and display from different cards so the discrete card can not be used with MUX-less systems at the moment. Most new laptops (2011+) are MUX-less. "

Also good to check out: https://bbs.archlinux.org/viewtopic.php?id=120622

The only thing you can do at the moment is to switch off completely the AMD card and run solely on the Intel. To do this just type
as super user:
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch

I’d roll back to the open source AMD driver as well - the proprietary one is useless.

Hope this helps!