Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Beginner's Installation (I changed the title)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 771
Location: over here

PostPosted: Wed Oct 30, 2013 10:27 am    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Wed Oct 30, 2013 1:40 pm    Post subject: Reply with quote

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
Code:
virtualbox
? 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
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2569

PostPosted: Wed Oct 30, 2013 4:23 pm    Post subject: Reply with quote

There are layers of graphic presentation on Linux. Well, on anything actually.


  1. You have your video card, which is hardware.
  2. You have your kernel, which is a common API over the hardware.
  3. 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.
  4. You have xorg clients, which would be firefox and xterm and anything else that can make a window.
  5. You have xorg server, which is something that runs on your workstation and can take instructions from the client to draw things like windows.
  6. You have a window manager, which actually draws the windows. Each window manager has different features and handles things a bit differently.
  7. 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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Wed Oct 30, 2013 5:38 pm    Post subject: Reply with quote

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
Code:
virtualbox
? 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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Wed Oct 30, 2013 6:09 pm    Post subject: Reply with quote

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:
  1. Code:
    lspci
    in virtualbox
  2. Code:
    lspci
    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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Wed Oct 30, 2013 6:15 pm    Post subject: Reply with quote

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:
  1. Code:
    lspci
    in virtualbox
  2. Code:
    lspci
    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
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed Oct 30, 2013 6:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Wed Oct 30, 2013 6:27 pm    Post subject: Reply with quote

in the virtual machine:
Code:
emerge pciutils


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.
_________________
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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 2:58 am    Post subject: Reply with quote

eyoung100 wrote:
in the virtual machine:
Code:
emerge pciutils


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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Oct 31, 2013 3:06 am    Post subject: Reply with quote

There is but my approach is a bit extreme...

Google "Linux From Scratch"
_________________
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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 3:10 am    Post subject: Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Oct 31, 2013 3:12 am    Post subject: Reply with quote

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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Oct 31, 2013 3:13 am    Post subject: Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Oct 31, 2013 3:15 am    Post subject: Reply with quote

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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 3:22 am    Post subject: Reply with quote

What does this mean? I supposed Warning is bad...
http://s7.postimg.org/4e3l15pp6/scared.jpg
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Oct 31, 2013 3:48 am    Post subject: Reply with quote

Code:
cat /etc/fstab

_________________
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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 3:52 am    Post subject: Reply with quote

eyoung100 wrote:
Code:
cat /etc/fstab

http://s23.postimg.org/r3gsmye96/what.jpg
What?
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Oct 31, 2013 3:56 am    Post subject: Reply with quote

Since /etc/fstab is set you needn't worry about the warning
_________________
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
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 3:56 am    Post subject: Reply with quote

eyoung100 wrote:
Since /etc/fstab is set you needn't worry about the warning

k :D ty!
Back to top
View user's profile Send private message
gogobebe2
Tux's lil' helper
Tux's lil' helper


Joined: 09 Oct 2013
Posts: 104

PostPosted: Thu Oct 31, 2013 4:04 am    Post subject: Reply with quote

I went to that site Gentoo Guest Os in VirtualBox: http://blog.jolexa.net/2008/07/howto-gentoo-guest-os-in-virtualbox/
and there is no Enable Tickless...or any of it.
http://s13.postimg.org/l23utdt2u/not_there.jpg
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1248
Location: 42.68n 85.41w

PostPosted: Thu Oct 31, 2013 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2551
Location: Here and Away Again

PostPosted: Thu Oct 31, 2013 10:14 am    Post subject: Reply with quote

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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 771
Location: over here

PostPosted: Thu Oct 31, 2013 3:58 pm    Post subject: Reply with quote

gogobebe2 wrote:
eyoung100 wrote:
in the virtual machine:
Code:
emerge pciutils


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
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Thu Oct 31, 2013 4:29 pm    Post subject: Reply with quote

That site belongs to Pappy, who is still a current member. Start at page 1 of this post... About page 3, you'll run into him
_________________
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
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 771
Location: over here

PostPosted: Thu Oct 31, 2013 5:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11, 12  Next
Page 9 of 12

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum