You are not logged in.

#26 2020-04-28 10:57:45

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,995

Re: [SOLVED] DRM issues, fails at X startup

[  1011.918] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1011.918] (**) |   |-->Device "intel"

So add

Section "Device"
    Identifier 	"nvidia"
    Driver 	"nvidia"
    BusID	"PCI:1@0:0:0"
EndSection

EDIT: ABOVE THE INTEL DEVICE

Alternatively you might get away w/o either of the Device sections and instead just

Section "Module"
    Load "modesetting"
EndSection

Last edited by seth (2020-04-28 10:58:14)

Offline

#27 2020-04-28 12:43:17

Grizzlyman
Member
From: Paris
Registered: 2020-04-26
Posts: 17

Re: [SOLVED] DRM issues, fails at X startup

Here is the new log (X doesn't load) : http://ix.io/2jTb
I took your second solution, i'm trying the first and update this post right after.
From what i read, it has to do with screens ? Or maybe did i made a typo, I'm not able to tell...
Also, could you please point me what i should be looking in the log (What sections..) to understand them better, and more importantly, on my own ?
Thanks!
With the first it seems to work,

glxinfo | grep NVIDIA

outputs :

server glx vendor string: NVIDIA Corporation
client glx vendor string: NVIDIA Corporation
OpenGL vendor string: NVIDIA Corporation
OpenGL core profile version string: 4.6.0 NVIDIA 440.82
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL version string: 4.6.0 NVIDIA 440.82
OpenGL shading language version string: 4.60 NVIDIA
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 440.82

is that right ?

I also found this on the aur : https://aur.archlinux.org/cgit/aur.git/ … nf?h=prime, do you think that with some modifications it may do the trick, even if it's quite similar to what i have ?

Last edited by Grizzlyman (2020-04-28 13:09:13)


“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” – Edsger Dijkstra

Offline

#28 2020-04-28 20:04:47

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,995

Re: [SOLVED] DRM issues, fails at X startup

The first one suffers from

[   384.127] (II) LoadModule: "intel"
[   384.127] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so

Did you install xf86-video-intel?

Anyway, we pretty much already ended up w/ a modified version of https://aur.archlinux.org/cgit/aur.git/ … nf?h=prime that prefers the nvidia chip.
What is the exact file path you made those adjustments to?
Ensure it's not owned by any package to prevent it from being overridden with an update.

Offline

#29 2020-04-28 20:51:16

Grizzlyman
Member
From: Paris
Registered: 2020-04-26
Posts: 17

Re: [SOLVED] DRM issues, fails at X startup

First, nope, should I ?
Those changes are applied to :  /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf
I'll check that!
Thanks a lot!


“If debugging is the process of removing software bugs, then programming must be the process of putting them in.” – Edsger Dijkstra

Offline

#30 2020-04-29 05:27:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,995

Re: [SOLVED] DRM issues, fails at X startup

If you didn't install the package, then why is the driver there?

pacman -Qi xf86-video-intel

(And no, we've been configuring stuff toward the modesetting driver)

Offline

Board footer

Powered by FluxBB