GUI mode fails with notebook accelerated graphics

General support questions
Post Reply
gia
Posts: 3
Joined: 2018/11/14 14:59:05

GUI mode fails with notebook accelerated graphics

Post by gia » 2018/11/14 15:18:10

Hi, I am not very knowledgeable with Linux, I have a notebook with an i7 (integrated Intel 630) and an Nvidia Geforce 1050. It is also dual booted, with the first install being Windows 10 (although after installing CentOS its loader boots first), with Bitlocker and SecureBoot.

CentOS seems to be able to load just fine, in text mode, when I try to run startx it works so long as nouveau is the driver used (by default, no Xorg config).

Both the intel and nvidia gpus are UNCLAIMED according to lshw. Even though the drivers for intel come preinstalled as far as I understand.

I managed to download the drivers for Nvidia, create a signature and install them signed so they worked with secureboot, and they are loaded in text mode.

Disabling nouveau and nvidia, intel cant load startx, as the driver is not found -2 (used "i915"). If using a default config (no config) some vesa driver is loaded and a lot of custom drivers for keyboard, pad, and so on, and the system crashes with a black screen of death.

Disabling nouveau and i915 and setting the busid makes nvidia be loaded by startx but it eventually fails as it cant find a screen, unloads the drivers and exits with -1. it also may bsod if default started.

using lsmod | grep video shows nouveau and i915 so long as they are not unloaded, it never shows nvidia.

Disabling all three makes i915 be loaded forcefully.

I wouldnt mind that much if nouveau could do more than 800*600, the UI bugs out and extends past the width without an horizontal scrollbar.

Is there a way to have at least one of the cards work so I can have some acceleration + better resolution? (without opening the notebook)
Last edited by gia on 2018/11/18 11:13:10, edited 2 times in total.

gia
Posts: 3
Joined: 2018/11/14 14:59:05

Re: GUI mode fails with notebook accelerated graphics

Post by gia » 2018/11/18 11:04:48

Update:
tried to install elrepo, worked, tried to install kmod-nvidia, failed, kmod nvidia needs a kernel 7.6 and elrepo is 7. tried to install nvidia official, worked, but crashed when actually went into gui mode, then I couldnt boot anymore. had to press e at grub boot and figure it out (add an 1 argument to boot to boot in maintenance mode)

learned that you have to add i915.alpha_support=1 i915.modeset=1 to boot for intel 630 to be recognized at all. Now I had i915+nouveau (properly?) loaded, and nvidia UNCLAIMED/with no driver + GNOME + official kernel (not elrepo)

deleted custom xorg.conf (for elrepo+nvidia), .xinitrc, .Xauthority,

startx failed silently, would load a black screen and go back to text mode after a second. No error on log. May be my fault however as this is not a clean install anymore.

blacklisted nouveau at config+dracut, now i915 is the only module loaded. still cant startx.

gave up on gnome and installed kde, set systemctl to muli-user (prefer to boot to text first and then try to load gui), created ~/.xinitrc with startkde, it loaded perfectly.

resolution is 1920*1080, cant be changed though ui.

glxinfo doesnt show acceleration yes

Code: Select all

name of display: :1
display: :1  screen: 0
direct rendering: No (If you want to find out why, try setting LIBGL_DEBUG=verbose)
server glx vendor string: SGI
server glx version string: 1.4
It shows NVIDIA(and not intel or i915) despite it being unclaimed in lshw.

xorg log shows:

Code: Select all

[    40.607] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[    40.607] (II) modeset(0): using drv /dev/dri/card0
[    40.607] (WW) Falling back to old probe method for fbdev
[    40.607] (II) Loading sub module "fbdevhw"
[    40.607] (II) LoadModule: "fbdevhw"
[    40.636] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[    40.656] (II) Module fbdevhw: vendor="X.Org Foundation"
[    40.656]    compiled for 1.19.5, module version = 0.0.2
[    40.656]    ABI class: X.Org Video Driver, version 23.0
[    40.656] (WW) Falling back to old probe method for vesa
[    40.656] (II) modeset(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    40.656] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    40.656] (==) modeset(0): RGB weight 888
[    40.656] (==) modeset(0): Default visual is TrueColor
[    40.656] (II) Loading sub module "glamoregl"
[    40.656] (II) LoadModule: "glamoregl"
[    40.657] (WW) Warning, couldn't open module glamoregl
[    40.657] (II) UnloadModule: "glamoregl"
[    40.657] (II) Unloading glamoregl
[    40.657] (EE) modeset: Failed to load module "glamoregl" (module does not exist, 0)
[    40.657] (EE) modeset(0): Failed to load glamor module.
[    40.657] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[    40.657] (II) modeset(0): Double-buffered shadow updates: off
[    40.658] (II) modeset(0): Output eDP-1 has no monitor section
[    40.658] (II) modeset(0): Output DP-1 has no monitor section
[    40.670] (II) modeset(0): Output HDMI-1 has no monitor section
[    40.672] (II) modeset(0): EDID for output eDP-1
[    40.672] (II) modeset(0): Manufacturer: AUO  Model: 23ed  Serial#: 0
[    40.672] (II) modeset(0): Year: 2016  Week: 0
[    40.672] (II) modeset(0): EDID Version: 1.4
[    40.672] (II) modeset(0): Digital Display Input
[    40.672] (II) modeset(0): 6 bits per channel
[    40.672] (II) modeset(0): Digital interface is DisplayPort
[    40.672] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[    40.672] (II) modeset(0): Gamma: 2.20
[    40.672] (II) modeset(0): No DPMS capabilities specified
[    40.672] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:2:2
[    40.672] (II) modeset(0): First detailed timing is preferred mode
[    40.672] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[    40.672] (II) modeset(0): Display is continuous-frequency
[    40.672] (II) modeset(0): redX: 0.575 redY: 0.346   greenX: 0.347 greenY: 0.572
[    40.672] (II) modeset(0): blueX: 0.158 blueY: 0.117   whiteX: 0.313 whiteY: 0.329
[    40.672] (II) modeset(0): Manufacturer's mask: 0
[    40.672] (II) modeset(0): Supported detailed timing:
[    40.672] (II) modeset(0): clock: 141.0 MHz   Image Size:  344 x 193 mm
[    40.672] (II) modeset(0): h_active: 1920  h_sync: 2028  h_sync_end 2076 h_blank_end 2086 h_border: 0
[    40.672] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1100 v_blanking: 1126 v_border: 0
[    40.672] (II) modeset(0): Supported detailed timing:
[    40.672] (II) modeset(0): clock: 94.0 MHz   Image Size:  344 x 193 mm
[    40.672] (II) modeset(0): h_active: 1920  h_sync: 2028  h_sync_end 2076 h_blank_end 2086 h_border: 0
[    40.672] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1100 v_blanking: 1126 v_border: 0
[    40.672] (II) modeset(0): Unknown vendor-specific block 2
[    40.672] (II) modeset(0): EDID (in hex):
[    40.672] (II) modeset(0):   00ffffffffffff0006afed2300000000
[    40.672] (II) modeset(0):   001a010495221378116e859358589228
[    40.672] (II) modeset(0):   1e505400000001010101010101010101
[    40.672] (II) modeset(0):   010101010101143780a670382e406c30
[    40.672] (II) modeset(0):   aa0058c110000018b82480a670382e40
[    40.672] (II) modeset(0):   6c30aa0058c110000018000000000000
[    40.672] (II) modeset(0):   00000000000000000000000000000002
[    40.672] (II) modeset(0):   001048ff0f3c6e0f16286e2020200033
[    40.673] (II) modeset(0): Printing probed modes for output eDP-1
[    40.673] (II) modeset(0): Modeline "1920x1080"x60.0  141.00  1920 2028 2076 2086  1080 1090 1100 1126 -hsync -vsync (67.6 kHz eP)
[    40.673] (II) modeset(0): Modeline "1920x1080"x40.0   94.00  1920 2028 2076 2086  1080 1090 1100 1126 -hsync -vsync (45.1 kHz e)
[    40.673] (II) modeset(0): EDID for output DP-1
[    40.685] (II) modeset(0): EDID for output HDMI-1
[    40.685] (II) modeset(0): Output eDP-1 connected
[    40.685] (II) modeset(0): Output DP-1 disconnected
[    40.685] (II) modeset(0): Output HDMI-1 disconnected
[    40.685] (II) modeset(0): Using exact sizes for initial modes
[    40.685] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[    40.685] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    40.685] (==) modeset(0): DPI set to (96, 96)
[    40.685] (II) Loading sub module "fb"
[    40.685] (II) LoadModule: "fb"
[    40.685] (II) Loading /usr/lib64/xorg/modules/libfb.so
[    40.686] (II) Module fb: vendor="X.Org Foundation"
[    40.686]    compiled for 1.19.5, module version = 1.0.0
[    40.686]    ABI class: X.Org ANSI C Emulation, version 0.4
[    40.686] (II) Loading sub module "shadow"
[    40.686] (II) LoadModule: "shadow"
[    40.686] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[    40.719] (II) Module shadow: vendor="X.Org Foundation"
[    40.719]    compiled for 1.19.5, module version = 1.1.0
[    40.719]    ABI class: X.Org ANSI C Emulation, version 0.4
[    40.719] (II) UnloadModule: "fbdev"
[    40.720] (II) Unloading fbdev
[    40.720] (II) UnloadSubModule: "fbdevhw"
[    40.720] (II) Unloading fbdevhw
[    40.720] (II) UnloadModule: "vesa"
[    40.720] (II) Unloading vesa
[    40.720] (==) Depth 24 pixmap format is 32 bpp
[    40.782] (==) modeset(0): Backing store enabled
[    40.782] (==) modeset(0): Silken mouse enabled
[    40.782] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    40.867] (==) modeset(0): DPMS enabled
[    40.867] (--) RandR disabled
[    40.891] (II) SELinux: Disabled by boolean
[    40.918] (II) AIGLX: Screen 0 is not DRI2 capable
[    40.918] (EE) AIGLX: reverting to software rendering
[    43.431] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    43.431] (II) IGLX: Loaded and initialized swrast
[    43.431] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    43.431] (II) modeset(0): Damage tracking initialized
[    43.431] (II) modeset(0): Setting screen physical size to 508 x 285
maybe important that glamor didnt load and AIGLX went into software rendering

Tried to figure out if theres a 3d accelerated bechmark i can install (eg a proper bechmark, or a 3d game, no success.

Does anyone know how to get intel acceleration (or does the fact that its integrated mean that it will be never be such?), id rather not try to unlock both cards and lock myself out of the system again.

Post Reply