Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Questions about installing Xorg.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
LegionOfHell
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2019
Posts: 86
Location: Toronto, Canada

PostPosted: Tue Apr 02, 2019 4:05 am    Post subject: Questions about installing Xorg. Reply with quote

(1) In order to reconfigure the kernel for XORG's installation I should run:

cd /usr/src/linux
make menuconfig

<make the necessary changes and save> and then :

make
make module_install
make install

correct ?

(2) When setting the VIDEO_CARDS variable in /etc/portage/make.conf

What should I enter for Intel HD Graphics 400 ? (My guess is "intel i965")
What should I enter for Intel HD Graphics 4600 ? (My guess is "intel i965")

(3) What should I do before installing XORG when running Gentoo on virtualbox ?

Many Thanks
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2574

PostPosted: Tue Apr 02, 2019 6:19 am    Post subject: Reply with quote

First, on virtualbox your guest will not see the native hardware, so adding those lines to make.conf is pointless and harmless (although you would be correct for the native hardware). I believe your hardware should be "virtualbox" and do ensure INPUT_DEVICES="evdev" is present as well.

You also want to make sure you install app-emulation/virtualbox-guest-additions and add your user to the vboxusers group (gpasswd -a <user> vboxusers)

You may wish to read This.

And don't worry too much here. Worst case, you will need to force a shutdown because you can't interact with the machine. Not a big deal. Your most likely failure state will be an error stating it can't find screens. Using a VM to play means you can afford to learn from your mistakes ;)
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Tue Apr 02, 2019 8:34 am    Post subject: Reply with quote

LegionOfHell,

Virtualbox fakes a whole new PC for you using software.
Thats from the BIOS/EUFI on up.Sofware runnnig in this 'guest environment' has no idea what real hardware its running on.

When you run lspci in the guest and on the host, you will get tho different sets of hardware listed.
On the host, you see your real hardware.
In the guest, you see the hardware that Virtualbox is showing to guest operating systems. You even have some limited control over selecting this hardware from the menus in Virtualbox when wh.m you create a new virtual machine.

Don't mix up the two. Gentoo won't mind, you can't break anything. At worst you will need to reconfigure and rebuild bits of Gentoo.
Its important you tell us you are working in virtualbox when you post. Sometimes it changes the help you need.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
LegionOfHell
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2019
Posts: 86
Location: Toronto, Canada

PostPosted: Tue Apr 02, 2019 3:24 pm    Post subject: Reply with quote

what about (1) and (2) ? Am I correct there ?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Tue Apr 02, 2019 4:01 pm    Post subject: Reply with quote

LegionOfHell,

1. Mostly. Don't forget to mount /boot and remake grub.cfg if this is a new kernel version.

2. Don't guess. Your guess is not correct for the reasons outlined by The Doctor and myself.

Run lspci in your guest VM. What does it say about VGA ?
Look at the output of
Code:
emerge -pv xorg-drivers

It will show you a list of VIDEO_CARDS=

Set your video card from that list in make.conf.
Hint, it will have nothing to do with your real host video card.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7089
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 02, 2019 4:15 pm    Post subject: Reply with quote

'make module_install' is not a valid target, use 'make help' to see available targets.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
LegionOfHell
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2019
Posts: 86
Location: Toronto, Canada

PostPosted: Wed Apr 03, 2019 7:09 pm    Post subject: Reply with quote

"virtualbox" is the correct option
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43178
Location: 56N 3W

PostPosted: Wed Apr 03, 2019 8:34 pm    Post subject: Reply with quote

LegionOfHell,

Correct, does it work now?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Page 1 of 1

 
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