dglt1 / optimus-switch

*installer finished* installs nvidia prime and makes switching to intel only and back again easy as one command. intel mode fully disables the nvidia gpu to extend battery life.
71 stars 9 forks source link

Can't boot in Intel #26

Closed eatobin closed 4 years ago

eatobin commented 4 years ago

I can boot into Nividia mode but not Intel mode - screen is blank with blinking cursor after sudo set-intel.sh + re-boot. sudo set-nvidia.sh returns me to a successful re-booted Nvidia state.

Ran installer script without modifying Bus IDs. Here are my IDs:

eric@linux-epth ~]$ lspci | grep -E 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)
[eric@linux-epth ~]$

Possibly an Intel iGPU issue?

What more could I give you to help diagnose this problem?

Thank you for your help and optimus-switch.

EDIT:

I did try this:

"to use the modesetting config, edit /usr/local/bin/set-intel.sh and change

cp /etc/switch/intel/intel-xorg.conf /etc/X11/xorg.conf.d/99-intel.conf to this

cp /etc/switch/intel/modeset-xorg.conf /etc/X11/xorg.conf.d/99-intel.conf save/exit and sudo set-intel.sh"

There was no change.

EDIT 2:

Further info, if helpful:

[eric@linux-epth ~]$ /usr/sbin/hwinfo --gfxcard
12: PCI 100.0: 0300 VGA compatible controller (VGA)             
  [Created at pci.386]
  Unique ID: VCu0.ZjUFH5GJEdE
  Parent ID: vSkL.8gSEJ6UgIH7
  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 G98M [GeForce 9300M GS]"
  Vendor: pci 0x10de "nVidia Corporation"
  Device: pci 0x06e5 "G98M [GeForce 9300M GS]"
  SubVendor: pci 0x104d "Sony Corporation"
  SubDevice: pci 0x9025 
  Revision: 0xa1
  Driver: "nvidia"
  Driver Modules: "nvidia"
  Memory Range: 0xe4000000-0xe4ffffff (rw,non-prefetchable)
  Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)
  Memory Range: 0xe2000000-0xe3ffffff (rw,non-prefetchable)
  I/O Ports: 0x7000-0x707f (rw)
  IRQ: 32 (24649 events)
  Module Alias: "pci:v000010DEd000006E5sv0000104Dsd00009025bc03sc00i00"
  Driver Info #0:
    Driver Status: nouveau is not active
    Driver Activation Cmd: "modprobe nouveau"
  Driver Info #1:
    Driver Status: nvidia is active
    Driver Activation Cmd: "modprobe nvidia"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #10 (PCI bridge)

29: PCI 02.0: 0300 VGA compatible controller (VGA)
  [Created at pci.386]
  Unique ID: _Znp.YnzOCluPhb6
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: graphics card
  Model: "Intel Mobile 4 Series Chipset Integrated Graphics Controller"
  Vendor: pci 0x8086 "Intel Corporation"
  Device: pci 0x2a42 "Mobile 4 Series Chipset Integrated Graphics Controller"
  SubVendor: pci 0x104d "Sony Corporation"
  SubDevice: pci 0x9025 
  Revision: 0x07
  Driver: "i915"
  Driver Modules: "i915"
  Memory Range: 0xe8400000-0xe87fffff (rw,non-prefetchable)
  Memory Range: 0xd0000000-0xdfffffff (ro,non-prefetchable)
  I/O Ports: 0x8130-0x8137 (rw)
  Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)
  IRQ: 16 (70 events)
  Module Alias: "pci:v00008086d00002A42sv0000104Dsd00009025bc03sc00i00"
  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: #12
[eric@linux-epth ~]$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x246 cap: 0x1, Source Output crtcs: 2 outputs: 4 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x28e cap: 0x2, Sink Output crtcs: 2 outputs: 2 associated providers: 1 name:modesetting
[eric@linux-epth ~]$

Thanks again.

pcjentsch commented 4 years ago

Hey, I am having the same issue. Did you solve it?

eatobin commented 4 years ago

No, I did not. I think there may be a connection to support for the video-nvidia-340xx driver I use. Which Nvidia driver are you having trouble with?

Sent from my rotary phone.

On Tue, Jun 23, 2020, 12:47 Peter C. Jentsch notifications@github.com wrote:

Hey, I am having the same issue. Did you solve it?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/dglt1/optimus-switch/issues/26#issuecomment-648317540, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGUSKWRPFQ7BVDA75WNUKTRYDTC5ANCNFSM4NUECB7Q .

pcjentsch commented 4 years ago

I'm using video-hybrid-intel-nvidia-440xx-prime. I know it says to use video-nvidia but my system wont boot with one.