LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-18-2024, 11:51 AM   #1
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
i915 kernel module issues


On my systems if the i915 kernel module gets loaded, the res gets dropped
from 1600x1200 back to only 1024x768

So, my newkernel.sh which I run upon upgrading the kernel deletes that module.

/sbin/lilo
(sets framebuffer console at res 1600x1200 32bit via vga=858)
(vga=ask shoes that this is indeed the correct setting)
echo rm -r /lib/modules/*.*.*/kernel/drivers/gpu/drm/i915
rm -r /lib/modules/*.*.*/kernel/drivers/gpu/drm/i915
echo rm -r /lib/modules/*.*.*/kernel/drivers/gpu/drm/nouveau
rm -r /lib/modules/*.*.*/kernel/drivers/gpu/drm/nouveau

(lilo sets framebuffer console at res 1600x1200 32bit via vga=858)
(vga=ask shows that this is indeed the correct setting)



I reinstalled the modules and ran lilo by itself.

Am here now in the new system booted to 6.9 and in X & firefox

BUT.... my res is at a max of 1024x768

With all previous setups for the past 15years all the way up to kernel 6.6.30
removing that i915 module works perfectly to allow keeping 1600x1200 res at the cli an in X

Why all of sudden is the 6.9 kernel not allowing X to start
without the i915 module being loaded ?!?!?

Is anyone aware of method of keeping the res at 1600x1200 with the i915 module loaded
(or the nouveau module on my other systems)

Exactly the same just now trying a Radeon video card but even worse.
The moment the radeon kernel module is loaded, res is dropped all the way down to 640x480

Last edited by glennmcc; 05-18-2024 at 12:17 PM.
 
Old 05-18-2024, 02:26 PM   #2
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,936

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by glennmcc View Post
With all previous setups for the past 15years all the way up to kernel 6.6.30
removing that i915 module works perfectly to allow keeping 1600x1200 res at the cli an in X

Why all of sudden is the 6.9 kernel not allowing X to start
without the i915 module being loaded ?!?!?
Is it the same system that gave you 1600x1200 with kernel 6.6.30 and not with 6.9? Or did you have a new install of -current to test with kernel 6.9? If the latter option then you had installed package xf86-video-fbdev from extra/ which gave you 1600x1200 but you have not installed it yet on -current.
 
1 members found this post helpful.
Old 05-18-2024, 03:04 PM   #3
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Petri Kaukasoina View Post
Is it the same system that gave you 1600x1200 with kernel 6.6.30 and not with 6.9? Or did you have a new install of -current to test with kernel 6.9? If the latter option then you had installed package xf86-video-fbdev from extra/ which gave you 1600x1200 but you have not installed it yet on -current.
The same problem exists in all of these situations...

1) existing system upgraded from 6.6.30 to 6.9.0 (and yesterday to 6.9.1)
2) fresh install of -current with /etc/X11/xorg.conf set to use Driver "vesa"
3) fresh install of -current after installing xf86-video-fbdev with /etc/X11/xorg.conf set to use Driver "fbdev"

In addition, when booted to 6.9.x and the i915 module is not loaded... no audio.

Oh yeah... this not just happening on one particular machine,
it's exactly the same on the i7 and on two different Intel DualCore machines.

All 3 of them have i915 on-board chisets

All 3 of them have the same problem with i915
and with the use of the nouveau module with an Nvidia card
and with the use of the radeon module with a Radeon card.

Last edited by glennmcc; 05-18-2024 at 04:10 PM.
 
Old 05-18-2024, 04:55 PM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,936

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
What happens if you install back the intel driver and remove /etc/X11/xorg.conf. Does it work then? What if you then add this as /etc/X11/xorg.conf.d/90-monitor.conf
Code:
Section "Device"
    Identifier "Intel"
    Driver "intel"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device "Intel"
    Monitor "MyMonitor"
    DefaultDepth 24
        Subsection "Display"
        Depth       24
        Modes "1600x1200"
    EndSubsection
EndSection

Section "Monitor"
  Identifier "MyMonitor"
  Modeline "1600x1200" 192.01  1600 1632 1832 2032  1200 1204 1208 1224 -hsync -vsync -csync
EndSection
Or, the same except Driver "modesetting" instead of "intel".

Last edited by Petri Kaukasoina; 05-18-2024 at 05:05 PM.
 
1 members found this post helpful.
Old 05-18-2024, 05:09 PM   #5
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Petri Kaukasoina View Post
What happens if you install back the intel driver and remove /etc/X11/xorg.conf. Does it work then? What if you then add this as /etc/X11/xorg.conf.d/90-monitor.conf
Code:
Section "Device"
    Identifier "Intel"
    Driver "intel"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device "Intel"
    Monitor "MyMonitor"
    DefaultDepth 24
        Subsection "Display"
        Depth       24
        Modes "1600x1200"
    EndSubsection
EndSection

Section "Monitor"
  Identifier "MyMonitor"
  Modeline "1600x1200" 192.01  1600 1632 1832 2032  1200 1204 1208 1224 -hsync -vsync -csync
EndSection
Or, the same except Driver "modesetting" instead of "intel".
Already tried that kind of stuff and it did not work. Still stuck at 1024x768

In addition, even if some settings could work to get the X display fixed...
that does not fix the problem on the framebuffer console which when dropped from 1600x1200
down to 1024x768 still uses the same number of lines of text which scroll-off the bottom of screen so can't be seen.


I did find a way to stop the i915 module from loading without deleting it.

Added "i915.modeset=0" to the lilo boot options.

However.... the same problem still happens in 6.9.x
but works perfectly fine with 6.6.30 and older.

Last edited by glennmcc; 05-18-2024 at 05:16 PM.
 
Old 05-18-2024, 08:15 PM   #6
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Got it fixed !

All that was needed is to add video=1600x1200 to the append line in /etc/lilo.conf

Code:
# Append any additional kernel parameters:
append=" vt.default_utf8=0 video=1600x1200"
prompt
timeout = 50
vga = 858

That fixed.

At the moment the i915 module is loaded, the screen just 'blinks' for an instant.

The framebuffer console stays at 1600x1200

X starts up just fine and is at 1600x1200

And audio is now working.

root@glennmcc-i7:~# uname -a
Linux glennmcc-i7.net 6.9.1 #1 SMP PREEMPT_DYNAMIC Fri May 17 13:09:59 CDT 2024 x86_64 Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz GenuineIntel GNU/Linux

root@glennmcc-i7:~# fbset -i -x

Mode "1600x1200"
DotClock Unknown
HTimings 1600 1600 1600 1600
VTimings 1200 1200 1200 1200
Flags "-HSync" "-VSync"
EndMode

Frame buffer device information:
Name : i915drmfb
Address : (nil)
Size : 7680000
Type : PACKED PIXELS
Visual : TRUECOLOR
XPanStep : 1
YPanStep : 1
YWrapStep : 0
LineLength : 6400
Accelerator : No

root@glennmcc-i7:~# fbset -x

Mode "1600x1200"
DotClock Unknown
HTimings 1600 1600 1600 1600
VTimings 1200 1200 1200 1200
Flags "-HSync" "-VSync"
EndMode


__________

This is where I found the explanation of what's happening along with the 'fix'.
https://www.linuxquestions.org/quest...5/#post4640092

Last edited by glennmcc; 05-18-2024 at 10:48 PM.
 
Old 05-26-2024, 03:12 AM   #7
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
I'd like to know what is special about your configuration that you couldn't previously get native display resolution using i915. I have a multitude of Intel GPUs of various vintages that by default using i915 kernel module, KMS and pure automagic X since server 1.17 (2015) have had no difficulty producing the native resolution of whatever display(s) were attached: 1024x768, 1280x1024, 1440x900, 1600x900, 1680x1050, 1920x1080, 1920x1200, 2560x1440 and 3840x2160. I have no doubt if I fetched my Dell 2000FP 1600x1200 from storage it would be automatically configured to 1600x1200. i915-driven Intel GPUs here in current service: 845, 865, 915, 945, 965, G31, G33, G41, Q43, Q45, Clarkdale, Haswell, Kaby Lake & Rocket Lake. This is with a variety of distros and accompanying default kernels, e.g. Debian, Fedora, Mageia, Mint, openSUSE & *buntu. e.g.:
Code:
# inxi -GSaz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: ab560 Kernel: 6.1.0-21-amd64 arch: x86_64 bits: 64 compiler: gcc
    v: 12.2.0 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/vmlinuz root=LABEL=<filter> noresume
    ipv6.disable=1 net.ifnames=0 consoleblank=0 preempt=full mitigations=off
  Desktop: TDE (Trinity) v: R14.1.2 tk: Qt v: 3.5.0 wm: Twin v: 3.0
    with: kicker vt: 7 dm: 1: TDM 2: XDM Distro: Debian GNU/Linux 12 (bookworm)
Graphics:
  Device-1: Intel RocketLake-S GT1 [UHD Graphics 730] vendor: ASUSTeK
    driver: i915 v: kernel arch: Gen-12.1 process: Intel 10nm built: 2020-21
    ports: active: DP-1,HDMI-A-1,HDMI-A-2 empty: HDMI-A-3 bus-ID: 00:02.0
    chip-ID: 8086:4c8b class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.7 compositor: Twin v: 3.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3600x2640 s-dpi: 120 s-size: 762x558mm (30.00x21.97")
    s-diag: 944mm (37.18")
  Monitor-1: DP-1 pos: primary,bottom-l model: Acer K272HUL serial: <filter>
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-1 pos: top-left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 519x324mm (20.43x12.76") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-3: HDMI-A-2 mapped: HDMI-2 pos: top-right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2
    size: 473x296mm (18.62x11.65") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
All three display's resolutions were correctly determined automagically. AMD GPUs can be just as capable, though on this particular installation optional device and display drivers are employed:
Code:
# inxi -SGaz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: ara88 Kernel: 5.15.139 arch: x86_64 bits: 64 compiler: gcc
    v: 2.37-slack15 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz rw root=LABEL=<filter>
    ipv6.disable=1 net.ifnames=0 noresume radeon.cik_support=0
    amdgpu.cik_support=1 consoleblank=0 preempt=full mitigations=off 4
  Console: pty pts/0 wm: kwin_x11 DM: SDDM Distro: Slackware 15.0
Graphics:
  Device-1: AMD Kaveri [Radeon R7 Graphics] vendor: ASRock driver: amdgpu
    v: kernel alternate: radeon arch: GCN-2 code: Sea Islands
    process: GF/TSMC 16-28nm built: 2013-17 ports: active: DP-1, DVI-D-1,
    HDMI-A-1, VGA-1 empty: none bus-ID: 00:01.0 chip-ID: 1002:130f
    class-ID: 0300
  Display: x11 server: X.org v: 1.20.14 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu
    display-ID: 00srv.ij.net:0
  Monitor-1: DP-1 model: Acer K272HUL serial: <filter> built: 2018
    res: 2560x1440 dpi: 109 gamma: 1.2 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  Monitor-2: DVI-D-1 model: Dell P2213 serial: <filter> built: 2012
    res: 1680x1050 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65")
    diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
  Monitor-3: HDMI-A-1 model: NEC EA243WM serial: <filter> built: 2011
    res: 1920x1200 dpi: 94 gamma: 1.2 size: 519x324mm (20.43x12.76")
    diag: 612mm (24.1") ratio: 16:10 modes: max: 1920x1200 min: 640x480
  Monitor-4: VGA-1 model: Lenovo L2251x Wide serial: <filter> built: 2011
    res: 1680x1050 dpi: 90 gamma: 1.2 size: 474x296mm (18.66x11.65")
    diag: 559mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
 
Old 05-26-2024, 04:51 AM   #8
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,936

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by mrmazda View Post
I'd like to know what is special about your configuration that you couldn't previously get native display resolution using i915.
I don't know about glennmcc's configuration but I had a similar problem. The system used to use the native resolution 1280x1024 of the Lenovo monitor. I don't remember if something changed (kernel version?) or the monitor just stopped sending valid EDID data but the result is that now it does not set 1280x1024 automatically any more. Lines in dmesg:
Code:
[   11.679282] pci 0000:00:00.0: Intel 945G Chipset
[   11.697067] pci 0000:00:00.0: detected gtt size: 262144K total, 262144K mappable
[   11.715489] pci 0000:00:00.0: detected 8192K stolen memory
[   11.733493] Console: switching to colour dummy device 80x25
[   11.733604] i915 0000:00:02.0: vgaarb: deactivate vga console
[   11.779316] i915 0000:00:02.0: [drm] Initialized overlay support.
[   11.779999] [drm] Initialized i915 1.6.0 20230929 for 0000:00:02.0 on minor 0
[   11.811147] EDID block 0 is all zeroes
[   11.811162]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811167]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811170]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811172]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811175]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811178]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811180]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.811183]  [00] ZERO 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[   11.839056] EDID block 0 is all zeroes
[   11.840213] fbcon: i915drmfb (fb0) is primary device
[   11.909804] Console: switching to colour frame buffer device 128x48
[   11.928075] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[   11.966068] EDID block 0 is all zeroes
[   11.972911] i2c_dev: i2c /dev entries driver
[   11.994774] EDID block 0 is all zeroes
...
[   47.448001] EDID block 0 is all zeroes
[   47.476437] EDID block 0 is all zeroes
I fixed X by adding a modeline in /etc/X11/xorg.conf.d/90-monitor.conf, similar to what I suggested here in post #4. I have not tried if adding video=1280x1024 to the kernel command line works here.

My /etc/X11/xorg.conf.d/90-monitor.conf
Code:
Section "Device"
    Identifier "Intel"
    Driver "intel"
    Option      "DRI"  "false"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device "Intel"
    Monitor "Lenovo
    DefaultDepth 24
        Subsection "Display"
        Depth       24
        Modes "1280x1024"
    EndSubsection
EndSection

Section "Monitor"
  Identifier "Lenovo"
  Modeline "1280x1024" 108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
EndSection
There is also Option "DRI" "false" because opengl on a pentium4 + 945G graphics is much faster with software rendering.

Last edited by Petri Kaukasoina; 05-26-2024 at 05:07 AM.
 
Old 05-26-2024, 06:54 AM   #9
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,878
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by Petri Kaukasoina View Post
I fixed X by adding a modeline in /etc/X11/xorg.conf.d/90-monitor.conf, similar to what I suggested here in post #4. I have not tried if adding video=1280x1024 to the kernel command line works here.
The Intel DDX display driver is the only FOSS display driver I'm aware of where video= on kernel cmdline is inherited by X. For modesetting, radeon, amgdpu and nouveau driver users, it only applies on the VTs.

Quote:
My /etc/X11/xorg.conf.d/90-monitor.conf
Code:
Section "Monitor"
  Identifier "Lenovo"
  Modeline "1280x1024" 108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
EndSection
I've never required a modeline to solve an EDID problem. X knows perfectly well how to generate modelines when given the data it needs. Whenever an xorg .conf file with proper Horizsync and VertRefresh has failed to do that for me, so did attempts to solve via added modelines. Last needed was long ago, as all my displays with faulty EDID have been disposed of.

Quote:
There is also Option "DRI" "false" because opengl on a pentium4 + 945G graphics is much faster with software rendering.
I have 5 PCs with 945G. 3 have either ATI or NVidia GPUs installed. One of the other two has a Pentium D. The other follows:
Code:
# inxi -CSz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: gx151 Kernel: 5.14.21-150500.55.59-default arch: x86_64 bits: 64
  Desktop: KDE v: 3.5.10 Distro: openSUSE Leap 15.5
CPU:
  Info: single core model: Intel Pentium 4 bits: 64 type: MT cache: L2: 2 MiB
  Speed (MHz): avg: 2993 min/max: N/A cores: 1: 2993 2: 2993
# inxi -Gaz
Graphics:
  Device-1: Intel 82945G/GZ Integrated Graphics vendor: Dell driver: i915
    v: kernel arch: Gen-3.5 process: Intel 90nm built: 2005-06 ports:
    active: DVI-D-1,VGA-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:2772
    class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 compositor: kwin driver: X:
    loaded: intel unloaded: fbdev,modesetting,vesa dri: i915 gpu: i915
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3600x1200 s-dpi: 120 s-size: 762x254mm (30.00x10.00")
    s-diag: 803mm (31.62")
  Monitor-1: DVI-D-1 mapped: DVI1 pos: primary,left model: NEC EA243WM
    serial: <filter> built: 2011 res: 1920x1200 hz: 60 dpi: 94 gamma: 1.2
    size: 520x320mm (20.47x12.6") diag: 612mm (24.1") ratio: 16:10 modes:
    max: 1920x1200 min: 640x480
  Monitor-2: VGA-1 mapped: VGA1 pos: right model: Dell P2213
    serial: <filter> built: 2012 res: 1680x1050 hz: 60 dpi: 91 gamma: 1.2
    size: 470x300mm (18.5x11.81") diag: 558mm (22") ratio: 16:10 modes:
    max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: intel i915 platforms: device: 0 egl: 1.4
    drv: i915 device: 1 drv: swrast gbm: egl: 1.4 drv: i915 surfaceless:
    egl: 1.4 drv: i915 x11: egl: 1.4 drv: i915 inactive: wayland
  API: OpenGL v: 4.5 compat-v: 2.1 vendor: mesa v: 22.3.5 glx-v: 1.4
    direct-render: yes renderer: i915 (: 945G) device-ID: 8086:2772
    memory: 187.5 MiB unified: yes
#
This requires no graphics configuration, except when used with two displays and mirroring is undesired, so I use xrandr to move the smaller display to the right of the larger. I don't notice any problem with rendering speed, given the age and character of the GPU, and hadn't tried disabling DRI. With defaults only, glmark2 score is 167. I created /etc/X11/xorg.conf.d/50-device.conf containing Option "DRI" "false", and glmark2 score dropped to 49.
 
Old 05-26-2024, 09:50 AM   #10
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,936

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
With DRI in use, sddm is slow to react when typing password when logging in, and the display behaves a bit erratically. Google just found "It's not SDDM fault as it's Qt5Gui which needs OpenGL 2+ features. Imho good solution would be if SDDM before starting sddm-greeter checked for OpenGL 2+ and if this is not met then export QT_XCB_FORCE_SOFTWARE_OPENGL=1 to use software rendering." (Tomasz Paweł Gajc )

Your inxi output shows OpenGL v: 4.5 but mine is only OpenGL v: 1.4. This is with DRI on:
Code:
# ./inxi -CSz --vs --zl --hostname
inxi 3.3.34-00 (2024-04-13)
System:
  Host: linux.koti Kernel: 6.9.2 arch: x86_64 bits: 64
  Desktop: FVWM v: 2.6.9 Distro: Slackware 15.0
CPU:
  Info: single core model: Intel Pentium 4 bits: 64 type: MT cache: L2: 2 MiB
  Speed (MHz): avg: 2800 min/max: 2800/3200 cores: 1: 2800 2: 2800
# ./inxi -Gaz
Graphics:
  Device-1: Intel 82945G/GZ Integrated Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-3.5 process: Intel 90nm built: 2005-06
    ports: active: VGA-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:2772
    class-ID: 0300
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 21.1.4 driver: X:
    loaded: intel dri: i915 gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 338x270mm (13.31x10.63")
    s-diag: 433mm (17.03")
  Monitor-1: VGA-1 mapped: VGA1 res: 1280x1024 hz: 60 size: N/A modes:
    max: 1024x768 min: 640x480
  API: EGL v: 1.4 platforms: gbm: drv: N/A x11: drv: N/A
    inactive: wayland,device
  API: OpenGL v: 1.4 vendor: intel mesa v: 21.3.5 glx-v: 1.4 es-v: 2.0
    direct-render: yes renderer: Mesa DRI Intel 945G device-ID: 8086:2772
    memory: 187.5 MiB unified: yes
  API: Vulkan Message: No Vulkan data available.
With DRI false, I get OpenGL v:4.5, of course:
Code:
Graphics:
  Device-1: Intel 82945G/GZ Integrated Graphics vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-3.5 process: Intel 90nm built: 2005-06
    ports: active: VGA-1 empty: none bus-ID: 00:02.0 chip-ID: 8086:2772
    class-ID: 0300
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 21.1.4 driver: X:
    loaded: intel dri: swrast gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1280x1024 s-dpi: 96 s-size: 338x270mm (13.31x10.63")
    s-diag: 433mm (17.03")
  Monitor-1: VGA-1 mapped: VGA1 res: 1280x1024 hz: 60 size: N/A modes:
    max: 1024x768 min: 640x480
  API: EGL v: 1.5 platforms: gbm: egl: 1.4 drv: N/A x11: drv: N/A
    inactive: wayland,device
  API: OpenGL v: 4.5 vendor: x.org mesa v: 21.3.5 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 13.0.0 128 bits)
    device-ID: ffffffff:ffffffff memory: 3.07 GiB unified: no
  API: Vulkan Message: No Vulkan data available.

Last edited by Petri Kaukasoina; 05-26-2024 at 09:56 AM.
 
Old 05-26-2024, 11:36 AM   #11
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
On my systems the same thing happens with the on-board i915 (i915.ko module),
and with add-on Nvidia cards (nouveau.ko module),
and with add-on Radeon cards (radeon.ko module).

The only common factor is the use of lilo as boot manager which sets the framebuffer console.

The fix in all cases was to add video=1600x1200 to the append line in /etc/lilo.conf

append=" vt.default_utf8=0 video=1600x1200"
vga = 858
 
Old 05-26-2024, 12:30 PM   #12
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,936

Rep: Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568Reputation: 1568
Quote:
Originally Posted by glennmcc View Post
vga = 858
Shouldn't it be vga=799 ? (or 834)

Last edited by Petri Kaukasoina; 05-26-2024 at 12:33 PM.
 
Old 05-26-2024, 01:59 PM   #13
glennmcc
Member
 
Registered: Jan 2021
Location: North Jackson, Ohio (USA)
Distribution: slackware64-15.0, slackware64-current, slackware-14.0
Posts: 578

Original Poster
Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Originally Posted by Petri Kaukasoina View Post
Shouldn't it be vga=799 ? (or 834)
Mode 0x035a: 1600x1200 (+6400), 24 bits

And vga=ask at the lilo prompt shows that same info... 1600x1200x24 35a hex which is 858 dec

___

Correction:

vga=ask actually shows....

C 35A 1600x1200x32

Last edited by glennmcc; 05-26-2024 at 02:33 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] kernel 4.4.172-smp (32bit), i915 module --> no display after kernel-mode-switch baumei Slackware 27 01-25-2020 06:38 AM
looking for i915 parameter document or Is i915 good for N10? kaz2100 Debian 6 07-10-2011 06:17 PM
[SOLVED] ThinkPad X60s using i915 kernel module: screen blanking during boot procedures w1k0 Slackware 11 11-08-2010 08:50 AM
Failed to Load Kernel Module "i915" alkos333 Slackware 3 01-13-2007 09:08 PM
No DRI with an i865G graphics adaptor and the i915 kernel module HicEtNunc Linux - Software 2 05-02-2006 12:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration