Something wrong with the shutdown [Solved]

Discussion in general that pertains to Sabayon Linux - Must Pertain to Sabayon Linux

Moderator: Moderators

Something wrong with the shutdown [Solved]

Postby apiaio » Mon Oct 15, 2012 17:29

Hi there.
Today I upgraded system and kernel as well. Now I have
sabayon # uname -r
3.6.0-sabayon
Everything seems to be OK. When I want to reboot from KDE or I switch using ctrl+alt 1,2 etc. the screen becomes black and at the bottom are green- blue lines and PC freezes.
Has anybody similar problem?

EDIT:
It will be something wrog with KDE, because problem occures after kdm starts.
Last edited by apiaio on Wed Oct 17, 2012 18:34, edited 1 time in total.
apiaio
Simple Hen
 
Posts: 95
Joined: Thu Jul 30, 2009 19:44

Re: Something wrong with the shutdown

Postby apiaio » Mon Oct 15, 2012 19:54

I started SL with old kernel version 3.1.0-sabayon and everything is OK. I rebooted again into version 3.6.0-sabayon and find out, that the problem started after message
Code: Select all
starting framebuffers console settings -----

EDIT:
The resolutioun during startup of the kernels is different.
apiaio
Simple Hen
 
Posts: 95
Joined: Thu Jul 30, 2009 19:44

Re: Something wrong with the shutdown

Postby Fitzcarraldo » Wed Oct 17, 2012 11:55

Perhaps it's a bug in SL, so I suggest you file a bug report (To do that click on the link 'Bugs' at the top of this page).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7342
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Something wrong with the shutdown

Postby joost » Wed Oct 17, 2012 14:32

What videocard/driver are you using?
Did you catch the message on the notice board about kernel 3.6?

Important AMD GPU related changes in Linux Kernel 3.6+
Sun, 14 Oct 2012 20:12:39 +0000, sabayonlinux.org

Kernel updates are not forced to users. If you do not intend to update your kernel or you don't even know what a kernel is, you can happily ignore this notice. However, if you are adventurous and want to update your kernel to 3.6 (or later) and you have an AMD graphics card using the proprietary drivers (ati-drivers), you must add "nomodeset" to the boot parameters, or 3D acceleration will stop working. This is because upstream X.Org OpenSource Radeon drivers are not supporting non-KMS configurations anymore. So yes, OpenSource AMD graphics drivers will work 100% out of the box now.
User avatar
joost
Sagely Hen
 
Posts: 2332
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Something wrong with the shutdown

Postby apiaio » Wed Oct 17, 2012 18:33

Thanks for answers. Probably both of you are right. I downgraded into
Code: Select all
sabayon / # uname -r
3.5.0-sabayon
and everything works.
Thanks
apiaio
Simple Hen
 
Posts: 95
Joined: Thu Jul 30, 2009 19:44

Re: Something wrong with the shutdown [Solved]

Postby Sonnersen » Wed Oct 24, 2012 9:08

Well...i'm unable to add nomodeset to boot parameters.

How to do that safely?

(Im still learning, thanks.
Sonnersen
Baby Hen
 
Posts: 19
Joined: Wed Oct 24, 2012 9:03

Re: Something wrong with the shutdown [Solved]

Postby joost » Wed Oct 24, 2012 9:43

** This is ONLY needed for kernels > 3.6 combined with the fglrx drivers. **

/etc/default/grub and add nomodeset to the GRUB_CMDLINE_LINUX_DEFAULT variable
Code: Select all
# Copyright 1999-2012 Gentoo Foundation
# 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 $
#
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
#     'grub2-mkconfig -o /boot/grub2/grub.cfg'
#
# See the grub info page for documentation on possible variables and
# their associated values.

GRUB_DEFAULT=saved
GRUB_DISTRIBUTOR="Sabayon"

GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISABLE_LINUX_UUID=true

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
GRUB_CMDLINE_LINUX=""

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

# The resolution used on graphical terminal.
# Note that you can use only modes which your graphic card supports via VBE.
# You can see them in real GRUB with the command `vbeinfo'.
GRUB_GFXMODE=1024x768

# Path to theme spec txt file.
# The starfield is by default provided with use truetype.
# NOTE: when enabling custom theme, ensure you have required font/etc.
#GRUB_THEME="/boot/grub2/themes/starfield/theme.txt"

# Background image used on graphical terminal.
# Can be in various bitmap formats.
GRUB_BACKGROUND="/boot/grub/default-splash.png"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=true

# Boot menu option normal color
GRUB_COLOR_NORMAL="white/black"

# Boot menu option "highlight" color
GRUB_COLOR_HIGHLIGHT="magenta/black"

if [ -f "/etc/default/sabayon-grub" ]; then
   # this file is placed by the Sabayon Installer and contains
   # custom GRUB_CMDLINE_LINUX parameters created at install
   # time.
   . /etc/default/sabayon-grub
fi


Regenerate your grub.cfg file:
Code: Select all
grub-mkconfig -o /boot/grub/grub.cfg


Reboot.
User avatar
joost
Sagely Hen
 
Posts: 2332
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Something wrong with the shutdown [Solved]

Postby Sonnersen » Wed Oct 24, 2012 10:07

Thank you joost, I understand.

Another question: can I add nomodeset using kernel 3.5.7 (i'm using this one, instead off I installed 3.6.1), or I must relog and use kernel 3.6?
Thank you.

(what nomodeset do?)
Sonnersen
Baby Hen
 
Posts: 19
Joined: Wed Oct 24, 2012 9:03

Re: Something wrong with the shutdown [Solved]

Postby joost » Wed Oct 24, 2012 10:57

The OpenSource ati driver needs this. It triggers KMS (Kernel Mode Setting), this allows to early set the monitor resolution.
We used to have this OPTIONAL as a kernel Module in Kernels < 3.6 but since 3.6 we have this build in the kernel, and it is enabled by default. Sadly this conflicts with the FGLRX driver.

http://en.wikipedia.org/wiki/Kernel_mode-setting
https://wiki.archlinux.org/index.php/Ke ... de_Setting

With Kernel Mode Setting (KMS), the kernel is now able to set the mode of the video card. This makes fancy graphics during bootup, virtual console and X fast switching possible, among other things.


can I add nomodeset using kernel 3.5.7

Sure, if you don't use the FOSS ati driver, it does no harm.
User avatar
joost
Sagely Hen
 
Posts: 2332
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Something wrong with the shutdown [Solved]

Postby Sonnersen » Wed Oct 24, 2012 15:18

I added nomodeset:

Code: Select all
# Copyright 1999-2012 Gentoo Foundation
# 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 $
#
# To populate all changes in this file you need to regenerate your
# grub configuration file afterwards:
#     'grub2-mkconfig -o /boot/grub2/grub.cfg'
#
# See the grub info page for documentation on possible variables and
# their associated values.

GRUB_DEFAULT=saved
GRUB_DISTRIBUTOR="Sabayon"

GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISABLE_LINUX_UUID=true

GRUB_CMDLINE_LINUX_DEFAULT="nomodeset"
GRUB_CMDLINE_LINUX=""

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

# The resolution used on graphical terminal.
# Note that you can use only modes which your graphic card supports via VBE.
# You can see them in real GRUB with the command `vbeinfo'.
GRUB_GFXMODE=1024x768

# Path to theme spec txt file.
# The starfield is by default provided with use truetype.
# NOTE: when enabling custom theme, ensure you have required font/etc.
#GRUB_THEME="/boot/grub2/themes/starfield/theme.txt"

# Background image used on graphical terminal.
# Can be in various bitmap formats.
GRUB_BACKGROUND="/boot/grub/default-splash.png"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to kernel
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=true

# Boot menu option normal color
GRUB_COLOR_NORMAL="white/black"

# Boot menu option "highlight" color
GRUB_COLOR_HIGHLIGHT="magenta/black"

if [ -f "/etc/default/sabayon-grub" ]; then
   # this file is placed by the Sabayon Installer and contains
   # custom GRUB_CMDLINE_LINUX parameters created at install
   # time.
   . /etc/default/sabayon-grub
fi


3d accelerations seem working fine, but i still can't shud down the system:
when shutting down, i can see a persistent black screen with a blue line on the bottom

Code: Select all
@@ Pacchetto: x11-drivers/ati-drivers-12.8#3.4.0-sabayon branch: 5, [sabayonlinux.org]
>>         Disponibile:   versione: 12.8 ~ tag: 3.4.0-sabayon ~ revisione: 0
>>         Installato:    versione: 12.8 ~ tag: 3.4.0-sabayon ~ revisione: 0
>>         Slot:          1,3.4.0-sabayon
>>         Homepage:      http://www.amd.com
>>         Descrizione:   AMD kernel drivers for radeon r600
>>                        (HD Series) and newer chipsets
>>         Licenza:       AMD GPL-2 as-is
>>      @@ Pacchetto: x11-drivers/ati-drivers-12.8#3.5.0-sabayon branch: 5, [sabayonlinux.org]
>>         Disponibile:   versione: 12.8 ~ tag: 3.5.0-sabayon ~ revisione: 2
>>         Installato:    versione: 12.8 ~ tag: 3.5.0-sabayon ~ revisione: 2
>>         Slot:          1,3.5.0-sabayon
>>         Homepage:      http://www.amd.com
>>         Descrizione:   AMD kernel drivers for radeon r600
>>                        (HD Series) and newer chipsets
>>         Licenza:       AMD GPL-2 as-is
>>      @@ Pacchetto: x11-drivers/ati-drivers-12.8#3.6.0-sabayon branch: 5, [sabayonlinux.org]
>>         Disponibile:   versione: 12.8 ~ tag: 3.6.0-sabayon ~ revisione: 0
>>         Installato:    versione: 12.8 ~ tag: 3.6.0-sabayon ~ revisione: 0
>>         Slot:          1,3.6.0-sabayon
>>         Homepage:      http://www.amd.com
>>         Descrizione:   AMD kernel drivers for radeon r600
>>                        (HD Series) and newer chipsets
>>         Licenza:       AMD GPL-2 as-is
>>  Keyword:  ati-driver
>>  Trovati:  10 entries
Sonnersen
Baby Hen
 
Posts: 19
Joined: Wed Oct 24, 2012 9:03

Next

Return to Sabayon Linux General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests