Hi all
Can anyone help me regarding prime on-demand issue. My laptop got 2 gpu:
1. intel hd 630 - 10th gen i7 gpu
2. nvidia rtx 2070
- when i enable on-demand, i got error intel hdaudio - unable to bind codec,then hang on boot when using kernel option nomodeset
- without nomodeset, no intel hdaudio error but still hang at boot.
- currently using intel mode
system output:
mus@mus-ONYX-G:~$ sudo hwinfo --gfxcard --verbose
18: PCI 100.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: VCu0.6jox1TBTr53
Parent ID: vSkL.zSDH439hZt2
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0
SysFS BusID: 0000:01:00.0
Hardware Class: graphics card
Model: "nVidia VGA compatible controller"
Vendor: pci 0x10de "nVidia Corporation"
Device: pci 0x1f14
SubVendor: pci 0x1d05 "Tongfang Hongkong Limited"
SubDevice: pci 0x108b
Revision: 0xa1
Memory Range: 0xa3000000-0xa3ffffff (rw,non-prefetchable,disabled)
Memory Range: 0x6030000000-0x603fffffff (ro,non-prefetchable,disabled)
Memory Range: 0x6040000000-0x6041ffffff (ro,non-prefetchable,disabled)
I/O Ports: 0x6000-0x6fff (rw,disabled)
Memory Range: 0xa4000000-0xa407ffff (ro,non-prefetchable,disabled)
IRQ: 255 (no events)
Module Alias: "pci:v000010DEd00001F14sv00001D05sd0000108Bbc03sc0 0i00"
Driver Info #0:
Driver Status: nvidiafb is not active
Driver Activation Cmd: "modprobe nvidiafb"
Driver Info #1:
Driver Status: nouveau is not active
Driver Activation Cmd: "modprobe nouveau"
Driver Info #2:
Driver Status: nvidia_drm is not active
Driver Activation Cmd: "modprobe nvidia_drm"
Driver Info #3:
Driver Status: nvidia is not active
Driver Activation Cmd: "modprobe nvidia"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #14 (PCI bridge)
35: PCI 02.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: _Znp.ETqc5gI0mXC
SysFS ID: /devices/pci0000:00/0000:00:02.0
SysFS BusID: 0000:00:02.0
Hardware Class: graphics card
Device Name: "Onboard - Video"
Model: "Intel VGA compatible controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x9bc4
SubVendor: pci 0x1d05 "Tongfang Hongkong Limited"
SubDevice: pci 0x108b
Revision: 0x05
Driver: "i915"
Driver Modules: "i915"
Memory Range: 0x6044000000-0x6044ffffff (rw,non-prefetchable)
Memory Range: 0x4000000000-0x400fffffff (ro,non-prefetchable)
I/O Ports: 0x7000-0x703f (rw)
Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
IRQ: 204 (210332 events)
Module Alias: "pci:v00008086d00009BC4sv00001D05sd0000108Bbc03sc0 0i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Primary display adapter: #18
mus@mus-ONYX-G:~$ sudo prime-select query
intel
my current xorg.conf:
mus@mus-ONYX-G:~$ cat /etc/X11/xorg.conf
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 460.73.01
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
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"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection