NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › BT's BIG Gentoo Project.
New Posts  All Forums:Forum Nav:

BT's BIG Gentoo Project. - Page 7

post #121 of 168
I've recently installed Gentoo on my machine. However, I'm having issues with my sound and graphics acceleration. My alsa doesnt recognize my i9300's nickel-sized subwoofer. My gpu gets nigh 7000FPS on glxgears and still my DVDs and videos have 'stutter' or 'slowdown' effect.

What the hell is going on?
post #122 of 168
Quote:
Originally Posted by bigtrouble77
Thanks.

Here's my roadmap:

1- Get Gentoo stable and 100% functional on my Desktop for normal tasks. [completed]
2- Get Gentoo installed and 100% functional on my Dual Opteron server. Need to have Mysql, Java, Tomcat and apache working plus my Java webapp. I also need to get my 3ware sata raid controller working. [just started the install today]
3- Get Gentoo stable and 100% functional on my Laptop for normal tasks. [haven't started]
4- Get Gentoo Desktop Install as a fully functioning media center (MythTV) [partially completed]
5- Complete laptop install- Get ardour working with my us-122 usb audio. Get all the bells and whistles going. [haven't started]

So I have a ton of work ahead. I'm basically changing all of my ubuntu installs to gentoo. I think in the long run it will be a huge benefit.

I'm just kinda using this thread as a blog covering my gentoo quest. Hopefully no one objects.


Here's a quicker way to install gentoo across multiple machines (as long as they are similar architectures, ie; x86 or x86_64) that works quite well. Stage4

I've used this on x86 machines quite a few times. I can have a working gentoo setup with kde/gnome/xfce or whatever inside of 40 minutes, bootloader and all.
Basically how it works is, backup a working setup (it creates a .tar or .bz2 file) burn that to cd or copy it to a usb drive. Boot up target machine with a regular gentoo cd, untar the stage 4 tar file, mount a few things, change some settings and reboot to a working gentoo box. Much faster than doing it manually. My Athlon64 3000 takes about 7.5-8.0 hours to compile gentoo from scratch, so 40 minutes is a lot better.
post #123 of 168
Thread Starter 
Quote:
Originally Posted by SSJiffy
I've recently installed Gentoo on my machine. However, I'm having issues with my sound and graphics acceleration. My alsa doesnt recognize my i9300's nickel-sized subwoofer. My gpu gets nigh 7000FPS on glxgears and still my DVDs and videos have 'stutter' or 'slowdown' effect.

What the hell is going on?
Well, ALSA can be very difficult if your audio card is not detected properly. What you normally have to do is find what kernel module your audio requires. The best thing I can say is to go here:
http://www.alsa-project.org/

If you find your card then you should be able to find the module that you need to enable in the kernel. You then need to recompile the kernel. Fortunately, if you're using gentoo then that process should be pretty easy.
Then you just have to load the module on boot. Once that process is done you have to edit the alsa.conf (I think that's what it's called) with your card's info.

If you need help just let me know where you're stuck and I can walk you through. Seablade here is a wiz with the audio stuff so he might be able to give you some suggestions. Now, it sounds like the card may be working, but your surround isn't... is that the issue?

As for the video card, I've had terrible luck with ATI. I get poor performance even with the newest drivers. Nvidia, on the other hand, is quite good. So if you're using ati then I'm afraid to say that you're not gonna get great performance. I successfully emerged the nvidia drivers and installed them from the installer file from nvidia.com, so either one should be sufficient.

Finally, the stuttering maybe because you didn't enable dma in the kernel. Your overlay settings also may be wrong in the xorg.conf. There's actually quite a few things that could be going wrong.
post #124 of 168
Thread Starter 
Quote:
Originally Posted by dadams1969
Here's a quicker way to install gentoo across multiple machines (as long as they are similar architectures, ie; x86 or x86_64) that works quite well. Stage4

I've used this on x86 machines quite a few times. I can have a working gentoo setup with kde/gnome/xfce or whatever inside of 40 minutes, bootloader and all.
Basically how it works is, backup a working setup (it creates a .tar or .bz2 file) burn that to cd or copy it to a usb drive. Boot up target machine with a regular gentoo cd, untar the stage 4 tar file, mount a few things, change some settings and reboot to a working gentoo box. Much faster than doing it manually. My Athlon64 3000 takes about 7.5-8.0 hours to compile gentoo from scratch, so 40 minutes is a lot better.
I'll look into that, thanks. I have to finish my laptop so this may be a good oppotunity to try this. I've only started from stage3 and compile times are not bad at all. The problem is going through all the config files.

The only thing that really takes a long time to emerge is gnome. I just emerged firefox on my opteron server and it only took about 10 minutes. My opteron server I'm working on (only my 2nd gentoo install) took me about 2 days of solid work to get gnome and most of the basic stuff installed. It took about another week to get all of my server services running for my webapp and security related services going. The only thing I have left to do really is configure a bunch of cron jobs.

Even though the install is a beast (taking about 3 days as opposed to 3 hours for most distros) I'm flying through everything else, which normally takes forever to get working on other distros.
post #125 of 168
Quote:
Originally Posted by SSJiffy
I've recently installed Gentoo on my machine. However, I'm having issues with my sound and graphics acceleration. My alsa doesnt recognize my i9300's nickel-sized subwoofer. My gpu gets nigh 7000FPS on glxgears and still my DVDs and videos have 'stutter' or 'slowdown' effect.

What the hell is going on?
Well as BT surmized your audio card seems to be working, but the subwoofer may be throwing ALSA for a loop. Mind posting up what driver your card is using, I will see if I can find out anything about it when I get a chance. Also post up the exact chipset for oyur card if you can?

In as far as your DVDs, that actually sounds like it has nothing to do with your video card. That sounds like you dont have DMA turned on to your DVD Rom. Can you confirm it doesnt happen with videos on your HD? For info on how to turn on DMA and other nice tweaks for video see Xine's FAQ I believe it is.

Seablade
post #126 of 168
Thread Starter 
Quote:
Originally Posted by seablade
In as far as your DVDs, that actually sounds like it has nothing to do with your video card.
I actually once had stuttering dvd issues because opengl overlay was enabled in the xorg.conf. Once I turned it off things were smooth again. But 90% of the time it's dma related.
post #127 of 168
Thread Starter 
Well, it's been a while so I guess it's update time again...

I stopped working on my desktop gentoo machine to begin work on my server. I've been plagued with problems with this server for months. I've tried get Fedora, SuSe, Debian and Ubuntu running on this machine with no success. If one thing works on one distro, then it doesn't on another. Long story short I ultimately get everything working with gentoo.

Here's what I needed to get running:

1. Java Webapp- Apache2/Mysql4.1/SunJDK1.5/Tomcat5
In addition I needed mysql admin and mysqlcc working.

2. Raid Controller- I have a 3ware 9550sx raid controller. I have a total of 8 300gb sata2 drives (over 2tb), configured as raid5 with one hotswap. Needed to get kernel module working and web daemon for management.

3. Pearl scripts- Needed to import my pearl scripts and schedule them to run at various intervals via cron to process pdf documents.

4. Implement ssh/scp, vnc server. Need to securely transfer large amounts of data over the network and internet.

5. Compile kernel for smp support.

6. Enable NPTL for better java performance.

7. Develop scheduled backup system (cron with tar and rsync)

8. System for monitoring logs. Integrating (html) log outputs into my webapp via eframes. (almost done)

9. Do all of this on a 64bit distro

So i'm virtually done after about 2 weeks of 14 hour days, 7 days a week. The only thing I really have to worry about is closing any security holes (some services are still running as root).

The whole point of jumping into Gentoo was to get this server running and I can finally safely say, Mission Accomplished!

I should probably make this topic a little more relavent and get Gentoo going on my laptop.
post #128 of 168
Good work, BT!

I would be very interested to hear how the RAID controller plays out in the long run. From the research I've done, I have not heard much good about 3Ware & Linux... but thats another topic.

Mikhail
post #129 of 168
Hmm I hadnt heard that one Markin, I had heard nice awful things about certain promise controllers though

Seablade
post #130 of 168
Oh yeah, most definitely.
post #131 of 168
Thread Starter 
Those Promise and Highpoint integrated controllers are essentially software raids. The only advantage they offer is that you can manage them through a bios (extremely useful for windows, but useless for linux as you can configure a software raid during the install process).

3ware is the ONLY hardware raid controller for linux. Now that's an exageration, but it's mostly true. The 3ware controllers, especially the one I got, are supported phenominally in linux. Unfortunately, it was such a pain in the ass getting it to work.

Knowing what I know now I could go back to the other distros and probably get it working, but the reason I have this knowlege is because Gentoo requires you to understand the system's inner workings. SuSe and Fedora just confounded everything with their non-standardness (i know it's not a word).

I spoke to several people that only administer linux systems and they all agreed that 3ware is the only way to go in linux. I'll let you guys know how it all works out. I'm still learning the management utility.
post #132 of 168
Wow, very interesting. I was under the impression that Intel cards were good. (And yes, I'm talking about HW RAID.)
post #133 of 168
Thread Starter 
Quote:
Originally Posted by mmarkin
Wow, very interesting. I was under the impression that Intel cards were good. (And yes, I'm talking about HW RAID.)
I didn't look into the Intel ones mainly because I'm using opterons. I didn't want to risk stability/compatibility. I've had Intel wifi cards in the past that were not compatible with amd processors so i'm wary of repeating a problem like that.
post #134 of 168
Thread Starter 
Quote:
Originally Posted by dadams1969
Here's a quicker way to install gentoo across multiple machines (as long as they are similar architectures, ie; x86 or x86_64) that works quite well. Stage4
I just tried this out tonight. I think this is gonna be my main backup script. I looked into about 5 different typse of scripts and liked this one the most by far. Seems to work really well. I just need to scrape up another harddrive to test the restore. Thanks for the link!

-BT
post #135 of 168
Thread Starter 
I've got my web app running 100% on the Gentoo server now. I'm starting to integrate the server management utilities and system logs into the site framework. Thought this was kinda neat, I have the 3ware raid controller management utility running inside my site framework now. Here's a screenshot: (I purposely degraded the array, so disregard that error)


I'm not sure I'm gonna keep this in as it may pose a security risk (I don't want a hacker destroying my raid if he hacks my account). Also, the only reason i'm running windows is for testing purposes...

This Gentoo server serves pages sooooo much faster than my dual core laptop in windows. I feel like I'm working in slow motion when I have to access pages that aren't cached on the windows machine.
post #136 of 168
Hmm, this has been an interesting thread to read so far BT. I was going to stick some kind of linux distro on my laptop this summer (ASUS z71v), and was most likely going to go Ubuntu first, then either Debian or Gentoo when I get the basics of linux down (leaning towards Gentoo b/c of this thread). I don't really expect everything to work out of the box, but I gotta take an smaller step into linux first, thus the ubuntu.

Of course I will still need dual boot with XP Pro because unfortunately, windows is the king of games
post #137 of 168
dragun, you shold go with k/ubuntu in april when the next version, dapper, is released. There is really little risk in trying linux out so if it doesnt work you arent going to lose a whole lot. installation of ubuntu should only take an hour or two, and it should work pretty much perfect out of the box on a z71v. Installation is really easy, you just need to read up a little on what kind of partitions you need to make before you install it.
post #138 of 168
I should step in to make a small comment here. One of the benefits of Gentoo is that there is really no notion of distro releases that you have to upgrade or reinstall. Your installation is ever-evolving on a per-package basis (occasionally you have to jump to a new system "profile", but that just involves changing a symlink). You can always get the latest version of whatever app (stable or otherwise). I am running a Gentoo install that originally started as Gentoo 1.4 in December 2003; my system is perfectly up-to-date!
post #139 of 168
Thread Starter 
Quote:
Originally Posted by pyro_dragun
Hmm, this has been an interesting thread to read so far BT. I was going to stick some kind of linux distro on my laptop this summer (ASUS z71v), and was most likely going to go Ubuntu first, then either Debian or Gentoo when I get the basics of linux down (leaning towards Gentoo b/c of this thread). I don't really expect everything to work out of the box, but I gotta take an smaller step into linux first, thus the ubuntu.

Of course I will still need dual boot with XP Pro because unfortunately, windows is the king of games
Happy the thread was of some interest. I've only been using linux seriously since this past september, so i'ts been crash course learning experience for me for the past several months. The thing is, I have to administrate a critical server. Therefore I have to not only build the system, but also know how to restore it from reliable backups if it goes down. To be able to do these things you have to be able to work with linux at a much lower level.

For instance, prior to using Gentoo I never knew how to restore grub if a reinstall of a windows partition blew it off the mbr. Now I I realize it's a piece of cake, you just chroot into you linux install and reinstall grub. Problem is with distros like fedora and ubuntu you never experience manually partitioning your drives and installing grub so you really wouldn't know how to fix that issue.

The reason I'm bringing this stuff up is because I would have saved soooo much time had I gone with gentoo from the start. There were some really fundimental concepts I didn't learn because I started off with Ubuntu. Even though I got Ubuntu working well quickly, when things went wrong I had no idea why they happened or how to fix them. Gentoo is an absolute bitch to get installed (process takes a few days to get a gui working like a vanilla windows xp install), but once it's working it's fast, highly optimized and, like mmarkin noted, perpetually upgradable. And also, I don't know of any other distro that supports 64bit better.

So it's probably good to start with ubuntu to get your feet wet. If you like the environment and want to function better in it i'd look to install gentoo asap. The knowlege you gain is invaluable.
post #140 of 168
Quote:
Originally Posted by bigtrouble77
Happy the thread was of some interest. I've only been using linux seriously since this past september, so i'ts been crash course learning experience for me for the past several months. The thing is, I have to administrate a critical server. Therefore I have to not only build the system, but also know how to restore it from reliable backups if it goes down. To be able to do these things you have to be able to work with linux at a much lower level.

For instance, prior to using Gentoo I never knew how to restore grub if a reinstall of a windows partition blew it off the mbr. Now I I realize it's a piece of cake, you just chroot into you linux install and reinstall grub. Problem is with distros like fedora and ubuntu you never experience manually partitioning your drives and installing grub so you really wouldn't know how to fix that issue.

The reason I'm bringing this stuff up is because I would have saved soooo much time had I gone with gentoo from the start. There were some really fundimental concepts I didn't learn because I started off with Ubuntu. Even though I got Ubuntu working well quickly, when things went wrong I had no idea why they happened or how to fix them. Gentoo is an absolute bitch to get installed (process takes a few days to get a gui working like a vanilla windows xp install), but once it's working it's fast, highly optimized and, like mmarkin noted, perpetually upgradable. And also, I don't know of any other distro that supports 64bit better.

So it's probably good to start with ubuntu to get your feet wet. If you like the environment and want to function better in it i'd look to install gentoo asap. The knowlege you gain is invaluable.
I first tried Mandrake, then something else I dont remember, neither of which quite seemed to want to work for me (I'm sure it was user error, but still) I seemed to never be able to get the gui tools to work right, and had NO idea what to do when they failed, and I kept reading that Slackware was only for those who had a strong desire to REALLY learn linux, and didn't mind working for it. So I took the plunge, and kinda like your experience with Gentoo, I wish I'd have just started there, I learned a LOT just getting it set up/configured. I wish I'd stayed with it, I've forgotten a TON of what I learned, but I really think the "hard" distros are the way to go if you're committed to learning, Slackware, Gentoo, or LFS. I feel like I wasted the time I struggled with the first two distros.

I'm getting back into it now, Slackware; Gentoo and possibly LFS are on the "to do someday" list.

I am also enjoying this thread. Thanks for making it.
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 › BT's BIG Gentoo Project.