Tag Archives: Linux

Linux and Solid State Drives (SSD)

I started using a 120GB SSD myself recently on my desktop. Running ArchLinux.

Just a few sites to help out anyone doing the same.

http://cptl.org/wp/index.php/2010/03/30/tuning-solid-state-drives-in-linux/

https://wiki.archlinux.org/index.php/SSD#Tips_for_Maximizing_SSD_Performance

Playing RIFT on WINE Crashing Problems

A few patches ago, Rift started becoming very unstable for me while playing in Wine. My current setup, as the post two below this one states, I’m in Archlinux have Wine setup latest version, and I use the Direct3D registry tweaks. I have an Nvidia card as well, and the graphics are setup just fine.

About thirty minutes to an hour playing, random crash. Wine gives no informative information, even running winedbg on the rift.exe process.

I recently found a post on the winehq forums, for RIFT that experienced the same problem, and last night testing found that adding another option to the Direct3D registry tree did indeed fix the problem.

Adding a new string value “StrictDrawOrdering” without quotes and set it to “enabled” again without quotes.

This did slow down my game some, so, I went on to play again with settings and found that I get a very noticeable increase not only in graphics quality and how high I can set them without graphic related slow downs, but also how fast the system was able to load the textures, players, spells around me by using the latest (beta at the time of this writing) nvidia drivers from the ArchLinux AUR.

The links to packages that I used are:
https://aur.archlinux.org/packages/nv/nvidia-beta/nvidia-beta.tar.gz
https://aur.archlinux.org/packages/nv/nvidia-utils-beta/nvidia-utils-beta.tar.gz
https://aur.archlinux.org/packages/li/lib32-nvidia-utils-beta/lib32-nvidia-utils-beta.tar.gz

Arch Linux w/ XFCE4 Notes

Just some notes for myself.

Install of Arch Linux with XFCE4 desktop environment.

Console / Core Stuff
pacman -S sudo gamin alsa-lib alsa-utils acpid dbus openssh gcc make patch zip unzip unrar pkg-config net-tools inetutils fuse dhclient gptfdisk

pacman -R dhcpcd

Notes:
Edit: /etc/rc.conf
MODULES=(fuse)
DAEMONS=(syslog-ng acpid dbus @network @crond)

Edit: /etc/rc.d/network
Change entries from dhcpcd to dhclient

X.org Group
pacman -S xorg

Video Drivers
pacman -S nvidia nvidia-utils

Will conflict, remove conflict packages.

XFCE4 Group
pacman -S xfce4 xfce4-taskmanager

Utilities / Programs
pacman -S medit xarchiver chromium gnome-keyring gnome-disk-utility gvfs gvfs-smb libreoffice mesa mesa-demos ristretto thunar-volman ttf-bitstream-vera ttf-dejavu ttf-liberation gnome-icon-theme-extras remmina remmina-plugins pidgin mpd sonata evince

AUR: freetype2-ubuntu fontconfig-ubuntu libxft-ubuntu cairo-ubuntu

http://aur.archlinux.org/packages/fr/freetype2-ubuntu/freetype2-ubuntu.tar.gz

http://aur.archlinux.org/packages/fo/fontconfig-ubuntu/fontconfig-ubuntu.tar.gz

http://aur.archlinux.org/packages/li/libxft-ubuntu/libxft-ubuntu.tar.gz

http://aur.archlinux.org/packages/ca/cairo-ubuntu/cairo-ubuntu.tar.gz

Manual install Ubuntu Fonts:

http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip

Manual install Windows Fonts:
Copy specific fonts from Windows XP/7 install

Extras:
pacman -S flashplugin wine wine_gecko winetricks zenity lib32-mpg123 gimp xscreensaver

Notes:
/etc/fuse.conf: mount_max = 1000 & user_allow_other
Add user, groups: disk lp wheel games dbus network video audio optical floppy storage power users
Logout, login new user
Edit .xinitrc file: exec ck-launch-session dbus-launch startxfce4

Keyboard Application Shortcuts:
AudioMute -> amixer set Master toggle
AudioLowerVolume -> amixer set PCM playback 5%-
AudioRaiseVolume -> amixer set PCM playback 5%+

Wine Registry:
Settings are for playing Rift Only!
HKEYCU -> Software -> Wine -> Direct3D
:: DirectDrawRenderer: opengl
:: Multisampling: enabled
:: OffscreenRenderingMode: fbo
:: UseGLSL: enabled
:: VertexShaderMode: hardware
:: VideoMemorySize: 1024
:: StrictDrawOrdering: enabled
:: VideoPciDeviceID: (DWORD Hex) e22
:: VideoPciVendorID: (DWORD Hex) 10de

Wine Settings:
Emulate a virtal desktop
Desktop size: 1680×1050

Overrides:
*msvcr90 (native)
d3dx9_43 (builtin, native)

Installing Progress 9.1E on CentOS 5.2

We are testing moving our primary application from an AIX Power platform to the Intel x64 platform. Currently we have a Progress 9.1E running on AIX 5.2 and want to run it on Linux, as the higher-ups’ don’t want to continue support for the Power platform which is sad because AIX is actually pretty nice. Progress only supports running 9.1E on RedHat Enterprise Linux AS2.1, 3.0, 4.0, SuSE Enterprise Server 8, 9, and TurboLinux Server 8 so they do not support this configuration.

As I help get this all setup, I’m going to try and post as many details as I can here to possibly help others.

CHMOD Helper

Sometimes you need a quick visual example of things to keep moving, sometimes it’s an example of a ‘chmod’ value.

Found this quick and dirty little script: http://www.weijers.net/unix/chmod.php