Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

OL 9 UEK Release 7 not seeing GPU

roadgeekNov 10 2024

I have an Intel-based mini PC with an integrated graphics card running Oracle Linux 9.4 with all packages up to date. When I boot into the Redhat Compatible Kernel (5.14.0-427.42.1.el9_4.x86_64), I am able to see devices under /dev/dri:

[steve@mini2 ~]$ ls -al /dev/dri/by-path/
total 0
drwxr-xr-x 2 root root  80 Nov 10 07:26 .
drwxr-xr-x 3 root root 100 Nov 10 07:26 ..
lrwxrwxrwx 1 root root   8 Nov 10 07:26 pci-0000:00:02.0-card -> ../card0
lrwxrwxrwx 1 root root  13 Nov 10 07:26 pci-0000:00:02.0-render -> ../renderD128

Relevant output from dmesg, lspci and lsmod:

[steve@mini2 ~]$ dmesg | egrep -i video
[    0.177036] ACPI: Added _OSI(Linux-Dell-Video)
[    0.316930] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    3.900081] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    3.901323] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input4

[steve@mini2 ~]$ lspci | egrep -i vga
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]

[steve@mini2 ~]$ lsmod | egrep i915
i915                 4038656  1
intel_gtt              28672  1 i915
drm_buddy              20480  1 i915
i2c_algo_bit           16384  1 i915
drm_display_helper    212992  1 i915
cec                    69632  2 drm_display_helper,i915
ttm                    98304  1 i915
drm_kms_helper        245760  2 drm_display_helper,i915
drm                   741376  6 drm_kms_helper,drm_display_helper,drm_buddy,i915,ttm
video                  73728  1 i915

However, when I boot into the latest UEK (5.15.0-301.163.5.2.el9uek.x86_64), there is no /dev/dri, and the kernel doesn't seem to identify the video device correctly:

[steve@mini2 ~]$ dmesg | egrep -i video
[    0.335797] ACPI: Added _OSI(Linux-Dell-Video)
[    0.478892] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]

[steve@mini2 ~]$ lspci  | egrep -i vga
00:02.0 VGA compatible controller: Intel Corporation Alder Lake-N [UHD Graphics]

[steve@mini2 ~]$ lsmod | egrep i915
[steve@mini2 ~]$

If I run $ sudo modprobe i915, the module does load, but I still don't get a /dev/dri directory. Additionally, the modules listed are different than the Redhat Compatible Kernel:

[steve@mini2 ~]$ lsmod | egrep i915
i915                 3411968  0
ttm                    90112  1 i915
drm_kms_helper        339968  1 i915
cec                    65536  2 drm_kms_helper,i915
i2c_algo_bit           20480  1 i915
drm                   729088  3 drm_kms_helper,i915,ttm
video                  65536  1 i915

I'd like to use the UEK so that I can use BTRFS, but I'd also like to be able to access the GPU. Any ideas what might be going on here? Thank you.

Comments

Dwayne Miller Jan 14 2025

FYI… the stack trace shows this method as the one responsible for the exception, but not sure how it is trying to determine the local offset.

Oracle.DataAccess.Types.TimeStamp.GetLocalTZOffset()

1 - 1

Post Details

Added on Nov 10 2024
2 comments
197 views