Wayland inopérant sous GNOME geforce gtx 660M apple

Hello everyone,
I'm new to garuda, not very young and I like the "Linux" spirit. Without computer training, I have been using linux distributions for a few years. My 27-inch 13.2 Imac has a hard time being satisfied with the drivers offered by default, especially with its Nvidia card. Garuda is, I believe, the one that is best able to meet my needs. I installed ddcutil with pamac to be able to use the "adjust dysplay brightness" (ADB) Gnome extension to not break the rolling release; without ADB, impossible to adjust the brightness of the screen: this is what the ADB logs return to me:

### getDisplays - (is_nvidia_einval_bug ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
Display 1
   I2C bus: /dev/i2c-6
   DRM connector: card0-DP-3
   Monitor: APP:iMac:
### getDisplayBrightness - bus: 6, result: (is_nvidia_einval_bug ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
PCV 10C 65535 65535
### getDisplays - OK 6, APP:iMac:, iMac, 65535, 65535
### ScreenBrightnessPanelMenu init finsihed.
### getDisplays - (is_nvidia_einval_bug ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
Display 1
   I2C bus: /dev/i2c-6
   DRM connector: card0-DP-3
   Monitor: APP:iMac:
### getDisplayBrightness - bus: 6, result: (is_nvidia_einval_bug ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
PCV 10C 65535 65535
### getDisplays - OK 6, APP:iMac:, iMac, 65535, 65535

Also, I can't log in with Wayland. Maybe it all comes from the same problem with the driver of my exotic and old card.

Thank you for your help in solving my problem and for this beautiful distribution well suited also for computer dummies.

Bonjour à tous,
je suis nouveau sur garuda, pas tout jeune et j'aime l'esprit "Linux". Sans formation informatique, j'utilise des distributions linux depuis quelques années. Mon Imac 27 pouces 13.2 a bien du mal a être satisfait des drivers proposés par défaut surtout avec sa carte Nvidia.. Garuda est je crois celle qui est la plus à même de répondre à mes besoins. J'ai installé ddcutil avec pamac pour pouvoir utiliser l'extension Gnome "adjust dysplay brightness" (ADB) pour ne pas casser la rolling release ; sans ADB, impossible de régler la luminosité de l'écran : voilà ce que me renvoie les log de ADB :

### getDisplays - (is_nvidia_einval_bug          ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
Display 1
   I2C bus:          /dev/i2c-6
   DRM connector:    card0-DP-3
   Monitor:          APP:iMac:
### getDisplayBrightness - bus: 6, result: (is_nvidia_einval_bug          ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
VCP 10 C 65535 65535
### getDisplays - OK 6, APP:iMac:, iMac, 65535, 65535
### ScreenBrightnessPanelMenu init finsihed.
### getDisplays - (is_nvidia_einval_bug          ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
Display 1
   I2C bus:          /dev/i2c-6
   DRM connector:    card0-DP-3
   Monitor:          APP:iMac:
### getDisplayBrightness - bus: 6, result: (is_nvidia_einval_bug          ) nvida/i2c-dev bug encountered. Forcing future io I2C_IO_STRATEGY_FILEIO. Retrying
VCP 10 C 65535 65535
### getDisplays - OK 6, APP:iMac:, iMac, 65535, 65535

Par ailleurs, impossible de me loguer avec Wayland. Peut-être que tout cela vient du même soucis du pilote de ma carte exotique et ancienne.

Merci pour votre aide pour résoudre mon problème et pour cette belle distribution bien adaptée aussi pour les nuls en informatique.

garuda-inxi
System:
  Kernel: 6.3.4-zen2-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.1.1
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=696fa981-d84b-4f28-9087-dc7b1f707539 rw rootflags=subvol=@
    rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    nvidia-drm.modeset=1 ibt=off
  Desktop: GNOME v: 44.1 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop System: Apple product: iMac13,2 v: 1.0
    serial: <superuser required> Chassis: type: 13 v: Mac-FC02E91DDD3FA6A4
    serial: <superuser required>
  Mobo: Apple model: Mac-FC02E91DDD3FA6A4 v: iMac13,2
    serial: <superuser required> UEFI: Apple v: 424.0.0.0.0 date: 09/13/2021
CPU:
  Info: model: Intel Core i5-3470S bits: 64 type: MCP arch: Ivy Bridge
    gen: core 3 level: v2 built: 2012-15 process: Intel 22nm family: 6
    model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 256 KiB
    desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB L3: 6 MiB
    desc: 1x6 MiB
  Speed (MHz): avg: 1598 high: 1600 min/max: 1600/3600 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 1600 2: 1600 3: 1597
    4: 1596 bogomips: 23147
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: NVIDIA GK107M [GeForce GTX 660M Mac Edition] vendor: Apple
    driver: nvidia v: 390.157 alternate: nouveau,nvidia_drm non-free:
    series: 470.xx+ status: legacy-active (EOL~2023/24) arch: Kepler
    code: GKxxx process: TSMC 28nm built: 2012-18 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 ports: active: none off: DP-3 empty: DP-1,DP-2 bus-ID: 01:00.0
    chip-ID: 10de:0fe0 class-ID: 0300
  Device-2: Apple FaceTime HD Camera (Built-in) driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1.1:3
    chip-ID: 05ac:8511 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.1
    compositor: gnome-shell driver: X: loaded: nvidia gpu: nvidia display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-3 mapped: DP-2 note: disabled model: Apple iMac built: 2012
    res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 1280x720
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20
    class-ID: 0403
  Device-2: NVIDIA GK107 HDMI Audio vendor: Apple driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:0e1b class-ID: 0403
  API: ALSA v: k6.3.4-zen2-1-zen status: kernel-api tools: N/A
  Server-1: PipeWire v: 0.3.71 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Broadcom NetXtreme BCM57766 Gigabit Ethernet PCIe vendor: Apple
    driver: tg3 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A
    bus-ID: 03:00.0 chip-ID: 14e4:1686 class-ID: 0200
  IF: enp3s0f0 state: down mac: <filter>
  Device-2: Broadcom BCM4331 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: wl v: kernel modules: bcma pcie: gen: 1 speed: 2.5 GT/s lanes: 1
    bus-ID: 04:00.0 chip-ID: 14e4:4331 class-ID: 0280
  IF: wlp4s0 state: up mac: <filter>
  IF-ID-1: wlp0s20u1u3 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth USB Host Controller driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 2-1.8.1.3:7
    chip-ID: 05ac:828b class-ID: fe01
  Report: bt-adapter ID: hci0 rfk-id: 1 state: up address: N/A
  Device-2: ASUSTek SUS USB-BT500ÿ driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 3-1.2:6 chip-ID: 0b05:190e
    class-ID: e001 serial: <filter>
  Report: ID: hci1 rfk-id: 2 state: up address: <filter>
Drives:
  Local Storage: total: 3.18 TiB used: 443.36 GiB (13.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 1B6Q scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: ST1000LM024 HN-M101MBB
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 0002 scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Seagate model: ST1000LM034-1M7G44
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B type: USB
    rev: 3.0 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: HDD rpm: 5400
    serial: <filter> fw-rev: 1153 scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 vendor: Crucial model: Micron X6 SSD
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 2.1 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: SSD serial: <filter>
    fw-rev: PMAP scheme: MBR
Partition:
  ID-1: / raw-size: 926.51 GiB size: 926.51 GiB (100.00%)
    used: 110.24 GiB (11.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-2: /boot/efi raw-size: 1022 MiB size: 1020 MiB (99.80%)
    used: 273.5 MiB (26.8%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 926.51 GiB size: 926.51 GiB (100.00%)
    used: 110.24 GiB (11.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-4: /var/log raw-size: 926.51 GiB size: 926.51 GiB (100.00%)
    used: 110.24 GiB (11.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
  ID-5: /var/tmp raw-size: 926.51 GiB size: 926.51 GiB (100.00%)
    used: 110.24 GiB (11.9%) fs: btrfs dev: /dev/sda4 maj-min: 8:4
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: zram size: 23.41 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
  ID-2: swap-2 type: partition size: 4 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda5 maj-min: 8:5
Sensors:
  System Temperatures: cpu: 57.0 C mobo: N/A gpu: nvidia temp: 50 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 298 Uptime: 32m wakeups: 0 Memory: available: 23.41 GiB
  used: 4.16 GiB (17.8%) Init: systemd v: 253 default: graphical
  tool: systemctl Compilers: gcc: 13.1.1 Packages: pm: pacman pkgs: 1573
  libs: 418 tools: gnome-software,octopi,pamac,paru pm: appimage pkgs: 0
  Shell: fish v: 3.6.1 default: Bash v: 5.1.16 running-in: gnome-terminal
  inxi: 3.3.27
Garuda (2.6.16-1):
  System install date:     2023-05-29
  Last full system update: 2023-05-30
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:

Have you tried the LTS kernel? I have the best results with that on old Macs.

yes but not better !
LTS 6.1.30-1
thank you for help

1 Like

Hi there, welcome to the forum!
As for me, unfortunately I can only pass on some ideas for you to work on.

You could try this solution (read the whole thread, of course):

Try giving a look at the ddcutil upstream github issue list, e.g. (you can change the filter, of course):

The ADB extension GitLab site requires a certain configuration (preparation step 2), just in case…

In general, I often read (but don’t use them) that Nvidia and Wayland still don’t get along very well…

Also, please, one issue per topic.

1 Like

Thanks again. For adb, I have already done what is suggested by the link you give me. The objective of being able to adjust the brightness is achieved so too bad for the messages that I don't understand :smile: I thought these posts might have helped to understand why Wayland is not working although it is checked in garuda assistant. That's why I sent the ADB logs.
And for Wayland, my real problem, it seems impossible to be able to launch it for 390xx. As Xorg suits me I will not go further.
Thanks again everyone.

Oupppssss

and for this point, I modify, I save and if I restart the same command, nothing is modified. I don't understand why, I do ctl S ctl X...??? :

run sudo systemctl edit gdm and add

* *[Service]* *ExecStartPre=/usr/bin/sleep 3* *

If your editor is set to micro, you quit with Ctrl+Q.

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.