buildroot 2021.02.1: black screen after Xorg launched
Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Start by trying not using the unofficially deprecated xf86-video-intel (the Intel DDX's official upstream package name) display driver that hasn't had an official release in over a decade. Most of Intel's Linux driver writers have focused in the time since mainly on the default DIX display driver "modesetting" that isn't separately packaged. To try it, simply uninstall xf86-video-intel.
Your CPU was fairly young when kernel 4.19 and xorg 1.20.10 were current. You might benefit from newer kernel and/or Xorg.
The solution is:
export DISPLAY=:0
Then I managed to run xterm, xeyes (for example)
Regarding the driver, from the following list, which should I use ?
I noticed that with Knoppix (for example), kms is used, not intel.
Following is the list from buildroot menu:
Quote:
#
# X11R7 Drivers
#
BR2_PACKAGE_XDRIVER_XF86_INPUT_EVDEV=y
# BR2_PACKAGE_XDRIVER_XF86_INPUT_JOYSTICK is not set
BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD=y
# BR2_PACKAGE_XDRIVER_XF86_INPUT_LIBINPUT is not set
BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE=y
# BR2_PACKAGE_XDRIVER_XF86_INPUT_SYNAPTICS is not set
# BR2_PACKAGE_XDRIVER_XF86_INPUT_TSLIB is not set
# BR2_PACKAGE_XDRIVER_XF86_INPUT_VMMOUSE is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_AMDGPU is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_ARK is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_AST is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_ATI is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_CIRRUS is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_DUMMY is not set
BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBTURBO is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_GLINT is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_I128 is not set
BR2_PACKAGE_XDRIVER_XF86_VIDEO_INTEL=y
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_MACH64 is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_MGA is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_NEOMAGIC is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_NV is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_OPENCHROME is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_QXL is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_R128 is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_SAVAGE is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_SILICONMOTION is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_SIS is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_TDFX is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_TGA is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_TRIDENT is not set
BR2_PACKAGE_XDRIVER_XF86_VIDEO_VESA=y
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_VMWARE is not set
# BR2_PACKAGE_XDRIVER_XF86_VIDEO_VOODOO is not set
Regarding the driver, from the following list, which should I use ?
I noticed that with Knoppix (for example), kms is used, not intel.
It's fine to build the intel DDX Xorg/X11 display driver. It depends on KMS (Kernel Mode Setting), which is provided by the i915 kernel module (driver) in all Linux distros, including LFS and Knoppix. The modesetting DIX display driver also depends on the i915 kernel module. Every competent display driver depends on aKMS module. Just because the intel DDX is available doesn't mean you should use it. If it doesn't seem to work, try the (default) alternative, the "modesetting" DIX display driver. Try reading the primer too.
What do you mean by "DIX display driver" ? Is it part of the drivers in the kernel source ? Currently I have the following (I)I message in the X log:
modeset(0): No glamor support in the X Server.
I did not find this driver in the kernel source and not in the buildroot menu. Should I download, compile and insert it before X org is lauunched ?
Did you read the link you were given that explains this, and what it is?? And again, as you've been asked MANY times before, what hardware are you working on?? You provide no details (again). After fifteen years working with such hardware, building your own kernels, writing kernel modules, etc., it's hard to know why you'd need assistance on something like that.
And why are you building a two-year-old version of things on new hardware???
Configuring and building a kernel have nothing to do with X11/Xorg's intel (DDX) or modesetting (DIX) display drivers. These two display drivers simply depend on the i915 kernel DRM module being loaded. They can't function otherwise.
You wrote: "...have nothing to do with X11/Xorg's intel (DDX) or modesetting (DIX) display drivers"
Those display drivers are supplied with Xorg ? I'm working with Xorg 1.20.10 contained in buildroot 2021.02.1
Is there something wrong in my buildroot configuration ?
I don't know. I'm not a LFS user. Each XDRIVER_XF86_VIDEO item in the list in the #3 post is optional. The default is not among them. Instead, it (modesetting_drv.so, as built) is a component of the X11/Xorg xserver. As built and installed, modesetting_drv.so is located with vesa_drv.so and fbdev_drv.so, instead of with *_dri.so corresponding to each XDRIVER_XF86_VIDEO item.
You wrote: "...have nothing to do with X11/Xorg's intel (DDX) or modesetting (DIX) display drivers" Those display drivers are supplied with Xorg ? I'm working with Xorg 1.20.10 contained in buildroot 2021.02.1 Is there something wrong in my buildroot configuration ?
Again:
You claim to be a kernel developer with *FIFTEEN YEARS* experience.
You don't tell us what hardware you're using (brand/model)
You are still using a two-year old version of things on ostensibly new hardware
Is there a reason you cannot provide details, or acknowledge what you're being told?? You had to be given a primer twice, and another link which explain things. What else do you need?
Hi TBOne,
The output of /proc/cpuinfo is attached + dmesg + Xorg log. What further info is required ?
As you've been asked many, MANY times, why can't you just say "I have <brand/model> computer, with these specs?" Why do you expect us to download and trawl through your log files to try to figure out what you're working with???
Simple brand/model. Like "Dell Inspirion 1610" or "Raspberry Pi 4", 8 GB of RAM and <BRAND> video. Why is that hard???
And again, you ignore being asked why you're using two year old build on this (guessing) new project. And again, you claim to have a 'team' of kernel developers and you've been doing this 15 years...why can't you read the docs you've been provided, or know what they're talking about???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.