Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: Gentoo 2005.1 on Dell 700m
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:30 am    Post subject: HOWTO: Gentoo 2005.1 on Dell 700m Reply with quote

I still remembered the day I got the new Dell 700m, after I made sure that all parts worked properly on MS Windows, I formated the hd and started the journey of Gentoo without any hesitation.

IMPORTANT NOTICE: after the initial installation of 2004.3, emerge/emerge -C, overlay, configure/make, at the end, I messed up the portage. I decided to re-install the Gentoo system and integrate the experience in the last year.

This HOWTO is highly inspired by HARDWARE Gentoo Acer Travelmate 803LCi Manual


ATTENTION: PLEASE BE AWARE I AM NOT RESPORNSIBLE FOR ANY DAMAGE TO YOUR SYSTEM, YOU TRY THIS AT YOUR OWN RISK !



Introduction

Technical specification of Dell 700m:

    Processors : Pentium M processors 725 (1.60GHz, 2MB Cache, 400MHz FSB)
    Chipset: Intel 855GME
    Displays: 12.1-inch Wide Screen crystal clear TFT XGA active-matrix display (1280 x 800 resolution)
    Graphics Card: Intel Extreme Graphics up to 64 MB shared memory
    Hard Drive: 30 GB3 Ultra ATA hard drive
    Optical Drive: 8x DVD
    Sound Card: Integrated stereo sound
    Modems: Internal 56K3 capable v.92 Fax modem
    Network Interface: Integrated 10/100 Ethernet
    Wireless Networking: Dell 1350 TruMobile (BCM4306 802.11b/g Wireless LAN Controller)
    I/O Ports : Integrated IEEE 1394, 2 USB 2.0, Audio jacks, 15-pin monitor connector, S-Video/TV Out. PCMCIA slot.


Here is the output of `lspci | cut -b 13-`
Code:

 Host bridge: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
 System peripheral: Intel Corp. 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
 VGA compatible controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
 Display controller: Intel Corp. 82852/855GM Integrated Graphics Device (rev 02)
 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 83)
 ISA bridge: Intel Corp. 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
 IDE interface: Intel Corp. 82801DBM (ICH4-M) IDE Controller (rev 03)
 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 03)
 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller (rev 03)
 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
 Unknown mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/1394a-2000 OHCI Two-Port  PHY/Link-Layer Cont. an
 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)



I just follow this HOWTO
Experimental: Stage 1/3 Installation for Gentoo 2005.0 and GCC 3.4.4 to install the basic system, we would note 700m-specific configuration in the following HOWTO.


Last edited by bookstack on Sat Sep 17, 2005 1:24 am; edited 18 times in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:30 am    Post subject: Reply with quote

CFLAGS & USE

Gcc 3.3.4 does NOT support Pentium-M architecture, some users argue that Pentium-M is more or less like
Pentium 4. As far as I know, Pentium-M is a brand new architecture designed specifically for laptop inspired by PIII-M. So I choose this CFLAGS for gcc 3.3.4:
Code:

CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe"


UPDATE: It does not matter since this CFLAGS is used only to build bootstrap the system.

For gcc 3.4.3, this is an extreme ambitious CFLAGS, it has been used for almost one year without any problem, except OpenOffice.org. 8)
Code:

CFLAGS="-march=pentium-m -mtune=pentium-m -O2 -pipe -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fno-delayed-branch -fcaller-saves -freorder-blocks -freorder-functions -falign-jumps -finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64"


Or you can use the conservative CFLAGS that is currently used:
Code:

CFLAGS="-O2 -mtune=pentium-m -mmmx -msse -msse2 -fomit-frame-pointer -pipe -ftracer"


LD_FLAGS is disabled since I've met several compilation fail if it is enabled.

Kernel flavor

Everybody has his/her own flavor of kernel, I prefer nitro-sources, 2.6.10-nitro4: The Kernel Formerly Known As Hercules.

UPDATE: After reviewing this benchmark result, I decide to use the JFS as the default file system for the sake of power-consuming. I've been using nitro-sources for almost one year flawlessly, this time, I would like to "give love a chance", curretly 2.6.12-love1



ACPI
Since ACPI plays an important role in power-saving, we would like to compile all ACPI features into the kernel:
Code:


Power management options (ACPI, APM)  --->
    ACPI (Advanced Configuration and Power Interface) Support  --->
       [*] ACPI Support
       [*]   Sleep States (EXPERIMENTAL)
       <*>   AC Adapter
       <*>   Battery
       <*>   Button
       <M>   Video
       <*>   Fan
       <*>   Processor
       <*>     Thermal Zone


And in the user land, remember to emerge acpid. It is easy to test whether acpi is running. Just close the lid, and check the system log:
Code:

Sep 16 18:12:32 zebra logger: ACPI action lid is not defined
Sep 16 18:12:33 zebra logger: ACPI action lid is not defined


Speedstep
Kernelwise:
Code:

    CPU Frequency scaling  --->
       [*] CPU Frequency scaling
       <M>   CPU frequency translation statistics
       [*]     CPU frequency translation statistics details
       Default CPUFreq governor (userspace)  --->
       <*>   'performance' governor
       <M>   'powersave' governor                               
       ---   'userspace' governor for userspace frequency scaling
       <M>   'ondemand' cpufreq policy governor
       <*>   'conservative' cpufreq governor
       ---   CPUFreq processor drivers                           
       <*> Intel Enhanced SpeedStep                             
       [*]   Use ACPI tables to decode valid frequency/voltage pairs         


UPDATE:It is easy to prove that the cpu gracefully scaling consumes less power than the "ping-pong policy, that is the reason we use the conservative cpufreq governor as the default governor, on-demand governor is compiled in the module as the backup.

User land daemon is speedfreq
UPDATE: speedfreq is out-of-date, cpufreqd is chose instead.
Code:

$ emerge cpufreqd
$ cat /etc/conf.d/cpufrequtils
GOVERNOR="conservative"


Last edited by bookstack on Sat Sep 17, 2005 2:55 am; edited 10 times in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:30 am    Post subject: Reply with quote

Video
If you want to the hardware acceleration, who does not, please enable the following options
Code:

Character device
      <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)
      <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->


[TODO]
In Dell 700m specification, this machince can be configured as 64 MB shared video memory. Anybody knows HOW?

Framebuffer and Fbsplash
Please refer to fbsplash howto:
If you want the splash eye-candy, we need to patch the kernel manually:
Code:

$ wget http://dev.gentoo.org/~spock/projects/gensplash/archive/fbsplash-0.9.2-r3-2.6.12-rc3.patch ./
$ cd /usr/src/linux
$ patch -p1 --dry-run < /path/to/fbsplash-0.9.2-r3-2.6.12-rc3.patch
# if everything is OK,
$ patch -p1  < /path/to/fbsplash-0.9.2-r3-2.6.12-rc3.patch


For Dell 700m users, we can use vesafb, vesafb-tng, intelfb or i810fb as well,
UPDATE: We are going to use intelfb, since it is the developed to support 855GM chipset.
Code:

<*>   VESA VGA graphics support                                                   
      VESA driver type (vesafb-tng)  --->           
        (1024x768-24@72) VESA default mode         
      <*> Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)
      [*] Support for the framebuffer splash


After you upgrade your kernel, remember to re-emerge the splashutils.
And enable them when booting:
Code:

# cat /boot/grub/grub.conf
root@getnoo bookstack # cat /boot/grub/grub.conf
splashimage=(hd0,0)/grub/gentoo.xpm.gz
# For booting GNU/Linux
title  GNU/Linux
root (hd0,0)
kernel (hd0,0)/kernel-2.6.12-love1 root=/dev/hda2 video=intelfb:ywrap,mtrr 1024x768-16@70 splash=silent,fadein,theme:emergence  CONSOLE=/dev/tty1  resume2=swap:/dev/hda5
initrd (hd0,0)/fbsplash-emergence-1024x768


Now, reboot the machine and enjoy the beauty of frame buffer.
If you build the links and mplayer with "directfb fbcon" enabled, you could surf the web and play video in the console mode:
Code:

#  USE="fbcon directfb" emerge links mplayer
#  /etc/init.d/gpm start
$  links2 -g www.google.com
$  mplayer -vo fbdev foo.avi

[TODO]
links would crash in some website, if you can figure it out, please let me know.
How to zoom the mplayer's video to full screen?


X
We need run 855resolution before X server lauch.

UPDATE: 855resolution has been added to the portage with Gentoo flavour,
Code:

% cat /etc/conf.d/855resolution
replace[0]="5c"
with[0]="1280 800"



Here is the section of xorg.conf
Code:

Section "Device"
    Identifier  "ExtremeGraphics2"
    Driver      "i810"
    # This is important, otherwise the framebuffer console is messed up when X server exits.
    Option      "VBERestore" "true"
    VideoRam    16384
    # Insert Clocks lines here if appropriate
EndSection
Section "Screen"
    Identifier  "Screen 1"
    Device      "ExtremeGraphics2"
    Monitor     "LCD"
    DefaultDepth  24

    Subsection "Display"
        Depth       24
        Modes       "1280x800"
        ViewPort    0 0
    EndSubsection
EndSection

Section "Monitor"
     Identifier  "LCD"
      HorizSync   31.5 - 79.0
     VertRefresh 50-100
     Option  "DPMS"
     Modeline "1280x800" 101.92 1280 1312 1696 1728 800 816 825 841
 EndSection

Section "ServerLayout"
    Screen "Screen 1"
    InputDevice "Keyboard1" "CoreKeyboard"
    InputDevice "TouchPad"  "USBMouse"
    Option "OffTime"            "20"
    Option "StandbyTime"        "5"
    Option "SuspendTime"        "10"
EndSection

Section "DRI"
    Mode 0666
EndSection


[TODO]
How to enhance the performance of X server ?
The DRI is enabled, but score of glxgears is so poor:
Code:

3330 frames in 5.0 seconds = 666.000 FPS # small window
344 frames in 5.0 seconds = 68.800 FPS    # Full screen


UPDATE: It looks like that the 855resolution would hurt the desktop performance dramatically. Please check this post


Last edited by bookstack on Sat Sep 17, 2005 4:44 am; edited 11 times in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:31 am    Post subject: Reply with quote

Audio
Just follow HOWTO ALSA sound mixer aka dmix , put this line in /etc/make.conf

Code:

...
ALSA_CARDS="intel8x0"


and edit /etc/modules.d/alsa:
Code:
alias snd-card-0 snd-intel8x0

Done. Run two mpg321 instances, if everything is OK, you can hear the dmix of the two songs.

Network
Enable this option in kernel configuration:
Code:

 <*>   Broadcom 4400 ethernet support (EXPERIMENTAL)


Wireless network
Enable this option in kernel configuration:
Code:

  [*] Wireless LAN drivers (non-hamradio) & Wireless Extensions 


Then we need to
Code:
emerge ndiswrapper wireless-tools
. Select the appropriate Windows driver here, then (I use TruMobile 1350):
Code:
 # ndiswrapper -i bcmwl5a.inf

And add ndiswrapper to /etc/modules.autoload/kernel-2.6.

For ipw2210, ipw2200 users, please check ipw2210.sf.net and ipw2200.sf.net for more details.


Last edited by bookstack on Sat Sep 17, 2005 5:04 am; edited 8 times in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:31 am    Post subject: Reply with quote

CRT out

There are two programs here:
i810switch ( in portage already)
i855crt .

For Dell 700m user, I suggests i855crt, just as the i810swtich developer says:" i855 users who have flickering problems may want to try the i855crt project to see if that works better."

i855crt solves 3 problems that i810switch does not address:
1 i855crt could setup the resolution of CRT.
2 It eliminates flickering. Very interesting, the CRT works much better in higher resolution such as 1280x1024@75 than 640x480@60.
3 It partially gets rid of the white rectangle in the left top corner of CRT screen. Partially means the "swcursor" sometimes works, somtimes not. I'll try cvs version, and report it later.

We can video out in either X or console mode. In fact console mode looks very nice, since the screnn just squeeze from 1280x800 to 1024x768. However, in X mode, we have to make a decision between lost of contens or waster of screen.


TODO:
Anyone knows how to span the screen? For example, I could surf the web in LCD, and watch movie full screen in CRT? Does this video adapter support this feature ?

S-Video out
I could not test this feature right now. I can not afford the S-Video cable($15!) and the television so far.


Last edited by bookstack on Wed Jan 19, 2005 6:09 am; edited 1 time in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:31 am    Post subject: Reply with quote

Firewire

Thanks to my friend, Dr. Saha, I have the firewire enclosure to test the ieee1394 port.
Enable the following option in kernel:
Code:

Device Drivers --->
  IEEE 1394 (FireWire) support  --->
    <*> IEEE 1394 (FireWire) support
    <*> OHCI-1394 support
    <*> SBP-2 support (Harddisks etc.)


Plugin, the ivman daemon would mount the external HD to /media/something_determined_by_volumn_or policy.


Last edited by bookstack on Sat Sep 17, 2005 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:31 am    Post subject: Reply with quote

7
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:32 am    Post subject: Reply with quote

8
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:32 am    Post subject: Reply with quote

9
Back to top
View user's profile Send private message
DrWoland
l33t
l33t


Joined: 13 Nov 2004
Posts: 603

PostPosted: Fri Jan 14, 2005 5:32 am    Post subject: Reply with quote

uhhh wtf?
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Fri Jan 14, 2005 5:51 am    Post subject: Reply with quote

I'm still working on this.
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Fri Jan 14, 2005 9:39 am    Post subject: Reply with quote

I look forward to it, because I've just finished building a system on the same machine. :D
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
SlickSpacecowboy
n00b
n00b


Joined: 09 Jan 2005
Posts: 12

PostPosted: Sun Jan 16, 2005 7:54 am    Post subject: Great Idea Reply with quote

Its a great Idea, lots of people bought these with the dell deals and the 700m seems to have a lot of small issues. I'm just gradually getting done at a snails pace, just finally got sound working, now for finding out about the ndiswrapper!!!! :D
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Mon Jan 17, 2005 10:04 am    Post subject: Reply with quote

anyone else noticed a small high pitch noise coming from their 700M when booting into linux.. around when coldplug loads.. ?

may only happen when on battery, not mains power..
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Jan 18, 2005 5:21 pm    Post subject: Reply with quote

taskara wrote:
anyone else noticed a small high pitch noise coming from their 700M when booting into linux.. around when coldplug loads.. ?

may only happen when on battery, not mains power..

no such problem here.
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!
Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Tue Jan 18, 2005 6:00 pm    Post subject: Reply with quote

Some comments:
For CPU Frequency scaling, I use cpufreq_ondemand, so I've added a line:
Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

to /etc/conf.d/local.start.

Framebuffer also works with vesafb:
Code:
<*>   VESA VGA graphics support
     VESA driver type (vesafb)  --->

Code:
vga=791 video=vesa:1024x768-32@75 splash=verbose,theme:livecd-2004.3


I've tried swsusp2 with 2.6.9-nitro4 and 2.6.10-nitro4, both work in textmode out of the box without patching anything. However, when hibernating from X with 2.6.10-nitro4, the system hangs at the message "Thawing other processors". With 2.6.9-nitro4, suspend works fine, but X will crash on resumption if I use the 855resolution patch and the services will fail to restart. On the other hand, if I don't use the 855resolution patch, swsusp2 works perfectly with 2.6.9-nitro4 (but of course, in that case you only get 1024x768 resolution in X and the pictures will be slightly distorted). Besides, I don't need to restart alsasound, here's my hibernate.conf:
Code:
UseSwsusp2 yes
 EnableEscape yes
 SuspendDevice swap:/dev/hda10
 PowerdownMethod 5
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
SaveClock yes
 Unmount /var/tmp/portage /unix/reiser4 /unix/xfs /win/data
 Mount /unix/reiser4 /unix/xfs /win/data
 OnSuspend 20 echo "Goodbye!"
 OnResume 20 echo "Welcome back!"
 UnloadAllModules yes
LoadModules auto
 DownInterfaces eth0
 RestartServices net.eth0 local

bookstack, would you post the "Monitor" section of your xorg.conf please?

bookstack wrote:
How to enhance the performance of X server ?
The DRI is enabled, but score of glxgears is so poor:
Code:

3330 frames in 5.0 seconds = 666.000 FPS # small window
344 frames in 5.0 seconds = 68.800 FPS    # Full screen


Any suggestions ?

I used to get thousands of FPS (http://www.linuxfans.org/nuke/modules/Forums/files/snapshot_205.png), but now only get 700, don't know what I did might have caused this. :(
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!


Last edited by Hauser on Thu Jan 20, 2005 6:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
TheSoko
n00b
n00b


Joined: 31 Dec 2003
Posts: 37
Location: Illinois

PostPosted: Tue Jan 18, 2005 8:57 pm    Post subject: Reply with quote

Has anybody gotten the S-Video out working?
_________________
"The illiterate of the 21st century will not be those who cannot read and write, but those who cannot learn, unlearn, and relearn."
-Alvin Toffler
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Wed Jan 19, 2005 5:48 am    Post subject: Reply with quote

Hauser wrote:
Some comments:
For CPU Frequency scaling, I use cpufreq_ondemand, so I've added a line:
Code:
echo "ondemand" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

to /etc/conf.d/local.start.

Does that mean we don't need speedfreq ?

Framebuffer also works with vesafb:
Code:
<*>   VESA VGA graphics support
     VESA driver type (vesafb)  --->

Code:
vga=791 video=vesa:1024x768-32@75 splash=verbose,theme:livecd-2004.3


Sure, it works with vesafb, vesafbtng, i8x0fb, intelfb. The prolbem is I could not figure it out how to pan the links or mplayer full screen, any idea ?

I've tried swsusp2 with 2.6.9-nitro4 and 2.6.10-nitro4, both work in textmode out of the box without patching anything. However, when hibernating from X with 2.6.10-nitro4, the system hangs at the message "Thawing other processors". With 2.6.9-nitro4, suspend works fine, but X will crash on resumption if I use the 855resolution patch and the services will fail to restart. On the other hand, if I don't use the 855resolution patch, swsusp2 works perfectly with 2.6.9-nitro4 (but of course, in that case you only get 1024x768 resolution in X and the pictures will be slightly distorted). Besides, I don't need to restart alsasound, here's my hibernate.conf:
Code:
UseSwsusp2 yes
 EnableEscape yes
 SuspendDevice swap:/dev/hda10
 PowerdownMethod 5
[color=darkred]I think this should be 4, if you want suspend to disk[/color]
Verbosity 0
LogFile /var/log/hibernate.log
LogVerbosity 1
SaveClock yes
 Unmount /var/tmp/portage /unix/reiser4 /unix/xfs /win/data
 Mount /unix/reiser4 /unix/xfs /win/data
 OnSuspend 20 echo "Goodbye!"
 OnResume 20 echo "Welcome back!"
 UnloadAllModules yes
LoadModules auto
 DownInterfaces eth0
 RestartServices net.eth0 local


I have met the same problem before, and found if the snd_intel8x0 unload before do_swsuspend, everything works perfectly.

bookstack, would you post the "Monitor" section of your xorg.conf please?

bookstack wrote:
How to enhance the performance of X server ?
The DRI is enabled, but score of glxgears is so poor:
Code:

3330 frames in 5.0 seconds = 666.000 FPS # small window
344 frames in 5.0 seconds = 68.800 FPS    # Full screen


Any suggestions ?

I used to get thousands of FPS (http://www.linuxsir.org/bbs/attachment.php?attachmentid=20186), but now only get 700, don't know what I did might have caused this. :(


In Dell 700m? One of the reasons probably lies in xorg 6.8, I remember that it performs better in xorg 6.7
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Wed Jan 19, 2005 5:50 am    Post subject: Reply with quote

Monitor section of xorg.conf

Code:

Section "Monitor"

    Identifier  "LCD"

    HorizSync   31.5 - 79.0
    VertRefresh 50-100
    Option  "DPMS"
    Modeline "1280x800" 101.92 1280 1312 1696 1728 800 816 825 841
EndSection

Back to top
View user's profile Send private message
Hauser
l33t
l33t


Joined: 27 Dec 2003
Posts: 650
Location: 4-dimensional hyperplane

PostPosted: Wed Jan 19, 2005 3:20 pm    Post subject: Reply with quote

bookstack wrote:
Does that mean we don't need speedfreq ?

I didn't install speedfreq, the following shows how CPU frequency and temperature changed when I compiled a small program:http://www.linuxfans.org/nuke/modules/Forums/files/snapshot_106.png
bookstack wrote:
Sure, it works with vesafb, vesafbtng, i8x0fb, intelfb. The prolbem is I could not figure it out how to pan the links or mplayer full screen, any idea ?

I can't get mplayer to play full screen either, but unless you can get 1280x800 in framebuffer, full screen won't look very nice anyway.
bookstack wrote:
I have met the same problem before, and found if the snd_intel8x0 unload before do_swsuspend, everything works perfectly.

I've tried your hibernate.conf, X crashes as usual. I don't think it's snd_intel8x0 that causes the problem (my own conf actually specifies swsusp2 to unload all the modules), I think it's an X configuration thing, but I can't pinpoint the cause. Anyway, I'm content to suspend from textmode, since I also use XFCE4 often and I think it'll make sense to hibernate after you have started KDE once, because then it'll be much quicker to restart KDE upon resumption.
bookstack wrote:
How to enhance the performance of X server ?
The DRI is enabled, but score of glxgears is so poor:
.................One of the reasons probably lies in xorg 6.8, I remember that it performs better in xorg 6.7

No, I've never installed xorg 6.7 on my Dell 700m, yet I once got much better glxgears result as my screenshot shows (currently about 720 FPS on average). Aaarrrhh, I just don't recall what I did wrong! :x
_________________
AMD Athlon XP 2600+; 512M RAM;
nVidia FX5700LE; Hitachi 120Gb
2.6.9-nitro4, reiser4, linux26-headers+nptl

Do I like to compile everything?
Positive definite!


Last edited by Hauser on Thu Jan 20, 2005 6:29 pm; edited 1 time in total
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Wed Jan 19, 2005 5:48 pm    Post subject: Reply with quote

Could you send the attachment in linuxsir.org?
I could not access that site for a long time. :(

I've just took a try, if we disable all extension,
the glxgears could achieve 700 fps in small window,
and 70 or more full screen.

The price is the popup icons in kicker has white background.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Wed Jan 19, 2005 10:57 pm    Post subject: Reply with quote

slightly off topic, I want to put more ram into my little 700M, and am wondering if anyone knows if you can replace BOTH ram simms?

I know there is one that is user accessible, anyone know about the other? (apart from probably voiding the warranty)
ie. is it accessible under the keyboard? or is it soldered directly onto the mainboard?

I need to run windows for work, and want to do so under vmware, and want to put 2gb ram in my machine :D
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
klarnox
Guru
Guru


Joined: 28 Jan 2003
Posts: 350
Location: Wisconsin, USA

PostPosted: Thu Jan 20, 2005 3:24 am    Post subject: Reply with quote

taskara wrote:
slightly off topic, I want to put more ram into my little 700M, and am wondering if anyone knows if you can replace BOTH ram simms?

I know there is one that is user accessible, anyone know about the other? (apart from probably voiding the warranty)
ie. is it accessible under the keyboard? or is it soldered directly onto the mainboard?

I need to run windows for work, and want to do so under vmware, and want to put 2gb ram in my machine :D


It's accessible, and fairly easily. All you need to do is take the keyboard off the laptop. You can actually find the documentation on Dell's website. It's a regular slot just like you see for the "user accessible" dimm slot.
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jan 20, 2005 5:33 am    Post subject: Reply with quote

klarnox wrote:
taskara wrote:
slightly off topic, I want to put more ram into my little 700M, and am wondering if anyone knows if you can replace BOTH ram simms?

I know there is one that is user accessible, anyone know about the other? (apart from probably voiding the warranty)
ie. is it accessible under the keyboard? or is it soldered directly onto the mainboard?

I need to run windows for work, and want to do so under vmware, and want to put 2gb ram in my machine :D


It's accessible, and fairly easily. All you need to do is take the keyboard off the laptop. You can actually find the documentation on Dell's website. It's a regular slot just like you see for the "user accessible" dimm slot.


GROOVY

thanks, I found the doco.. the AU site doesn't have a search feature :(
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
taskara
Advocate
Advocate


Joined: 10 Apr 2002
Posts: 3763
Location: Australia

PostPosted: Thu Jan 20, 2005 6:09 am    Post subject: Reply with quote

back on topic now, anyone found their touchpad just a bit too sensitive?

When I type I find my mouse bringing up someother screen because my thumb has almost touched the pad..

any way to decrease the sensitivity? cause it is mightily annoying!

found:
http://qsynaptics.sourceforge.net/

hope to get a chance to play with it soon..

edit:
ok I compiled the driver (0.14.0 - well I copied the latest ebuild in teh portage tree to portage overlay and renamed it ..0.14.0.ebuild) and then I compiled the program ksynaptic.

I changed the driver in my xorg.conf to "synaptic" for the device

restarted X and went into kde control panel, where there is now a device for touchpad under "peripherals"

I'm not too sure it it's all worked, however as I have typed this I have had no problems..

I can now also double click the tap to move windows, and copy text, middle click with two fingers on the pad, and even right click with three fingers on the pad..
re is now a device for touchpad under "peripherals"

I'm not too sure it it's all worked, however as I have typed this I have had no problems..

I can also scroll using the top right part of the pad.. COOOL :D

-c
_________________
Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum