| View previous topic :: View next topic |
| Author |
Message |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 5:35 pm Post subject: uswsusp hibernation and fbsplash |
|
|
Following advice on the end of this bug https://bugs.gentoo.org/show_bug.cgi?id=254674 I just got rid of TuxOnIce and installed sys-power/suspend-0.8 with USE="splash" to provide me a nice graphical interface like the TuxOnIce does. I followed the howto here [url]http://74.125.77.132/search?q=cache:99CLA16b6qoJ:www.de.gentoo-wiki.com/HOWTO_Userspace_Software_Suspend_(uswsusp)+uswsusp+gentoo&hl=pl&ct=clnk&cd=1&client=opera[/url] (it's a google cache copy of our old wiki).
Both suspend and hibernation work fine. The problem is that during both hibernation and resume I get this cursor in the upper left corner of the VT and nothing else.
Here's the relevant config: | Code: | szczerb@nomad ~ $ cat /etc/suspend.conf
snapshot device = /dev/snapshot
resume device = /dev/sda8
#image size = 350000000
#suspend loglevel = 2
compute checksum = y
compress = y
#encrypt = y
#early writeout = y
splash = y |
| Code: | szczerb@nomad ~ $ cat /etc/hibernate/hibernate.conf
# hibernate.conf is split into separate configuration files.
#
# Each file is tried in the order below, until an available suspend
# method is found.
#
# Options specific to a particular suspend method should be placed in the
# appropriate configuration file (suspend2.conf, ususpend.conf, disk.conf
# or ram.conf).
# Options common to all suspend methods should be placed in common.conf.
#
# See hibernate.conf(5) for help on the configuration items.
#TryMethod suspend2.conf
TryMethod disk.conf
TryMethod ram.conf |
| Code: | szczerb@nomad ~ $ cat /etc/hibernate/disk.conf
# This file is used when suspending to disk. Use the *-disk.conf files to add
# configuration options, or add them before the TryMethod lines in this file.
# Options are not case-sensitive.
#
# See hibernate.conf(5) for help on the configuration items.
TryMethod ususpend-disk.conf
TryMethod sysfs-disk.conf
|
| Code: | szczerb@nomad ~ $ cat /etc/hibernate/ususpend-disk.conf
# This file is used when suspending to disk using the uswsusp functionality in
# the kernel. You will require the s2disk binary to be installed - this can be
# downloaded from http://suspend.sourceforge.net/ . On Debian systems, just
# install the uswsusp package.
# Add any configuration options specific to ususpend to this file. Ordering is
# not crucial, and options are not case-sensitive.
#
# See hibernate.conf(5) for help on the configuration items.
USuspendMethod disk
Include common.conf |
| Code: | szczerb@nomad ~ $ cat /etc/hibernate/common.conf
# Configuration options common for suspending to disk or RAM.
# Options are not case sensitive.
#
# See hibernate.conf(5) for help on the configuration items.
##############################################################################
### Some global settings
##############################################################################
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
# LogTimestamp yes
# AlwaysForce yes
# AlwaysKill yes
# HibernateVT 15
Distribution gentoo
# XDisplay :0
##############################################################################
### Scriptlets
### Scriptlets provide support for doing all sorts of things before and after
### suspending. The defaults settings here should work for most people, but
### you may wish to edit these to taste. Consult "hibernate -h" for help on
### the configuration settings.
##############################################################################
### bootsplash
## If you use bootsplash, also enabling SwitchToTextMode is recommended if
## you use X, otherwise you may end up with a garbled X display.
# Bootsplash on
# BootsplashConfig /etc/bootsplash/default/config/bootsplash-1024x768.cfg
### clock
SaveClock restore-only
### devices
# IncompatibleDevices /dev/dsp /dev/video*
### diskcache
# DisableWriteCacheOn /dev/hda
### fbsplash (enable SwitchToTextMode if you use this)
FBSplash on
FBSplashTheme gentoo-noia
### filesystems
# Unmount /nfsshare /windows /mnt/sambaserver
# UnmountFSTypes smbfs nfs
# UnmountGraceTime 1
# Mount /windows
### grub
# ChangeGrubMenu yes
# GrubMenuFile /boot/grub/menu.lst
# AlternateGrubMenuFile /boot/grub/menu-suspended.lst
# BackupGrubMenuFile /boot/grub/menu.lst.hibernate.bak
# see http://bugs.debian.org/317479
# RemountXFSBoot yes
### hardware_tweaks
# IbmAcpi yes
# RadeonTool yes
# Runi915resolution yes
# FullSpeedCPU yes
### lilo
# EnsureLILOResumes yes
### lock (generally you only want one of the following options)
## For console you need vlock available.
## For x you need xscreensaver-command-command available.
## For gnome you need gnome-screensaver-command available.
## For kde you need dcop, kscreensaver available.
## For XAuto you need xautolock available.
## For Xtr you need xtrlock available.
# LockConsoleAs root
# LockXScreenSaver yes
LockGnomeScreenSaver yes
# LockKDE yes
# LockXLock yes
# LockXAutoLock yes
# LockXtrLock yes
### misclaunch
# OnSuspend 20 echo "Good night!"
# OnResume 20 echo "Good morning!"
### modules
# UnloadModules snd_via82cxxx usb-ohci
# UnloadAllModules yes
UnloadBlacklistedModules yes
LoadModules auto
# LoadModulesFromFile /etc/modules
### modules-gentoo
# GentooModulesAutoload yes
### network
# DownInterfaces eth0
# UpInterfaces auto
### networkmanager
EnableNMReconnect yes
### pause_audio
MuteAudio yes
PauseAudio yes
### pcmcia
# EjectCards yes
### programs
# IncompatiblePrograms xmms
### services
# RestartServices laptop_mode anacron
# StopServices alsasound
# StartServices aumix
### vbetool
# EnableVbetool yes
# RestoreVbeStateFrom /var/lib/vbetool/vbestate
# VbetoolPost yes
# RestoreVCSAData yes
### xhacks
SwitchToTextMode yes
# UseDummyXServer yes
# DummyXServerConfig xorg-dummy.conf
### xstatus
## This can be set to gnome, kde or x:
## For gnome you need zenity available.
## For kde you need dcop, kstart, kdialog available.
## For x you need to have xosd OR xmessage available.
# XStatus gnome
# XmessageDisable yes
# XSuspendText Preparing to suspend...
# XResumeText Resuming from suspend...
## When using XStatus x, and you have xosd installed:
# XosdSettings --font '-misc-fixed-medium-r-semicondensed--*-120-*-*-c-*-*-*' --colour=Green --shadow 1 --pos bottom --align center --offset 50
### xbacklight
# BackLight yes
### gaim
## You need to have dbus, gaim_remote available.
# LogoutGaim yes
# GaimRestoreStatus yes
# GaimLogoutMessage Hibernating
# GaimLoginMessage Back from hibernation |
| Code: | nomad szczerb # zcat /boot/uswsusp-gentoo-noia | cpio --list
.
dev
dev/null
dev/misc
dev/tty0
dev/console
dev/fb
dev/snapshot
dev/vc
lib
lib/splash
lib/splash/proc
lib/splash/sys
init
bin
bin/resume
bin/busybox
etc
etc/suspend.conf
etc/splash
etc/splash/gentoo-noia
etc/splash/gentoo-noia/images
etc/splash/gentoo-noia/images/verbose-1280x800.png
etc/splash/gentoo-noia/images/background-1280x800.png
etc/splash/gentoo-noia/1280x800.cfg
etc/splash/gentoo-noia/Vera.ttf
root
sbin
sbin/fbcondecor_helper
sbin/splash_helper
10140 blocks | The init script is the same as in the howto in the wiki. What do I need to do to make uswsusp use fbsplash?
BTW During normal boot my splash works fine. When booting for resume the splash is also visible until the the resume start (during kernel initialization). Also my grub.conf: | Code: | default 0
timeout 0
hiddenmenu
title Gentoo Linux 2.6.28-gentoo (splash)
root (hd0,0)
kernel /boot/kernel-2.6.28-gentoo root=/dev/sda6 vga=865 video=vesafb:mtrr:3,ywrap CONSOLE=/dev/tty1 splash=silent,theme:gentoo-noia quiet
initrd /boot/uswsusp-gentoo-noia |
|
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sat Jan 17, 2009 6:36 pm Post subject: |
|
|
Hello,
First, your kernel command-line is incorrect (the CONSOLE is depreciated), I use the following:
splash=silent,fadein,theme:livecd-2007.0 quiet console=tty1
Next, you need to create /dev/tty1 on your initramfs.
Regardless of uswsusp, is your fbsplash stuff works correctly?
Do you see nice splash when kernel boots? Not just after... But since the beginning.
Do all frame buffer stuff compiled into kernel?
Especially: CONFIG_FB_CON_DECOR
Do you see the status bar during hibernate script while it executes its tasks?
Which version of splashutils do you use?
After suspend works correctly, we can try and make resume work... But suspend should work if your configuration is correct.
BTW: Why do you use vesafb? It has a difficult configuration, and for 2.6.28 you need to use uvesafb and install sys-apps/v86d usermode helper. |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 8:21 pm Post subject: |
|
|
I use vesafb because it's all I need. I have an Intel GM965 and with my current config I have frame buffer in my native resolution (1280x800) from the beginning - right after grub. And the config is dead simple - no user space helpers etc. I set the mode and it just works. Although I know that older Intel chips can't do that.
I just added tty1 to my initrd (`cp -a /dev/tty1 /path/to/my/initrd/folder/` right?) and rebuild it with: | Code: | | splash_geninitramfs -o /root/uswsusp-initrd --no8bpp -r 1280x800 -g /boot/uswsusp-gentoo-noia gentoo-noia | I also changed the kernel parameter to "console=tty1".
Nothing really changed.
1. I have fbsplash right from the beginning (the text says "Initializing kerne" or similar for a short while).
2a. If I resume from hibernation the splash dissapears and I see "_" blinking in the upper-left corner while the image is loaded. After a while I see my X as I left it and all VT's still have the fb decorations.
3a. If I'm just booting and not resuming then I'm seeing splash with the progress bar and everything and then gdm.
4. Hibernating is just as "pretty" as resume, so just this "_" blinking in the upper-left corner.
As stated above my fb and fbsplash is working great except for the hibernation/resume part.
I have:
- gentoo-sources-2.6.28
- splashutils-1.5.4.3[fbcondecor gpm mng png truetype -hardened] (upgraded due to tuxonice-sources-2.6.28 that I used recently)
- suspend-0.8[fbsplash]
- hibernate-script-1.99-r1 (also upgraded due to tuxonice-sources-2.6.2 |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sat Jan 17, 2009 8:35 pm Post subject: |
|
|
I cannot help thinking that something with the v86d is hang during the suspend phase...
This is the first time I see someone using vesafb.
Can you please try to switch into intelfb, it should work with your video card and much better as it won't need to jump into real mode every operation.
If it works, I will contact spock and try to figure out how to make the uvesafb work. |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 8:54 pm Post subject: |
|
|
I'm sure that v86d is not the problem because I don't even have it installed (and never had).
I took a look at /var/log/ and found this: | Code: | szczerb@nomad ~ $ cat /var/log/pm-suspend.log
Sat Jan 17 20:58:22 CET 2009: running hibernate hooks.
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/20video =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/60sysfont =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Jan 17 20:58:22 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Jan 17 20:58:24 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
sh: line 0: echo: write error: Invalid argument
sh: line 0: echo: write error: Invalid argument
===== Sat Jan 17 20:58:24 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Jan 17 20:58:24 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/99video =====
Sat Jan 17 20:58:24 CET 2009: done running hibernate hooks.
Sat Jan 17 20:59:20 CET 2009: running thaw hooks.
===== Sat Jan 17 20:59:20 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/99video =====
===== Sat Jan 17 20:59:20 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/95led =====
===== Sat Jan 17 20:59:20 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/94cpufreq =====
===== Sat Jan 17 20:59:20 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/90clock =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/65alsa =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/60sysfont =====
/usr/lib/pm-utils/sleep.d/60sysfont: line 7: setsysfont: command not found
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/55battery =====
method return sender=:1.0 -> dest=:1.46 reply_serial=2
boolean false
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/50modules =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/49bluetooth =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/20video =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/10NetworkManager =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/05led =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/01grub =====
===== Sat Jan 17 20:59:21 CET 2009: running hook: /usr/lib/pm-utils/sleep.d/00clear =====
Sat Jan 17 20:59:21 CET 2009: done running thaw hooks. | I don't see anything of much use there...
I will now switch to intelfb and see if this changes anything. |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sat Jan 17, 2009 9:09 pm Post subject: |
|
|
If you don't have v86d how can vesafb work?!?!?! I think spock drop the old in-kernel vesafb in favor of uvesafb which requires v86d.
Why do you have pm-utils if you use hibernate-script? |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 9:28 pm Post subject: |
|
|
vesafb works just fine without v86d. It's only needed if one wants to use wide resolutions on braindead graphic cards. 965GM is fortunately one of those that "just work". Although it took me a while with google to find the correct mode number for my 1280x800.
Since my fbsplash works great (besides the hibernate and resume fase) I persume that he didn't drop support (fortunately).
intelfb works the same as vesafb for me - absolutely nothing has change besides a single line warning just befor init (I need to press F2 to see it): | Code: | | intelfb: Cannot reserve FB region. | I checked dmesg and there isn't anything more form this driver (just the long name and version 0.9.6).
I have pm-utils because: | Code: | szczerb@nomad ~ $ equery depends pm-utils
[ Searching for packages depending on pm-utils... ]
sys-apps/hal-0.5.11-r1 (laptop? >=sys-power/pm-utils-0.99.3) | Should I disable this USE flag and rebuild? I'm guessing that this is my problem...I'll check right away ;] |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sat Jan 17, 2009 9:50 pm Post subject: |
|
|
So let's summarize...
You have a working intelfb configuration with splashutils and kernel console decorations.
You also get progress bar during hibernate-script suspend.
And when the hibernate-script runs s2disk while having splash=y in /etc/suspend.conf you see a blank screen.
Can you please set suspend loglevel = 2 in /etc/suspend.conf and see what the output is? |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 10:19 pm Post subject: |
|
|
I have a working intelfb or vesafb config with splashutils and decorations.
After getting rid of pm-utils I realised what my problem was. It was seriously noobish. I configured suspending on closing the lid through gnome power options and I hibernated by clicking on the battery icon in the tray and then hibernate in the menu. Now after removing pm-utils this doesn't work. So I just type s2disk in a terminal and it works with splash on the way. Now I will shamefully start reading on configuring my system to work with hibernate-script.
Sorry for wasting your time - I really didn't know that I wasn't using hibernate-script. |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sat Jan 17, 2009 10:41 pm Post subject: |
|
|
So all is working using vesafb *AND* intelfb?
While you are at it... and you like the vesa stuff... Can you try uvesafb? It will give us a test case for this one too.
I recommend you use intelfb, as it is the most efficient framebuffer you can have... Use vesa only if you don't have native framebuffer available. |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sat Jan 17, 2009 11:33 pm Post subject: |
|
|
I just tested and YES ;] On my Intel GM965 everything (splash during hibernation and resume) works just fine with vesafb, intelfb and uvesafb.
My grub config: | Code: | title Gentoo Linux 2.6.28-gentoo (uvesafb)
root (hd0,0)
kernel /boot/kernel-2.6.28-gentoo root=/dev/sda6 vga=865 video=uvesafb:1280x800-32,mtrr:3,ywrap console=tty1 splash=silent,theme:gentoo-noia quiet
initrd /boot/uswsusp-gentoo-noia
title Gentoo Linux 2.6.28-gentoo (intelfb)
root (hd0,0)
kernel /boot/kernel-2.6.28-gentoo root=/dev/sda6 vga=865 video=intelfb:mode=1280x800-32@60 console=tty1 splash=silent,theme:gentoo-noia quiet
initrd /boot/uswsusp-gentoo-noia
title Gentoo Linux 2.6.28-gentoo (vesafb)
root (hd0,0)
kernel /boot/kernel-2.6.28-gentoo root=/dev/sda6 vga=865 video=vesafb:mtrr:3,ywrap console=tty1 splash=silent,theme:gentoo-noia quiet
initrd /boot/uswsusp-gentoo-noia | As you see I just built all 3 drivers in one kernel. For uvesafb I emerged v86d and copied the /sbin/v86d to my dir with files for initrd (/root/uswsusp-initrd) that I generate with 'splash_geninitramfs -o /root/uswsusp-initrd --no8bpp -r 1280x800 -g /boot/uswsusp-gentoo-noia gentoo-noia'.
If there is something else you'd like me to check ask away.
I don't know how suspend and this mixed/double mode (s2both) work as I didn't make s2ram work yet. | Code: | nomad ~ # s2ram
Machine is unknown.
This machine can be identified by:
sys_vendor = "LENOVO"
sys_product = "0769EAG"
sys_version = "3000 N200 "
bios_version = "68ET35WW"
See http://suspend.sf.net/s2ram-support.html for details.
If you report a problem, please include the complete output above. | (I'm starting to work on that right now)Would you like me to check those with all three fb drivers aswell? |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sun Jan 18, 2009 6:44 am Post subject: |
|
|
| Great to know that everything is working. |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Jan 18, 2009 11:58 am Post subject: |
|
|
Sort of...if you have some spare time, I would be really happy if you took a look at: (as you're a very knowledgeable person on this subject)
https://forums.gentoo.org/viewtopic-t-728366.html
I read the Gentoo docs on power managment but there is nothing about that... |
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sun Jan 18, 2009 2:21 pm Post subject: |
|
|
I do not use hal, I think it is too complex and problematic.
I use plain old acpid and execute hibernate when button is pressed.
| Code: |
button)
case "$action" in
#@ALON-BEGIN
power)
/usr/sbin/hibernate
;;
lid)
grep -q closed /proc/acpi/button/lid/LID/state && \
/usr/sbin/hibernate
;;
sleep)
/usr/sbin/hibernate-ram
;;
#@ALON-END
|
|
|
| Back to top |
|
 |
alonbl n00b

Joined: 30 Jun 2005 Posts: 57
|
Posted: Sun Jan 18, 2009 5:50 pm Post subject: |
|
|
Thinking about this... I cannot figure out how the uvesafb suspend works... As the v86d process should be frozen....
Are you sure that during s2disk with uvesafb you see the status bar progress? |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Jan 18, 2009 5:54 pm Post subject: |
|
|
| I am sure but I will reboot (now I booted with intelfb) and check ;] |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Jan 18, 2009 7:06 pm Post subject: |
|
|
Actually it appears that I wasn't using uvesafb at all. I'm confused: | Code: | nomad szczerb # dmesg | grep fb
Command line: root=/dev/sda6 vga=865 video=uvesafb:1280x800-32,mtrr:3,ywrap console=tty1 splash=silent,theme:gentoo-noia quiet
Kernel command line: root=/dev/sda6 vga=865 video=uvesafb:1280x800-32,mtrr:3,ywrap console=tty1 splash=silent,theme:gentoo-noia quiet
pci 0000:00:1c.2: bridge 32bit mmio: [0xfa000000-0xfbffffff]
pci 0000:00:1c.2: MEM window: 0xfa000000-0xfbffffff
bus: 05 index 1 mmio: [0xfa000000-0xfbffffff]
uvesafb: Getting VBE info block failed (eax=0x4f00, err=-3)
uvesafb: vbe_init() failed with -22
uvesafb: probe of uvesafb.0 failed with error -22
vesafb: framebuffer at 0xd0000000, mapped to 0xffffc20010300000, using 4000k, total 7616k
vesafb: mode is 1280x800x16, linelength=2560, pages=2
vesafb: scrolling: redraw
vesafb: Truecolor: size=0:5:6:5, shift=0:11:5:0
fbcondecor: console 0 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 0
fb0: VESA VGA frame buffer device
intelfb: Framebuffer driver for Intel(R) 830M/845G/852GM/855GM/865G/915G/915GM/945G/945GM/945GME/965G/965GM chipsets
intelfb: Version 0.9.6
intelfb: Cannot reserve FB region.
fbcondecor: console 0 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 0
fbcondecor: console 1 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 1
fbcondecor: console 2 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 2
fbcondecor: console 3 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 3
fbcondecor: console 4 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 4
fbcondecor: console 5 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 5
fbcondecor: console 6 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 6
fbcondecor: console 7 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 7
fbcondecor: console 8 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 8
fbcondecor: console 9 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 9
fbcondecor: console 10 using theme 'gentoo-noia'
fbcondecor: switched decor state to 'on' on console 10
resource map sanity check conflict: 0xd0000000 0xdfffffff 0xd0000000 0xd076ffff vesafb
resource map sanity check conflict: 0xd0000000 0xdfffffff 0xd0000000 0xd076ffff vesafb | It looks like uvesafb starts as wanted but throws an error, so vesafb takes over and then out of the blue intelfb takes over...?
I will know build three seperate kernels, each with only one driver and will see which actually work. |
|
| Back to top |
|
 |
szczerb Veteran

Joined: 24 Feb 2007 Posts: 1709 Location: Poland => Lodz
|
Posted: Sun Jan 18, 2009 8:41 pm Post subject: |
|
|
Finally I have valid results.
With uvesafb (with the initramfs built into the kernel) everything works fine and I have the progress bar and text on my splash all the way through "Done.".
vesafb works just as it used to.
intelfb works with splash and s2disk just as well but crashes when starting X so I had to remove the xdm service from runlevels to test intelfb. I guess that I should just wait for .29 with full GEM and KMS...and a corresponding release of X.
Conclusion is that probably I will just stick to good old vesafb ;] |
|
| Back to top |
|
 |
hampel n00b

Joined: 26 Jul 2007 Posts: 55
|
Posted: Mon May 04, 2009 8:40 pm Post subject: |
|
|
can somebody please post the steps how to get this working? the wiki link doesn't work anymore...  |
|
| Back to top |
|
 |
|