Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X can't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 100
Location: Italy

PostPosted: Mon Sep 10, 2012 7:21 pm    Post subject: X can't start Reply with quote

Hello guys! This is my first time trying to install Gentoo and I totally fell in love with the distro. BUT there are a lot of things that I don't understand since I'm kinda new in the Linux environment.
I've installed Gentoo, configured the bootloader and so on... SUCCESS! I started downloading XFCE and X but I cannot make them start. I think that I configured my Kernel in the right way but the log says that X can't find the i915 module and that there are no screens.
I tried to mod the conf files but I can't find them in the standard paths.
I've got the HP Probook 4530s with hybrid graphics.

Thank you guys!
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2072

PostPosted: Mon Sep 10, 2012 8:27 pm    Post subject: Reply with quote

Hi & welcome to the forums :)

You did setup/emerge the correct drivers? For the Intel part, that would be x11-drivers/xf86-video-intel, for the other part of the hybrid, nvidia-drivers/xf86-video-nouveau or the ati-drivers/xf86-video-ati would be needed, depending on your hardware.

Can you tell, which graphicscard is active by default? Are all needed modules built and loaded?
_________________
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 100
Location: Italy

PostPosted: Mon Sep 10, 2012 9:27 pm    Post subject: Reply with quote

Thanks! I've built all the modules but I haven't emerged the Intel ones (i followed the default tutorial) and I've emerged radeon-ucode.
Since I'm a little bit confuse, could you tell me what radeon-ucode is? What's the difference between modules, drivers and firmware?
Thanks again!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Sep 10, 2012 9:41 pm    Post subject: Reply with quote

GSnake,

A module is like a plug in. Loading it provides certain functiononality to something.
Both the kernel and Xorg use modules.
In the case of the intel graphics driver for Xorg, it comes in two pieces. There is a kernel piece and an Xorg piece.
You need both pieces for the card to work in Xorg.

A driver is a piece of code that exposes some hardware to the kernel in a stanard way so that higher level code can work with it.
It provides only the hardware specific code.

Firmware is something loaded into a device to make it work because the designers decided to leave out the FLASH memory to store the something.
Its also very easy to update firmware provided in the way. What the firmware does varies from device to device. e.g. it could be code for an embedded microprocessor, or a state table for a state machine.

radeon-ucode is the code needed my Radeon grpahics card so that they can do 3D hardware graphics acceleration. Its the code that runs in the GPU.
You only need it if you have a radeon graphics card. The card will work without it but you won't get 3D hardware graphics acceleration.
dmesg will tell you if it was loaded or searched for but not found.

There is really no clear boundary around the terms module and driver.
_________________
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
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 100
Location: Italy

PostPosted: Tue Sep 11, 2012 8:57 am    Post subject: Reply with quote

Thank you very much!
So I should download the i915 modules for Xorg right?
Back to top
View user's profile Send private message
tetromino
Developer
Developer


Joined: 02 Dec 2003
Posts: 215

PostPosted: Tue Sep 11, 2012 9:12 am    Post subject: Reply with quote

GSnake wrote:
So I should download the i915 modules for Xorg right?

No, not download. i915 is the name of the kernel module for Intel graphics cards. You need to enable it in your kernel configuration, then recompile and install the kernel and modules, and reboot. See the "Intel settings" section in the Gentoo X server configuration guide for the kernel configuration you need. See the kernel upgrade guide for how to compile and install a kernel.
Back to top
View user's profile Send private message
GSnake
Tux's lil' helper
Tux's lil' helper


Joined: 10 Sep 2012
Posts: 100
Location: Italy

PostPosted: Tue Sep 11, 2012 10:06 am    Post subject: Reply with quote

I already did that yesterday but It still doesn't work. I use genkernel - - menuconfig all.

EDIT: SOLVED! I made both radeon and intel drivers default for the framebuffer! Now I've disabled the radeon one and everything works like a charm! Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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