Black screen without nomodeset
Posted: Tue Dec 27, 2022 11:41 am
Hello I have this problem that I am trying to fix. I created a AVLinux live usb on my PC and when I plug it back in after making changes on my laptop I have to use nomodeset while booting or I am met with a black screen.
I started a new thread since my problem seems a different one instead of hyjacking this one: https://forum.mxlinux.org/viewtopic.php ... 8&start=10
Hello !
I created a usb using persistence and remaster on my home PC with dual monitors. Everything fine
I load the AVLinux on my laptop, make some changes, save persistence and remaster, everything fine.
Now when I plug it back in my PC I have to boot using failsafe nomodeset or I get a hanging black screen after everything as been booting fine.
Only one monitor shows up and I can't seem to be able to change resolution , like on my PC AVLinux install, 1920x1080 16:9 is what it is set to and is fine.
I don't have this option when trying to change it with display running off usb on home PC, it is dead set at 1024x768 4:3 .
I am tempted to use Nvidia driver installer but I don't want to mess my perfectly fine usb AVLinux.
Is there any info about this somewhere I'm pretty sure it is a setting thing ?
I tried a few things already but all those did not work :
- i915.invert_brightness=1
-
-
-
So my main problems are that I can't change resolution and second monitor is not picked up.
If Nvidia was installed, I did not do it. So my guess is no but here is the info:
This info here is from a fresh install that works well on the PC just to compare:
[/quote]
I started a new thread since my problem seems a different one instead of hyjacking this one: https://forum.mxlinux.org/viewtopic.php ... 8&start=10
Hello !
I created a usb using persistence and remaster on my home PC with dual monitors. Everything fine
I load the AVLinux on my laptop, make some changes, save persistence and remaster, everything fine.
Now when I plug it back in my PC I have to boot using failsafe nomodeset or I get a hanging black screen after everything as been booting fine.
Only one monitor shows up and I can't seem to be able to change resolution , like on my PC AVLinux install, 1920x1080 16:9 is what it is set to and is fine.
I don't have this option when trying to change it with display running off usb on home PC, it is dead set at 1024x768 4:3 .
I am tempted to use Nvidia driver installer but I don't want to mess my perfectly fine usb AVLinux.
Is there any info about this somewhere I'm pretty sure it is a setting thing ?
I tried a few things already but all those did not work :
- i915.invert_brightness=1
-
-Huckleberry Finn wrote: Sat Dec 24, 2022 4:30 pm( It forces the system to use driver "fbdev" )Code: Select all
sudo rm /etc/X11/xorg.conf
Edit: Oh, that may be there (automatically) for you used nomodeset .
Just delete, then boot without failsafe nomodeset.
Huckleberry Finn wrote: Sat Dec 24, 2022 4:01 pm Boot parameters (other than persist keyboard etc.) are same (though they are used twice on the non-booting one)
The only difference are the usb sticks:
Doesn't boot:
ID-7: /dev/sdg maj-min: 8:96 type: USB vendor: SanDisk model: USB 3.2Gen1
size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
rev: 1.00 scheme: MBR
Boots:
ID-7: /dev/sdg maj-min: 8:96 type: USB vendor: SanDisk model: Ultra Fit size: 14.32 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00
scheme: MBR
Since it's a persistent one: Do you remember creating any .conf files in /etc/X11/xorg.conf.d/ ?
In the meantime if there is such a file just delete it: /etc/X11/xorg.conf
Maybe you tried MX Tweak and it created such a file: /etc/X11/xorg.conf.d/20-intel.conf (that tells the system to use Intel instead of modesetting)
Consequently: It must be such a thing cause the persistent usb boots if you use nomodeset. If it wasn't booting no matter what you do, then we would say the culprit was the usb stick..
-
Huckleberry Finn wrote: Sun Dec 25, 2022 4:41 am At least out of curiosity (though they use the same parameters), what happens if you remove all parameters and keep just
ro quiet nosplash
and boot?
____________________________________
As a last test (assuming it fits to the other one by size and if you don't feel lazy)
You can clone it (the non-booting one) to another one (preferably that "SanDisk model: Ultra Fit size: 14.32 GiB" or another bigger sized one which's proven to work) on live session with "MX Live Usb Maker" ("Clone running live system") , then try to boot with the new one.
-
Huckleberry Finn wrote: Sun Dec 25, 2022 11:31 am Yes, probably.
Just something, somewhere is causing that.
If you like, you can try to "move" manually:
Prepare that stick again (no clone, just a new AVL stick as before), boot with, then (if you like) make it again "persist_all" ...
Finally copy-paste (overwrite) from here to there: rootfs and homefs (from old to new)
(... Then if it becomes unbootable again, there's absolutely something with rootfs (but what?) )
So my main problems are that I can't change resolution and second monitor is not picked up.
If Nvidia was installed, I did not do it. So my guess is no but here is the info:
Code: Select all
System: Kernel: 6.0.0-10.1-liquorix-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: audit=0 intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
BOOT_IMAGE=/antiX/vmlinuz quiet threadirqs nosplash lang=en_US kbd=ca
tz=America/New_York persist_all failsafe nomodeset audit=0 intel_pstate=disable
hpet=disable rcupdate.rcu_expedited=1 threadirqs
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye)
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: type: 3
serial: <filter>
Mobo: Gigabyte model: B75M-D3H serial: <filter> UEFI: American Megatrends v: F13
date: 02/27/2013
CPU: Info: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 3A (58) stepping: 9 microcode: 15 cache: L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54271
Speed: 1607 MHz min/max: 1600/3901 MHz boost: enabled Core speeds (MHz): 1: 3671
2: 3901 3: 3901 4: 3901 5: 3901 6: 3901 7: 3901 8: 3901
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel IvyBridge GT2 [HD Graphics 4000]
vendor: Gigabyte Xeon E3-1200 v2/3rd Gen Core processor driver: N/A alternate: i915
bus-ID: 00:02.0 chip-ID: 8086:0162 class-ID: 0380
Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: N/A alternate: nouveau
bus-ID: 01:00.0 chip-ID: 10de:1c82 class-ID: 0300
Device-3: Cubeternet GL-UPC822 UVC WebCam type: USB driver: uvcvideo bus-ID: 1-1.5.2:8
chip-ID: 1e4e:0102 class-ID: 0e02
Display: x11 server: X.Org 1.20.14 compositor: compton v: 1 driver: loaded: N/A
unloaded: fbdev display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1024x768 s-dpi: 96 s-size: 271x203mm (10.7x8.0")
s-diag: 339mm (13.3")
Monitor-1: default res: 1024x768 hz: 76
OpenGL: renderer: llvmpipe (LLVM 14.0.5 256 bits) v: 4.5 Mesa 22.0.5 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Device-2: NVIDIA GF116 High Definition Audio driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:0bee class-ID: 0403
Device-3: BEHRINGER UMC204HD 192k type: USB driver: snd-usb-audio bus-ID: 1-1.2:4
chip-ID: 1397:0508 class-ID: fe01
Sound Server-1: ALSA v: k6.0.0-10.1-liquorix-amd64 running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
driver: r8169 v: kernel port: d000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 13.28 TiB used: 64.1 GiB (0.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: KingDian model: S400 480GB size: 447.13 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 1A0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WDS500G2B0A-00SM50
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD
serial: <filter> rev: 90WD scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WDS500G2B0A-00SM50
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD
serial: <filter> rev: 90WD scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Toshiba model: DT01ACA200 size: 1.82 TiB
block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: ABB0 scheme: MBR
ID-5: /dev/sde maj-min: 8:64 type: USB vendor: Toshiba model: HDWD130 size: 2.73 TiB
block-size: physical: 4096 B logical: 512 B type: HDD rpm: 7200 serial: <filter>
scheme: MBR
ID-6: /dev/sdf maj-min: 8:80 type: USB vendor: Toshiba model: HDWR180 size: 7.28 TiB
block-size: physical: 4096 B logical: 512 B type: HDD rpm: 7200 serial: <filter>
scheme: GPT
ID-7: /dev/sdg maj-min: 8:96 type: USB vendor: SanDisk model: USB 3.2Gen1
size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: N/A serial: <filter>
rev: 1.00 scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Swap: Alert: No swap data was found.
Sensors: System Temperatures: cpu: 59.0 C mobo: 27.8 C
Fan Speeds (RPM): N/A
Repos: Packages: note: see --pkg apt: 2609 lib: 1436 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye main non-free
2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bullseye ahs
Info: Processes: 273 Uptime: 4m wakeups: 1 Memory: 15.51 GiB used: 980.8 MiB (6.2%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI
Code: Select all
System: Kernel: 6.0.0-10.1-liquorix-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: audit=0 intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
BOOT_IMAGE=/antiX/vmlinuz quiet threadirqs nosplash
Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1 vt: 7
dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye)
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Desktop System: Gigabyte product: N/A v: N/A serial: <filter> Chassis: type: 3
serial: <filter>
Mobo: Gigabyte model: B75M-D3H serial: <filter> UEFI: American Megatrends v: F13
date: 02/27/2013
CPU: Info: Quad Core model: Intel Core i7-3770 bits: 64 type: MT MCP arch: Ivy Bridge
family: 6 model-id: 3A (58) stepping: 9 microcode: 15 cache: L2: 8 MiB
flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 54277
Speed: 3901 MHz min/max: 1600/3901 MHz boost: enabled Core speeds (MHz): 1: 3901
2: 3885 3: 3901 4: 3901 5: 3901 6: 3901 7: 3901 8: 3901
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data status: Unknown: No mitigations
Type: retbleed status: Not affected
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, STIBP: disabled, RSB filling, PBRSB-eIBRS: Not affected
Type: srbds status: Vulnerable: No microcode
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel IvyBridge GT2 [HD Graphics 4000]
vendor: Gigabyte Xeon E3-1200 v2/3rd Gen Core processor driver: i915 v: kernel
bus-ID: 00:02.0 chip-ID: 8086:0162 class-ID: 0380
Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nouveau v: kernel bus-ID: 01:00.0
chip-ID: 10de:1c82 class-ID: 0300
Device-3: Cubeternet GL-UPC822 UVC WebCam type: USB driver: uvcvideo bus-ID: 1-1.5.2:8
chip-ID: 1e4e:0102 class-ID: 0e02
Display: x11 server: X.Org 1.20.14 compositor: compton v: 1 driver: loaded: modesetting
unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
s-diag: 1055mm (41.5")
Monitor-1: DVI-I-1 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3")
diag: 584mm (23")
Monitor-2: HDMI-3 res: 1920x1080 hz: 60 dpi: 96 size: 509x286mm (20.0x11.3")
diag: 584mm (23")
OpenGL: renderer: NVCF v: 4.3 Mesa 22.0.5 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Gigabyte
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
Device-2: NVIDIA GF116 High Definition Audio driver: snd_hda_intel v: kernel
bus-ID: 01:00.1 chip-ID: 10de:0bee class-ID: 0403
Device-3: BEHRINGER UMC204HD 192k type: USB driver: snd-usb-audio bus-ID: 1-1.2:4
chip-ID: 1397:0508 class-ID: fe01
Sound Server-1: ALSA v: k6.0.0-10.1-liquorix-amd64 running: yes
Sound Server-2: JACK v: 1.9.21 running: no
Sound Server-3: PulseAudio v: 14.2 running: yes
Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte
driver: r8169 v: kernel port: d000 bus-ID: 04:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp4s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 13.19 TiB used: 3.87 GiB (0.0%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: KingDian model: S400 480GB size: 447.13 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter>
rev: 1A0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital model: WDS500G2B0A-00SM50
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD
serial: <filter> rev: 90WD scheme: GPT
ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WDS500G2B0A-00SM50
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s type: SSD
serial: <filter> rev: 90WD scheme: GPT
ID-4: /dev/sdd maj-min: 8:48 vendor: Toshiba model: DT01ACA200 size: 1.82 TiB
block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s type: HDD rpm: 7200
serial: <filter> rev: ABB0 scheme: MBR
ID-5: /dev/sde maj-min: 8:64 type: USB vendor: Toshiba model: HDWD130 size: 2.73 TiB
block-size: physical: 4096 B logical: 512 B type: HDD rpm: 7200 serial: <filter>
scheme: MBR
ID-6: /dev/sdf maj-min: 8:80 type: USB vendor: Toshiba model: HDWR180 size: 7.28 TiB
block-size: physical: 4096 B logical: 512 B type: HDD rpm: 7200 serial: <filter>
scheme: GPT
ID-7: /dev/sdg maj-min: 8:96 type: USB vendor: SanDisk model: Ultra Fit size: 14.32 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Swap: Alert: No swap data was found.
Sensors: System Temperatures: cpu: 64.0 C mobo: 27.8 C gpu: nouveau temp: 40.0 C
Fan Speeds (RPM): N/A gpu: nouveau fan: 1650
Repos: Packages: note: see --pkg apt: 2564 lib: 1429 flatpak: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bullseye main contrib non-free
2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mxrepo.com/mx/repo/ bullseye main non-free
2: deb http://mxrepo.com/mx/repo/ bullseye ahs
Info: Processes: 257 Uptime: 1m wakeups: 1 Memory: 15.51 GiB used: 919.1 MiB (5.8%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI