Xorg can't find GLX for Nvidia

Thanks, but I mention inxi was done before installing Nvidia driver. Sorry if it is not clear.
I've read the tread you mention here, but not the case for me, I think

You had 4 edits ...
Anyway, moving on ... how did you installed the drivers? Nevermind ...
Probably this is what you are looking for

1 Like

Yep, I got problems with the pic links and had to edit is several times. And I could not copy the screen as text
The thread you mention is not understandable for me, I'm a beginner and don't know what is lightdm, GDM...
The french guy told me I will works with "primusrun' instead of Prime, as far as i know...
Drivers was remove and installed this way :

sudo mhwd -r pci video-linux
sudo mhwd -i pci video-hybrid-intel-nvidia-390xx-bumblebee

"thefrenchguy" hein ?

can you report

sudo pacman -Qs nvidia
sudo pacman -Qs nouveau
sudo pacman -Qs nvidia
sudo pacman -Qs nouveau


Use gist to copy/paste output to a file/pastebin service. Read how:

Then, on TTY try


If it fails, take a photo of the error message.
Then try

sudo systemctl restart gdm

If there is no login screen, then send these to gist (command > gist command)

cat .local/share/xorg/Xorg.*.log
cat /var/log/Xorg.*.log

Glad you help me, I already tried startx 2 days ago and I got black screen for 1 second and it came back to TTY with some log. See here:
image startx

sudo systemctl restart gdm

Black screen and Ctl+alt +F2 to get login prompt again

I tried but I could not manage to get 'gist' working. What command should I write after gist ?

cat .local/share/xorg/Xorg.*.log > gist ???

Thank you

Forget about it for now (I will modify the tutorial) and use wgetpaste

sudo pacman -S wgetpaste
inxi -SGxx | wgetpaste
ls -Al | grep -e "^-r" | wgetpaste
cat .local/share/xorg/Xorg.*.log  | wgetpaste

You may have serious problem with your user folder (No .Xauthority ? ).
Create a new user and try to login to that and startx

1 Like

It's workin'

inxi -SGxx | wgetpaste


ls -Al | grep -e "^-r" | wgetpaste


cat .local/share/xorg/Xorg.*.log  | wgetpaste


I have to check how to create new user via command line... Hold on :thinking:

Could not create new user !

useradd -g users -m -s /bin/bash phil
Mot de passe:
useradd: Permission denied
useradd: cannot lock /etc/passwd: try again later

tried also w/ sudo useradd -g...

ls /home/
phil  philippe

So I've create the phil home folder, don't kwow what to do next...
Edit : Same problem with new user 'phil"

[phil@probook "]$ startx
xauth: file /home/phil/.Xauthority does not exist
xauth: file /home/phil/.Xauthority does not exist
... (and full screen error  message)

Edit #2: I give up! disable Nvidia GPU and install Manjaro from scratch :flushed:

i have discuss with his troubles on the laptop:
he tries iso Gnome and Xfce 17.1.10
on install no trouble video , but each time after upgrade lost intel video.

we have try nvidia with bumblebee , but failed with glx with Xorg 1.19.6

in case of Gnome we do not find log ( no more gdm-g-cession died ), also for Xfce , only xorg and no more Xorg cession died , before on login

only fallback can start , but on next reboot same trouble

in this case , no more update before finding whats happens

Hi connunity !
Finally, I give up with Nvidia and disable it in bios.
So I start again from scratch with 3 partitions, one for Gnome, one for Xfce and the last one with Deepin. But I still got troubles, I cannot go further than Grub, no GUI at all except first boot after install.
Here are the returns I was advice to run in TTY in order to to find the culprit (Manjaro Linux 17.1.10 w/ kernel 4.17, but I did not apply the updates after the first reboot):

philippe@probook ~]$ mhwd -li
> Installed PCI configs:
                  NAME               VERSION          FREEDRIVER           TYPE
           video-linux            2018.05.04                true            PCI
         network-r8168            2016.04.20                true            PCI
Warning: No installed USB configs!

(Same as before)

sudo inxi -Fxxxz | wgetpaste

systemctl --status display-manager | wgetpaste

sudo mhwd-gpu --status | wgetpaste

philippe@probook ~]$ sudo systemctl status sddm.service
Unit sddm.service could not be found

cat /var/log/Xorg.0.log

There is 2 errors( from line 85):

[     5.486] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     5.486] (II) LoadModule: "vesa"
[     5.486] (WW) Warning, couldn't open module vesa
[     5.486] (II) UnloadModule: "vesa"
[     5.486] (II) Unloading vesa
[     5.486] (EE) Failed to load module "vesa" (module does not exist, 0)

sudo journalctl -b0 | wgetpaste
Stéphane mention here Error EC (line 318)

juin 27 21:52:19 probook kernel: ACPI: EC: EC started
juin 27 21:52:19 probook kernel: ACPI: EC: interrupt blocked
juin 27 21:52:19 probook kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: Used as first EC
juin 27 21:52:19 probook kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: GPE=0x6e, EC_CMD/EC_SC=0x66, EC_DATA=0x62
juin 27 21:52:19 probook kernel: ACPI: \_SB_.PCI0.LPCB.EC0_: Used as boot DSDT EC to handle transactions

And finally:

philippe@probook ~]$ startx
xf86EnableIOPorts: failed to set IOPL for I/O (operation not permitted)...

I took a screenshot, but startx fail

Doing update-grub doesn't help to reboot neither

Hope it can help to find a solution

You're using the latest generation Intel powered laptops/notebooks, I guess. People seems to having some trouble with it. Can't boot Manjaro on Intel/NVidia setup, can't use Xorg

If that so, set everything on default settings and test boot with acpi_osi=! acpi_osi="Windows 2009" or acpi_osi="Windows 2012" (if you having trouble with touchpad). If it works then make it permanent.

1 Like

Thanks a lot SDN !
The Topic you mentioned is very interesting. and the Github save my day !
For my HP Probook 450 G5 the good Grub options is acpi_osi=! acpi_osi="Windows 2012" as I just boot fine with :hugs:
With "Windows 2015" fans was at full speed and trackpad disable
With "Windows 2009" system do not boot
Not tested with 2013 yet
Now I have to check if everything runs smooth, mostly power supply fonctions, as acpi modify the way the system handles it AFAIK

I don't know if I was right to disable Nvidia card in bios as mentioned in the Arch wiki (but don't know who succeed to install Arch on the same laptop as mine :disappointed_relieved: )
But Nvidia card is still disable

1 Like

Glad to know that your laptop is up. :grin:

But, anyway, that Arch wiki doesn't say anything about disabling nvidia card. Why don't you try installing nvidia driver and bumblebee as stated in this manjaro wiki: https://wiki.manjaro.org/index.php?title=Configure_NVIDIA_(non-free)_settings_and_load_them_on_Startup (Edit: keep the nomodeset parameter just in case)

After installing the driver you can run primusrun glxgears and carefully watch you laptop CPU and GPU temperature, fan and voltage. Yes, glxgears is enough just to test if there are irregularities to those statuses with acpi_osi.

Well, well....
I forgot to mention I installed yesterday Manjaro Linux Xfce 18 beta 3
Laptop freeze again at reboot today. Grub options were fine for 2 reboots, but the third one was a real black screen with full fan speed. Between 2nd and third reboot I did some updates (arournd 37 Mo) and a successful test of sleep and return to sleep.
Don't known what's going wrong.
I got no swap set but 8 Go Ram ship, could it be the missing swapfile ? Even after a reboot ?

Do you made those boot parameters permanent?

If you suspect swap file is the culprit, which I doubt but you do need it, then make one.

Just to make sure, you need to edit this file /etc/default/grub. Add nomodeset acpi_osi=! acpi_osi="Windows 2012"inside the quote marks in GRUB_CMDLINE_LINUX="" and run sudo update-grub

Edit again:
Please use Manjaro 17.1.10. Using beta version to troubleshoot is risky. And if after you make your new boot parameter permanent in Manjaro 17.1.10 your xserver still crash, watch your /var/log/Xorg.0.log and or journalctl for any error.

Edited again:
You may want to remove acpi_osi=! too. I saw in your xorg.0.log that your laptop use oem osi. acpi_osi=! block that oem osi. so your new boot parameter should only nomodeset acpi_osi="Windows 2012" to enable all and add win10 specific onboard patches.

yes of course ! But I had some hardship with writing "...'window 2012'" [single one, then double quotes] at the end of the line with nano. Otherwise update-grub would not accept it. I hope it is correct. At boot time, when I ask to edit grub file, it's seems correct though.
I did not try yet nomodsetparameter

Thank you for all theses advices. I'll be back and inform you after Manjaro 17.1.10 re-install

Your new boot parameter should be like this;

GRUB_CMDLINE_LINUX="nomodeset acpi_osi=! acpi_osi='Windows 2012'"

or this if you want to enable _OSI(Linux-Dell-Video) oem osi.

GRUB_CMDLINE_LINUX="nomodeset acpi_osi='Windows 2012'"

OK will add nomodset :wink:
I have brand new HP laptop Probook 450 G5, Do I need to test the second line ?

Oh, i take it back, use the first line and post your journalctl.

I wrote the second line because you have this in your boot log.

juin 27 21:52:19 probook kernel: ACPI: Added _OSI(Module Device)
juin 27 21:52:19 probook kernel: ACPI: Added _OSI(Processor Device)
juin 27 21:52:19 probook kernel: ACPI: Added _OSI(3.0 _SCP Extensions)
juin 27 21:52:19 probook kernel: ACPI: Added _OSI(Processor Aggregator Device)
juin 27 21:52:19 probook kernel: ACPI: Added _OSI(Linux-Dell-Video)

Forum kindly sponsored by