You are not logged in.

#1 2019-03-11 20:49:49

Soptik
Member
Registered: 2019-03-11
Posts: 64

[Solved] Failed to load module "intel"

Hi. I've installed Arch few days later and I'm just in the configuring phase.

I've managed to run Xorg and i3-gaps. It worked until about an hour ago.

I've been trying to fix a problem with backlight - I want to change it w/o root! I've found one thread where someone told people to use [acpilight](https://gitlab.com/wavexx/acpilight), which should solve it. I've installed it and added udev rule as is described on the gitlab page I linked. Didn't work, but I didn't restart yet. I've installed polybar and some fonts in the same session.

After about half an hour, I restarted my computer. When it booted, I logged into my account, which starts GUI right after login. It gave me some errors about no monitor found and logged me out. So I logged in as root (so glad I didn't set it up to load GUI as well!). `startx` of course crashed with the same error. I removed the acpilight package and commented out the udev rules and rebooted. But no, it was still crashing. I have no idea why. Could the fonts crash it this way? Could the package do something that pacman didn't remove when uninstalling? Did the udev rules broke it even when I commented them out?

Here's xorg log file: https://pastebin.com/gnm0ZHcd

Some additional notes:

- I dual boot with Windows 10
- Secure boot and fast startup is disabled
- When the GUI broke, I see something new. When I boot Arch (before I even login), the screen turns rapidly off and then back on twice, once it displays Lenovo logo. It didn't do this before. Afterwards, I can login as usual.
- Before, shutdown didn't work - something something waiting for jobs to stop something, failing with unmounting, this kind of things. I don't think this should affect the GUI problem thought.

Let me know which additional log files are helpful in this situation. I use Lenovo Ideapad 330s.

Last edited by Soptik (2019-03-11 22:15:42)

Offline

#2 2019-03-11 21:06:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,006

Re: [Solved] Failed to load module "intel"

You or something related to acpilight (or an entirely unrelated package) created a xorg config which tries to load the intel module by default, install the xf86-video-intel driver or figure out which file is setting that (either in /etc/X11/xorg.conf.d or /usr/share/X11/xorg.conf.d) and find out why it is there (pacman -Qo $file in question$), and if it isn't necessary remove it.

FWIW, did you install nvidia-xrun? That would explain this.

Last edited by V1del (2019-03-11 21:08:28)

Offline

#3 2019-03-11 21:37:38

Soptik
Member
Registered: 2019-03-11
Posts: 64

Re: [Solved] Failed to load module "intel"

Thank you, deleting the config file and letting xorg recreate it solved it.

pacman -Qo file told me:

/etc/X11/xorg.conf.d/ is owned by xorg-server 1.20.4-1

The only nvidia package that I have installed is nvidia-340xx-utils 340.107-3 which was necessary to run xorg.

Edit: After fixing this problem, the problem that I'm unable to reboot/shutdown my computer (without holding the physical button) appeared again. So now I at least know it is because of the GUI.

Last edited by Soptik (2019-03-11 21:49:33)

Offline

#4 2019-03-11 21:50:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,006

Re: [Solved] Failed to load module "intel"

I wasn't implying to remove the folder, but you'd have a file there somewhere that explicitly loads the xf86-video-intel driver. Regarding the shutdown problem, I'd say that's a strange and likely hasty conclusion to make. There are some known shutdown problems with the current kernel, with no direct relation to the gui.

However if the original issue is [SOLVED] please mark it as such by editing the title (you might have to remove some addendum like  the xorg suddenly stopped working to make it fit): https://wiki.archlinux.org/index.php/Co … ow_to_post

Offline

#5 2019-03-11 22:26:45

Soptik
Member
Registered: 2019-03-11
Posts: 64

Re: [Solved] Failed to load module "intel"

You're right, but I didn't manually edit the config, so when you said where the problem is I let xorg generate it again, which fixed it. I still have the old config backup,  will try to find what was exactly changed tomorrow.

About the shutdown problem, it didn't appear when I was setting up Arch (from live usb). After I setup arch (which included installing xorg and i3), it appeared for the first time. When I broke xorg, it started working and when I let xorg generate the default config, the problem appeared once more. I have no idea what happened with it, but I think it's strange that it suddenly started working when xorg broke (I tested that only `reboot` worked, I didn't test `shutdown` itself).

I'll create standalone topic for the shutdown problem if I won't manage to solve it in few days, but it was basically running few stop jobs (first of all for Session 1 of user $user, than for Login Service). Everything timed out and at the end it announced problem with unmounting /tmp and froze after receiving sigterm from systmd-shutdown.

Thank you for your help, it's refreshing to meet active community that actually takes the time to give advice.

Offline

#6 2019-03-11 23:14:02

loqs
Member
Registered: 2014-03-06
Posts: 18,754

Re: [Solved] Failed to load module "intel"

Did X not work without a config?  Autodetection is sufficient in many cases without the need for any manual configuration.
If you do need manual configuration a conf snippet in /etc/X11/xorg.conf.d is recommended.

Offline

#7 2020-09-26 19:09:53

EdK
Member
Registered: 2020-09-24
Posts: 5

Re: [Solved] Failed to load module "intel"

Soptik wrote:

Thank you, deleting the config file and letting xorg recreate it solved it.

pacman -Qo file told me:

/etc/X11/xorg.conf.d/ is owned by xorg-server 1.20.4-1

The only nvidia package that I have installed is nvidia-340xx-utils 340.107-3 which was necessary to run xorg.

Edit: After fixing this problem, the problem that I'm unable to reboot/shutdown my computer (without holding the physical button) appeared again. So now I at least know it is because of the GUI.

nvidia-340xx-utils 340.107-3 is necessary to run xorg?  Is that true?  I'm asking because I want to switch to modesetting and planned on uninstalling nvidia*.

Offline

#8 2020-09-26 19:11:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,502

Re: [Solved] Failed to load module "intel"

EdK wrote:
Soptik wrote:

Thank you, deleting the config file and letting xorg recreate it solved it.

pacman -Qo file told me:

/etc/X11/xorg.conf.d/ is owned by xorg-server 1.20.4-1

The only nvidia package that I have installed is nvidia-340xx-utils 340.107-3 which was necessary to run xorg.

Edit: After fixing this problem, the problem that I'm unable to reboot/shutdown my computer (without holding the physical button) appeared again. So now I at least know it is because of the GUI.

nvidia-340xx-utils 340.107-3 is necessary to run xorg?  Is that true?  I'm asking because I want to switch to modesetting and planned on uninstalling nvidia*.

Of course not. This thread is a year and a half old, so all of that info is irrelevant now.

Offline

#9 2020-09-26 19:51:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,006

Re: [Solved] Failed to load module "intel"

Closing this old thread. If you still have a question please open your own.

https://wiki.archlinux.org/index.php/Co … bumping%22

Closing.

Offline

Board footer

Powered by FluxBB