You are not logged in.

#1 2023-05-01 10:32:45

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Nvidia 340 driver install errors

hello everyone, I'm trying to install a 340 dkms nvidia driver on the latest kernel, but nvidia-xconfig throws an error "unable to locate/open X configuration file", but before that gnome started quite successfully in software rendering (I think). Device macbook air 2010 with gt 320M. What should i do?

Offline

#2 2023-05-01 10:52:23

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: Nvidia 340 driver install errors

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2023-05-01 12:57:37

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: Nvidia 340 driver install errors

but nvidia-xconfig throws an error

Running nvidia-xconfig *is* an error. Don't do that and don't try to write a static server config otherwise.
The server has decent autodetection and unless you know what config you actually need to write, you'll just break things this way.

but before that gnome started quite successfully in software rendering

What does that have to do w/ nvidia-xconfig?

What should i do?

Forget about nvidia-xconfig and tell us what you *actually* want to achieve.
https://en.wikipedia.org/wiki/XY_problem

Offline

#4 2023-05-02 14:55:55

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

ok, what should i do with the 340 driver in order to run Xserver and GUI ?

Offline

#5 2023-05-02 14:58:24

seth
Member
Registered: 2012-09-03
Posts: 49,957

Offline

#6 2023-05-02 17:10:18

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

what i must do next ?

sorry for long answering

Last edited by shipa_2 (2023-05-02 17:10:44)

Offline

#7 2023-05-02 17:12:38

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: Nvidia 340 driver install errors

"Use them."

If you encouter some problem, you need to be specific about that.
We're currently not even at the "does not works lol" level (ie. it's not even clear whether there's any problem whatsoever)

Offline

#8 2023-05-02 17:59:37

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

i'm understand that, what log do i need to drop you ?

Offline

#9 2023-05-02 18:08:13

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Nvidia 340 driver install errors

If there were any issues during the installing of the 340 packages from AUR then the pacman command you used and its full output.  If there was no issue during package install and the issue is with X post the contents of Xorg.0.log and the system journal for that boot.

Offline

#10 2023-05-02 18:44:38

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Offline

#11 2023-05-02 19:44:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: Nvidia 340 driver install errors

You're not loading the nvidia drivers at all, what exactly did you install? The xorg stuff needs nvidia-340xx-utils. Also don't post camera pictures of text post actual text: http://wiki.archlinux.org/title/List_of … n_services

Offline

#12 2023-05-02 19:53:21

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

v1del, i'm sorry for photos, and nvidia-340xx-utils are installed, what should i do next ?

installed:
nvidia-340xx-dkms
nvidia-340xx-utils
nvidia-340xx-settings

Last edited by shipa_2 (2023-05-02 19:54:31)

Offline

#13 2023-05-02 19:59:19

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: Nvidia 340 driver install errors

(dkms status; pacman -Qs 'linux|nvidia') | curl -F 'file=@-' 0x0.st
sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#14 2023-05-02 20:08:11

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

thanks, i'll try this after 11 hours or after night

Offline

#15 2023-05-02 20:34:20

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: Nvidia 340 driver install errors

There's nothing to "try" - this will merely post some relevant information into a pastebin service and hand you a url to share.

Offline

#16 2023-05-04 18:49:05

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

Seth, here is output for your command
http://0x0.st/HZ8K.txt

(I've deleted driver before your command for install with patch, but after install nothing changed)

Last edited by shipa_2 (2023-05-04 18:51:23)

Offline

#17 2023-05-04 18:51:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: Nvidia 340 driver install errors

You need to update your system and install linux-headers and nvidia-340xx-dkms in that order

Last edited by V1del (2023-05-04 18:51:51)

Offline

#18 2023-05-05 16:48:32

shipa_2
Member
Registered: 2023-05-01
Posts: 22

Re: Nvidia 340 driver install errors

v1del, i've installed them, what's next ?

Offline

#19 2023-05-05 16:54:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,415

Re: Nvidia 340 driver install errors

Reboot and recheck xorg.log/repost the commands requested by seth if you still encounter issues.

Offline

#20 2023-05-05 16:56:18

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,461

Re: Nvidia 340 driver install errors

You follow all the steps here: https://wiki.archlinux.org/title/NVIDIA#Installation

If you missed step 5, rebooting alone won't work.

Last edited by Scimmia (2023-05-05 16:57:06)

Offline

#21 2023-05-05 17:10:07

topcat01
Member
Registered: 2019-09-17
Posts: 123

Re: Nvidia 340 driver install errors

The older drivers need the IgnoreABI option in xorg.conf. Fortunately startx will tell you so. Of course this is AFTER everything else is correctly set up/installed.

Last edited by topcat01 (2023-05-05 17:10:43)

Offline

#22 2023-05-05 18:51:48

seth
Member
Registered: 2012-09-03
Posts: 49,957

Re: Nvidia 340 driver install errors

topcat01 wrote:

The older drivers need the IgnoreABI option in xorg.conf. Fortunately startx will tell you so. Of course this is AFTER everything else is correctly set up/installed.

Fyi, https://aur.archlinux.org/cgit/aur.git/ … idia-340xx

Offline

#23 2023-05-05 18:56:43

topcat01
Member
Registered: 2019-09-17
Posts: 123

Re: Nvidia 340 driver install errors

Thanks. Yes, IIRC this file is included in the package and just needs to be copied to the conf.d directory.

Offline

#24 2023-05-05 18:58:55

seth
Member
Registered: 2012-09-03
Posts: 49,957

Offline

#25 2023-05-05 19:14:08

topcat01
Member
Registered: 2019-09-17
Posts: 123

Re: Nvidia 340 driver install errors

Wonderful, thank you for the link. I just checked it myself smile

Offline

Board footer

Powered by FluxBB