LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-21-2011, 01:13 PM   #1
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Rep: Reputation: 0
Use X Window System on LiveCD with Integrated Graphics


Hey guys,
I recently built a machine that runs an Intel Core i3-2100. The processor has integrated graphics, and I was wondering how I could use the X Window System that's on the LiveCD with my computer?

Before, on my computer that had a dedicated video card, I could just run "startx" and it would start up. But now, if I do that, I just get a black screen that I can't exit out of.

Does anyone have any experience with modifying the X configuration files to work with an Intel processor that has integrated graphics?
 
Old 05-21-2011, 01:19 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
Your post lacks essential information. Which live-CD do you use in which version?
 
Old 05-21-2011, 01:29 PM   #3
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
I'm using the LFS LiveCD 6.3, the most recent one. I'm attempting to build LFS 6.8, but that's not relevant, since I haven't done anything yet that is specific to this version of the book.
 
Old 05-21-2011, 02:36 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

Have you tried what is mentioned in the LFS LiveCD Documentation (the CONFIGURING X and/or PROPRIETARY VIDEO DRIVERS sections).

Hope this helps.
 
Old 05-21-2011, 04:50 PM   #5
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for answering, Druuna. I've check out that section, but they only give a couple of examples (for NVidia graphics and Fglrx graphics). After checking out the /drivers directory, there are indeed only NVidia and Fglrx files.
Do I have to download a specific Intel driver? I've tried just replacing 'vesa' in xorg.conf with 'intel', but that just made it crash.
 
Old 05-22-2011, 05:25 AM   #6
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

The vesa driver that is used as default by the LFS liveCD should work, it is the most generic driver available.

We need to know which errors are shown to tackle this problem. Have a look at /var/log/Xorg.0.log and the output that is send to the screen.

You mention not being able to exit the black screen; Did you try ctrl-alt-backspace? If that does not work try ctrl-alt-F2 to switch to a different terminal. From there you can access /var/log and possibly kill the startx process.

Hope this helps.
 
Old 05-22-2011, 07:25 AM   #7
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Once again druuna, thanks for answering. To answer your questions, no, once I start 'startx', I am not able to start a new terminal. I've checked, and I can do this at other times. Ctrl-Alt-Back didn't work either.
After rebooting, I decided to look in /var/log to see if there were any logs, but there were no logs pertaining to Xorg. Are these deleted on reboot or do I have a real problem here?
 
Old 05-22-2011, 07:28 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
Quote:
Originally Posted by boopyman View Post
After rebooting, I decided to look in /var/log to see if there were any logs, but there were no logs pertaining to Xorg. Are these deleted on reboot or do I have a real problem here?
CDs are read only. So your logs can't be saved.
 
Old 05-22-2011, 07:51 AM   #9
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Ah, great point. So, if I can't access the logs before rebooting, there's no way to know what's going on? Before the screen goes black, I've noticed that a couple of lines appear quickly saying where the log file should be and where the configuration files is, that's all.
 
Old 05-22-2011, 07:59 AM   #10
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by boopyman View Post
To answer your questions, no, once I start 'startx', I am not able to start a new terminal. I've checked, and I can do this at other times. Ctrl-Alt-Back didn't work either.
This makes resolving your problem a lot harder. It seems that your integrated intel graphics isn't supported in this setup.

What does the following command show:
Code:
lspci -vvs $(lspci | awk '/VGA/ { print $1 }')
There has been another thread that dealt with intel i915 graphics and problems that arose (don't think that it was solved).

I could mention that building LFS does not need a graphical environment (CLI is all you need), but I'm not sure if you will be able to build a fully working X (that is done in BLFS and not in LFS, not sure if you want to do that).

Quote:
After rebooting, I decided to look in /var/log to see if there were any logs, but there were no logs pertaining to Xorg. Are these deleted on reboot or do I have a real problem here?
As already mentioned by TobiSGD; The logs aren't saved. They are created, but if you aren't able to switch to another terminal you cannot access them.

Hope this helps.
 
Old 05-22-2011, 08:00 AM   #11
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
There is a SSH-server on the live-CD. If you have another machine, you can try to start the SSh server, then startx, then SSH into that machine and copy over the logs.
 
Old 05-22-2011, 09:07 AM   #12
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Alright Druuna, that command outputs:

00:02:00 VGA compatible controller: Intel Corporation Unknown device 0182

[...]

About 10 lines of additional output, but I think what's above is all that matters; the fact that it knows the vendor name but doesn't recognize the device can't be good, right?

And yes, I am aware that I don't need to necessarily use the GUI to build LFS, but after having tried LFS (and gotten to the last step) several times, I've decided that copy-pasting could now be acceptable And, as you said, I eventually want to build a GUI system, so if my computer can't support X now, it obviously won't later.


Thanks for the suggestion TobiSGD, but for some reason, when I try to ssh into the machine, I get the connection was refused, immediately. Am I missing a setting here or something?
 
Old 05-22-2011, 09:12 AM   #13
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi boopyman I to had a problem with this graphics card as druuna said I never got to the bottom of it we spent alot of time on it still no joy. I am trying again see if things turn out diff DONT look like it will
 
Old 05-22-2011, 09:13 AM   #14
boopyman
LQ Newbie
 
Registered: May 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the heads up, I'm starting to think I might have to go for the dreaded Windows...
 
Old 05-22-2011, 09:58 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885Reputation: 4885
I just found out that the integrated graphics of your CPU is supported from driver version 2.14. I doubt that this rather new driver is integrated into the live-CD. You have to use the vesa-driver.

Going back to Windows because drivers for your new hardware aren't integrated into an old live-CD is rather poor reasoning in my eyes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 13.1 and core i3/i5 integrated graphics rwcooper Slackware 6 06-23-2010 12:57 PM
Integrated graphics help feklhr Linux - Newbie 9 04-19-2008 03:08 AM
Integrated graphics sufficient for MythTV? lagu2653 Linux - Hardware 1 10-26-2005 09:14 AM
getting graphics card to be used instead of integrated graphics Shaun32 Fedora - Installation 5 02-18-2005 03:33 PM
tv-out on nforce2 integrated graphics m_yates Linux - Newbie 0 08-04-2003 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 09:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration