Hello all!
I’ve just updated to latest 15.3 leap distribution.
When using the desktop kernel, the internal GPU graphics of my ASUS FX506II laptop works well.
The current desktop kernel is linux-5.3.18-59.10.
The lsmod is following:
lsmod | egrep "amdgpu|nouveau"
amdgpu 6381568 12
nouveau 2252800 0
iommu_v2 24576 1 amdgpu
gpu_sched 45056 1 amdgpu
mxm_wmi 16384 1 nouveau
i2c_algo_bit 16384 2 amdgpu,nouveau
ttm 118784 2 amdgpu,nouveau
drm_kms_helper 262144 2 amdgpu,nouveau
drm 614400 11 gpu_sched,drm_kms_helper,amdgpu,ttm,nouveau
wmi 36864 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
video 53248 2 asus_wmi,nouveau
button 24576 1 nouveau
When installing kernel-rt and booting it, I get no graphics. There is no amdgpu driver in lsmod and there are no error messages in Xorg.conf.
The current version of RT kernel is linux-5.3.18-8.13-rt
Could anyone explain what happens and how to diagnose the reason why the RT kernel does not provide any graphics?
Inspect the systemd Journal (user “root”) – “journalctl -b 0”.
Nothing suspicious:
июл 15 20:38:26 tuf-gaming systemd[1]: Started NTP client/server.
июл 15 20:38:26 tuf-gaming systemd[1]: Reached target System Time Synchronized.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Backup of RPM database.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Backup of /etc/sysconfig.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Balance block groups on a btrfs filesystem.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Scrub btrfs filesystem, verify block checksums.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Check if mainboard battery is Ok.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Discard unused blocks once a week.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Daily rotation of log files.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Do daily mandb update.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Timeline of Snapper Snapshots.
июл 15 20:38:26 tuf-gaming systemd[1]: Reached target Timers.
июл 15 20:38:26 tuf-gaming systemd[1]: Starting X Display Manager...
июл 15 20:38:26 tuf-gaming systemd[1]: Starting Postfix Mail Transport Agent...
июл 15 20:38:26 tuf-gaming echo[2128]: Starting mail service (Postfix)
июл 15 20:38:26 tuf-gaming display-manager[2140]: /etc/vconsole.conf available
июл 15 20:38:26 tuf-gaming display-manager[2140]: KEYMAP: ruwin_alt-UTF-8
июл 15 20:38:26 tuf-gaming display-manager[2140]: Command: localectl set-keymap ruwin_alt-UTF-8
июл 15 20:38:26 tuf-gaming display-manager[2140]: W: Cannot find mapping for ruwin_alt-UTF-8 in /usr/share/systemd/kbd-model-map
июл 15 20:38:26 tuf-gaming display-manager[2140]: W: This will result in an 'us' X keyboard layout as default
июл 15 20:38:26 tuf-gaming dbus-daemon[1516]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.20' (uid=0 pid=2147 comm="localectl set-keymap ruwin_alt->
июл 15 20:38:26 tuf-gaming systemd[1]: Starting Locale Service...
июл 15 20:38:26 tuf-gaming systemd[1]: systemd-hostnamed.service: Succeeded.
июл 15 20:38:26 tuf-gaming dbus-daemon[1516]: [system] Successfully activated service 'org.freedesktop.locale1'
июл 15 20:38:26 tuf-gaming systemd[1]: Started Locale Service.
июл 15 20:38:26 tuf-gaming systemd[1]: Received SIGRTMIN+21 from PID 506 (plymouthd).
июл 15 20:38:26 tuf-gaming systemd[1]: Received SIGRTMIN+21 from PID 506 (plymouthd).
июл 15 20:38:26 tuf-gaming systemd[1]: Finished Hold until boot process finishes up.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Getty on tty1.
июл 15 20:38:26 tuf-gaming systemd[1]: Reached target Login Prompts.
июл 15 20:38:26 tuf-gaming systemd[1]: Condition check resulted in /etc/init.d/after.local Compatibility being skipped.
июл 15 20:38:26 tuf-gaming sddm[2213]: Initializing...
июл 15 20:38:26 tuf-gaming postfix/postfix-script[2237]: starting the Postfix mail system
июл 15 20:38:26 tuf-gaming sddm[2213]: Starting...
июл 15 20:38:26 tuf-gaming sddm[2213]: Logind interface found
июл 15 20:38:26 tuf-gaming postfix/master[2239]: daemon started -- version 3.5.9, configuration /etc/postfix
июл 15 20:38:26 tuf-gaming systemd[1]: Started Postfix Mail Transport Agent.
июл 15 20:38:26 tuf-gaming systemd[1]: Started Command Scheduler.
июл 15 20:38:26 tuf-gaming systemd[1]: Reached target Multi-User System.
XOrg.0.log:
667.068] (II) AMDGPU(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
667.068] (==) AMDGPU(0): Depth 24, (--) framebuffer bpp 32
667.068] (II) AMDGPU(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
667.068] (==) AMDGPU(0): Default visual is TrueColor
667.068] (==) AMDGPU(0): RGB weight 888
667.068] (II) AMDGPU(0): Using 8 bits per RGB (8 bit DAC)
667.068] (--) AMDGPU(0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x1636)
667.068] (II) Loading sub module "fb"
667.068] (II) LoadModule: "fb"
667.068] (II) Loading /usr/lib64/xorg/modules/libfb.so
667.069] (II) Module fb: vendor="X.Org Foundation"
667.069] compiled for 1.20.3, module version = 1.0.0
667.069] ABI class: X.Org ANSI C Emulation, version 0.4
667.069] (II) Loading sub module "dri2"
667.069] (II) LoadModule: "dri2"
667.069] (II) Module "dri2" already built-in
667.089] (II) Loading sub module "glamoregl"
667.089] (II) LoadModule: "glamoregl"
667.089] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
667.089] (II) Module glamoregl: vendor="X.Org Foundation"
667.089] compiled for 1.20.3, module version = 1.0.1
667.089] ABI class: X.Org ANSI C Emulation, version 0.4
667.102] (II) AMDGPU(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.39.0, 5.3.18-59.10-default, LLVM 11.0.1)
667.102] (II) AMDGPU(0): glamor detected, initialising EGL layer.
667.102] (==) AMDGPU(0): TearFree property default: auto
667.102] (II) AMDGPU(0): KMS Pageflipping: enabled
667.103] (II) AMDGPU(0): Output eDP has no monitor section
667.103] (II) AMDGPU(0): Output HDMI-A-0 has no monitor section
667.112] (II) AMDGPU(0): EDID for output eDP
667.112] (II) AMDGPU(0): Manufacturer: NCP Model: 4d Serial#: 0
667.112] (II) AMDGPU(0): Year: 2019 Week: 51
667.112] (II) AMDGPU(0): EDID Version: 1.4
667.112] (II) AMDGPU(0): Digital Display Input
667.112] (II) AMDGPU(0): 8 bits per channel
667.112] (II) AMDGPU(0): Digital interface is DisplayPort
667.112] (II) AMDGPU(0): Max Image Size [cm]: horiz.: 34 vert.: 19
667.112] (II) AMDGPU(0): Gamma: 2.20
667.112] (II) AMDGPU(0): No DPMS capabilities specified
667.112] (II) AMDGPU(0): Supported color encodings: RGB 4:4:4
667.112] (II) AMDGPU(0): First detailed timing is preferred mode
667.112] (II) AMDGPU(0): Preferred mode is native pixel format and refresh rate
667.112] (II) AMDGPU(0): Display is continuous-frequency
667.112] (II) AMDGPU(0): redX: 0.595 redY: 0.361 greenX: 0.346 greenY: 0.555
667.112] (II) AMDGPU(0): blueX: 0.157 blueY: 0.106 whiteX: 0.312 whiteY: 0.328
667.112] (II) AMDGPU(0): Manufacturer's mask: 0
667.112] (II) AMDGPU(0): Supported detailed timing:
667.112] (II) AMDGPU(0): clock: 354.7 MHz Image Size: 344 x 194 mm
667.112] (II) AMDGPU(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2180 h_border: 0
667.112] (II) AMDGPU(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1130 v_border: 0
667.112] (II) AMDGPU(0): Supported detailed timing:
667.112] (II) AMDGPU(0): clock: 147.8 MHz Image Size: 344 x 194 mm
667.112] (II) AMDGPU(0): h_active: 1920 h_sync: 1968 h_sync_end 2000 h_blank_end 2180 h_border: 0
667.112] (II) AMDGPU(0): v_active: 1080 v_sync: 1083 v_sync_end 1088 v_blanking: 1130 v_border: 0
667.112] (II) AMDGPU(0): Ranges: V min: 48 V max: 144 Hz, H min: 154 H max: 154 kHz, PixClock max 355 MHz
[FONT=monospace] 667.112] (II) AMDGPU(0): LM156LF-2F01
667.112] (II) AMDGPU(0): EDID (in hex):
667.113] (II) AMDGPU(0): 00ffffffffffff0038704d0000000000
667.113] (II) AMDGPU(0): 331d0104a5221378036850985c588e28
667.113] (II) AMDGPU(0): 1b505400000001010101010101010101
667.113] (II) AMDGPU(0): 010101010101918a8004713832403020
667.113] (II) AMDGPU(0): 350058c21000001abd39800471383240
667.113] (II) AMDGPU(0): 3020350058c21000001a000000fd0030
667.113] (II) AMDGPU(0): 909a9a23010a202020202020000000fe
667.113] (II) AMDGPU(0): 004c4d3135364c462d324630310a0049
667.113] (II) AMDGPU(0): Printing probed modes for output eDP
667.113] (II) AMDGPU(0): Modeline "1920x1080"x144.0 354.73 1920 1968 2000 2180 1080 1083 1088 1130 +hsync -vsync (162.7 kHz eP)
667.113] (II) AMDGPU(0): Modeline "1920x1080"x60.0 147.81 1920 1968 2000 2180 1080 1083 1088 1130 +hsync -vsync (67.8 kHz e)
667.113] (II) AMDGPU(0): Modeline "1680x1050"x144.0 354.73 1680 1968 2000 2180 1050 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "1280x1024"x144.0 354.73 1280 1968 2000 2180 1024 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "1440x900"x144.0 354.73 1440 1968 2000 2180 900 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "1280x800"x144.0 354.73 1280 1968 2000 2180 800 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "1280x720"x144.0 354.73 1280 1968 2000 2180 720 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "1024x768"x144.0 354.73 1024 1968 2000 2180 768 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "800x600"x144.0 354.73 800 1968 2000 2180 600 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): Modeline "640x480"x144.0 354.73 640 1968 2000 2180 480 1083 1088 1130 +hsync -vsync (162.7 kHz e)
667.113] (II) AMDGPU(0): EDID for output HDMI-A-0
667.113] (II) AMDGPU(0): Output eDP connected
667.113] (II) AMDGPU(0): Output HDMI-A-0 disconnected
667.113] (II) AMDGPU(0): Using exact sizes for initial modes
667.113] (II) AMDGPU(0): Output eDP using initial mode 1920x1080 +0+0
667.113] (II) AMDGPU(0): mem size init: gart size :bf6b3000 vram size: s:1e325000 visible:1e325000
667.113] (==) AMDGPU(0): DPI set to (96, 96)
667.113] (==) AMDGPU(0): Using gamma correction (1.0, 1.0, 1.0)
667.113] (II) Loading sub module "ramdac"
667.113] (II) LoadModule: "ramdac"
667.113] (II) Module "ramdac" already built-in
667.113] (II) UnloadModule: "modesetting"
667.113] (II) Unloading modesetting
667.113] (II) UnloadModule: "fbdev"
667.113] (II) Unloading fbdev
667.113] (II) UnloadSubModule: "fbdevhw"
667.113] (II) Unloading fbdevhw
667.113] (II) UnloadModule: "vesa"
667.113] (II) Unloading vesa
[/FONT]
Another one case: I’ve installed NVIDIA proprietary drivers. And now it seems that X server is starting but I don’t see anything on the screen.
So actually the NVIDIA driver works but doesn’t output the information to the Laptop’s screen.
Is any way to fix this?
https://pastebin.com/AnnuEDMy
Only posting a piece of an log is not good…
Best is to load it to susepaste:
Install susepaste and:
cat /var/log/Xorg.0.log | susepaste
sadko4u:
Nothing suspicious:
Really?
52.693350] systemd[1]: Started User Login Management.
52.696043] systemd[1]: Starting X Display Manager...
52.966072] **display-manager[1900]: /etc/vconsole.conf available**
52.966072] **display-manager[1900]: KEYMAP: de-latin1-nodeadkeys**
52.966072] **display-manager[1900]: Command: localectl set-keymap de-latin1-nodeadkeys**
53.003973] **display-manager[1900]: I: Using systemd /usr/share/systemd/kbd-model-map mapping**
53.028377] dbus-daemon[1450]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-or>
53.038084] systemd[1]: Starting Locale Service...
53.659248] dbus-daemon[1450]: [system] Successfully activated service 'org.freedesktop.locale1'
53.659720] systemd[1]: Started Locale Service.
53.675511] systemd[1]: Received SIGRTMIN+21 from PID 266 (plymouthd).
53.698491] systemd[1]: Received SIGRTMIN+21 from PID 266 (plymouthd).
53.700752] systemd[1]: Finished Hold until boot process finishes up.
53.706147] systemd[1]: Started Getty on tty1.
53.706652] systemd[1]: Reached target Login Prompts.
53.706835] systemd[1]: Condition check resulted in /etc/init.d/after.local Compatibility being skipped.
53.707024] **systemd[1]: Reached target Multi-User System.**
54.190179] sddm[1918]: Initializing...
54.201523] sddm[1918]: Starting...
54.201926] sddm[1918]: Logind interface found
54.203374] **sddm[1918]: Adding new display on vt 7 ...**
54.203731] sddm[1918]: Loading theme configuration from ""
54.203922] **sddm[1918]: Display server starting...**
54.204104] sddm[1918]: Adding cookie to "/run/sddm/{d1190247-131a-4393-9003-142756d8ba96}"
54.259180] **sddm[1918]: Running: /usr/bin/X -nolisten tcp -auth /run/sddm/{d1190247-131a-4393-9003-142756d8ba96} -ba>**
54.305005] **display-manager[1892]: Starting service sddm..done**
54.306155] **systemd[1]: Started X Display Manager.**
54.307259] **systemd[1]: Reached target Graphical Interface.**
It may well be that, because X11 can’t find a suitable keyboard, SDDM doesn’t start the X Display Manager …
Sorry. Here are the latest pastes, after I’ve installed proprietary NVIDIA driver with IGNORE_RT_PREEMPT_PRESENCE flag:
hwinfo - [FONT=monospace]https://susepaste.org/74833809
/etc/Xorg.0.log - https://susepaste.org/83262126
journalctl -b 0 - https://susepaste.org/34423783
[/FONT]
Sauerland:
Can you disable the AMD Card in Bios/UEFI?
Rename your /etc/X11/xorg.conf and restart.
Sadly but I didn’t find any option to disable the AMD card nor the NVIDIA card.
The log after renaming xorg.conf: SUSE Paste
journalctl: SUSE Paste
The situation didn’t change, the graphics still is not working properly.
Sauerland:
Can you disable the AMD Card in Bios/UEFI?
AMD Ryzen 7 4800H with Radeon Graphics
Disabling an integrated GPU in UEFI/Bios is not easy – and, the BIOS has to support this action as indeed the Mainboard’s hardware/firmware also …
This is bad, really bad –
The hardware in question is an ASUS TUF Gaming A15 Laptop –
With an AMD Ryzen™ 7 4800H processor – with AMD Radeon™ Graphics – integrated.
In addition, with a NVIDIA GeForce GTX 1650 Ti Mobile graphics card – as well and also …
Normally, one simply uses the “amdgpu” driver to pick up the GPU integrated with the CPU but, in this case, there’s also a NVIDIA GPU built into the box – and, the NVIDIA GPU is probably not removable …
Solution 1: Make absolutely sure that, the “amdgpu” driver is blacklisted – add “module_blacklist=amdgpu” to the Kernel’s boot command line.
Solution 2: Ensure that, when choosing an AMD CPU with integrated GPU that, no other graphic unit is present in the system.
Solution 3: If the systems graphics really has to be hardware supplied by NVIDIA, ensure that, the AMD Ryzen™ CPU doesn’t have an integrated graphics unit and –
*=2]ensure that the Mainboard doesn’t support integrated AMD graphics – dedicated hardware on the Mainboard which supports the GPU integrated with the CPU …
Puzzled by this thread I found something suspicious.
Graphics doesn’t work with kernel-rt but does work with kernel-default.
Now kernel-rt for Leap 15.3 is at version 5.3.18-8.3.1 and the .rpm is dated 4 Feb 2021, well before the 15.3 release date, 26 May, 2021.
Current kernel-default for 15.3 is at version 5.3.18-59.13.1 and the .rpm is dated 7 Jul 2021.
IMHO it is not unlikely that the -rt kernel is simply too old for the cutting edge HW in the hands of the OP.
The more interesting fact: previously I’ve used the OpenSUSE 15.2 with the 5.3.18 RT kernel and it worked.
Don’t know why upgrading to 15.3 made the kernel not working as for 15.3 it should be newer.
This didn’t help. It seems that the X11 server is starting and showing the SDDM but I don’t see any picture on the laptop’s screen.
Here’s the list of processes listed by the ps: SUSE Paste
dcurtisfra:
Solution 2: Ensure that, when choosing an AMD CPU with integrated GPU that, no other graphic unit is present in the system.
Solution 3: If the systems graphics really has to be hardware supplied by NVIDIA, ensure that, the AMD Ryzen™ CPU doesn’t have an integrated graphics unit and –
*=2]ensure that the Mainboard doesn’t support integrated AMD graphics – dedicated hardware on the Mainboard which supports the GPU integrated with the CPU …
I think these solutions are applicable when selecting the device for the purchase and this is not my case.
I need to make at least the integrated graphics working on the RT kernel.
The best solution would be to have the NVIDIA driver working since I can not utilize the HDMI output on the integrated GPU.
Why using an RT kernel on a laptop?
Because of need to work with the low-latency audio with jackd.
If that is the case, you have a better chance sticking with Leap 15.2 for the time being, you will be supported at least till November.
The “current” kernel-rt for 15.3 ( 5.3.18-8.3.1 ) is apparently coming from SLE15-SP2, likely sneaking in in the beta phase and not currently maintained for whatever reason ( please see https://software.opensuse.org/download/package?package=kernel-rt&project=SUSE%3ASLE-15-SP2%3AUpdate ).
Or, if you are in try-and-error mode, you might find that something from this SLE15SP3 repo might work on Leap 15.3 too (but please don’t take my word for it).
I’ve just downloaded the 5.11.4 kernel and patched it up to 5.11.4-rt11.
After building kernel from source, the integrated graphics works fine and additionally detects the monitor connected to the HDMI port.
I think I’ll continue using this version of kernel because the distribution-provided kernel is too old.
sadko4u:
I’ve just downloaded the 5.11.4 kernel and patched it up to 5.11.4-rt11.
After building kernel from source, the integrated graphics works fine and additionally detects the monitor connected to the HDMI port.
I think I’ll continue using this version of kernel because the distribution-provided kernel is too old.
Why not using kernel-preempt? https://software.opensuse.org/search?utf8=✓&baseproject=ALL&q=kernel-preempt
But again, only for Leap 15.2: openSUSE Software