2015-09-22

‎Roll Back

← Older revision

Revision as of 03:54, 22 September 2015

(6 intermediate revisions by the same user not shown)

Line 22:

Line 22:

Find a kernel you wish to use, and switch!

Find a kernel you wish to use, and switch!

{{Console| <pre class="clear">

{{Console| <pre class="clear">



localhost root # kernel-switcher switch linux-sabayon-
3
.
14
.
6-r1

+

localhost root # kernel-switcher switch linux-sabayon-
4
.
1
.
7

</pre>}}

</pre>}}



== Method 2 (Manual) ==

== Method 2 (Manual) ==

Line 94:

Line 93:

Yeah, it has to do with having 2 Graphic Cards, APU + PCI-E. You have the APU disabled in BIOS you say?

Yeah, it has to do with having 2 Graphic Cards, APU + PCI-E. You have the APU disabled in BIOS you say?

+

This mainly happens with fglrx installations.

{{Console| <pre class="clear">

{{Console| <pre class="clear">

Line 100:

Line 100:

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]

00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics]

---cut---

---cut---



01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Oland
XT [Radeon
HD 8670 / R7 250
]

+

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Fiji
XT [Radeon
R9 FURY X
]
(rev ca)

</pre>}}

</pre>}}



Sometimes it doesn't matter. Pending on the motherboard, the hardware is still attached (its part of the CPU!) and seen, thus detected and configured as such. This detects both cards and populates them in order seen then assigns them separate "screens" in xorg.conf.

+

Sometimes it doesn't matter. Pending on the motherboard, the hardware is still attached (its part of the CPU!) and seen, thus detected and configured as such. This detects both cards and populates them in order seen then assigns them separate "screens" in xorg.conf
or only sets up the first card seen
.

The APU is first on the PCI-E bus making it "primary". Fret not! We've got your back. Until an automatic solution is found I give you the fix!

The APU is first on the PCI-E bus making it "primary". Fret not! We've got your back. Until an automatic solution is found I give you the fix!

Line 155:

Line 155:

Now! That should fix the graphics card confusion, but you still need to get into the GUI right? Simple!

Now! That should fix the graphics card confusion, but you still need to get into the GUI right? Simple!



Just replace
kdm
with whichever desktop manager you use such as gdm(Gnome), lightdm(other), kdm(KDE).

+

Just replace
sddm
with whichever desktop manager you use such as gdm(Gnome), lightdm(other), kdm(KDE).

{{Console| <pre class="clear">

{{Console| <pre class="clear">



sabayon ~ # systemctl restart
kdm

+

sabayon ~ # systemctl restart
sddm

</pre>}}

</pre>}}

Line 165:

Line 165:

This Fix will work to get you into the GUI from disk to Install Sabayon. After install you may have to perform this fix one more time once booting from HDD, as this fix isn't copied over to the HDD during install. You will not need to perform this fix everytime. Once to get to installer, then once to setup the installed OS.

This Fix will work to get you into the GUI from disk to Install Sabayon. After install you may have to perform this fix one more time once booting from HDD, as this fix isn't copied over to the HDD during install. You will not need to perform this fix everytime. Once to get to installer, then once to setup the installed OS.

}}

}}

+

= <span style="color:green">AMD - FGLRX to Open Source</span> =

= <span style="color:green">AMD - FGLRX to Open Source</span> =

Line 175:

Line 176:

localhost root # equo update

localhost root # equo update

localhost root # equo remove ati-drivers ati-userspace amdcccle

localhost root # equo remove ati-drivers ati-userspace amdcccle

+

localhost root # equo install xf86-video-ati

localhost root # eselect opengl set xorg-x11

localhost root # eselect opengl set xorg-x11



localhost root # sed -i 's/nomodeset//g' /etc/default/
sabayon-
grub

+

localhost root # sed -i 's/nomodeset//g' /etc/default/grub

localhost root # sed -i 's/nomodeset//g' /boot/grub/grub.cfg

localhost root # sed -i 's/nomodeset//g' /boot/grub/grub.cfg

localhost root # sed -i 's/"fgrlx"/"ati"/g' /etc/X11/xorg.conf

localhost root # sed -i 's/"fgrlx"/"ati"/g' /etc/X11/xorg.conf

Line 204:

Line 206:

localhost root # equo remove ati-drivers

localhost root # equo remove ati-drivers

localhost root # equo remove xf86-video-ati

localhost root # equo remove xf86-video-ati



localhost root # equo remove x11-base/xorg-drivers



localhost root # equo remove --configfiles xf86-video-ati

localhost root # echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf

localhost root # echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf

</pre>}}

</pre>}}



If your radeon module is still loaded after boot and
you have added it to the modprobe blacklist
, look into '''/etc/conf.d/modules''' to see if it is listed in the modules line.

+

If your radeon module is still loaded after boot and
its blacklisted
, look into '''/etc/conf.d/modules''' to see if it is listed in the modules line
and make sure grub is booting with nomodeset(below)
.

Line 224:

Line 224:

# Copyright 1999-2012 Gentoo Foundation

# Copyright 1999-2012 Gentoo Foundation

# Distributed under the terms of the GNU General Public License v2

# Distributed under the terms of the GNU General Public License v2



# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-2,v 1.2
2012/06/28 22:36:53 floppym Exp
$

+

# $Header: /var/cvsroot/gentoo-x86/sys-boot/grub/files/grub.default-2,v 1.2
201
$

#

#

# To populate all changes in this file you need to regenerate your

# To populate all changes in this file you need to regenerate your

Line 232:

Line 232:

# See the grub info page for documentation on possible variables and

# See the grub info page for documentation on possible variables and

# their associated values.

# their associated values.

+

GRUB_DEFAULT=saved

GRUB_DEFAULT=saved



GRUB_DISTRIBUTOR="Sabayon"

+

GRUB_DISTRIBUTOR="Sabayon
Linux 15.08
"

+

GRUB_DEFAULT=0

GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT=0

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_HIDDEN_TIMEOUT_QUIET=true

GRUB_TIMEOUT=5

GRUB_TIMEOUT=5



GRUB_DISABLE_LINUX_UUID=true



GRUB_CMDLINE_LINUX_DEFAULT
=""

+

GRUB_CMDLINE_LINUX_DEFAULT="<span style="color:red">nomodeset</span>
quiet splash"



GRUB_CMDLINE_LINUX
="<span style="color:red">nomodeset</span>"

+

GRUB_CMDLINE_LINUX="
"

# Uncomment to disable graphical terminal (grub-pc only)

# Uncomment to disable graphical terminal (grub-pc only)

Line 259:

Line 260:

OK, lets install the drivers and set the links to the GL libraries.

OK, lets install the drivers and set the links to the GL libraries.

{{Console| <pre class="clear">

{{Console| <pre class="clear">



localhost root # equo install --bdeps x11-drivers/ati-drivers-
14
.
12
-
r3
#$(uname -r) ati-userspace amdcccle

+

localhost root # equo install --bdeps x11-drivers/ati-drivers-
15
.
9
-
r1
#$(uname -r) ati-userspace amdcccle

localhost root # eselect opengl set ati

localhost root # eselect opengl set ati

localhost root # eselect opencl set amd

localhost root # eselect opencl set amd

Line 266:

Line 267:

Need an updated or new xorg.conf? If you weren't using fglrx before then... yes.

Need an updated or new xorg.conf? If you weren't using fglrx before then... yes.



Backup old and update.

+

Newer versions of X11 do not require an xorg.conf file, but may not load fgrlx drivers.

+

+

creating an xorg.conf file and forcing X11 to use it to override auto-detection can help.

+

+

Backup old (if one exists) and update.

{{Console| <pre class="clear">

{{Console| <pre class="clear">

localhost root # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

localhost root # cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak

localhost root # /opt/bin/aticonfig --initial

localhost root # /opt/bin/aticonfig --initial

+

localhost root # X -config /etc/X11/xorg.conf

</pre>}}

</pre>}}

Line 335:

Line 341:

localhost root # equo remove ati-drivers ati-userspace amdcccle

localhost root # equo remove ati-drivers ati-userspace amdcccle

localhost root # equo install xf86-video-ati

localhost root # equo install xf86-video-ati



localhost root # equo install x11-base/xorg-drivers

localhost root # eselect opengl set xorg-x11

localhost root # eselect opengl set xorg-x11

localhost root # sed -i '/blacklist radeon/d' /etc/modprobe.d/blacklist.conf

localhost root # sed -i '/blacklist radeon/d' /etc/modprobe.d/blacklist.conf



localhost root # sed -i 's/
\<
nomodeset
\>
//g' /etc/default/grub

+

localhost root # sed -i 's/nomodeset//g' /etc/default/grub

localhost root # cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf

localhost root # cp /etc/X11/xorg.conf.bak /etc/X11/xorg.conf

</pre>}}

</pre>}}

Line 351:

Line 356:

If you don't feel fully comfortable about this command. Back up your file or use nano (vi etc.) to edit the file!

If you don't feel fully comfortable about this command. Back up your file or use nano (vi etc.) to edit the file!

}}

}}





= <span style="color:green">NVIDIA</span> =

= <span style="color:green">NVIDIA</span> =

Show more