View previous topic :: View next topic |
Author |
Message |
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Wed Oct 30, 2013 10:27 am Post subject: |
|
|
gogobebe2 wrote: |
Are Window Managers just for testing and debugging? Or do I need a environment? |
No. All the Desktop Environments sit on top of a window manager anyway, kde is kwin for example.
Lot's of people just use a window manager. I have done myself. If you just install a window manager and load it, you'll just get a blank screen, a pointer and if you're lucky a right click menu. They don't come with an application suite, a panel, wallpapers or anything else. You have to choose and set all of those up yourself.
For example I used to use the wm called compiz-fusion which does all manner of fancy effects, I added the panel from lxde, cairo-dock and a conky and that was it. Very very fast on a low end machine. Got over that phase though. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Wed Oct 30, 2013 1:40 pm Post subject: |
|
|
gogobebe2 wrote: | NeddySeagoon wrote: |
As you are in Virtual Box, specal kernel settings are not required. Your Gentoo cannot see your real hardware, only the virtual hardware provided by the virtual box software. To demonstrate, run lspci inside and outside of Virtual Box.. |
I am up to the bit where I have to add a driver to the make.conf. Do I do ? Lol just guessing...
And I added udev like thois to the USE flag variable:
Code: | USE="udev bindlist mmx sse sse2" |
|
Code: | emerge -av xorg-drivers |
You will see VIDEO_CARDS and INPUT_DEVICES. Input Devices should be evdev and video cards should be virtualbox _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
1clue Advocate
Joined: 05 Feb 2006 Posts: 2569
|
Posted: Wed Oct 30, 2013 4:23 pm Post subject: |
|
|
There are layers of graphic presentation on Linux. Well, on anything actually.
- You have your video card, which is hardware.
- You have your kernel, which is a common API over the hardware.
- You have a video driver, which is software. It is used by your kernel and runs at kernel level. Arguably it's the kernel, but not really. For example you can use a free driver or a vendor driver, they don't have to be compiled together.
- You have xorg clients, which would be firefox and xterm and anything else that can make a window.
- You have xorg server, which is something that runs on your workstation and can take instructions from the client to draw things like windows.
- You have a window manager, which actually draws the windows. Each window manager has different features and handles things a bit differently.
- You MAY have a desktop environment, which is a collection of tools like file browsers, menu bars, toolbars, etc which give you what you need to do work.
Those of us who have been around that long remember each of these things as they came to be on Linux. Well, all the software components. They don't necessarily need to be used in conjunction with one another. Some things are obviously critical, like the driver and the kernel. But you can have Xorg without any of the extras mentioned below it. It's not really useful, but you can do it. You can have a window manager without a desktop though, and a lot of people still find that a very useful setup especially with low speed systems or with networked windowing.
Try blackbox out. It's a window manager from before desktop environments were common but recent enough that it was just about zero configuration, so it's a quick example. I started with FVWM when I finally started using X. That has a huge amount of control, but you have to work hard to get it. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Wed Oct 30, 2013 5:38 pm Post subject: |
|
|
eyoung100 wrote: | gogobebe2 wrote: | NeddySeagoon wrote: |
As you are in Virtual Box, specal kernel settings are not required. Your Gentoo cannot see your real hardware, only the virtual hardware provided by the virtual box software. To demonstrate, run lspci inside and outside of Virtual Box.. |
I am up to the bit where I have to add a driver to the make.conf. Do I do ? Lol just guessing...
And I added udev like thois to the USE flag variable:
Code: | USE="udev bindlist mmx sse sse2" |
|
Code: | emerge -av xorg-drivers |
You will see VIDEO_CARDS and INPUT_DEVICES. Input Devices should be evdev and video cards should be virtualbox |
Ok I've done the make.conf:
Code: | USE="udev bindist mmx sse sse2"
VIDEO_CARDS="virtualbox"
INPUT_DEVICES="evdev" |
Does that mean I have to go back to the genkernel config and turn off the nvida driver? |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Wed Oct 30, 2013 6:09 pm Post subject: |
|
|
If the nvidia fb is compiled as a module(<M>) no, because the module doesn't get loaded. If you compiled it statically(*) yes
To see why:
in virtualbox in your terminal on your linux
I can guarantee that if I run lspci in my virtualbox it will match the lspci you have in your virtualbox. In short, don't get your host's hardware mixed up with your guest's hardware. _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Wed Oct 30, 2013 6:15 pm Post subject: |
|
|
eyoung100 wrote: | If the nvidia fb is compiled as a module(<M>) no, because the module doesn't get loaded. If you compiled it statically(*) yes
To see why:
- in virtualbox in your terminal on your linux
I can guarantee that if I run lspci in my virtualbox it will match the lspci you have in your virtualbox. In short, don't get your host's hardware mixed up with your guest's hardware. |
So is that good?
http://s24.postimg.org/e6j29z3w4/so_is_that_good.jpg
Also lspci is not working... but it works in the debian terminal. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Wed Oct 30, 2013 6:18 pm Post subject: |
|
|
lspci is part of sys-apps/pciutils. Just emerge that and you'll have it.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Thu Oct 31, 2013 2:58 am Post subject: |
|
|
eyoung100 wrote: | in the virtual machine:
Make your kernel config match this one:
Howto: Gentoo Guest OS in VirtualBox. Even though the kernel is 2.6 the options are still valid because Virtualbox hasn't changed. |
I also want to learn... is there a site that guides you on what everything does and what each selection is for? Thanks! |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Thu Oct 31, 2013 3:10 am Post subject: |
|
|
eyoung100 wrote: | There is but my approach is a bit extreme...
Google "Linux From Scratch" |
What is it?
http://www.linuxfromscratch.org/index.html
is that it?
Can't find anything on kernels in there... |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 31, 2013 3:12 am Post subject: |
|
|
gentoo default $PATH's are psychotic, thats why its not working......
Code: |
mkultra [ ~ ]$ lspci
bash: lspci: command not found
mkultra [ ~ ]$ /usr/sbin/lspci
00:00.0 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
.........
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
mkultra [ ~ ]$ sudo lspci
00:00.0 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
........
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
root [ ~ ]# lspci
00:00.0 RAM memory: NVIDIA Corporation C51 Host Bridge (rev a2)
...........
07:05.3 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 05)
|
$PATH determines what is ran just by typing in terminal the command name. debians $PATH is fine for lspci being ran as a user, gentoo you need to be logged in as root for lspci to be in your path.
& http://www.linuxfromscratch.org/lfs/view/stable/ to be exact
Last edited by 666threesixes666 on Thu Oct 31, 2013 3:13 am; edited 1 time in total |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Thu Oct 31, 2013 3:13 am Post subject: |
|
|
gogobebe2 wrote: | eyoung100 wrote: | There is but my approach is a bit extreme...
Google "Linux From Scratch" |
What is it?
http://www.linuxfromscratch.org/index.html
is that it?
Can't find anything on kernels in there... |
There is nothing on kernels , instead there is a book that teaches you what and how linux is and works. Imagine Gentoo with no emerge _________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 31, 2013 3:15 am Post subject: |
|
|
yeah, start another virtual machine and hash out linux from scratch on it.... you'll be a pro at compiling after it. |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
Posted: Thu Oct 31, 2013 3:56 am Post subject: |
|
|
eyoung100 wrote: | Since /etc/fstab is set you needn't worry about the warning |
k ty! |
|
Back to top |
|
|
gogobebe2 Tux's lil' helper
Joined: 09 Oct 2013 Posts: 104
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 31, 2013 6:06 am Post subject: |
|
|
that stuffs changed recently, sounds like you want a screaming game server with real time support, dynamic tick support, & kernel preemption? that stuffs changed around in the last 3 years so expect it to be hard to find unless you know its exact module names, or dig through the entire kernel. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2575 Location: Here and Away Again
|
Posted: Thu Oct 31, 2013 10:14 am Post subject: |
|
|
Teegrins, gogobebe2!
Not sure if anyone has mentioned it yet, or if you've discovered it already, but you can search within menuconfig by utilizing the / key. Do that, and type in no_hz for example, confirm the query, and you'll find it's under General setup -> Timer subsystem*, as well as some additional information.
The High Resolution Timer Support for example, which I see is also mentioned in that guide, is located in the same place.
(*The location is accurate for 3.9.11-ck sources; things change all the time, as mentioned above, so it may or may not be entirely accurate 3.10.7-gentoo-r1. I hope this will be helpful in any case.)
Welcome to Gentoo from me, too!
May thou enjoy thy visit. _________________ Kindest of regardses. |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Thu Oct 31, 2013 3:58 pm Post subject: |
|
|
gogobebe2 wrote: | eyoung100 wrote: | in the virtual machine:
Make your kernel config match this one:
Howto: Gentoo Guest OS in VirtualBox. Even though the kernel is 2.6 the options are still valid because Virtualbox hasn't changed. |
I also want to learn... is there a site that guides you on what everything does and what each selection is for? Thanks! |
If you press the / key in menuconfig there's a desription for most of the options in there.
I found the following link very helpful when I was first dabbling with custom kernels. I believe the guy who wrote it is a forum memeber. Credit to him, I've never found so much info anywhere else on the web.
http://kernel-seeds.org/settings/3.2.x/settings-01.html |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
Posted: Thu Oct 31, 2013 5:01 pm Post subject: |
|
|
that's why I said Quote: | I believe the guy who wrote it is a forum memeber. |
Just wasn't sure where I'd read any of his posts. I did recently, when I'm googling things I often come across old threads |
|
Back to top |
|
|
|