AMD Switchable Graphics / fglrx

Hello openSuSE community
I’ve never asked for help on this forum before because I always find solutions for all problems. This time I have sort of specific problem which I couldn’t solve by myself. Hope you can help me guys :slight_smile:
So, I’m running openSuSE 12.3 KDE, hardware specs are:

HP Pavilion DV6-6150sl
Intel Core i5-2410m
AMD Radeon HD 6770m
Enough RAM.

I installed suse’s 1-click fglrx drivers. The thing is, I cannot switch to Intel gpu. After reboot it hangs at the “Reached target graphical interface” line. Then I enter cli by hitting alt+f2 and try to startx, then it says could not connect to X server.
So I just delete xorg.conf, run amdconfig --initial -f and then I’m able to start the x server, but it starts using AMD gpu. Any ideas why intel gpu will not start?
I also tried it on other distro. It worked on linux Mint, I was able to switch between cards. But I don’t want any other distro, I want openSuSE.
I also tried to install amd catalyst 13.4 from amd’s website. The drivers worked even worse. I wasn’t able to switch between gpus and fglrxinfo, glxinfo would give errors.

Oh, and 1 more problem. :slight_smile:
My screen is **** tearing when using AMD gpu. It completely ignores vertical sync setting in the CCC (which is supposed to remove tearing?). It’s very annoying when watching films and moving windows around. It works fine on intel gpu (tried on linux mint).

Any help is appreciated :slight_smile:

@eksplode

the tearing seems to imply the fglrx driver is not installed correctly

the output of cmd
lsmod | grep fglrx
will show if the module is loaded,
there should be two or three lines output with it in

if it isn’t suggest the following,
at a cli enter cmd init 3
log in as root then re-install catalyst 13.4
read the log file in /usr/share/ati/ to verify a failure free install
if no errors reported, reboot

if errors are reported, run the un-install script
then start yast and from the program manager try installing the openSUSE fglrx
package again

best of luck

lsmod | grep fglrx gives 2 lines of output, driver is loaded. fglrxinfo gives correct output too, no errors. Steam works and I’m able to play games (fps goes up to 400 on CS:S but it still looks laggy like it was like 30-40 fps). After changing the gpu to it asks me to restart the pc, so I restart it. And I have noticed that it hangs up at the line that says “Loading GLX module” or something. Intel gpu fails to load the driver, i don’t know why. I tried downloading the driver 13.4 from AMD’s website and building distro specific rpm package, the problem was identical, no difference from the suse’s 1 click driver. I’ll try installing packages for 12.2 and 12.1 suse versions, I’ve read somewhere that it might help. :slight_smile:

@eksplode

can the following output be posted (if possible)

xrandr

it would also be interesting to see the content of files
/etc/X11/xorg.conf
/usr/share/ati/fglrx-install.log

/var/log/Xorg.0.log

the last file is too large to post here but can be placed at
SUSE Paste
and the reference posted here

cheers

nb. no posts have been read showing a sucessfull install for a
hybrid graphics install on openSUSE

Hello, sorry for late reply
The output of xrandr:


ignas@linux-m21k:~> xrandr
Screen 0: minimum 320 x 200, current 1366 x 768, maximum 8192 x 8192
LVDS1 connected 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768       60.0*+
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
ignas@linux-m21k:~> 

xorg.conf:

Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

install log don’t exist
finally, the xorg.0.log:
SUSE Paste

Any help is appreciated, I would really like to get those drivers to work

no similar hw is available but,

first remove the fglrx driver if the intel gpu is wanted,

  • in yast, program manager search for fglrx and delete driver
    and / or
  • run uninstall file in /usr/share/ati/

try at your own risk,

Section "ServerLayout"
        Identifier     "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
        Identifier   "aticonfig-Monitor[0]-0"
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "Generic Autodetecting Monitor"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "intel"
        BusID       "PCI:0:2:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device     "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

the above should load the correct driver for the intel gpu

with the setup as given, the intel driver is being used to drive the amd card

    16.262] (II) fglrx: intel VGA device detected, load intel driver.
    16.262] (II) LoadModule: "intel"
    16.262] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so