phlatfish
(Jimothy Bobertson)
1
Hey folks, total Linux noob here. I have a fresh installation of Fedora Workstation 40 running on a Lenovo Z41-70. While trying to boot the live USB for installation, I just got a black screen. It only worked after adding nomodeset in one of the run commands. I installed Fedora and now everything seems to be going fine. However, when I connect my computer to my Samsung monitor via HDMI, it appears Fedora does not recognize it (inxi -Fzxx):
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: N/A arch: Gen-8
bus-ID: 00:02.0 chip-ID: 8086:1616
Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
620/625 Mobile] vendor: Lenovo driver: N/A arch: GCN-3 pcie: speed: 5 GT/s
lanes: 4 bus-ID: 04:00.0 chip-ID: 1002:6900
Device-3: Syntek Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-6:6 chip-ID: 174f:14ee
Display: server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
compositor: gnome-shell driver: dri: swrast gpu: N/A display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 dpi: 96
API: OpenGL v: 4.5 vendor: mesa v: 24.0.5 glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: llvmpipe (LLVM 18.1.1 256 bits)
device-ID: ffffffff:ffffffff
API: EGL Message: EGL data requires eglinfo. Check --recommends.
I am unable to connect to my monitor, possibly because of an apparent lack of a driver for my AMD graphics.
Here is my /etc/default/grub if that would be of any help:
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="nomodeset rhgb quiet"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
Thank you all in advance for your assistance.
glb
(Gregory Lee Bartholomew)
2
The AMD Topaz XT appears to be a Graphics Core Next 1 (Southern Islands) card: Radeon 200 series - Wikipedia
Southern Islands support is disabled by default in the amdgpu
driver:
$ modinfo -p amdgpu | grep si_support
si_support:SI support (1 = enabled, 0 = disabled (default)) (int)
You’ll need to manually enable support for your video card by adding amdgpu.si_support=1
to your kernel command line (instead of nomodeset
): AMDGPU - ArchWiki
Edit: Actually, I’m not sure I’m reading the specs right. Is your laptop an older model from around 2015?
1 Like
gnwiii
(George N. White III)
3
I found a review of this model dated August, 2014, so a decade old.
1 Like
phlatfish
(Jimothy Bobertson)
4
Yes, it is an older model. I only got my hands on it recently and it had Windows installed. It is actually surprisingly capable, being able to run various modern PC games at decent framerates. Here’s the full specs:
System:
Kernel: 6.8.5-301.fc40.x86_64 arch: x86_64 bits: 64 compiler: gcc
v: 2.41-34.fc40
Desktop: GNOME v: 46.0 tk: GTK v: 3.24.41 wm: gnome-shell dm: GDM
Distro: Fedora Linux 40 (Workstation Edition)
Machine:
Type: Laptop System: LENOVO product: 80K5 v: Lenovo Z41-70
serial: <superuser required> Chassis: type: 10 v: Lenovo Z41-70
serial: <superuser required>
Mobo: LENOVO model: Lenovo Z41-70 v: SDK0J40709 WIN
serial: <superuser required>
part-nu: LENOVO_MT_80K5_BU_idea_FM_Lenovo Z41-70 UEFI: LENOVO
v: C2CN19WW(V2.00) date: 07/14/2015
Battery:
ID-1: BAT1 charge: 23.9 Wh (100.0%) condition: 23.9/39.6 Wh (60.3%)
volts: 16.7 min: 14.9 model: LENOVO PABAS0241231 serial: <filter>
status: full
CPU:
Info: dual core model: Intel Core i7-5500U bits: 64 type: MT MCP
arch: Broadwell rev: 4 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
Speed (MHz): avg: 650 high: 800 min/max: 500/3000 cores: 1: 500 2: 800
3: 800 4: 500 bogomips: 19199
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel HD Graphics 5500 vendor: Lenovo driver: N/A arch: Gen-8
bus-ID: 00:02.0 chip-ID: 8086:1616
Device-2: AMD Topaz XT [Radeon R7 M260/M265 / M340/M360 M440/M445 530/535
620/625 Mobile] vendor: Lenovo driver: N/A arch: GCN-3 pcie: speed: 5 GT/s
lanes: 4 bus-ID: 04:00.0 chip-ID: 1002:6900
Device-3: Syntek Lenovo EasyCamera driver: uvcvideo type: USB rev: 2.0
speed: 480 Mb/s lanes: 1 bus-ID: 1-6:5 chip-ID: 174f:14ee
Display: wayland server: X.Org v: 23.2.4 with: Xwayland v: 23.2.4
compositor: gnome-shell driver: dri: swrast gpu: N/A display-ID: :0
screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96
Monitor-1: Unknown-1 mapped: None-1 res: 1920x1080 dpi: 96
API: OpenGL v: 4.5 vendor: mesa v: 24.0.5 glx-v: 1.4 es-v: 3.2
direct-render: yes renderer: llvmpipe (LLVM 18.1.1 256 bits)
device-ID: ffffffff:ffffffff
API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
Device-1: Intel Broadwell-U Audio vendor: Lenovo driver: N/A bus-ID: 00:03.0
chip-ID: 8086:160c
Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Lenovo
driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9ca0
API: ALSA v: k6.8.5-301.fc40.x86_64 status: kernel-api
Server-1: JACK v: 1.9.22 status: off
Server-2: PipeWire v: 1.0.4 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Lenovo driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1
port: 4000 bus-ID: 02:00.0 chip-ID: 10ec:8168
IF: enp2s0 state: down mac: <filter>
Device-2: Qualcomm Atheros QCA6164 802.11ac Wireless Network Adapter
vendor: Lenovo driver: ath10k_pci v: kernel pcie: speed: 2.5 GT/s lanes: 1
bus-ID: 03:00.0 chip-ID: 168c:0041
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: Qualcomm Atheros QCA61x4 Bluetooth 4.0 driver: btusb v: 0.8
type: USB rev: 1.1 speed: 12 Mb/s lanes: 1 bus-ID: 1-7:6 chip-ID: 0cf3:e300
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.1
lmp-v: 7
Drives:
Local Storage: total: 931.51 GiB used: 3.93 GiB (0.4%)
ID-1: /dev/sda vendor: Seagate model: ST1000LM014-SSHD-8GB
size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
Partition:
ID-1: / size: 929.93 GiB used: 3.67 GiB (0.4%) fs: btrfs dev: /dev/sda3
ID-2: /boot size: 973.4 MiB used: 255.6 MiB (26.3%) fs: ext4
dev: /dev/sda2
ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
dev: /dev/sda1
ID-4: /home size: 929.93 GiB used: 3.67 GiB (0.4%) fs: btrfs
dev: /dev/sda3
Swap:
ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
dev: /dev/zram0
Sensors:
System Temperatures: cpu: 50.0 C mobo: N/A
Fan Speeds (rpm): N/A
Info:
Memory: total: 16 GiB available: 15.53 GiB used: 2.23 GiB (14.3%)
Processes: 266 Power: uptime: 5m wakeups: 0 Init: systemd v: 255
target: graphical (5) default: graphical
Packages: Compilers: N/A Shell: Bash v: 5.2.26 running-in: gnome-terminal
inxi: 3.3.34
Now, I edited GRUB_CMDLINE_LINUX in the grub file to GRUB_CMDLINE_LINUX="amdgpu.si_support=1 rhgb quiet"
However, it would not boot once I restarted until I temporarily added nomodeset back.
glb
(Gregory Lee Bartholomew)
5
Not booting with the amdgpu driver enabled might be a separate issue. That problem has come up a few times on this forum recently.
Does it boot if you use modprobe.blacklist=amdgpu
instead of nomodeset
?
If so, what happens if you then run the following command?
$ sudo modprobe amdgpu si_support=1
phlatfish
(Jimothy Bobertson)
6
It does indeed boot. However, running $ sudo modprobe amdgpu si_support=1
makes everything freeze up. I left it for like 10 minutes but it still wouldn’t unfreeze so I rebooted.
glb
(Gregory Lee Bartholomew)
7
I think there is something wrong with the amdgpu driver in recent kernels.
Here is another idea if you feel up to trying it – downgrade your kernel (and the associated amdgpu driver) and see if that works. You will still need to supply the amdgpu.si_support=1
kernel parameter for it to have a chance of working.
$ sudo dnf --repo=fedora --releasever=39 downgrade kernel*
The above command won’t remove your currently installed kernel, but it might remove an older kernel depending on how many you have installed and how many your system is configured to keep.
I don’t know if the older kernel will be selected by default when you reboot. You might have to manually choose it in your boot menu. After you’ve rebooted, the command uname -r
should print out what kernel version you are running on. With luck, the older kernel and driver will work with your hardware and hopefully someday a newer driver will also work (but you might have to stay with the older one for a while).
macsavage
(Karl Horvath)
8
Hi,
I’ve had a similar problem and tried amdgpu.si_support=1 along with the various other settings to try and get the amdgpu drivers loaded, I’ve had success but not from an expected route, I accessed my Fedora 41 machine via XRDP and the drivers were loaded and functional with the following with GRUB_CMDLINE_LINUX set to “rhgb quiet” , when I connected via HDMI, it failed, I had a black screen but accessing remotely via XRDP, the driver is loaded and shows PITCAIRN and not software rendering, so I believe the issue is related to HDMI and detection of the correct display routes? I’m running Fedora 41 on a Trash Can MacPro 6,1 with dual D300 Firepro cards AMD/Radeon
glb
(Gregory Lee Bartholomew)
9
Remote Desktop is probably using software rendering (via your CPU). That would probably work even if the computer didn’t have a GPU, so it wouldn’t be a reliable indication that the GPU driver is working.
macsavage
(Karl Horvath)
10
Hi,
Definitely an issue with not detecting the screen size, I have a friend with a similar issue and he used this line in his GRUB to get it working “gfxpayload=text quiet radeon.si_support=0 amdgpu.si_support=1 video=1920x1080@60”, I can see the AMD driver loads and his screen works, I have also tried setting the video, the driver loads not PITCAIRN which is Radeon but AMD and I am still a black screen and I’ve tried 3 very different screens and cables (to be sure). I’ll post my dmesg output later
macsavage
(Karl Horvath)
11
sudo dmesg | grep amdgpu
[ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.10-300.fc41.x86_64 root=UUID=e7847341-5840-4387-86fa-3b506df2b2ff ro rootflags=subvol=root amdgpu.dc=0 amdgpu.si_support=1 radeon.si_support=0 video=1920x1080@60
[ 0.125608] Kernel command line: BOOT_IMAGE=(hd0,gpt2)/vmlinuz-6.11.10-300.fc41.x86_64 root=UUID=e7847341-5840-4387-86fa-3b506df2b2ff ro rootflags=subvol=root amdgpu.dc=0 amdgpu.si_support=1 radeon.si_support=0 video=1920x1080@60
[ 8.652772] [drm] amdgpu kernel modesetting enabled.
[ 8.655148] amdgpu: Virtual CRAT table created for CPU
[ 8.655182] amdgpu: Topology: Add CPU node
[ 8.655541] amdgpu 0000:02:00.0: enabling device (0006 → 0007)
[ 8.656016] amdgpu 0000:02:00.0: amdgpu: Fetched VBIOS from VFCT
[ 8.656023] amdgpu: ATOM BIOS: 113-C4012PA-012
[ 8.656042] kfd kfd: amdgpu: PITCAIRN not supported in kfd
[ 8.656058] amdgpu 0000:02:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 8.661514] amdgpu 0000:02:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[ 8.699983] amdgpu 0000:02:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 8.703398] [drm] amdgpu: 2048M of VRAM memory ready
[ 8.708478] [drm] amdgpu: 32132M of GTT memory ready.
[ 8.712906] amdgpu 0000:02:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400000000).
[ 8.723900] [drm] amdgpu: dpm initialized
[ 9.328498] amdgpu 0000:02:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 5, active_cu_number 20
[ 9.623127] amdgpu 0000:02:00.0: amdgpu: Runtime PM not available
[ 9.625951] [drm] Initialized amdgpu 3.59.0 for 0000:02:00.0 on minor 1
[ 9.774543] amdgpu 0000:02:00.0: [drm] Cannot find any crtc or sizes
[ 9.807172] amdgpu 0000:06:00.0: amdgpu: Fetched VBIOS from VFCT
[ 9.809256] amdgpu: ATOM BIOS: 113-C4012PB-012
[ 9.811281] kfd kfd: amdgpu: PITCAIRN not supported in kfd
[ 9.839746] amdgpu 0000:06:00.0: vgaarb: deactivate vga console
[ 9.839763] amdgpu 0000:06:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 9.840686] amdgpu 0000:06:00.0: amdgpu: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
[ 9.840698] amdgpu 0000:06:00.0: amdgpu: GART: 1024M 0x000000FF00000000 - 0x000000FF3FFFFFFF
[ 9.840969] [drm] amdgpu: 2048M of VRAM memory ready
[ 9.840976] [drm] amdgpu: 32132M of GTT memory ready.
[ 9.841757] amdgpu 0000:06:00.0: amdgpu: PCIE GART of 1024M enabled (table at 0x000000F400000000).
[ 9.842816] [drm] amdgpu: dpm initialized
[ 9.952306] amdgpu 0000:02:00.0: [drm] Cannot find any crtc or sizes
[ 10.095247] amdgpu 0000:02:00.0: [drm] Cannot find any crtc or sizes
[ 10.347177] amdgpu 0000:06:00.0: amdgpu: SE 2, SH per SE 2, CU per SH 5, active_cu_number 20
[ 10.661801] amdgpu 0000:06:00.0: amdgpu: Runtime PM not available
[ 10.663153] [drm] Initialized amdgpu 3.59.0 for 0000:06:00.0 on minor 2
[ 10.878883] fbcon: amdgpudrmfb (fb0) is primary device
[ 10.892842] amdgpu 0000:06:00.0: [drm] fb0: amdgpudrmfb frame buffer device
[ 13.577713] Modules linked in: dca(+) fjes(-) apple_gmux(+) apple_mfi_fastcharge loop nfnetlink zram amdgpu amdxcp drm_exec gpu_sched drm_buddy radeon drm_ttm_helper ttm crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni video polyval_generic wmi i2c_algo_bit drm_suballoc_helper ghash_clmulni_intel drm_display_helper sha512_ssse3 sha256_ssse3 sha1_ssse3 cec hid_apple fuse
[ 14.016009] Modules linked in: snd_hda_codec_hdmi(+) btmtk wl(POE+) snd_hda_codec_generic vfat kvm fat snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi rapl bluetooth iTCO_wdt snd_hda_codec intel_pmc_bxt at24 intel_cstate iTCO_vendor_support snd_hda_core applesmc snd_hwdep intel_uncore cfg80211 snd_seq snd_seq_device pcspkr snd_pcm mei_me i2c_i801 snd_timer tg3 thunderbolt ioatdma i2c_smbus rfkill mei lpc_ich snd soundcore dca apple_gmux apple_mfi_fastcharge loop nfnetlink zram amdgpu amdxcp drm_exec gpu_sched drm_buddy radeon drm_ttm_helper ttm crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni video polyval_generic wmi i2c_algo_bit drm_suballoc_helper ghash_clmulni_intel drm_display_helper sha512_ssse3 sha256_ssse3 sha1_ssse3 cec hid_apple fuse