Juno Graphics on retina 13 which only booted in osx safe mode

Discussion in 'Installation' started by florin0x02, May 13, 2019.

  1. florin0x02

    florin0x02 Thread Starter
    Expand Collapse
    New Member

    Joined:
    May 12, 2019
    Messages:
    3
    Likes Received:
    0
    Previous to Juno, my retina 13 got some liquid spilled. I cleaned it then the service said they didn't know how to fix it - it boots only in safe mode on osx.

    So I installed Juno , (I manage to enter GUI via grub cmdline option nomodeset. If I remove it - I have graphics artefacts and it's unusable)

    inxi says:

    Device-1: Intel 3rd Gen Core processor Graphics driver: N/A
    Display: x11 server: X.Org 1.19.6 driver: fbdev,intel unloaded: modesetting,vesa
    resolution: 2560x1600~93Hz
    OpenGL: renderer: llvmpipe (LLVM 8.0 256 bits) v: 3.3 Mesa 19.0.2

    So I guess it's running a non-accelerated framebuffer driver, I have only 1 resolution (2560x1600), pixel doubled (1280x800) or not, no brightness control. Fullhd works acceptably well although high cpu on Chrome.

    I tried adding some other resolutions via cvt and xrandr add mode/new mode, also xorg.conf, but once I switch to them nothing happens.

    Here is the output of xrandr:

    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 2560 x 1600, current 2560 x 1600, maximum 2560 x 1600
    default connected primary 2560x1600+0+0 0mm x 0mm
    2560x1600 93.00*

    if I enable modesetting driver it's unusable, lots of artefacts and it crashes - I enabled it via xorg.conf file by specifying driver "modesetting" - system is up to date.

    I also installed the intel driver via Device Driver Manager app from Linux Mint but it appears X crashes (not sure here)

    The question is how can I add some other resolution and go about the brightness control via fbdev driver or other options to make the best use of this laptop (as I can't use it anymore under OSX apparently)

    Thanks in advance and nice distro.
     
    #1 florin0x02, May 13, 2019
    Last edited: May 13, 2019
  2. florin0x02

    florin0x02 Thread Starter
    Expand Collapse
    New Member

    Joined:
    May 12, 2019
    Messages:
    3
    Likes Received:
    0
    Some other details:

    My xorg.0.log file (graphic related stuff) :

    [ 24.813] (II) LoadModule: "glx"
    [ 24.813] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 24.814] (II) Module glx: vendor="X.Org Foundation"
    [ 24.814] compiled for 1.19.6, module version = 1.0.0
    [ 24.814] ABI class: X.Org Server Extension, version 10.0
    [ 24.814] (II) LoadModule: "intel"
    [ 24.814] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 24.814] (II) Module intel: vendor="X.Org Foundation"
    [ 24.814] compiled for 1.19.5, module version = 2.99.917
    [ 24.814] Module class: X.Org Video Driver
    [ 24.814] ABI class: X.Org Video Driver, version 23.0
    [ 24.814] (II) LoadModule: "evdev"
    [ 24.814] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 24.814] (II) Module evdev: vendor="X.Org Foundation"
    [ 24.814] compiled for 1.19.3, module version = 2.10.5
    [ 24.814] Module class: X.Org XInput Driver
    [ 24.814] ABI class: X.Org XInput driver, version 24.1
    [ 24.814] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
    [ 24.815] (II) intel: Driver for Intel(R) HD Graphics
    [ 24.815] (II) intel: Driver for Intel(R) Iris(TM) Graphics
    [ 24.815] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
    [ 26.835] intel: waited 2020 ms for i915.ko driver to load
    [ 26.839] (EE) No devices detected.
    [ 26.839] (==) Matched modesetting as autoconfigured driver 0
    [ 26.839] (==) Matched fbdev as autoconfigured driver 1
    [ 26.839] (==) Matched vesa as autoconfigured driver 2
    [ 26.839] (==) Assigned the driver to the xf86ConfigLayout
    [ 26.839] (II) LoadModule: "modesetting"
    [ 26.839] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
    [ 26.839] (II) Module modesetting: vendor="X.Org Foundation"
    [ 26.839] compiled for 1.19.6, module version = 1.19.6
    [ 26.839] Module class: X.Org Video Driver
    [ 26.839] ABI class: X.Org Video Driver, version 23.0
    [ 26.839] (II) LoadModule: "fbdev"
    [ 26.839] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
    [ 26.840] (II) Module fbdev: vendor="X.Org Foundation"
    [ 26.840] compiled for 1.19.3, module version = 0.4.4
    [ 26.840] Module class: X.Org Video Driver
    [ 26.840] ABI class: X.Org Video Driver, version 23.0
    [ 26.840] (II) LoadModule: "vesa"
    [ 26.840] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [ 26.840] (II) Module vesa: vendor="X.Org Foundation"
    [ 26.840] compiled for 1.19.3, module version = 2.3.4
    [ 26.840] Module class: X.Org Video Driver
    [ 26.840] ABI class: X.Org Video Driver, version 23.0
    [ 26.840] (II) LoadModule: "evdev"
    [ 26.840] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 26.840] (II) Module evdev: vendor="X.Org Foundation"
    [ 26.840] compiled for 1.19.3, module version = 2.10.5
    [ 26.840] Module class: X.Org XInput Driver
    [ 26.840] ABI class: X.Org XInput driver, version 24.1
    [ 26.840] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
    i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
    915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
    Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
    GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
    [ 26.841] (II) intel: Driver for Intel(R) HD Graphics
    [ 26.841] (II) intel: Driver for Intel(R) Iris(TM) Graphics
    [ 26.841] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
    [ 26.841] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
    [ 26.841] (II) FBDEV: driver for framebuffer: fbdev
    [ 26.841] (II) VESA: driver for VESA chipsets: vesa
    [ 26.841] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
    [ 26.841] (WW) xf86OpenConsole: setsid failed: Operation not permitted
    [ 26.841] (EE) open /dev/dri/card0: No such file or directory
    [ 26.841] (WW) Falling back to old probe method for modesetting
    [ 26.841] (EE) open /dev/dri/card0: No such file or directory
    [ 26.841] (II) Loading sub module "fbdevhw"
    [ 26.841] (II) LoadModule: "fbdevhw"
    [ 26.841] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
    [ 26.841] (II) Module fbdevhw: vendor="X.Org Foundation"
    [ 26.841] compiled for 1.19.6, module version = 0.0.2
    [ 26.841] ABI class: X.Org Video Driver, version 23.0
    [ 26.841] (**) FBDEV(1): claimed PCI slot 0@0:2:0
    [ 26.841] (II) FBDEV(1): using default device
    [ 26.841] (WW) Falling back to old probe method for vesa
    [ 26.842] (EE) Screen 0 deleted because of no matching config section.
    [ 26.842] (II) UnloadModule: "modesetting"
    [ 26.842] (**) FBDEV(0): Depth 24, (--) framebuffer bpp 32
    [ 26.842] (==) FBDEV(0): RGB weight 888
    [ 26.842] (==) FBDEV(0): Default visual is TrueColor
    [ 26.842] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 26.842] (II) FBDEV(0): hardware: EFI VGA (video memory: 16000kB)
    [ 26.842] (II) FBDEV(0): checking modes against framebuffer device...
    [ 26.842] (II) FBDEV(0): checking modes against monitor...
    [ 26.842] (--) FBDEV(0): Virtual size is 2560x1600 (pitch 2560)
    [ 26.842] (**) FBDEV(0): Built-in mode "current": 409.7 MHz, 150.6 kHz, 92.7 Hz
    [ 26.842] (II) FBDEV(0): Modeline "current"x0.0 409.67 2560 2592 2656 2720 1600 1604 1608 1624 -hsync -vsync -csync (150.6 kHz b)
    [ 26.842] (**) FBDEV(0): Display dimensions: (286, 179) mm
    [ 26.842] (**) FBDEV(0): DPI set to (227, 227)
    [ 26.842] (II) Loading sub module "fb"
    [ 26.842] (II) LoadModule: "fb"
    [ 26.842] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 26.842] (II) Module fb: vendor="X.Org Foundation"
    [ 26.842] compiled for 1.19.6, module version = 1.0.0
    [ 26.842] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 26.842] (**) FBDEV(0): using shadow framebuffer
    [ 26.842] (II) Loading sub module "shadow"
    [ 26.842] (II) LoadModule: "shadow"
    [ 26.842] (II) Loading /usr/lib/xorg/modules/libshadow.so
    [ 26.843] (II) Module shadow: vendor="X.Org Foundation"
    [ 26.843] compiled for 1.19.6, module version = 1.1.0
    [ 26.843] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 26.843] (II) UnloadModule: "vesa"
    [ 26.843] (II) Unloading vesa
    [ 26.843] (==) Depth 24 pixmap format is 32 bpp
    [ 26.843] (II) FBDEV(0): FBIOBLANK: Invalid argument (Screen blanking not supported by kernel - disabling)
    [ 26.843] (==) FBDEV(0): Backing store enabled
    [ 26.844] (==) FBDEV(0): DPMS enabled
    [ 26.844] (==) RandR enabled
    [ 26.848] (II) SELinux: Disabled on system
    [ 26.849] (II) AIGLX: Screen 0 is not DRI2 capable
    [ 26.849] (EE) AIGLX: reverting to software rendering
    [ 26.887] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
    [ 26.888] (II) IGLX: Loaded and initialized swrast
    [ 26.888] (II) GLX: Initialized DRISWRAST GL provider for screen 0
     
  3. florin0x02

    florin0x02 Thread Starter
    Expand Collapse
    New Member

    Joined:
    May 12, 2019
    Messages:
    3
    Likes Received:
    0
    My xorg conf file situated in /etc/X11/xorg.conf.d/20-intel.conf (Although I don't think it affects anything) :

    Section "InputClass"
    Identifier "Touchpad0"
    MatchIsTouchpad "on"
    Driver "mtrack"
    EndSection
    Section "InputDevice"
    Identifier "Keyboard0"
    #MatchIsKeyboard "on"
    #Driver "kbd"
    Driver "evdev"
    Option "XkbLayout" "us"
    Option "XkbModel" "Apple MacBook Keyboard"
    Option "XkbRules" "xorg"
    Option "XkbOptions" "grp:alt_shift_toggle,grp:switch,grp_led:scroll,compose:rwin,terminate:ctrl_alt_bksp"
    Option "XkbVariant" ",qwerty"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    DisplaySize 286 179
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "intel"
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    EndSubSection
    SubSection "Display"
    Depth 24
    Modes "2560x1600" "1680x1050" "1440x1900"
    EndSubSection
    EndSection
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    #InputDevice "Mouse0" "CorePointer"
    #InputDevice "Touchpad0" "CorePointer"
    EndSection
     

Share This Page

Loading...