[arch-general] startx failed: modprobe: ERROR: could not insert 'nvidia': Operation not permitted
Hi, on a fresh install of arch linux I have first installed the nouveau video driver. Then I realise I must install the nvidia driver because one application doesnÍt work without it. I have linux kernel 3.14.31.-1-lts installed. My videocard is GeForce 7600 GT so I installed the nvidia-304xx-libgl nvidia-304xx-lts nvidia-304xx-utils I created the configuration file for X Window system: Section "Device" Identifier "Nvidia Card" Driver "nvidia" VendorName "NVIDIA Corporation" EndSection In /etc/mkinitcpio.conf I have commented the line: #MODULES="nouveau" But, when I start X with 'startx' command, I get the error mentioned in subject of this mail. What am I missing here? -- Regards from Pal
On 06/02/15 11:33, Csányi Pál wrote:
But, when I start X with 'startx' command, I get the error mentioned in subject of this mail.
What am I missing here?
Since xorg-server 1.16, X is rootless by default (see https://www.archlinux.org/news/xorg-server-116-is-now-available/). This doesn't work out of the box with proprietary drivers, so create a file */etc/X11/Xwrapper.config* with the content *needs_root_rights = no* (see https://wiki.archlinux.org/index.php/Xorg#Rootless_Xorg_.28v1.16.29).
2015-02-06 11:54 GMT+01:00 pukayaku <pukayaku@zoho.com>:
On 06/02/15 11:33, Csányi Pál wrote:
But, when I start X with 'startx' command, I get the error mentioned in subject of this mail.
What am I missing here?
Since xorg-server 1.16, X is rootless by default (see https://www.archlinux.org/news/xorg-server-116-is-now-available/).
This doesn't work out of the box with proprietary drivers, so create a file */etc/X11/Xwrapper.config* with the content *needs_root_rights = no* (see https://wiki.archlinux.org/index.php/Xorg#Rootless_Xorg_.28v1.16.29).
Thanks! I have now the '/etc/X11/Xwrapper.config' file with the content 'needs_root_rights = no' Still can't start with 'startx' the X Window system. I looked into kernel log with 'dmesg | less' and searched for NVIDIA. I found followings: nvidia: module license 'NVIDIA' taints kernel. Disabling lock debugging due to kernel taint nvidia disagrees about version of symbol node_data nvidia: Unknown symbol node_data (err -22) What can I do to solve this problem? -- Regards from Pal
Hi, well, I'm lost totally here. I don't know how to start my X Window system with proprietary Nvidia driver. I must to use it because an application needs it. I tried in the Xwrapper.config the 'needs_root_rights = no', I tried to remove ~/.xinitrc to start X with defaults, I tried the '30-nvidia.conf' with Section "Device" Identifier "Nvidia Card" Driver "nvidia" VendorName "NVIDIA Corporation" Option "NoLogo" "True" EndSection but just can't to start X Window system with 'startx' command. I have installed: kernel version: 3.14.31-1-lts nvidia-304xx-lts nvidia-304xx-libgl nvidia-304xx-utils I look into '~/.local/share/xorg/Xorg.0.log' and see that that Xorg even not see the nvidia driver!? Xorg tries to load other modules but nvidia not, and finally gives the following error message: 'No drivers available Fatal server error: no screens found(EE) Please, help me to solve this problem. -- Regards from Pal
Make sure nouveau is blacklisted. I can't check right now, but I think I used "needs_root_rights = yes" to get mine working. Also make sure nouveau is not in your initramfs either. The driver will fail with newer cards. It's poison with my 880M. On February 6, 2015 1:51:11 PM EST, "Csányi Pál" <csanyipal@gmail.com> wrote:
Hi,
well, I'm lost totally here. I don't know how to start my X Window system with proprietary Nvidia driver. I must to use it because an application needs it.
I tried in the Xwrapper.config the 'needs_root_rights = no', I tried to remove ~/.xinitrc to start X with defaults, I tried the '30-nvidia.conf' with Section "Device" Identifier "Nvidia Card" Driver "nvidia" VendorName "NVIDIA Corporation" Option "NoLogo" "True" EndSection
but just can't to start X Window system with 'startx' command.
I have installed: kernel version: 3.14.31-1-lts nvidia-304xx-lts nvidia-304xx-libgl nvidia-304xx-utils
I look into '~/.local/share/xorg/Xorg.0.log' and see that that Xorg even not see the nvidia driver!?
Xorg tries to load other modules but nvidia not, and finally gives the following error message: 'No drivers available Fatal server error: no screens found(EE)
Please, help me to solve this problem.
-- Regards from Pal
-- Do your job. Really. Just. Do. Your. Job.
Fri, 6 Feb 2015 12:14:28 +0100 Csányi Pál <csanyipal@gmail.com>:
I looked into kernel log with 'dmesg | less' and searched for NVIDIA. I found followings: nvidia: module license 'NVIDIA' taints kernel. Disabling lock debugging due to kernel taint nvidia disagrees about version of symbol node_data nvidia: Unknown symbol node_data (err -22)
What can I do to solve this problem?
If a reboot didn't fix it (for unloading/blacklisting nouveau), I'd say post a bug report so that nvidia-304xx-lts gets rebuilt. For that's what it seems to be, looking at the last bug about "symbol node_data" and comparing the build dates of linux-lts and the different nvidia packages. --byte
participants (4)
-
Bryan White
-
Csányi Pál
-
Jens Adam
-
pukayaku