question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot run in framebuffer mode. Please specify busIDs. Asus ROG Zephyrus M16 Intel/Nvidia

See original GitHub issue

Describe the bug Hi there,

I am in the process of setting up an Asus ROG Zephyrus M16 2021 laptop with an Intel Tiger Lake Graphics and an Nvidia RTX 3070 Mobile.

I followed the advice of the README to remove /etc/X11/xorg.conf, however I do not get a picture without letting xorg generate something itself using sudo Xorg :0 -configure.

Even then, switching only results in a black screen with a blinking cursor. I have tried switching between TTY’s, but it doesn’t help, the screen stays black.

Let me know if you need further details, thx.

System info

  • Arch Linux
  • i3
  • LightDM
  • Asus ROG Zephyrus M16 2021
  • latest stable release (optimus-manager)
  • config (see below)

Logs

/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

/etc/X11/xorg.conf.d/10-optimus-manager.conf

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:0:0:2:0"
	Option "DRI" "3"
EndSection

/etc/optimus-manager/optimus-manager.conf

[optimus]
switching=bbswitch
pci_power_control=no
pci_remove=no
pci_reset=no

auto_logout=yes
startup_auto_extpower_mode=nvidia

[intel]
driver=modesetting
accel=
tearfree=
DRI=3
modeset=yes

[amd]
driver=modesetting
tearfree=
DRI=3

[nvidia]
modeset=yes
PAT=yes
DPI=96
ignore_abi=no
allow_external_gpus=no
options=overclocking
dynamic_power_management=fine
dynamic_power_management_memory_threshold=

/home/markus/.local/share/xorg/Xorg.0.log

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[   109.493] 
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[   109.500] Current Operating System: Linux M16 5.15.2-arch1-1 #1 SMP PREEMPT Fri, 12 Nov 2021 19:22:10 +0000 x86_64
[   109.500] Kernel command line: BOOT_IMAGE=/arch/BOOT/default@/vmlinuz-linux root=ZFS=rpool/arch/ROOT/default rw zfs_import_dir=/dev/disk/by-id loglevel=3 quiet
[   109.506]  
[   109.509] Current version of pixman: 0.40.0
[   109.514] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   109.514] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   109.524] (==) Log file: "/home/markus/.local/share/xorg/Xorg.0.log", Time: Mon Nov 15 01:17:55 2021
[   109.527] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   109.529] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   109.529] (==) No Layout section.  Using the first Screen section.
[   109.529] (==) No screen section available. Using defaults.
[   109.529] (**) |-->Screen "Default Screen Section" (0)
[   109.529] (**) |   |-->Monitor "<default monitor>"
[   109.529] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[   109.529] (**) |   |-->Device "integrated"
[   109.529] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   109.529] (==) Automatically adding devices
[   109.529] (==) Automatically enabling devices
[   109.529] (==) Automatically adding GPU devices
[   109.529] (==) Automatically binding GPU devices
[   109.529] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   109.529] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   109.529] 	Entry deleted from font path.
[   109.529] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[   109.529] 	Entry deleted from font path.
[   109.529] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[   109.529] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   109.529] 	Entry deleted from font path.
[   109.529] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   109.529] 	Entry deleted from font path.
[   109.529] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   109.529] 	Entry deleted from font path.
[   109.529] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   109.529] 	Entry deleted from font path.
[   109.529] (==) FontPath set to:
	
[   109.529] (==) ModulePath set to "/usr/lib/xorg/modules"
[   109.529] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   109.529] (II) Module ABI versions:
[   109.529] 	X.Org ANSI C Emulation: 0.4
[   109.529] 	X.Org Video Driver: 25.2
[   109.529] 	X.Org XInput driver : 24.4
[   109.529] 	X.Org Server Extension : 10.0
[   109.530] (++) using VT number 5

[   109.531] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   109.531] (II) xfree86: Adding drm device (/dev/dri/card0)
[   109.531] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[   109.532] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   109.533] (--) PCI:*(0@0:2:0) 8086:9a60:1043:132c rev 1, Mem @ 0x6230000000/16777216, 0x4000000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[   109.533] (--) PCI: (1@0:0:0) 10de:249d:1043:132c rev 161, Mem @ 0x85000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[   109.533] (II) Open ACPI successful (/var/run/acpid.socket)
[   109.533] (II) LoadModule: "glx"
[   109.533] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   109.534] (II) Module glx: vendor="X.Org Foundation"
[   109.534] 	compiled for 1.21.1.1, module version = 1.0.0
[   109.534] 	ABI class: X.Org Server Extension, version 10.0
[   109.534] (II) LoadModule: "modesetting"
[   109.534] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   109.534] (II) Module modesetting: vendor="X.Org Foundation"
[   109.534] 	compiled for 1.21.1.1, module version = 1.21.1
[   109.534] 	Module class: X.Org Video Driver
[   109.534] 	ABI class: X.Org Video Driver, version 25.2
[   109.534] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   109.534] (WW) Falling back to old probe method for modesetting
[   109.534] (II) modeset(0): using default device
[   109.534] (II) modeset(G0): using drv /dev/dri/card0
[   109.534] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   109.534] (EE) 
Fatal server error:
[   109.534] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[   109.534] (EE) 
[   109.534] (EE) 
Please consult the The X.Org Foundation support 
	at http://wiki.x.org
 for help. 
[   109.534] (EE) Please also check the log file at "/home/markus/.local/share/xorg/Xorg.0.log" for additional information.
[   109.534] (EE) 
[   109.547] (EE) Server terminated with error (1). Closing log file.

optimus-manager.service:

-- Boot bf83c61b54e548b19957935b2d84d5ee --
Nov 15 01:16:15 M16 systemd[1]: Starting Optimus Manager Commands Daemon...
Nov 15 01:16:15 M16 python3[5074]: [19] INFO: # Daemon pre-start hook
Nov 15 01:16:15 M16 python3[5074]: [19] INFO: Removing /etc/X11/xorg.conf.d/10-optimus-manager.conf (if present)
Nov 15 01:16:15 M16 python3[5074]: [20] INFO: Copying /etc/optimus-manager/optimus-manager.conf to /var/lib/optimus-manager/tmp/config_copy.conf
Nov 15 01:16:15 M16 python3[5074]: [23] INFO: Startup mode is: integrated
Nov 15 01:16:15 M16 python3[5074]: [23] INFO: Writing state {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
Nov 15 01:16:15 M16 python3[5074]: [24] INFO: Daemon pre-start hook completed successfully.
Nov 15 01:16:15 M16 python3[5074]: [24] INFO: Calling Xorg pre-start hook.
Nov 15 01:16:15 M16 python3[5705]: [9] INFO: # Xorg pre-start hook
Nov 15 01:16:15 M16 python3[5705]: [10] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
Nov 15 01:16:15 M16 python3[5705]: [10] INFO: Requested mode is: integrated
Nov 15 01:16:16 M16 python3[5705]: [712] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
Nov 15 01:16:16 M16 python3[5705]: [712] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
Nov 15 01:16:16 M16 python3[5705]: [715] INFO: Loading module bbswitch
Nov 15 01:16:16 M16 python3[5705]: [719] INFO: Setting GPU power to OFF via bbswitch
Nov 15 01:16:16 M16 python3[5705]: [735] WARNING: bbswitch is enabled, pci_power_control option ignored.
Nov 15 01:16:16 M16 python3[5705]: [1351] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
Nov 15 01:16:16 M16 python3[5705]: [1351] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20211115T011615', 'requested_mode': 'integrated'}
Nov 15 01:16:16 M16 python3[5705]: [1351] INFO: Xorg pre-start hook completed successfully.
Nov 15 01:16:16 M16 systemd[1]: Started Optimus Manager Commands Daemon.
Nov 15 01:16:16 M16 python3[6503]: [0] INFO: # Commands daemon
Nov 15 01:16:16 M16 python3[6503]: [1] INFO: Opening UNIX socket
Nov 15 01:16:16 M16 python3[6503]: [1] INFO: Awaiting commands
> optimus-manager --status
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20211115T011615.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

/var/log/optimus-manager/switch/switch-20211115T011615.log

[9] INFO: # Xorg pre-start hook
[10] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[10] INFO: Requested mode is: integrated
[712] INFO: Available modules: ['nouveau', 'bbswitch', 'acpi_call', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[712] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[715] INFO: Loading module bbswitch
[719] INFO: Setting GPU power to OFF via bbswitch
[735] WARNING: bbswitch is enabled, pci_power_control option ignored.
[1351] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1351] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20211115T011615', 'requested_mode': 'integrated'}
[1351] INFO: Xorg pre-start hook completed successfully.
[4] INFO: # Xorg post-start hook
[957] INFO: Running /etc/optimus-manager/xsetup-integrated.sh
[995] ERROR: Cannot set DPI (xrandr error):
None
[996] INFO: Writing state {'type': 'done', 'switch_id': '20211115T011615', 'current_mode': 'integrated'}
[996] INFO: Xorg post-start hook completed successfully.
> prime-offload
[4] INFO: # Xorg post-start hook
[957] INFO: Running /etc/optimus-manager/xsetup-integrated.sh
[995] ERROR: Cannot set DPI (xrandr error):
None
[996] INFO: Writing state {'type': 'done', 'switch_id': '20211115T011615', 'current_mode': 'integrated'}
[996] INFO: Xorg post-start hook completed successfully.

> optimus-manager --status
Optimus Manager (Client) version 1.4

Current GPU mode : integrated
GPU mode requested for next login : no change
GPU at startup : integrated
Temporary config path: no

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:9
  • Comments:11

github_iconTop GitHub Comments

5reactions
sagittaroscommented, Dec 5, 2021

@markusressel did you manage to find a solution? I have the same hardware and I am facing this issue as well

4reactions
christopherbuicommented, Feb 9, 2022

I too am having this problem. I was able to reproduce this problem both on Arch, EndeavourOS, Manjaro

Hardware: Dell XPS 9510, Integrated Intel & RTX 3050

Xorg log

[    13.656] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    13.657] (II) xfree86: Adding drm device (/dev/dri/card0)
[    13.657] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    13.657] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    13.659] (--) PCI:*(0@0:2:0) 8086:9a60:1028:0a61 rev 1, Mem @ 0x6164000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[    13.659] (--) PCI: (1@0:0:0) 10de:25a2:1028:0a61 rev 161, Mem @ 0xa0000000/16777216, 0x6000000000/4294967296, 0x6100000000/33554432, I/O @ 0x00003000/128
[    13.659] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    13.659] (II) LoadModule: "glx"
[    13.660] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    13.664] (II) Module glx: vendor="X.Org Foundation"
[    13.664]    compiled for 1.21.1.3, module version = 1.0.0
[    13.664]    ABI class: X.Org Server Extension, version 10.0
[    13.664] (II) LoadModule: "modesetting"
[    13.664] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    13.667] (II) Module modesetting: vendor="X.Org Foundation"
[    13.667]    compiled for 1.21.1.3, module version = 1.21.1
[    13.667]    Module class: X.Org Video Driver
[    13.667]    ABI class: X.Org Video Driver, version 25.2
[    13.667] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    13.667] (WW) Falling back to old probe method for modesetting
[    13.667] (II) modeset(0): using default device
[    13.667] (II) modeset(G0): using drv /dev/dri/card0
[    13.667] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    13.667] (EE)
Fatal server error:
[    13.667] (EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices
[    13.667] (EE)
[    13.667] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[    13.667] (EE) Please also check the log file at "/home/alphard/.local/share/xorg/Xorg.0.log" for additional information.
[    13.667] (EE)
[    13.691] (EE) Server terminated with error (1). Closing log file.

Optimus Manager log

[8] INFO: # Xorg pre-start hook
[8] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[8] INFO: Requested mode is: integrated
[174] INFO: Available modules: ['nouveau', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[174] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[178] INFO: switching=none, nothing to do
[1126] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1126] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20220209T130719', 'requested_mode': 'integrated'}
[1126] INFO: Xorg pre-start hook completed successfully.

I have tried with gdm, sddm, and startx, following all necessary steps in the optimus-manager wiki.

Read more comments on GitHub >

github_iconTop Results From Across the Web

cannot run in framebuffer mode. Please specify busIDs
Now I have to somehow specify "busIDs for all framebuffer devices" (as from the file error). So how can I do that? What...
Read more >
[SOLVED] Cannot run in framebuffer mode. Please specify ...
On running startx from the console the message "Cannot run in framebuffer mode. Please specify busID" is displayed.
Read more >
openSUSE 15.2 and Nvidia install frustrations on Asus Zephyrus
Hi Folks, I have been failing for a couple of weeks to install nvidia drivers on a new laptop (ASUS ROG Zephyrus 15.6,...
Read more >
How to fix frozen ASUS / ROG logo screen | Official Support
Table of Contents: Remove accessories and update BIOS; To do CMOS reset; To load BIOS optimized defaults; Enter the Safe mode and reset...
Read more >
Cannot run in framebuffer mode. Please specify busIDs
I am new to FreeBSD, have experience with Linux and Solaris. I am trying to configure my NVIDIA GeForce 9400M (iMac 2009) to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found