NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Just got my z71v... currently installing gentoo
New Posts  All Forums:Forum Nav:

Just got my z71v... currently installing gentoo

post #1 of 23
Thread Starter 
I'm going to change this thread around to be more of a "support for linux on the z71v".

Here are some of my configurations (use HTTPS):
https://raptor.nauticaltech.com/~msp...7.12.05.tar.gz

Code:
Here is what i've got so far:

CPU:
Laptop compiled with march=pentium-m
dynamic cpu frequency support using acpi_cpufreq and cpufreqd

Video:
Xorg @ 1680x1050
NVIDIA drivers from portage 7667

Sound:
working using hda-intel driver from alsa-drivers package (1.0.9b)
sound seems fine in CS,CSS,AmericasArmy,EnemyTerritory
sound doesn't seem to work in doom3

Network1:
gbit ethernet working
using new skge driver from gentoo-sources 2.6.12-r4

Network2:
Intel 2915ABG
WEP128 works
WPA works
using wpa_supplicant (0.3.8)
using ipw2200 (1.0.3)
using ipw2200-firmware (2.2)

Modem:
Haven't tried it yet

Touchpad:
Works out of the box, but installed synaptics driver too

PCMCIA:
working.  Tried it with a dlink 10/100 card and a 3com wireless card

Firewire:
haven't tried it yet

USB2:
fully working with hotplug
using MX1000 mouse
USB printing
Gravis Gamepad for zsnes emulation

DVD Burner:
Haven't tried it yet

Memory card reader:
not yet supported under linux

Code:
Compiling for pentium-m:
The 2005.0 install uses gcc-3.3.5 which DOES NOT support pentium-m (you would have to compile for pentium3).  In order to get -march pentium-m for everything, you'll need to install a stage3 system first, compile the newer gcc-3.4.3, then recompile the entire system with the new gcc.  I used this WONDERFUL guide: http://forums.gentoo.org/viewtopic-t-345545.html

Code:
Dynamic CPU speed scaling:
With some help from Josh's page (http://resonance.org/~josh/laptop.html) and the gentoo power guide, my current setup is:

With AC plugged in, CPU is pegged to 2GHz
With normal battery status and no AC, CPU switches between 800Mhz and 2GHz depending on load
With low battery and no AC, CPU is pegged to 800Mhz (30 mins or less battery)

First, goto the kernel and enable power management
enable acpi
enable AC,batt,button,fan,processor,thermal zone (not all required)
enable cpu freq scaling
enable default governer = userspace
enable performance, ondemand, powersave, userspace
enable acpi processor p-states driver

Now, emerge cpufrequtils and cpufreqd

Use this config:
asus linux # cat /etc/cpufreqd.conf 
[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=acpi
verbosity=4

[Profile]
name=min
minfreq=798000
maxfreq=798000
policy=powersave

[Profile]
name=max
minfreq=1995000
maxfreq=1995000
policy=performance

[Profile]
name=ondemand
minfreq=798000
maxfreq=1995000
policy=ondemand

[Rule]
name=ac
ac=on
profile=max

[Rule]
name=battery
ac=off
profile=ondemand

[Rule]
name=battery_low
ac=off
battery_interval=0-30
profile=min

enable cpufreqd to startup with system

use cpufreq-info for info, and cat /proc/cpuinfo to check speed

Code:
Video:
finding the right modelines was a pain in the ass.  You're going to want to use these special sections in the xorg.conf file to make everything work right:

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        VertRefresh  60
        HorizSync    30-67
        Modeline "1680x1050_60.00"  147.14  1680 1784 1968 2256  1050 1051 1054 1087  -HSync -Vsync
EndSection

Section "Device"
        Option     "IgnoreEDID" "true" 
        Identifier  "Card0"
        Driver      "nvidia"
        VendorName  "nVidia Corporation"
        BoardName   "nVidia GeForce 6600 PCIe 128MB"
        BusID       "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1680x1050_60.00"
        EndSubSection
EndSection


As for the 3d-acceleration, just the the standard nvdia thing.  Emerge nvidia-kernel and nvidia-glx, do opengl-update nvidia.  It should work fine.  I can play CS,CSS,Doom3,EnemyTerrtory,AmericasArmy,etc.

You'll need to load nvidia module @ startup

Code:
Sound:
The only strangeness i've seen with sound is playing doom3.  These drivers are very new, so they may take some time to develop properly.

In kernel, only enable sound support (no alsa/oss)
ACCEPT_KEYWORDS="~x86" emerge alsa-lib alsa-oss alsa-driver alsa-headers alsa-tools alsa-utils

echo "snd-hda-intel" >> /etc/modules.autoload.d/kernel-2.6
modules-update

Code:
Gigabit Ethernet:
Just use New SysKonnect GigaEthernet support.  Its a new and improved/smaller driver.

Code:
Wireless 2915ABG with WPA support:

in kernel:
you need wireless support as well as...
Cryptographic API
HMAC support
MD5 digest algorithm
SHA1 digest algorithm
SHA256 digest algorithm
SHA384 and SHA512 digest algorithms
DES and Triple DES EDE cipher algorithms
AES cipher algorithms (i586)
ARC4 cipher algorithm
Deflate compression algorithm
Michael MIC keyed digest algorithm

emerge =net-wireless/wpa_supplicant-0.3.8
emerge =net-wireless/ipw2200-1.0.3
emerge =net-wireless/ipw2200-firmware-2.2

Ensure you are using newest baselayout-1.11.12-r4 (accept keywords)
Sometimes if you emerge baselayouts, it won't replace your older net scripts and you have problems.  One way to tell is to checkout the /etc/init.d/net.lo script.  If it is a very short 20-line script that only contains info on setting lo to 127.0.0.1, then you should goto /etc/init.d and remove ALL net.* scripts.  Then, emerge the new baselayout and link net.eth0 and net.eth1 to net.lo.

Use this /etc/wpa_supplicant.conf as an example:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wireless
eapol_version=1
ap_scan=1
fast_reauth=1

network={
        ssid="Jonathan"
        scan_ssid=1 #if AP doesn't broadcast SSID
        key_mgmt=NONE
}

network={
        ssid="waves"
        key_mgmt=NONE
}

network={
        ssid="jimfig"
        scan_ssid=1
        proto=WPA
        key_mgmt=WPA-PSK
        group=CCMP TKIP WEP104 WEP40
        pairwise=TKIP CCMP
        psk="[removed]"
}

network={
        ssid="affwire"
        key_mgmt=NONE
        wep_key0=[removed] #don't put quotes around 26-digit hex key for 128bit WEP
}



Use my /etc/conf.d/net as an example:
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

config_eth0=( "dhcp" )
dhcpcd_eth0=( "-R -t 10" )

config_eth1=( "dhcp" )
dhcpcd_eth1=( "-R -t 10" )

modules_eth1=( "wpa_supplicant" )
wpa_supplicant_eth1="-Dipw"
wpa_timeout_eth1=15



Now, whenever you bring a wireless interface online, it should consult wpa_supplicant.conf and try to connect to an accesspoint that you defined.  Works perfectly for me.

You'll need these modules loaded at startup:
ipw2200
ieee80211
ieee80211_crypt
ieee80211_crypt_wep
ieee80211_crypt_ccmp
ieee80211_crypt_tkip

Code:
pcmcia support:
enable pcmcia support in kernel
enable 16/32 bit
modularize yenta
emerge pcmcia-cs

It is working at this point.  Just make sure you have drivers available for your devices (from kernel/vendor/3rd party)

Code:
Basic USB support:

Make sure kernel -> General Setup -> hot-pluggable devices is enabled

enable host-side USB
usb device filesystem
EHCI
UHCI
USB printer
USB Full HID
HId Input layer support

emerge hotplug and udev
make hotplug load @ startup
post #2 of 23
good luck!


and wlecome to the forums
post #3 of 23
How it's going with your gentoo installation ?
Or maybe even with working on gentoo ?
post #4 of 23
BEEN 3 days......should be done by now....i hope
post #5 of 23
yeah, i suppose

I will be very glad if mspiegle tell as about working Z71V on Linux. especiall souncard and 3dcard.
post #6 of 23
Quote:
Originally Posted by mspiegle
For any of you who are wondering about linux on the z71v, I am currently in the process of installing it. I will attempt to give a detailed report of what I had to do to compile this properly and set it up with all the necessary drivers.

For starters... the stable branch gcc-3.4.3 from 2005.0 doesn't support the pentium-m. You would have to compile with -march=pentium3. I am installing my system from an x86 stage3, then re-emerging gcc-3.4.4 (using accept keywords), then re-emerging the entire system with gcc-3.4.4 and -march=pentium-m. Who knows if it'll be any faster than pentium3, but I wanted to do it the right way.

I'll try to keep this thread updated as I find out new things...

PLEASE PLEASE PLEASE PLEASE for hte love of god once u get gentoo installed install CEDEGA and let me know if u can play like HL2 or CS

please also tell me how long compiling takes on ur laptop (ive done it before and know times i want to compare just off the top of ur head, for the install and at what stages )

its down to getting this laptop or acer ferrari 4005 for my GENTOO GAMING MACHINE i swear IT IS

so i wana know how well games run on it and how well it is for compiling ( i will also program on it)
post #7 of 23
Heres a great site offering a lot on how to get everything for the Z71v working with Linux. http://resonance.org/~josh/laptop.html
post #8 of 23
Partly, there is no info about 3d speed, and quality of sound.
post #9 of 23
Thread Starter 
Sorry guys, i totally meant to update this thread earlier...

I'm LOVING this laptop with gentoo. Here are some specifics:

Sound: I have the newest 2.6.13-rc1-mm1 kernel and it actually has hda-intel support in it, but DONT use it. It works, but it breaks the headphone port on the laptop (since its older). Instead, enable sound support in the kernel but no OSS/ALSA. Next, emerge the alsa-driver,alsa-libs,alsa-utils,alsa-tools,alsa-headers with ACCEPT_KEYWORDS. It works perfectly fine for normal usage (gaim/xmms/dvds). I can play the old counterstrike with perfect sound, haven't tried CS:S, and the sound in doom is crap. Since this is such a new card, i'm sure support will get better.

Wireless: LIKE BUTTER. Just enable wireless in the kernel (along with some crypto: AES,ARC4,MIC), emerge ipw2200-1.0.1 (newer versions break on compile for me), and that's it. Works perfectly.

VIDEO: Ok, It took me a WHILE to get 1680x1050 working with 24bit color and openGL support, but IT WORKS now. You need to change a card option and use a special modeline. glxgears is currently giving me 3800FPS, but i've seen close to 6K before (maybe there is some kind of funky throttling going on).

CEDEGA: I haven't played with it too much, but after untaring it, I was able to download steaminstaller and play HL1/CS1 in opengl mode @ 100FPS with perfect sound. SOMETIMES it'll glitch a little, but its extremely playable. I tried emerging wine, but it would have taken extra configuration to make it work.
post #10 of 23
Thread Starter 
Ok, posting this from the laptop...

Here are special sections of my xorg.conf:

Section "Module"
Load "glx"
Load "record"
Load "extmod"
Load "dbe"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection


Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
VertRefresh 60
HorizSync 30-67
Modeline "1680x1050_60.00" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync -Vsync
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "DigitalVibrance" # <i>
#Option "NoFlip" # [<bool>]
#Option "Dac8Bit" # [<bool>]
#Option "NoLogo" # [<bool>]
#Option "UBB" # [<bool>]
#Option "Stereo" # <i>
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "VideoKey" # <i>
#Option "NvAGP" # <i>
#Option "IgnoreEDID" # [<bool>]
Option "IgnoreEDID" "true"
#Option "NoDDC" # [<bool>]
#Option "NoDDC" "true"
#Option "ConnectedMonitor" # <str>
#Option "ConnectedMonitors" # <str>
#Option "TVStandard" # <str>
#Option "TVOutFormat" # <str>
#Option "RenderAccel" # [<bool>]
#Option "CursorShadow" # [<bool>]
#Option "CursorShadowAlpha" # <i>
#Option "CursorShadowXOffset" # <i>
#Option "CursorShadowYOffset" # <i>
#Option "UseEdidFreqs" # [<bool>]
#Option "FlatPanelProperties" # <str>
#Option "TwinView" # [<bool>]
#Option "TwinViewOrientation" # <str>
#Option "SecondMonitorHorizSync" # <str>
#Option "SecondMonitorVertRefresh" # <str>
#Option "MetaModes" # <str>
#Option "UseInt10Module" # [<bool>]
#Option "NoTwinViewXineramaInfo" # [<bool>]
#Option "NoRenderExtension" # [<bool>]
#Option "Overlay" # [<bool>]
#Option "CIOverlay" # [<bool>]
#Option "ForceEmulatedOverlay" # [<bool>]
#Option "TransparentIndex" # <i>
#Option "OverlayDefaultVisual" # [<bool>]
#Option "NvEmulate" # <i>
#Option "NoBandWidthTest" # [<bool>]
#Option "CustomEDID-CRT-0" # <str>
#Option "CustomEDID-CRT-1" # <str>
#Option "CustomEDID-DFP-0" # <str>
#Option "CustomEDID-DFP-1" # <str>
#Option "CustomEDID-TV-0" # <str>
#Option "CustomEDID-TV-1" # <str>
#Option "TVOverScan" # <f>
#Option "IgnoreDisplayDevices" # <str>
#Option "MultisampleCompatibility" # [<bool>]
#Option "RegistryDwords" # <str>
#Option "RegistryBinary" # <str>
#Option "NoPowerConnectorCheck" # [<bool>]
#Option "AllowDFPStereo" # [<bool>]
#Option "XvMCUsesTextures" # [<bool>]
#Option "HorizSync" # <str>
#Option "VertRefresh" # <str>
#Option "AllowGLXWithComposite" # [<bool>]
#Option "RandRRotation" # [<bool>]
#Option "ExactModeTimingsDVI" # [<bool>]
#Option "Coolbits" # <i>
#Option "AllowDDCCI" # [<bool>]
#Option "ConstantFrameRateHint" # [<bool>]
#Option "LoadKernelModule" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1680x1050_60.00"
EndSubSection
EndSection
post #11 of 23
Thread Starter 
Also, use the newest nvidia drivers from portage w/ ACCEPT_KEYWORDS. I'm using 1.0.7664.

This is obviously still a work in progress. I have't tried firewire/usb/asus-acpi/burning dvd,cd and some other stuff.
post #12 of 23
Thread Starter 
Quote:
Originally Posted by Insane Hamster
PLEASE PLEASE PLEASE PLEASE for hte love of god once u get gentoo installed install CEDEGA and let me know if u can play like HL2 or CS

please also tell me how long compiling takes on ur laptop (ive done it before and know times i want to compare just off the top of ur head, for the install and at what stages )

its down to getting this laptop or acer ferrari 4005 for my GENTOO GAMING MACHINE i swear IT IS

so i wana know how well games run on it and how well it is for compiling ( i will also program on it)
To be honest with you, my choice for a new laptop came down to those exact 2 laptops. The MAIN thing that swayed me was nvidia vs ATI. Nvidia has proven to have good support under linux while ATI is still lagging behind. The second thing that bugged me was that the acer laptop has a 64-bit capable processor. I've heard of lots of bugs when 64-bit processing is introduced (requires special drivers/etc). I personally didn't want to deal with all those problems. Another thing that bugged me was that the Ferrari didn't seem to have SATA (and i'm determined to get the 100GB SATA 7200RPM drive from hitachi as soon as it comes out).

Compiling times are pretty quick. I don't have any exact times, but I know compared to my Athlon XP2200 workstation... the laptop is faster. Also, you'll need GCC-3.4.3 at least (i'm using 3.4.4) to get the pentium-m architecture optimization.
post #13 of 23
Quote:
Originally Posted by mspiegle
To be honest with you, my choice for a new laptop came down to those exact 2 laptops. The MAIN thing that swayed me was nvidia vs ATI. Nvidia has proven to have good support under linux while ATI is still lagging behind. The second thing that bugged me was that the acer laptop has a 64-bit capable processor. I've heard of lots of bugs when 64-bit processing is introduced (requires special drivers/etc). I personally didn't want to deal with all those problems. Another thing that bugged me was that the Ferrari didn't seem to have SATA (and i'm determined to get the 100GB SATA 7200RPM drive from hitachi as soon as it comes out).

Compiling times are pretty quick. I don't have any exact times, but I know compared to my Athlon XP2200 workstation... the laptop is faster. Also, you'll need GCC-3.4.3 at least (i'm using 3.4.4) to get the pentium-m architecture optimization.
its too late i orderd the acer ferrari ... the reson behind it was that it had to be 64-bit and after much research i found that its possible to get the x700 working under linux, im sure the x700 is capable of emulating CS:S at decent frame rates and rez.

post #14 of 23
At least someone can get their X700 to work.
post #15 of 23
Quote:
Originally Posted by onewickedferret
At least someone can get their X700 to work.
my old laptop is a sager 5694, and i had my radeon 7500 workin on that, wine ran hl decently back in the day, but once steam came out it ran like dirt

altough ut2003/4 ran on it in shitty quality and of course quake 3 was fine and ut tactical ops etc etc ran all good

but now i figure that the x700 is supported, so i should be able to cedega cs:s and thats the only game i want on it

id be nice to run doom 3 too but we will see, i do know ati is ****n peice of shit piss on the floor those mother ****ers, and nvidia is king of all that is holy

but still ill post how to when im done
post #16 of 23
Quote:
Originally Posted by Insane Hamster
my old laptop is a sager 5694, and i had my radeon 7500 workin on that, wine ran hl decently back in the day, but once steam came out it ran like dirt

altough ut2003/4 ran on it in shitty quality and of course quake 3 was fine and ut tactical ops etc etc ran all good

but now i figure that the x700 is supported, so i should be able to cedega cs:s and thats the only game i want on it

id be nice to run doom 3 too but we will see, i do know ati is ****n peice of shit piss on the floor those mother ****ers, and nvidia is king of all that is holy

but still ill post how to when im done

btw i had my radeon 7500 glxgears get this ~1800

it took me months of tweaking and custom drivers to get it tou , and programming of course.
post #17 of 23
Thread Starter 
i'm definately interested in your ferrari adventures. I kinda hope you fail horribly so i'm justified in getting the z71v (cuz I sure the hell ain't gonna buy BOTH laptops to find the one that works).... but, Good Luck to you =)

BTW - Just started up CS:S via cedega. I ran some tests w/ video-stress-test:
@800x600/low settings, I get 138FPS average
@1280x1024/low settings, I get 87FPS average
@800x600/high detail+No AA, I get 102FPS
@1280x1024/MAX SETTINGS, I get 55FPS

Hardware is detected as a DirectX 8.0 card.
I can't seem to use widescreen resolutions.
Transparency seems to not be working right.
Sound appears to be working.
When in the game, some textures are dark and hard to see.

All tests were done with a stock cedega install (no mods/tweaks).
post #18 of 23
I dont think your howto will work for me. I'm running FC4, not gentoo, but 4880 owners, apparently, havent been able to get their X700 card to work, probably because of its 256MB of memory over the standard 64 and 128 configurations.
post #19 of 23
Quote:
Originally Posted by mspiegle
i'm definately interested in your ferrari adventures. I kinda hope you fail horribly so i'm justified in getting the z71v (cuz I sure the hell ain't gonna buy BOTH laptops to find the one that works).... but, Good Luck to you =)
see for me it came down to nvidia card or 64 ati card

i dont think its even worth buyin a 32 bit computer anymore thats why im taking my chances with the 64 bit ati card

plus if all else fails, but some www.xig.com drivers, they are specifically engineerd for ati. and they always work with great results in linux.
post #20 of 23
Thread Starter 
Quote:
Originally Posted by onewickedferret
I dont think your howto will work for me. I'm running FC4, not gentoo, but 4880 owners, apparently, havent been able to get their X700 card to work, probably because of its 256MB of memory over the standard 64 and 128 configurations.
sure it can. Just download the stuff and compile from source. I never liked RPMS anyways... when I do redhat installs, I install a minimal redhat and compile everything else from source.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › Just got my z71v... currently installing gentoo