LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 08-21-2015, 08:17 AM   #16
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097

Delete those. Modesetting driver should work for VirtualBox just fine, but you will get better support from the vboxvideo driver.
 
Old 08-21-2015, 08:28 AM   #17
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
As far as I know, there is no KMS driver for vbox anywhere in the kernel, and as such modesetting can't be utilized, only vesa.



I've written a script which installs vbox guest additions in LFS.

http://www.linuxfromscratch.org/~krejzi/buildvbox

It contains a systemd unit, but an lfs sysvinit compatible init script can be easily written. The script was written for 4.3.20 or something like that, but unless the guest additions iso layout changed, it should still work with 5.0 series.

It requires a kernel source (or a subset of it) for the currently running kernel in order to build and install the out-of-tree module.

Given all that, I prefer VMWare Player due to its OSS graphics stack. I like Qemu/virt-manager more, but it doesn't have a proper graphics stack yet and it doesn't emulate VMWare's SVGAII GPU properly (probably a seabios limitation).
 
Old 08-21-2015, 10:07 AM   #18
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Krejzi View Post
I don't suppose you created /usr/share/X11/xorg.conf.d/20-glamor.conf per:

http://www.linuxfromscratch.org/blfs...org-ati-driver

Given that you are using vbox, you don't need any of the drivers from the book.

vesa should be temporarily used and the binary vbox module should be installed as soon as permitted.
That's it!
You hit the nail on the head!

I messed up by creating that file. By creating that file I was telling X to use ATI.
I removed that file, and now it does not try to use ati.

It's still not working yet, but I'm one step closer.

Thanks!

As for the why I have all the other drivers; I want this system that I am building to replace my main linux system, and it needs to be able to run on whatever computer I put it on. But I don't want it to be wrongly assuming the wrong video card like it was, and you figured out my problem there.

Thanks!

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-21-2015, 10:16 AM   #19
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Krejzi View Post
As far as I know, there is no KMS driver for vbox anywhere in the kernel, and as such modesetting can't be utilized, only vesa.



I've written a script which installs vbox guest additions in LFS.

http://www.linuxfromscratch.org/~krejzi/buildvbox

It contains a systemd unit, but an lfs sysvinit compatible init script can be easily written. The script was written for 4.3.20 or something like that, but unless the guest additions iso layout changed, it should still work with 5.0 series.

It requires a kernel source (or a subset of it) for the currently running kernel in order to build and install the out-of-tree module.

Given all that, I prefer VMWare Player due to its OSS graphics stack. I like Qemu/virt-manager more, but it doesn't have a proper graphics stack yet and it doesn't emulate VMWare's SVGAII GPU properly (probably a seabios limitation).

Thanks, I changed it back to vesa.

I'll consider installing the vboxvideo or the complete guest additions. Though it should still work with vesa, but having the vbox installed would be useful.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 08-22-2015, 02:44 AM   #20
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
The included editions package is probably the most recommended. If you use sysvinit, use it, otherwise use Krezji's package.

Let me say this, I have had issues with the additions package from time to time.

Last edited by ReaperX7; 08-22-2015 at 02:47 AM.
 
Old 09-08-2015, 02:21 PM   #21
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
I can't even modprobe a video driver.
I just get
Code:
not found
Wayne Sallee
Wayne@WayneSallee.com
 
Old 09-08-2015, 05:06 PM   #22
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Which driver are you trying to use?
 
Old 09-08-2015, 05:27 PM   #23
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by ReaperX7 View Post
Which driver are you trying to use?
I was trying to modprobe vesa.
Then I tried others to see if I got the same error, and I did.
Then I was able to modprobe i915 without error, but it did not show up when doing a lsmod.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 09-08-2015, 10:21 PM   #24
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Did you build vboxvideo from the additions package?
 
Old 09-09-2015, 03:58 AM   #25
Krejzi
Member
 
Registered: Jan 2015
Posts: 215

Rep: Reputation: Disabled
There's no vesa module, it's a builtin driver. As ReaperX7 said, you need to build the vboxvideo driver before you can use vbox guest additions.
 
Old 09-09-2015, 08:25 AM   #26
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
I installed vbox guest additions, or at least mostly. :-)

Being a bit proprietary, it took a lot of hacking to get it to install as an install user. But X still would not start.
Then I uninstalled all of the vbox stuff.

It should be possible to run X inside Virtualbox without any vbox installations, with just very basic graphics.

If I have to, I'll just move it to a real computer. Eventually I plan to do that anyway.

I was trying to get wireless to work before moving it to a real computer, but I have not had any success in that.
The thread for wireless is http://www.linuxquestions.org/questi....php?p=5417980

Wayne Sallee
Wayne@WayneSallee.com
 
Old 09-09-2015, 09:18 AM   #27
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Unfortunately, most vbox stuff with not build as a build specific user and requires running as root to work correctly. You can blame Oracle for this. Unless your build user has all the necessary read/write permissions and root level resource access, the vbox additions might fail to work, and even then it's still unknown. I've built it with root always and it works.
 
Old 09-09-2015, 03:43 PM   #28
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Try installing guest additions, it should make a kernel driver.

https://www.virtualbox.org/manual/ch...46856128490560
 
Old 09-22-2015, 06:16 PM   #29
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Original Poster
Rep: Reputation: 17
I moved the system from virtualbox to a real computer.

I still can't get vesa to work.

Wayne Sallee
Wayne@WayneSallee.com
 
Old 09-22-2015, 08:54 PM   #30
Luridis
Member
 
Registered: Mar 2014
Location: Texas
Distribution: LFS 9.0 Custom, Merged Usr, Linux 4.19.x
Posts: 616

Rep: Reputation: 167Reputation: 167
Does the computer have a KMS driver?

Where you get into trouble, in my experience, is when you're trying to load competing systems. For instance: I have 2 kernel configs for VMware, one has NO DRI, or more specifically, anything not required by from the "gpu" tree of the kernel source. It does have video/simplefb vbe vesa, etc. The other config has the VMware DRI, vmfbwhatver and stuff from the GPU tree. For that one, the only thing selected from the video tree is the fbcon framework, which I believe is populated by the DRI fb driver when it's loaded.

Boot a LiveCD of some kind (with a desktop) on that computer and look at dmesg, should tell you what's driving the hardware.
 
  


Reply



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
[SOLVED] Installing nVidia drivers with Optimus support, startx gives error "no screens found" flokofcgulls Slackware 8 06-04-2013 08:05 PM
Fedora 11 automatic install has left startx with "no screens found" hectordavie Linux - Newbie 3 06-23-2009 02:53 PM
startx "no screens found" Perdix Linux - Hardware 1 03-26-2007 10:43 AM
"No Screens" Found during startx... khermans Linux - General 2 09-17-2001 04:26 AM
"No screens found : startx" rdharn1 Linux - Software 1 04-09-2001 06:17 AM

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

All times are GMT -5. The time now is 06:08 PM.

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