LinuxForum.Fans
Тема

openSUSE 12.3 x86_64 и Черный экран вместо ttyX. GRUB или fglrx?

Автор: Nyan_Kitty_Fungus 6 сообщений 2832 просмотров
#347472

Вместо tty[1-6] чёрный экран, но ctrl-alt-F* работает и на ввод с клавиатуры реагирует (проверил вслепую)
Иксы же работают нормально

Видеокарта Radeon HD7790, установлен самособранный fglrx (ручная сборка и установка)
Загрузчик GRUB2

/boot/grub2/grub.cfg
text

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then load_env fi set default="${saved_entry}"

if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi }

function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi }

terminal_input console terminal_output console if [ x${boot_once} = xtrue ]; then set timeout=0 elif sleep --interruptible 0 ; then set timeout=3 fi ### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ### menuentry 'openSUSE 12.3' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-cda331b9-0545-45b3-8c57-9401d32283bb' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' 573af1d2-0540-4195-b5ba-596b34eceb0d else search --no-floppy --fs-uuid --set=root 573af1d2-0540-4195-b5ba-596b34eceb0d fi echo 'Loading Linux 3.7.10-1.16-desktop ...' linux /vmlinuz-3.7.10-1.16-desktop root=UUID=cda331b9-0545-45b3-8c57-9401d32283bb resume=/dev/sdb1 splash=silent quiet radeon.modeset=0 showopts echo 'Loading initial ramdisk ...' initrd /initrd-3.7.10-1.16-desktop } submenu 'Advanced options for openSUSE 12.3' $menuentry_id_option 'gnulinux-advanced-cda331b9-0545-45b3-8c57-9401d32283bb' { menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-desktop' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-desktop-advanced-cda331b9-0545-45b3-8c57-9401d32283bb' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' 573af1d2-0540-4195-b5ba-596b34eceb0d else search --no-floppy --fs-uuid --set=root 573af1d2-0540-4195-b5ba-596b34eceb0d fi echo 'Loading Linux 3.7.10-1.16-desktop ...' linux /vmlinuz-3.7.10-1.16-desktop root=UUID=cda331b9-0545-45b3-8c57-9401d32283bb resume=/dev/sdb1 splash=silent quiet radeon.modeset=0 showopts echo 'Loading initial ramdisk ...' initrd /initrd-3.7.10-1.16-desktop } menuentry 'openSUSE 12.3, with Linux 3.7.10-1.16-desktop (recovery mode)' --class 'opensuse-12-3' --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.7.10-1.16-desktop-recovery-cda331b9-0545-45b3-8c57-9401d32283bb' { load_video set gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set root='hd1,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' 573af1d2-0540-4195-b5ba-596b34eceb0d else search --no-floppy --fs-uuid --set=root 573af1d2-0540-4195-b5ba-596b34eceb0d fi echo 'Loading Linux 3.7.10-1.16-desktop ...' linux /vmlinuz-3.7.10-1.16-desktop root=UUID=cda331b9-0545-45b3-8c57-9401d32283bb showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe echo 'Loading initial ramdisk ...' initrd /initrd-3.7.10-1.16-desktop } }

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ### menuentry 'openSUSE 12.3 Memtest' --class opensuse --class memtest86 --class gnu --class tools $menuentry_id_option 'memtest-573af1d2-0540-4195-b5ba-596b34eceb0d' { insmod part_msdos insmod ext2 set root='hd1,msdos5' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos5 --hint-efi=hd1,msdos5 --hint-baremetal=ahci1,msdos5 --hint='hd1,msdos5' 573af1d2-0540-4195-b5ba-596b34eceb0d else search --no-floppy --fs-uuid --set=root 573af1d2-0540-4195-b5ba-596b34eceb0d fi echo 'Loading memtest ...' linux16 /memtest.bin } ### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/20_ppc_terminfo ### ### END /etc/grub.d/20_ppc_terminfo ###

### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/90_persistent ### ### END /etc/grub.d/90_persistent ###

Монитор -- LG-не помню-какой 1280х1024 60-75 МГц

Как вернуть tty* в нормальное состояние?

#347474
"Nyan Kitty Fungus" написал:
Вместо tty[1-6] чёрный экран, но ctrl-alt-F* работает и на ввод с клавиатуры реагирует (проверил вслепую)

Может быть дело в графическом терминале?

text
cat /etc/default/grub

# 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=640x480
#347475
/etc/default/grub
text
# Modified by YaST2. Last modification on Ср ноя  6 01:30:56 FET 2013
# THIS FILE WILL BE PARTIALLY OVERWRITTEN by perl-Bootloader
# For the new kernel it try to figure out old parameters. In case we are not able to recognize it (e.g. change of flavor or strange install order ) it it use as fallback installation parameters from /etc/sysconfig/bootloader

# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg. GRUB_DISTRIBUTOR="openSUSE 12.3" GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=3 GRUB_CMDLINE_LINUX_DEFAULT=" resume=/dev/sdb1 splash=silent quiet radeon.modeset=0 showopts" # kernel command line options for failsafe mode GRUB_CMDLINE_LINUX_RECOVERY="showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe" GRUB_CMDLINE_LINUX="" # Uncomment to enable BadRAM filtering, modify to suit your needs # This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) #GRUB_BADRAM=0x01234567,0xfefefefe,0x89abcdef,0xefefefef # 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=auto # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true # Uncomment to disable generation of recovery mode menu entries #GRUB_DISABLE_LINUX_RECOVERY=true # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" # Skip 30_os-prober if you experienced very slow in probing them # WARNING foregin OS menu entries will be lost if set true here GRUB_DISABLE_OS_PROBER=true GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt GRUB_BACKGROUND=/boot/grub2/themes/openSUSE/background.png

#347479
"Nyan Kitty Fungus" написал:

Показать
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=auto

Если у вас параметры GRUB_TERMINAL и GRUB_GFXMODE были раскомментированы, попробуйте закомментировать (но, если честно, я не уверен в этом ли дело):


#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=auto

После этого не забудьте обновить:

text
grub2-mkconfig -o /boot/grub2/grub.cfg
#347612

sandaksatru, это оно, спаибо за помощь

#347654
"Nyan Kitty Fungus" написал:
sandaksatru, это оно, спаибо за помощь

Всегда пожалуйста! Кстати, сам сегодня столкнулся с подобной проблемой только на другом железе и с другим драйвером, и на поиск решения тратить время уже не пришлось :) Вот что значит вовремя разобраться в чужой проблеме )))

Войдите или зарегистрируйтесь, чтобы ответить.