Public bug reported:

I'm running 18.04 on a Intel. My computer came with Ubuntu installed and
a Nvidia GeForce MX150 Graphics Card, but I've never been able to use
it, as it always freezes my screen. For a year, I've been using the
Intel Graphics Card instead. The problem is, I got my python3
installation really messed up and had to do a Factory Reset to be able
to boot again (as unfortunately I had no backup).

Since I've had this problem in the past, I've been able to more or less
reproduce the steps I've made to get my computer working with Intel
Graphics. Some of them were:

Purge NVIDIA Graphics:

sudo apt-get remove --purge nvidia*

Install lightdm, as the default manager got my login screen freezing
too:

sudo apt-get install lightdm

Edit grub settings so I could boot in nomodeset at least:

GRUB_CMDLINE_LINUX="mem_sleep_default=deep nomodeset"

(I believe this probably wasn't the right place to write nomodeset, but
I'm not the more experienced user and thought I should remove nvidia-
drm.modeset=1 from my boot settings as I didn't want anything to do with
NVIDIA.)

After login with lightdm in nomodeset, I got that the used Graphics Card
is llvmpipe (LLVM 9.0, 256 bits), not Intel UHD Graphics, which is the
desired one.

So I've installed NVIDIA repo again (sudo add-apt-repository ppa
:graphics-drivers/ppa) and also Nvidia settings for being able to prime-
select intel as the Graphics Card.

My desire is to be able to boot with Intel UHD Graphics but without
nomodeset. How should my grub file look like? It's currently like that:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="nosplash quiet nomodeset"
GRUB_CMDLINE_LINUX=""

And this is my lsmod log:

`
Module                  Size  Used by
ccm                    20480  3
rfcomm                 77824  4
cmac                   16384  1
bnep                   20480  2
uvcvideo               86016  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
btusb                  45056  0
videobuf2_v4l2         24576  1 uvcvideo
btrtl                  16384  1 btusb
videobuf2_core         40960  2 videobuf2_v4l2,uvcvideo
btbcm                  16384  1 btusb
btintel                16384  1 btusb
videodev              188416  3 videobuf2_core,videobuf2_v4l2,uvcvideo
bluetooth             548864  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
media                  40960  2 videodev,uvcvideo
ecdh_generic           24576  2 bluetooth
nls_iso8859_1          16384  1
snd_hda_codec_hdmi     53248  1
hid_multitouch         20480  0
arc4                   16384  2
dell_smm_hwmon         16384  0
intel_rapl             20480  0
x86_pkg_temp_thermal    16384  0
dell_laptop            20480  0
intel_powerclamp       16384  0
coretemp               16384  0
snd_soc_skl            86016  0
snd_hda_codec_realtek   106496  1
snd_soc_skl_ipc        65536  1 snd_soc_skl
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_ext_core       24576  1 snd_soc_skl
snd_soc_sst_dsp        32768  1 snd_soc_skl_ipc
kvm_intel             217088  0
snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
kvm                   610304  1 kvm_intel
snd_soc_acpi           16384  1 snd_soc_skl
irqbypass              16384  1 kvm
crct10dif_pclmul       16384  0
snd_soc_core          241664  1 snd_soc_skl
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
snd_compress           20480  1 snd_soc_core
ac97_bus               16384  1 snd_soc_core
pcbc                   16384  0
snd_pcm_dmaengine      16384  1 snd_soc_core
snd_hda_intel          45056  3
snd_hda_codec         131072  4 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
aesni_intel           188416  4
aes_x86_64             20480  1 aesni_intel
snd_hda_core           81920  7 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
iwlmvm                376832  0
crypto_simd            16384  1 aesni_intel
glue_helper            16384  1 aesni_intel
snd_hwdep              20480  1 snd_hda_codec
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           20480  0
mac80211              786432  1 iwlmvm
intel_rapl_perf        16384  0
snd_pcm                98304  8 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
joydev                 24576  0
input_leds             16384  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
serio_raw              16384  0
snd_rawmidi            32768  1 snd_seq_midi
dell_wmi               16384  0
snd_seq                65536  2 snd_seq_midi,snd_seq_midi_event
dell_smbios            24576  2 dell_wmi,dell_laptop
dcdbas                 16384  1 dell_smbios
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
iwlwifi               290816  1 iwlmvm
snd_timer              32768  2 snd_seq,snd_pcm
snd                    81920  19 
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
cfg80211              634880  3 iwlmvm,iwlwifi,mac80211
wmi_bmof               16384  0
soundcore              16384  1 snd
ucsi_acpi              16384  0
typec_ucsi             28672  1 ucsi_acpi
typec                  24576  1 typec_ucsi
mac_hid                16384  0
idma64                 20480  0
virt_dma               16384  1 idma64
int3403_thermal        16384  0
int3402_thermal        16384  0
mei_me                 40960  0
intel_lpss_pci         20480  0
mei                    94208  1 mei_me
processor_thermal_device    16384  0
intel_lpss             16384  1 intel_lpss_pci
int3400_thermal        16384  0
int340x_thermal_zone    16384  3 
int3403_thermal,int3402_thermal,processor_thermal_device
intel_soc_dts_iosf     16384  1 processor_thermal_device
intel_hid              16384  0
intel_pch_thermal      16384  0
acpi_thermal_rel       16384  1 int3400_thermal
acpi_pad              180224  0
sparse_keymap          16384  2 intel_hid,dell_wmi
sch_fq_codel           20480  6
parport_pc             32768  0
ppdev                  20480  0
lp                     20480  0
parport                49152  3 parport_pc,lp,ppdev
ip_tables              28672  0
x_tables               40960  1 ip_tables
autofs4                40960  2
btrfs                1134592  0
zstd_compress         163840  1 btrfs
raid10                 53248  0
raid456               147456  0
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor                    24576  2 async_xor,btrfs
raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c              16384  1 raid456
raid1                  40960  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
dm_mirror              24576  0
dm_region_hash         20480  1 dm_mirror
dm_log                 20480  2 dm_region_hash,dm_mirror
hid_generic            16384  0
usbhid                 49152  0
nouveau              1708032  0
i915                 1396736  0
ttm                   106496  1 nouveau
i2c_algo_bit           16384  2 i915,nouveau
drm_kms_helper        172032  2 i915,nouveau
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
i2c_hid                24576  0
ahci                   40960  2
r8169                  86016  0
mxm_wmi                16384  1 nouveau
psmouse               151552  0
mii                    16384  1 r8169
drm                   401408  4 drm_kms_helper,i915,ttm,nouveau
libahci                32768  1 ahci
hid                   118784  4 i2c_hid,usbhid,hid_multitouch,hid_generic
wmi                    24576  6 
dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
video                  45056  4 dell_wmi,dell_laptop,i915,nouveau
`

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: xorg 1:7.7+19ubuntu7.1
ProcVersionSignature: Ubuntu 4.15.0-1080.90-oem 4.15.18
Uname: Linux 4.15.0-1080-oem x86_64
ApportVersion: 2.20.9-0ubuntu7.14
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue May 19 15:22:55 2020
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation Device [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Dell Device [1028:08a6]
   Subsystem: Dell GP108M [GeForce MX150] [1028:08a6]
InstallationDate: Installed on 2020-05-17 (2 days ago)
InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0bda:5521 Realtek Semiconductor Corp.
 Bus 001 Device 002: ID 046d:c535 Logitech, Inc.
 Bus 001 Device 004: ID 8087:0025 Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 7580
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1080-oem 
root=UUID=d72c1d20-988b-4339-ba3c-19285389e129 ro nosplash quiet nomodeset
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/24/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.6.0
dmi.board.name: 0W83FH
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: 
dmi:bvnDellInc.:bvr1.6.0:bd03/24/2019:svnDellInc.:pnInspiron7580:pvr:rvnDellInc.:rn0W83FH:rvrA01:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 7580
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

** Affects: xorg (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic ubuntu

** Description changed:

  I'm running 18.04 on a Intel. My computer came with Ubuntu installed and
  a Nvidia GeForce MX150 Graphics Card, but I've never been able to use
  it, as it always freezes my screen. For a year, I've been using the
  Intel Graphics Card instead. The problem is, I got my python3
  installation really messed up and had to do a Factory Reset to be able
  to boot again (as unfortunately I had no backup).
  
  Since I've had this problem in the past, I've been able to more or less
  reproduce the steps I've made to get my computer working with Intel
  Graphics. Some of them were:
  
  Purge NVIDIA Graphics:
  
  sudo apt-get remove --purge nvidia*
  
  Install lightdm, as the default manager got my login screen freezing
  too:
  
  sudo apt-get install lightdm
  
  Edit grub settings so I could boot in nomodeset at least:
  
  GRUB_CMDLINE_LINUX="mem_sleep_default=deep nomodeset"
  
  (I believe this probably wasn't the right place to write nomodeset, but
  I'm not the more experienced user and thought I should remove nvidia-
  drm.modeset=1 from my boot settings as I didn't want anything to do with
  NVIDIA.)
  
  After login with lightdm in nomodeset, I got that the used Graphics Card
  is llvmpipe (LLVM 9.0, 256 bits), not Intel UHD Graphics, which is the
  desired one.
  
  So I've installed NVIDIA repo again (sudo add-apt-repository ppa
  :graphics-drivers/ppa) and also Nvidia settings for being able to prime-
  select intel as the Graphics Card.
  
  My desire is to be able to boot with Intel UHD Graphics but without
  nomodeset. How should my grub file look like? It's currently like that:
  
- # If you change this file, run 'update-grub' afterwards to update
- # /boot/grub/grub.cfg.
- # For full documentation of the options in this file, see:
- #   info -f grub -n 'Simple configuration'
- 
  GRUB_DEFAULT=0
  GRUB_TIMEOUT_STYLE=hidden
  GRUB_TIMEOUT=0
  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
- GRUB_CMDLINE_LINUX_DEFAULT="quiet"
- GRUB_CMDLINE_LINUX="mem_sleep_default=deep nvidia-drm.modeset=1"
- 
- # Uncomment to enable BadRAM filtering, modify to suit your needs
- # This works with Linux (no patch required) and with any kernel that obtains
- # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
- #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
- 
- # Uncomment to disable graphical terminal (grub-pc only)
- #GRUB_TERMINAL=console
+ GRUB_CMDLINE_LINUX_DEFAULT="nosplash quiet nomodeset"
+ GRUB_CMDLINE_LINUX=""
+ 
+ And this is my lsmod log:
+ 
+ `
+ Module                  Size  Used by
+ ccm                    20480  3
+ rfcomm                 77824  4
+ cmac                   16384  1
+ bnep                   20480  2
+ uvcvideo               86016  0
+ videobuf2_vmalloc      16384  1 uvcvideo
+ videobuf2_memops       16384  1 videobuf2_vmalloc
+ btusb                  45056  0
+ videobuf2_v4l2         24576  1 uvcvideo
+ btrtl                  16384  1 btusb
+ videobuf2_core         40960  2 videobuf2_v4l2,uvcvideo
+ btbcm                  16384  1 btusb
+ btintel                16384  1 btusb
+ videodev              188416  3 videobuf2_core,videobuf2_v4l2,uvcvideo
+ bluetooth             548864  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
+ media                  40960  2 videodev,uvcvideo
+ ecdh_generic           24576  2 bluetooth
+ nls_iso8859_1          16384  1
+ snd_hda_codec_hdmi     53248  1
+ hid_multitouch         20480  0
+ arc4                   16384  2
+ dell_smm_hwmon         16384  0
+ intel_rapl             20480  0
+ x86_pkg_temp_thermal    16384  0
+ dell_laptop            20480  0
+ intel_powerclamp       16384  0
+ coretemp               16384  0
+ snd_soc_skl            86016  0
+ snd_hda_codec_realtek   106496  1
+ snd_soc_skl_ipc        65536  1 snd_soc_skl
+ snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
+ snd_hda_ext_core       24576  1 snd_soc_skl
+ snd_soc_sst_dsp        32768  1 snd_soc_skl_ipc
+ kvm_intel             217088  0
+ snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
+ kvm                   610304  1 kvm_intel
+ snd_soc_acpi           16384  1 snd_soc_skl
+ irqbypass              16384  1 kvm
+ crct10dif_pclmul       16384  0
+ snd_soc_core          241664  1 snd_soc_skl
+ crc32_pclmul           16384  0
+ ghash_clmulni_intel    16384  0
+ snd_compress           20480  1 snd_soc_core
+ ac97_bus               16384  1 snd_soc_core
+ pcbc                   16384  0
+ snd_pcm_dmaengine      16384  1 snd_soc_core
+ snd_hda_intel          45056  3
+ snd_hda_codec         131072  4 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
+ aesni_intel           188416  4
+ aes_x86_64             20480  1 aesni_intel
+ snd_hda_core           81920  7 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
+ iwlmvm                376832  0
+ crypto_simd            16384  1 aesni_intel
+ glue_helper            16384  1 aesni_intel
+ snd_hwdep              20480  1 snd_hda_codec
+ cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
+ intel_cstate           20480  0
+ mac80211              786432  1 iwlmvm
+ intel_rapl_perf        16384  0
+ snd_pcm                98304  8 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
+ joydev                 24576  0
+ input_leds             16384  0
+ snd_seq_midi           16384  0
+ snd_seq_midi_event     16384  1 snd_seq_midi
+ serio_raw              16384  0
+ snd_rawmidi            32768  1 snd_seq_midi
+ dell_wmi               16384  0
+ snd_seq                65536  2 snd_seq_midi,snd_seq_midi_event
+ dell_smbios            24576  2 dell_wmi,dell_laptop
+ dcdbas                 16384  1 dell_smbios
+ snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
+ iwlwifi               290816  1 iwlmvm
+ snd_timer              32768  2 snd_seq,snd_pcm
+ snd                    81920  19 
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
+ dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
+ cfg80211              634880  3 iwlmvm,iwlwifi,mac80211
+ wmi_bmof               16384  0
+ soundcore              16384  1 snd
+ ucsi_acpi              16384  0
+ typec_ucsi             28672  1 ucsi_acpi
+ typec                  24576  1 typec_ucsi
+ mac_hid                16384  0
+ idma64                 20480  0
+ virt_dma               16384  1 idma64
+ int3403_thermal        16384  0
+ int3402_thermal        16384  0
+ mei_me                 40960  0
+ intel_lpss_pci         20480  0
+ mei                    94208  1 mei_me
+ processor_thermal_device    16384  0
+ intel_lpss             16384  1 intel_lpss_pci
+ int3400_thermal        16384  0
+ int340x_thermal_zone    16384  3 
int3403_thermal,int3402_thermal,processor_thermal_device
+ intel_soc_dts_iosf     16384  1 processor_thermal_device
+ intel_hid              16384  0
+ intel_pch_thermal      16384  0
+ acpi_thermal_rel       16384  1 int3400_thermal
+ acpi_pad              180224  0
+ sparse_keymap          16384  2 intel_hid,dell_wmi
+ sch_fq_codel           20480  6
+ parport_pc             32768  0
+ ppdev                  20480  0
+ lp                     20480  0
+ parport                49152  3 parport_pc,lp,ppdev
+ ip_tables              28672  0
+ x_tables               40960  1 ip_tables
+ autofs4                40960  2
+ btrfs                1134592  0
+ zstd_compress         163840  1 btrfs
+ raid10                 53248  0
+ raid456               147456  0
+ async_raid6_recov      20480  1 raid456
+ async_memcpy           16384  2 raid456,async_raid6_recov
+ async_pq               16384  2 raid456,async_raid6_recov
+ async_xor              16384  3 async_pq,raid456,async_raid6_recov
+ async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
+ xor                    24576  2 async_xor,btrfs
+ raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
+ libcrc32c              16384  1 raid456
+ raid1                  40960  0
+ raid0                  20480  0
+ multipath              16384  0
+ linear                 16384  0
+ dm_mirror              24576  0
+ dm_region_hash         20480  1 dm_mirror
+ dm_log                 20480  2 dm_region_hash,dm_mirror
+ hid_generic            16384  0
+ usbhid                 49152  0
+ nouveau              1708032  0
+ i915                 1396736  0
+ ttm                   106496  1 nouveau
+ i2c_algo_bit           16384  2 i915,nouveau
+ drm_kms_helper        172032  2 i915,nouveau
+ syscopyarea            16384  1 drm_kms_helper
+ sysfillrect            16384  1 drm_kms_helper
+ sysimgblt              16384  1 drm_kms_helper
+ fb_sys_fops            16384  1 drm_kms_helper
+ i2c_hid                24576  0
+ ahci                   40960  2
+ r8169                  86016  0
+ mxm_wmi                16384  1 nouveau
+ psmouse               151552  0
+ mii                    16384  1 r8169
+ drm                   401408  4 drm_kms_helper,i915,ttm,nouveau
+ libahci                32768  1 ahci
+ hid                   118784  4 i2c_hid,usbhid,hid_multitouch,hid_generic
+ wmi                    24576  6 
dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
+ video                  45056  4 dell_wmi,dell_laptop,i915,nouveau
+ `
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xorg 1:7.7+19ubuntu7.1
  ProcVersionSignature: Ubuntu 4.15.0-1080.90-oem 4.15.18
  Uname: Linux 4.15.0-1080-oem x86_64
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 19 15:22:55 2020
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
-  Intel Corporation Device [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
-    Subsystem: Dell Device [1028:08a6]
-    Subsystem: Dell GP108M [GeForce MX150] [1028:08a6]
+  Intel Corporation Device [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
+    Subsystem: Dell Device [1028:08a6]
+    Subsystem: Dell GP108M [GeForce MX150] [1028:08a6]
  InstallationDate: Installed on 2020-05-17 (2 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
  Lsusb:
-  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
-  Bus 001 Device 003: ID 0bda:5521 Realtek Semiconductor Corp. 
-  Bus 001 Device 002: ID 046d:c535 Logitech, Inc. 
-  Bus 001 Device 004: ID 8087:0025 Intel Corp. 
-  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
+  Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
+  Bus 001 Device 003: ID 0bda:5521 Realtek Semiconductor Corp.
+  Bus 001 Device 002: ID 046d:c535 Logitech, Inc.
+  Bus 001 Device 004: ID 8087:0025 Intel Corp.
+  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Inspiron 7580
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1080-oem 
root=UUID=d72c1d20-988b-4339-ba3c-19285389e129 ro nosplash quiet nomodeset
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/24/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.6.0
  dmi.board.name: 0W83FH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.6.0:bd03/24/2019:svnDellInc.:pnInspiron7580:pvr:rvnDellInc.:rn0W83FH:rvrA01:cvnDellInc.:ct10:cvr:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 7580
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
  version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.4
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1879546

Title:
  I'm not able to boot if not in nomodeset mode. OS isn't able to use
  Intel Graphics card

Status in xorg package in Ubuntu:
  New

Bug description:
  I'm running 18.04 on a Intel. My computer came with Ubuntu installed
  and a Nvidia GeForce MX150 Graphics Card, but I've never been able to
  use it, as it always freezes my screen. For a year, I've been using
  the Intel Graphics Card instead. The problem is, I got my python3
  installation really messed up and had to do a Factory Reset to be able
  to boot again (as unfortunately I had no backup).

  Since I've had this problem in the past, I've been able to more or
  less reproduce the steps I've made to get my computer working with
  Intel Graphics. Some of them were:

  Purge NVIDIA Graphics:

  sudo apt-get remove --purge nvidia*

  Install lightdm, as the default manager got my login screen freezing
  too:

  sudo apt-get install lightdm

  Edit grub settings so I could boot in nomodeset at least:

  GRUB_CMDLINE_LINUX="mem_sleep_default=deep nomodeset"

  (I believe this probably wasn't the right place to write nomodeset,
  but I'm not the more experienced user and thought I should remove
  nvidia-drm.modeset=1 from my boot settings as I didn't want anything
  to do with NVIDIA.)

  After login with lightdm in nomodeset, I got that the used Graphics
  Card is llvmpipe (LLVM 9.0, 256 bits), not Intel UHD Graphics, which
  is the desired one.

  So I've installed NVIDIA repo again (sudo add-apt-repository ppa
  :graphics-drivers/ppa) and also Nvidia settings for being able to
  prime-select intel as the Graphics Card.

  My desire is to be able to boot with Intel UHD Graphics but without
  nomodeset. How should my grub file look like? It's currently like
  that:

  GRUB_DEFAULT=0
  GRUB_TIMEOUT_STYLE=hidden
  GRUB_TIMEOUT=0
  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  GRUB_CMDLINE_LINUX_DEFAULT="nosplash quiet nomodeset"
  GRUB_CMDLINE_LINUX=""

  And this is my lsmod log:

  `
  Module                  Size  Used by
  ccm                    20480  3
  rfcomm                 77824  4
  cmac                   16384  1
  bnep                   20480  2
  uvcvideo               86016  0
  videobuf2_vmalloc      16384  1 uvcvideo
  videobuf2_memops       16384  1 videobuf2_vmalloc
  btusb                  45056  0
  videobuf2_v4l2         24576  1 uvcvideo
  btrtl                  16384  1 btusb
  videobuf2_core         40960  2 videobuf2_v4l2,uvcvideo
  btbcm                  16384  1 btusb
  btintel                16384  1 btusb
  videodev              188416  3 videobuf2_core,videobuf2_v4l2,uvcvideo
  bluetooth             548864  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
  media                  40960  2 videodev,uvcvideo
  ecdh_generic           24576  2 bluetooth
  nls_iso8859_1          16384  1
  snd_hda_codec_hdmi     53248  1
  hid_multitouch         20480  0
  arc4                   16384  2
  dell_smm_hwmon         16384  0
  intel_rapl             20480  0
  x86_pkg_temp_thermal    16384  0
  dell_laptop            20480  0
  intel_powerclamp       16384  0
  coretemp               16384  0
  snd_soc_skl            86016  0
  snd_hda_codec_realtek   106496  1
  snd_soc_skl_ipc        65536  1 snd_soc_skl
  snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
  snd_hda_ext_core       24576  1 snd_soc_skl
  snd_soc_sst_dsp        32768  1 snd_soc_skl_ipc
  kvm_intel             217088  0
  snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
  kvm                   610304  1 kvm_intel
  snd_soc_acpi           16384  1 snd_soc_skl
  irqbypass              16384  1 kvm
  crct10dif_pclmul       16384  0
  snd_soc_core          241664  1 snd_soc_skl
  crc32_pclmul           16384  0
  ghash_clmulni_intel    16384  0
  snd_compress           20480  1 snd_soc_core
  ac97_bus               16384  1 snd_soc_core
  pcbc                   16384  0
  snd_pcm_dmaengine      16384  1 snd_soc_core
  snd_hda_intel          45056  3
  snd_hda_codec         131072  4 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
  aesni_intel           188416  4
  aes_x86_64             20480  1 aesni_intel
  snd_hda_core           81920  7 
snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
  iwlmvm                376832  0
  crypto_simd            16384  1 aesni_intel
  glue_helper            16384  1 aesni_intel
  snd_hwdep              20480  1 snd_hda_codec
  cryptd                 24576  3 crypto_simd,ghash_clmulni_intel,aesni_intel
  intel_cstate           20480  0
  mac80211              786432  1 iwlmvm
  intel_rapl_perf        16384  0
  snd_pcm                98304  8 
snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
  joydev                 24576  0
  input_leds             16384  0
  snd_seq_midi           16384  0
  snd_seq_midi_event     16384  1 snd_seq_midi
  serio_raw              16384  0
  snd_rawmidi            32768  1 snd_seq_midi
  dell_wmi               16384  0
  snd_seq                65536  2 snd_seq_midi,snd_seq_midi_event
  dell_smbios            24576  2 dell_wmi,dell_laptop
  dcdbas                 16384  1 dell_smbios
  snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
  iwlwifi               290816  1 iwlmvm
  snd_timer              32768  2 snd_seq,snd_pcm
  snd                    81920  19 
snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
  dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
  cfg80211              634880  3 iwlmvm,iwlwifi,mac80211
  wmi_bmof               16384  0
  soundcore              16384  1 snd
  ucsi_acpi              16384  0
  typec_ucsi             28672  1 ucsi_acpi
  typec                  24576  1 typec_ucsi
  mac_hid                16384  0
  idma64                 20480  0
  virt_dma               16384  1 idma64
  int3403_thermal        16384  0
  int3402_thermal        16384  0
  mei_me                 40960  0
  intel_lpss_pci         20480  0
  mei                    94208  1 mei_me
  processor_thermal_device    16384  0
  intel_lpss             16384  1 intel_lpss_pci
  int3400_thermal        16384  0
  int340x_thermal_zone    16384  3 
int3403_thermal,int3402_thermal,processor_thermal_device
  intel_soc_dts_iosf     16384  1 processor_thermal_device
  intel_hid              16384  0
  intel_pch_thermal      16384  0
  acpi_thermal_rel       16384  1 int3400_thermal
  acpi_pad              180224  0
  sparse_keymap          16384  2 intel_hid,dell_wmi
  sch_fq_codel           20480  6
  parport_pc             32768  0
  ppdev                  20480  0
  lp                     20480  0
  parport                49152  3 parport_pc,lp,ppdev
  ip_tables              28672  0
  x_tables               40960  1 ip_tables
  autofs4                40960  2
  btrfs                1134592  0
  zstd_compress         163840  1 btrfs
  raid10                 53248  0
  raid456               147456  0
  async_raid6_recov      20480  1 raid456
  async_memcpy           16384  2 raid456,async_raid6_recov
  async_pq               16384  2 raid456,async_raid6_recov
  async_xor              16384  3 async_pq,raid456,async_raid6_recov
  async_tx               16384  5 
async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
  xor                    24576  2 async_xor,btrfs
  raid6_pq              114688  4 async_pq,btrfs,raid456,async_raid6_recov
  libcrc32c              16384  1 raid456
  raid1                  40960  0
  raid0                  20480  0
  multipath              16384  0
  linear                 16384  0
  dm_mirror              24576  0
  dm_region_hash         20480  1 dm_mirror
  dm_log                 20480  2 dm_region_hash,dm_mirror
  hid_generic            16384  0
  usbhid                 49152  0
  nouveau              1708032  0
  i915                 1396736  0
  ttm                   106496  1 nouveau
  i2c_algo_bit           16384  2 i915,nouveau
  drm_kms_helper        172032  2 i915,nouveau
  syscopyarea            16384  1 drm_kms_helper
  sysfillrect            16384  1 drm_kms_helper
  sysimgblt              16384  1 drm_kms_helper
  fb_sys_fops            16384  1 drm_kms_helper
  i2c_hid                24576  0
  ahci                   40960  2
  r8169                  86016  0
  mxm_wmi                16384  1 nouveau
  psmouse               151552  0
  mii                    16384  1 r8169
  drm                   401408  4 drm_kms_helper,i915,ttm,nouveau
  libahci                32768  1 ahci
  hid                   118784  4 i2c_hid,usbhid,hid_multitouch,hid_generic
  wmi                    24576  6 
dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor,mxm_wmi,nouveau
  video                  45056  4 dell_wmi,dell_laptop,i915,nouveau
  `

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: xorg 1:7.7+19ubuntu7.1
  ProcVersionSignature: Ubuntu 4.15.0-1080.90-oem 4.15.18
  Uname: Linux 4.15.0-1080-oem x86_64
  ApportVersion: 2.20.9-0ubuntu7.14
  Architecture: amd64
  BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
  CompositorRunning: None
  CurrentDesktop: ubuntu:GNOME
  Date: Tue May 19 15:22:55 2020
  DistUpgraded: Fresh install
  DistroCodename: bionic
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Intel Corporation Device [8086:3ea0] (rev 02) (prog-if 00 [VGA controller])
     Subsystem: Dell Device [1028:08a6]
     Subsystem: Dell GP108M [GeForce MX150] [1028:08a6]
  InstallationDate: Installed on 2020-05-17 (2 days ago)
  InstallationMedia: Ubuntu 18.04 "Bionic" - Build amd64 LIVE Binary 
20180608-09:38
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 0bda:5521 Realtek Semiconductor Corp.
   Bus 001 Device 002: ID 046d:c535 Logitech, Inc.
   Bus 001 Device 004: ID 8087:0025 Intel Corp.
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Inspiron 7580
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-1080-oem 
root=UUID=d72c1d20-988b-4339-ba3c-19285389e129 ro nosplash quiet nomodeset
  SourcePackage: xorg
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 03/24/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.6.0
  dmi.board.name: 0W83FH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.6.0:bd03/24/2019:svnDellInc.:pnInspiron7580:pvr:rvnDellInc.:rn0W83FH:rvrA01:cvnDellInc.:ct10:cvr:
  dmi.product.family: Inspiron
  dmi.product.name: Inspiron 7580
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.99-1ubuntu1~18.04.2
  version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~18.04.3
  version.libgl1-mesa-glx: libgl1-mesa-glx 19.2.8-0ubuntu0~18.04.3
  version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4.4
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20171229-1
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1879546/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to