View previous topic :: View next topic |
Author |
Message |
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Tue Feb 07, 2023 6:49 am Post subject: [solved]problem starting X (nvidia) |
|
|
I have a problem with X, it start correctly only after the command
Code: | $ nvidia-xconfig --prime |
every time I reboot, I have to do this and after all works.
If I try to start X without this command I get no screen found error, this the extract from the log
Code: |
$ more .local/share/xorg/Xorg.0.log | grep -i ee
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 18.478] (**) |-->Screen "Screen0" (0)
[ 18.479] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 18.480] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 18.489] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 18.489] (EE) NVIDIA: system's kernel log for additional error messages and
[ 18.489] (EE) NVIDIA: consult the NVIDIA README for details.
[ 18.490] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 18.490] (EE) NVIDIA: system's kernel log for additional error messages and
[ 18.490] (EE) NVIDIA: consult the NVIDIA README for details.
[ 18.490] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 18.490] (EE) NVIDIA: system's kernel log for additional error messages and
[ 18.490] (EE) NVIDIA: consult the NVIDIA README for details.
[ 18.490] (EE) Screen 0 deleted because of no matching config section.
[ 18.490] (EE) Device(s) detected, but none match those in the config file.
[ 18.490] (EE)
[ 18.490] (EE) no screens found(EE)
[ 18.490] (EE)
|
this my xorg configuration file
Code: |
$ more /etc/X11/xorg.conf.d/10-nvidia.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
Inactive "InactiveDevice1"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from data in "/etc/conf.d/gpm"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "InactiveDevice1"
Driver "modesetting"
VendorName "Unknown"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "AllowEmptyInitialConfiguration" "True"
SubSection "Display"
Depth 24
EndSubSection
EndSection |
Code: |
$ lspci -nnk
...
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti] [10de:2486] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. GA104 [GeForce RTX 3060 Ti] [19da:9630]
Kernel driver in use: nvidia
Kernel modules: nvidia_drm, nvidia
...
|
any ideas? thanks a lot in advance _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Last edited by luna80 on Tue Feb 14, 2023 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Wed Feb 08, 2023 11:08 am Post subject: |
|
|
I tried to startx from root and nvidia drivers works, X start.
What I miss? Maybe is something related to this thread? user su - permission denied
edit: if I reboot and I startx from root, after I can startx from normal user too...how can I solve? _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
luna80 Veteran
Joined: 01 Feb 2004 Posts: 1546 Location: switzerland
|
Posted: Tue Feb 14, 2023 2:06 pm Post subject: |
|
|
yes it is, it's now solved. sorry
to resume...by mistake I put the flag user to the root partition in /etc/fstab, this cause the problem _________________ *** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off *** |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|