64studio install and setup on a Dell XPS m1330

  • ethanay
Posted: Wed, 06/04/2008 - 00:10
I'm posting this in hopes that it will be useful to others and save them from doing the (admittedly, relatively little) legwork to get a similar laptop multimedia production system up and running. It's going under "installation" because I don't know where else it should go -- if an admin has a better location, please move it there :) ------------------------------------ Install from: 64studio 32-bit 2.1rc2 install dvd NOTE: I choose 32-bit for compatibility, especially for VSTi's (specifically, Pianoteq). If there was solid 64-bit VSTi support, I would do that instead. Destination: Dell XPS m1330, Intel T5250 Core2 Duo 1.5ghz, 2gb RAM, 120GB WD hdd, 8x DVD RW, Intel HDA 2.0 integrated audio (Echo AudioFire2 firewire -- not supported), Intel X3100 GM965/GL960 integrated graphics, Intel Pro 3945ABG wireless, Broadcom BCM5906M Fast Ethernet, Ubuntu 8.04 32-bit pre-existing O/S The install is straightforward -- no special boot parameters are necessary. The only glitch is minor, with the ethernet detection: Perhaps because the tg3 module included with the release is outdated(??), setup wants to pretend that there is no network interface installed, and asks if you want to use FireWire as ethernet. You can just say no. In order to move on, you have to "agree" that there is no ethernet card. It is fine -- setup actually has detected and installs it properly, and wired networking works out of the box. It just doesn't want to admit it :) My personal partition setup is as follows (values are approximate): sda1: Ubuntu 8.04 / 10gb sda2: extended 97gb sda3: 64studio / 10gb sda5: /home for Ubuntu 94.5gb sda6: swap 2.5gb (for hibernation) Everything is partitioned and formatted except for sda3. Setup will format sda3 and sda6 on install. I use the advanced/manual partition setting to ensure control over the process (my peace of mind), but your important files on other partitions should be backed up before you proceed, to be safe. Setup also does a good job of detecting Ubuntu and creating a dual-boot setup, with 64studio as the primary boot option :). If you want to uninstall one operating system or the other at a later time, you can simply delete the partition (using gparted or cfdisk). Save yourself some trouble and reinstall the bootloader: sudo grub find /boot/grub/stage1 root (hd [you can use here to autocomplete]) setup (hd0) Do this before the next time you shut down/reboot, otherwise you will have to recover from a livecd.

update note

  • ethanay
  • 05/20/08
  • Sat, 06/07/2008 - 10:03
Everything @ "Issues" and below is new or updated, in particular: Ignore new kernel 2.6.24-486, or uninstall 2.6.21-multimedia is still the current 64studio realtime kernel! --------------- and for those who have a laptop with a synaptics touchpad and actually want it to be usable, you MUST... edit /etc/X11/xorg.conf -- add touchpad: Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "CorePointer" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "true" EndSection the line "Option "CorePointer" to allow recognition of touchpad. "SHMConfig" allows tweaking of the settings via gsynaptics

[updated] upgrade process to 64studio 3.0beta (lenny repos)

  • ethanay
  • 05/20/08
  • Sat, 12/06/2008 - 02:51
from 2.1rc2 -- upgrade to latest (testing) 64studio.com/upgrade for directions (disable all sources except 64studio testing) run 64studio-upgrade as root re-enable other sources run apt-get upgrade install ipw3945 firmware-ipw3945 ipw3945-modules[-2.6.21-1-multimedia-486] ipw3945d now with wireless, move to a more comfortable location :) add "hdparm -B 254 /dev/sda" to /etc/rc.local; chmod 755 restart ---------------------------------------------- add the lenny/sid repositories: http://lists.64studio.com/pipermail/64studio-devel/2008-June/005774.html # Stable 64 Studio repository deb http://apt.64studio.com/64studio/stable/ 64studio main # Debian deb http://ftp.debian.org/debian/ etch main contrib non-free deb http://ftp.debian.org/debian/ lenny main contrib non-free deb-src http://ftp.debian.org/debian/ lenny main contrib non-free # Debian Sid # deb http://ftp.debian.org/debian/ sid main contrib non-free # Security updates deb http://security.debian.org/ etch/updates main deb http://security.debian.org/ lenny/updates main contrib deb-src http://security.debian.org/ lenny/updates main contrib # Bleeding edge 64 Studio repository, only for testers! deb http://apt.64studio.com/64studio/testing/ 64studio main deb-src http://apt.64studio.com/64studio/testing/ 64studio main # Backports repository, needed to get -dev packages deb http://apt.64studio.com/backports/ etch-backports main http://lists.64studio.com/pipermail/64studio-devel/2008-June/005778.html deb http://apt.64studio.com/backports/ lenny-backports main -------------------------------------- comment out 3rd/sid party repos comment out etch repos to avoid apt-get update error: Reading package lists... Error! E: Dynamic MMap ran out of room E: Error occurred while processing sysvinit-utils (NewFileVer1) E: Problem with MergeList /var/lib/dpkg/status E: The package lists or status file could not be parsed or opened. ------------------- synaptic: upgrade all the following packages were removed: 915resolution ardour cupsys-driver-gimpprint ekiga firefox foomatic-db-gimp-print fst gimp-print libcamel1.2-8 libebook1.2-5 libedataserverui1.2-6 libg2c0 libgssapi2 libldap2 liblo0 libmpich1.0c2 libnl1-pre6 libnss3-0d libopal-2.2.0 libpci2 libperl5.8 libpoppler1-glib libpt-1.10.0 libpt-plugins-alsa libpt-plugins-avc libpt-plugins-dc libpt-plugins-oss libpt-plugins-v4l2 libsasl2 libssp0 libvte4 linux-kernel-headers linux32 modutils schedutils sysv-rc-bootsplash wine-dev downloading 1175 packages... click "yes" to configure/upgrade packages ---------------------------- upgrade errors: E: libpam0g: subprocess post-installation script returned error exit status 2 close synaptic apt-get -f install the following packages were removed: bluez-cups cupsys cupsys-driver-gutenprint evolution-data-server foomatic-db-hpijs fst gaim gnome-core hpijs hplip libldap2 libopal-2.2.0 libperl5.8 libpt-1.10.0 libpt-plugins-alsa libpt-plugins-avc libpt-plugins-dc libpt-plugins-oss libpt-plugins-v4l2 metacity printconf wine wine-dev wineasio ------------------------ restart synaptic, upgrade the following packages were removed: foomatic-db-gimp-print gimp-print libcamel1.2-8 libebook1.2-5 libedataserverui1.2-6 libg2c0 libgssapi2 liblo0 libmpich1.0c2 libnl1-pre6 libnss3-0d libpci2 libpoppler1-glib libsasl2 libssp0 libvte4 linux32 modutils schedutils sysv-rc-bootsplash errors: The current kernel doesn't support userspace software suspend. Please recompile the kernel with the 'CONFIG_SOFTWARE_SUSPEND=y' option. ----------------------- keep (do not replace): /etc/security/limits.conf /etc/xdg/menu/gnome-applications.menu /etc/gdm/gdm.conf replace: /etc/acpi/powerbtn.sh note: power button interactive now without need to modify script ------------------------- Issues: Ignore new kernel 2.6.24-486, or uninstall 2.6.21-multimedia is still the current 64studio realtime kernel! no window management!! re-enter /etc/security/limits.conf @ audio settings @audio - rtprio 99 @audio - memlock 1024000 @audio - nice -19 logout and log back in jackd realtime now works (still running at too low priority, though) install 99-hdparm-fix.sh to /etc/pm/power.d and /etc/pm/sleep.d remove hdparm fix in /etc/rc.local (if already applied) ----------------------- run dpkg-reconfigure xserver-xorg obtained native screen resolution without forcing via 915resolution! ----------------- enable debian sid repository install ardour transfer important .* home settings folders (e.g., .mozilla) from backup! setup backup scripts --------------------- edit /etc/X11/xorg.conf -- add touchpad: Section "InputDevice" Identifier "Synaptics Touchpad" Driver "synaptics" Option "CorePointer" Option "SendCoreEvents" "true" Option "Device" "/dev/psaux" Option "Protocol" "auto-dev" Option "HorizScrollDelta" "0" Option "SHMConfig" "true" EndSection ----------------- mkdir /mnt/ubuntu_home edit /etc/fstab /dev/sda5 /mnt/ubuntu_home ext3 noatime 0 2 ---------------- tweak realtime settings /etc/default/rtirq add firewire process "ohci1394" to name_list and non_threaded edit /etc/sysctl.conf: # Set max user realtime clock frequency above default 64 dev.rtc.max-user-freq=1024 verify with cat /proc/sys/dev/rtc/max-user-freq substitute "hpet" with "rtc" if necessary in the above -------------------- setup multimedia repos: http://64studio.com/node/401 deb http://www.debian-multimedia.org lenny main deb-src http://www.debian-multimedia.org lenny main $ wget http://debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2007.02.14_all.deb $ su -c 'dpkg -i debian-multimedia-keyring_2007.02.14_all.deb && apt-get update' --------------- remove: bcm43xx, bluetooth, bluez*, gnome-bluetooth, gnome-pilot, libecal, libedata, libegroupwise, libgnome-pilot blacklist eth1394 in /etc/modprobe.d/blacklist add raw1394 to /etc/modules install: gsynaptics, gconf-editor, gnome-system-monitor, powertop, hotkey-setup, lame/liblame, rhythmbox, soundconverter

Setup notes: XPS m1330 64studio 32-bit

  • ethanay
  • 05/20/08
  • Sat, 12/06/2008 - 02:48
The following are my setup notes after successfully booting into 64studio for the first time. If you have any questions, just post them below and I'll clarify...i swear it all makes sense to me :) Just as a note, 64studio uses about 5% (100mb???) of memory at boot (+5% additional cache). Amazing...people said Gnome was bloated :) It is very streamlined, no fat. I like. ----------------------------------------- --------------------------- *I do not advise sharing a /home partition between two separate installations -- it can get messy. Instead, I do the following to have access to my main storage space: mkdir /mnt/ethan *edit fstab to automount storage space: /dev/sda5 /mnt/ethan ext3 noatime 0 2 -------------------------------- 64studio 2.1/etch does not properly detect the native screen resolution; it has to be forced. set native 1280x800 screen res. with generic vesa drivers (xorg-intel drivers currently unsupported) http://mrtextminer.wordpress.com/2008/01/27/net-installation-of-debian-etch-amd64-r2-on-sony-laptop-vgn-nr160e/ edit /etc/default/915resolution MODE=58 XRESO=1280 YRESO=800 BIT= add to end if not already present: PROG="/usr/sbin/915resolution -c 945G" -------------------------------- Enable repositories http://www.winehq.org/site/download-deb install alacarte setup multimedia repos: http://64studio.com/node/401 deb http://www.debian-multimedia.org etch main deb-src http://www.debian-multimedia.org etch main $ wget http://debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2007.02.14_all.deb $ su -c 'dpkg -i debian-multimedia-keyring_2007.02.14_all.deb && apt-get update' ------------------------------- Prevent aggressive power management from hurting performance/killing hdd: *install acpi-support (if necessary) add ugly hdparm fix scripts (hdparm -B 254 /dev/[x]da) to /etc/acpi/ac.d /battery.d /start.d /resume.d works with "sudo install " install hddtemp, no autostart ----------------------- *Configure touchpad -- no tap click install gsynaptics enable: create "option SHMConfig = true" in /etc/X11/xorg.conf under appropriate place ---------------------------- *make power button press interactive (currently over-rides interactive setting and shuts down computer) gconf-editor edit /etc/acpi/powerbtn.sh comment out the if/then/else/fi section of the /etc/acpi/powerbtn.sh script which runs dcop or shutdown ------------------------------ *get multimedia keys working, setup shortcuts hotkey-setup preferences > keyconfig setup should register media keys as assignable values when pressed --------------------- *aesthetics: background: tentacles color #1B333A theme: glider 3 virtual desktops, move panel to top applets: system monitor (cpu, mem, network, hdd), cputemp, volume control, systray, clock ---------------- install gnome-do? -------------------- *configure integrated audio [note: the default settings were fine for me] http://linux-audio-music.blogspot.com/2008/05/improved-realtime-audio-with-intel-hda.html edit /etc/modprobe.d/hda-intel options snd-hda-intel position_fix=1 becomes options snd-hda-intel model=ref position_fix=1 enable=1 index=0 jack intel hda settings https://help.ubuntu.com/community/UbuntuStudio/QuickTips check Realtime, with priority: 0 (???) check Force 16-bit Frames/Period: 256 (lower this for reduce latency) Sample Rate: 44100 Periods/Buffer: 3 Audio: Duplex (default) Driver: alsa (default) and leave the others to default check /etc/security/limits.conf ------------------------ *eliminate unnecessary daemons,services,boot modules bcmXXXX (ethernet uses tg3), RAID (mdadm; for some reason is installed by default on my computer!), bluez/bluetooth, evolution, bittorrent, accessibility, etc COMB SYNAPTIC and uninstall unnecessary crap clean up menus -- uncheck unused options *tweak firefox horizscroll(nokeypress): about:config uninstall update-manager, etc due to instability (freezes) ------------------- Configure IRQ, priorities http://64studio.com/book/export/html/208 http://ubuntuforums.org/showthread.php?t=781105&page=4 /etc/security/limits.conf /etc/default/rtirq edit /etc/sysctl.conf: # Set max user realtime clock frequency above default 64 dev.rtc.max-user-freq=1024 verify with cat /proc/sys/dev/rtc/max-user-freq NOTE: if using hpet timer, substitute "hpet" for "rtc" in the above ------------------------ Note: The following are program notes for install, needed dependencies, usage setup pianoteq *wine 0.9.58 (wine repos; force version to get compatible *-dev package) *wineasio 0.7.4 (source) install gcc 3.4, 4.1 (repos) regsvr32 /usr/lib/wine/wineasio.dll.so *dssi-vst 0.7 (source) install liblo 0.9 or newer (repos; 0.24 > 0.9) install g++ 4.1 (repos) install dssi-dev 0.9.1 (repos) edit makefile: remove /usr/[LOCAL] *install pianoteq create menu and desktop launchers wine icon locations: /home/ethan/.local/share/icons point help file launchers in wine menu to correct local locations /.local/share/applications/wine/Programs/ create pianoteq vst launcher in wine menu (HOW???) Get a decent grand piano soundfont free here: http://www.pianosounds.com/ notation programs *jedit (local) + lilypond (lilypondtool plugin) sun-java5-jre (repos) MuseScore (local) -- note, haven't compiled this successfully yet! *libqt4-dev 4.3.x (repos) *cmake 2.4.6 (local) *Encore (local) Sequencers *seq24 0.8.7 patched (source) --prefix=/usr gtkmm-2.4-dev (repos) liblash-dev run with --manual_alsa_ports switch can edit /.seq24rc create /usr/share/applications/seq24.desktop MusE 0.9 (source)