You are not logged in.
I've screwed up my last Arch install and decided to just reinstall it.
Using installation notes (based on ArchWiki and other stuff) I ran into a problem when trying to run 'startx'.
# At this point I did 'yaourt -S xorg-server xorg-server-utils xorg-xinit i3' ,put 'exec i3;' in '.xinitrc' and installed 'nvidia-beta' drivers.
"error while loading shared libraries: libpciaccess.so.0: cannot open shared object file: No such file or directory"
This wasn't a big deal, I just installed it manually, because who knows why it wasn't installed, or maybe removed as a conflict. But after running 'startx' again, a new missing library showed up, I installed it, and a new one popped up... At this point I realized that something was wrong.
A lot of xorg-server dependencies didnt't get installed, I want to know why.. and how to fix this?
My Arch installation notes - I'm absolutely sure that I did everything that is written in them: (and it did WORK last time)
https://drive.google.com/drive/folders/ … EM3T3pjdEk
P.S. I just ran 'sudo find / -name "package_name" ' for a few packages, and it found them only in '/var/cache/pacman/pkg/FULLPACKAGENAME.pkg.tar.xz'
Last edited by areuz (2017-02-03 17:51:22)
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline
Hmm.. As I said, at the third missing dependency, I started to search for a reason why it didn't install them instead of trying to install that one aswell. Turns out, only 3 libraries were missing (I hope):
libpciaccess
libdrm
libxshmfence
Also.. libdrm isn't listed as a Xorg-Server dependency? huh?
I think that the dependency list is screwed up right now, unsure why...
I would like a definitive answer why this happened.. but going to mark this one as solved. Sorry for making noise
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline
Sounds like a video driver problem. How did you set them up?
Last edited by Scimmia (2017-02-03 17:54:45)
Offline
Sounds like a video driver problem.
Indeed could be. The fact that I'm using 'nvidia-beta' doesn't help the case either.
EDIT: How do you exactly setup video drivers? If you mean xorg.conf, then I do not use that, It never works for me.
Last edited by areuz (2017-02-03 17:56:57)
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline
What, exactly, did you install, and what is xorg actually using?
Offline
I installed
nvidia-beta nvidia-utils-beta
and chose 'nvidia-libgl'.
According to
lshw -c video
*-display
description: VGA compatible controller
product: GP104 [GeForce GTX 1070]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:02:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:54 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:c0000-dffff
And the Xorg.0.log says (At the end):
[ 2435.752] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): connected
[ 2435.753] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): Internal TMDS
[ 2435.753] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): 165.0 MHz maximum pixel clock
[ 2435.753] (--) NVIDIA(GPU-0):
[ 2435.810] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): connected
[ 2435.810] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): Internal TMDS
[ 2435.810] (--) NVIDIA(GPU-0): Ancor Communications Inc ASUS VW247 (DFP-5): 165.0 MHz maximum pixel clock
[ 2435.810] (--) NVIDIA(GPU-0):
Edit: Also, if I (now that I fixed the missing libraries) scroll in the Xorg log, I see the Nvidia module loading and stuff, so I think it's working.
LoadModule: "nvidia"
[ 2417.910] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 2417.916] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 2417.916] compiled for 4.0.2, module version = 1.0.0
[ 2417.916] Module class: X.Org Video Driver
[ 2417.917] (II) LoadModule: "nouveau"
[ 2417.917] (WW) Warning, couldn't open module nouveau
[ 2417.917] (II) UnloadModule: "nouveau"
[ 2417.917] (II) Unloading nouveau
[ 2417.917] (EE) Failed to load module "nouveau" (module does not exist, 0)
Last edited by areuz (2017-02-03 18:09:59)
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline
So you have the wrong libgl package, at the very least.
Offline
So you have the wrong libgl package, at the very least.
Output of $yaourt -Q nvidia-libgl-beta
local/nvidia-libgl-beta 378.09-1
And output of $yaourt -Q | grep "libgl"
local/lib32-nvidia-libgl-beta 378.09-1
local/nvidia-libgl-beta 378.09-1
What do you mean 'wrong'?
If the problem of missing libraries is somehow linked to incorrect 'libgl' package, please do elaborate.
Sorry If I sound inimical, but I'm starting to think that you are deviating from the initial problem.
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline
You had said you were using nvidia-libgl, now it's nvidia-libgl-beta. OK
Actually it is the same problem. The deps you mentioned are all pulled in by mesa, which is needed if you want to use the modesetting driver.
Offline
Sorry, I should have mentioned it, I just thought using 'nvidia-beta' would imply it.
And yeah, that looks like it might have caused the dependency problem - too risky to test now .
Is there anything I should be worried about not working correctly later on?
Right now everything is running pretty well, I've even tried a few games using Steam.
Last edited by areuz (2017-02-05 10:44:05)
If I'm not a bush, I'm not no one.
Dotfiles Git
Offline