Configuring X11 on Asus UX482

I recently purchased a Asus UX482, whose specs sheet lists an:
Intel® Iris Xe Graphics, NVIDIA® GeForce® MX450, 2GB GDDR6.

I previously had an Asus UX533:
Intel® UHD Graphics 620, NVIDIA® GeForce® GTX 1050 Max Q, 2GB GDDR5

The Manjaro installer ISO loads X11 just fine.

I dd copied my HDD from the old laptop to the new one, and there’s something preventing X11 from starting.

I was previously using video-hybrid-intel-nvidia-prime, but I uninstalled and reinstalled just to be sure.

Here’s the Xorg.0.log:

[   202.826] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   202.829] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   202.833] Build Operating System: Linux Manjaro Linux
[   202.835] Current Operating System: Linux svelte 5.10.15-1-MANJARO #1 SMP PREEMPT Wed Feb 10 10:42:47 UTC 2021 x86_64
[   202.835] Kernel command line: BOOT_IMAGE=/EFI/Manjaro/vmlinuz-5.10-x86_64 root=/dev/mapper/vg_svelte-rootfs rw rootflags=subvol=@ atkbd.softraw=0 "acpi_os_name=Windows 2013" acpi_osi=! "acpi_osi=Windows 2013" mem_sleep_default=deep cryptdevice=/dev/nvme0n1p1:crypt:allow-discards root=UUID=a1d2a0b4-8d4b-4c1c-9c87-5a55de61918e rootflags=subvol=@,autodefrag,lazytime,ssd,compress=zstd:2 resume=UUID=0792d327-566d-4306-93f4-810e247827e4
[   202.840] Build Date: 16 December 2020  10:33:32PM
[   202.841]  
[   202.842] Current version of pixman: 0.40.0
[   202.845] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   202.845] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   202.850] (==) Log file: "/home/ravi/.local/share/xorg/Xorg.0.log", Time: Sun Feb 21 19:47:08 2021
[   202.852] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   202.853] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   202.853] (==) ServerLayout "layout"
[   202.853] (==) No screen section available. Using defaults.
[   202.853] (**) |-->Screen "Default Screen Section" (0)
[   202.853] (**) |   |-->Monitor "<default monitor>"
[   202.853] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   202.853] (**) |   |-->Device "intel"
[   202.853] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   202.853] (==) Automatically adding devices
[   202.853] (==) Automatically enabling devices
[   202.853] (==) Automatically adding GPU devices
[   202.853] (==) Automatically binding GPU devices
[   202.853] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   202.853] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   202.853] 	Entry deleted from font path.
[   202.853] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   202.853] 	Entry deleted from font path.
[   202.853] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[   202.853] 	Entry deleted from font path.
[   202.853] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[   202.853] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   202.853] 	Entry deleted from font path.
[   202.853] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[   202.853] (==) ModulePath set to "/usr/lib/xorg/modules"
[   202.853] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   202.853] (II) Module ABI versions:
[   202.853] 	X.Org ANSI C Emulation: 0.4
[   202.853] 	X.Org Video Driver: 24.1
[   202.853] 	X.Org XInput driver : 24.1
[   202.853] 	X.Org Server Extension : 10.0
[   202.854] (++) using VT number 2

[   202.855] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   202.855] (II) xfree86: Adding drm device (/dev/dri/card0)
[   202.855] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   202.857] (--) PCI:*(0@0:2:0) 8086:9a49:1043:1382 rev 1, Mem @ 0x6054000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   202.857] (--) PCI: (1@0:0:0) 10de:1f9c:1043:1daf rev 161, Mem @ 0x87000000/16777216, 0x6040000000/268435456, 0x6050000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[   202.857] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   202.857] (II) LoadModule: "glx"
[   202.857] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   202.857] (II) Module glx: vendor="X.Org Foundation"
[   202.857] 	compiled for 1.20.10, module version = 1.0.0
[   202.857] 	ABI class: X.Org Server Extension, version 10.0
[   202.857] (II) LoadModule: "modesetting"
[   202.857] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   202.858] (II) Module modesetting: vendor="X.Org Foundation"
[   202.858] 	compiled for 1.20.10, module version = 1.20.10
[   202.858] 	Module class: X.Org Video Driver
[   202.858] 	ABI class: X.Org Video Driver, version 24.1
[   202.858] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   202.858] (WW) Falling back to old probe method for modesetting
[   202.858] (II) modeset(0): using default device
[   202.858] (II) modeset(G0): using drv /dev/dri/card0
[   202.858] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   202.858] (EE) 
Fatal server error:
[   202.858] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   202.858] (EE) 
[   202.858] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   202.858] (EE) Please also check the log file at "/home/ravi/.local/share/xorg/Xorg.0.log" for additional information.
[   202.858] (EE) 
[   202.879] (EE) Server terminated with error (1). Closing log file.

Running mhwd -a pci nonfree 0300 looks successful, except for the following tailing lines:

nvidia-utils: install reason has been set to 'explicitly installed'
nvidia-prime: install reason has been set to 'explicitly installed'
lib32-nvidia-utils: install reason has been set to 'explicitly installed'
linux510-nvidia: install reason has been set to 'explicitly installed'
linux54-nvidia: install reason has been set to 'explicitly installed'
rmmod: ERROR: could not remove 'nouveau': No such file or directory
rmmod: ERROR: could not remove module nouveau: No such file or directory
rmmod: ERROR: could not remove 'ttm': No such file or directory
rmmod: ERROR: could not remove module ttm: No such file or directory
rmmod: ERROR: could not remove 'drm_kms_helper': Resource temporarily unavailable
rmmod: ERROR: could not remove module drm_kms_helper: Resource temporarily unavailable
rmmod: ERROR: could not remove 'drm': Resource temporarily unavailable
rmmod: ERROR: could not remove module drm: Resource temporarily unavailable
[  562.658469]
xorg configuration file: '/etc/X11/mhwd.d/nvidia.conf'
> Successfully installed video-hybrid-intel-nvidia-prime

I recall something about posting inxi output, but couldn’t find the sticky post. Please tell me what extra info will help you help me :slight_smile:

Before doing that, remove all proprietary drivers first and make the old laptop as plain vanilla as possible. (remove module blacklists, use an LTS kernel, …)

Also: dd-ing from one piece of hardware to another different piece of hardware is always bad news and the only time I re-install my system, but you might get lucky!

:crossed_fingers:

Thanks for the ideas.

I’m on a LTS kernel.

What I’ve tried:

  • Removing all blacklists from /etc/modprobe.d
  • Removing all config files related to video under:
  • /etc/X11
  • /usr/share/X11/xorg.conf.d/

I then again ran:

sudo mhwd -f -a pci nonfree 0300

  1. I’ve noticed that /etc/X11/xorg.conf.d/90-mhwd.conf is empty. Does this sound right?
  2. Are they any other things I can try?

Honestly, I think the issue is pointed to by this line:

Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices

How do I specify busIDs for the frame buffer devices?

Please note this laptop model has 2 graphics card (intel and nvidia) and 2!! screens :slight_smile:

I found the configuration that had X start: