Trouble with Mint 21.1 and gt750m DisplayPort on Macbook Pro

Hi there!!!

Struggling here with my old Macbook and Mint …

This is the machine MacbookPro 15 late 2013

I installed Linux Mint 21.1 Cinnamon, kernel 5.15.0-58

Nvidia 390 driver installed

Using as external monitor an ASUS PB287Q 4K old model.

Well, after give a good look into this forum and try a lot of solutions, I decided to make a fresh install and ask for your help.

Now the monitor is black, and I cant move any window to it, the mouse pointer is like a little X and the monitor doesn’t show up under display options, just at nvidia settings as a second display, and with a 30hz rate…

When I plug it, the laptop monitor goes crazy and the screen resolution become enormous and I need to keep going with the mouse to left and down to find open windows lol and the monitor says no connection at display port, I need to run service lightdm restart so I can use the laptop monitor and then the external monitor goes black and I cant use it with that X instead of the mouse pointer…

Below the necessary info if anyone can help!


+--------------------------------------------------------------------------------------------+
| NVIDIA-SMI 390.157                Driver Version: 390.157                                    
|-------------------------------+----------------------+-------------------------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC     
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. 
|===============================+========================
|   0  GeForce GT 750M     Off  | 00000000:01:00.0 N/A 
| N/A 
| N/A   63C    P0    N/A /  N/A |    953MiB /  1999MiB |     N/A      Default 
+-------------------------------+----------------------+-------------------------------------+
                                                                             
+--------------------------------------------------------------------------------------------+
| Processes:                                                       GPU Memory 
|  GPU       PID   Type   Process name                             Usage      
|========================================================|
|    0                    Not Supported                                      
+--------------------------------------------------------------------------------------------+

**inxi -Gx**

Graphics:
  Device-1: NVIDIA GK107M [GeForce GT 750M Mac Edition] vendor: Apple
    driver: nvidia v: 390.157 bus-ID: 01:00.0
  Display: x11 server: XOrg v: 1.21.1.3 driver: X: loaded: nvidia
    gpu: nvidia resolution: 2880x1800~60Hz resolution: 2880x1800~60Hz
  OpenGL: renderer: GeForce GT 750M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.157
    direct render: Yes

inxi -Fxxxrz

System:
  Kernel: 5.15.0-58-generic x86_64 bits: 64 compiler: gcc v: 11.3.0
    Desktop: Cinnamon 5.6.7 tk: GTK 3.24.33 wm: muffin vt: 7 dm: LightDM 1.30.0
    Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: Apple product: MacBookPro11,3 v: 1.0
    serial: <superuser required> Chassis: type: 10 v: Mac-2BD1B31983FE1663
    serial: <superuser required>
  Mobo: Apple model: Mac-2BD1B31983FE1663 v: MacBookPro11,3
    serial: <superuser required> UEFI: Apple v: 162.0.0.0.0 date: 06/10/2020
Battery:
  ID-1: BAT0 charge: 98.3 Wh (100.0%) condition: 98.3/95.4 Wh (103.1%)
    volts: 12.5 min: 11.3 model: SMP bq20z451 type: Li-ion serial: N/A
    status: Full cycles: 5
  Device-1: hid-30:d9:d9:9b:af:d7-battery model: gustavo’s Mouse #1
    serial: N/A charge: N/A status: Discharging
  Device-2: hid-70:f0:87:3f:3c:3c-battery model: gustavo’s Keyboard
    serial: N/A charge: N/A status: Discharging
CPU:
  Info: quad core model: Intel Core i7-4850HQ bits: 64 type: MT MCP
    smt: enabled arch: Haswell rev: 1 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 1903 high: 2297 min/max: 800/3500 cores: 1: 2295
    2: 1091 3: 1589 4: 2295 5: 2296 6: 2295 7: 2297 8: 1070 bogomips: 36716
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GK107M [GeForce GT 750M Mac Edition] vendor: Apple
    driver: nvidia v: 390.157 pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.0
    chip-ID: 10de:0fe9 class-ID: 0300
  Display: x11 server: XOrg v: 1.21.1.3 driver: X: loaded: nvidia
    gpu: nvidia display-ID: :0 screens: 2 default screen: 0
  Screen-1: 0 s-res: 2880x1800 s-dpi: 221 s-size: 331x211mm (13.0x8.3")
    s-diag: 393mm (15.5")
  Monitor-1: DP-2 res: 2880x1800 hz: 60 dpi: 221
    size: 331x207mm (13.0x8.1") diag: 390mm (15.4") Screen: 1 s-res: 3840x2160
    s-dpi: 157 s-size: 621x341mm (24.4x13.4") s-diag: 708mm (27.9")
  Screen-2: 0 s-res: 2880x1800 s-size: <missing: xdpyinfo>
  Monitor-1: DP-2 res: 2880x1800 hz: 60 dpi: 221
    size: 331x207mm (13.0x8.1") diag: 390mm (15.4")
  OpenGL: renderer: GeForce GT 750M/PCIe/SSE2 v: 4.6.0 NVIDIA 390.157
    direct render: Yes
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20
    class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio vendor: Apple driver: snd_hda_intel
    v: kernel pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:0e1b
    class-ID: 0403
  Device-3: Broadcom 720p FaceTime HD Camera driver: N/A pcie:
    speed: 5 GT/s lanes: 1 bus-ID: 04:00.0 chip-ID: 14e4:1570 class-ID: 0480
  Sound Server-1: ALSA v: k5.15.0-58-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Broadcom BCM4360 802.11ac Wireless Network Adapter vendor: Apple
    driver: wl v: kernel pcie: speed: 2.5 GT/s lanes: 1 bus-ID: 03:00.0
    chip-ID: 14e4:43a0 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth Host Controller type: USB driver: btusb v: 0.8
    bus-ID: 1-8.3:6 chip-ID: 05ac:8289 class-ID: fe01
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter>
    bt-v: 2.1 lmp-v: 4.0 sub-v: 4196 hci-v: 4.0 rev: 2467
Drives:
  Local Storage: total: 465.76 GiB used: 48.64 GiB (10.4%)
  ID-1: /dev/nvme0n1 vendor: Crucial model: CT500P2SSD8 size: 465.76 GiB
    speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: P2CR033
    temp: 35.9 C scheme: GPT
Partition:
  ID-1: / size: 456.89 GiB used: 48.64 GiB (10.6%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 5.2 MiB (1.0%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1.4 MiB (0.1%) priority: -2
    file: /swapfile
Sensors:
  System Temperatures: cpu: 74.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  GPU: device: nvidia screen: :0.0 temp: 69 C device: nvidia screen: :0.1
    temp: 69 C
Repos:
  Packages: 2388 apt: 2363 flatpak: 8 snap: 17
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/agornostal-ulauncher-jammy.list
    1: deb [arch=amd64 signed-by=/etc/apt/keyrings/agornostal-ulauncher-jammy.gpg] jammy main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb vera main upstream import backport
    2: deb jammy main restricted universe multiverse
    3: deb jammy-updates main restricted universe multiverse
    4: deb jammy-backports main restricted universe multiverse
    5: deb jammy-security main restricted universe multiverse
Info:
  Processes: 322 Uptime: 22h 43m wakeups: 21 Memory: 15.54 GiB
  used: 3.17 GiB (20.4%) Init: systemd v: 249 runlevel: 5 Compilers:
  gcc: 11.3.0 alt: 11 Shell: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.13

xrandr

Screen 0: minimum 8 x 8, current 2880 x 1800, maximum 16384 x 16384
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DP-2 connected primary 2880x1800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
   2880x1800     59.99*+
DP-4 disconnected (normal left inverted right x axis y axis)


cat /etc/X11/xorg.conf.d/xorg.conf

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 510.47.03

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection