NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X -configure error



On Mon, 14 Sep 2026, Duke Normandin wrote:

Xorg.log  => https://controlc.com/k290sj84


```
[    25.261] (--) PCI: (0@0:2:0) 8086:0116:1043:1712 rev 9, Mem @ 0xdc400000/4194304, 0xb0000000/268435456, I/O @ 0x0000e000/64
[    25.261] (--) PCI:*(1@1:0:0) 10de:0df6:1043:1712 rev 161, Mem @ 0xdb000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
````

So, there're 2 graphics cards and Xorg's picked the nvidia one, which is crashing

```
[    31.453] (EE) Backtrace:
[    31.622] (EE) 0: /usr/X11R7/bin/X (xorg_backtrace+0x44) [0xb861ef]
[    31.622] (EE) 1: /usr/X11R7/bin/X (os_move_fd+0x71) [0xb81f28]
[    31.622] (EE) 2: /usr/lib/libc.so.12 (__sigtramp_siginfo_2+0x0) [0x6fbcbec8c1f0]
[    31.622] (EE) 3: /usr/X11R7/lib/modules/dri/nouveau_dri.so (amdgpu_winsys_create+0x34a596) [0x6fbcb9cd1c21]
[    31.622] (EE)
[    31.632] (EE) Segmentation fault at address 0x6fbc3db4d3c8
[    31.633] (EE)
Fatal server error:
[    31.633] (EE) Caught signal 11 (Segmentation fault). Server aborting
[    31.633] (EE)
[    31.633] (EE)
```

with a bizarre `amdgpu' error message?? The Linux kernel's picked the Intel
card for display:

```
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    driver: i915 v: kernel
  Device-2: NVIDIA GF108M [GeForce GT 550M] driver: N/A
  Device-3: Syntek USB Video Device driver: uvcvideo type: USB
  Display: server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
    unloaded: fbdev,vesa dri: swrast gpu: i915 resolution: 1366x768~60Hz
  API: EGL v: 1.5 drivers: crocus,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.5 vendor: x.org mesa v: 22.3.6 renderer: llvmpipe (LLVM
    15.0.6 256 bits)
```

OK, try these:

1. In BIOS, disable the nvidia card

2. If you can't disable, try this Xorg config fragment:

/etc/X11/xorg.conf.d/asus-nb.conf:

```
Section "Device"
	Identifier "Card0"

	Driver "modesetting"		# preferred
	# Driver "intel"
	# Driver "nouveau"

	# nail-down card
	BusID  "pci:0:2:0"		# Intel card
	# BusID  "pci:1:0:0"		# nvidia card
EndSection
```

If the "modesetting" driver has issues, choose the card-specific driver.

-RVP


Home | Main Index | Thread Index | Old Index