imac and Nvidia no Virtual Terminals

Help with graphics cards on GhostBSD.
Post Reply
jonsoons
Posts: 5
Joined: Sun Apr 02, 2023 11:30 am

imac and Nvidia no Virtual Terminals

Post by jonsoons »

I strongly suspect this is an X module problem but please correct me if I'm wrong. I have an imac A1419, late 2012.
Whether I use startx or lightdm I cannot access the virtual terminals, just dark blank screens. I can return to X session with Ctl-Alt-F9. Also I have no Shutdown button, only Logout which gives me a dark blank screen and I have to power off the hardware (Icould probably shutdown with SSH or switch to root in terminal). Otherwise X works flawlessly.
Is this a known problem with Nvidia? I have not customized this install only added pkgs.

/( )` ---------------------
\ \___ / | OS: GhostBSD 23.03.17 amd64
/- _ `-/ ' Kernel: 13.1-STABLE
(/\/ \ \ /\ Uptime: 3 mins
/ / | ` \ Packages: 1024 (pkg)
O O ) / | Shell: bash 5.2.15
`-^--'`< ' Resolution: 2560x1440
(_.) _ ) / DE: MATE 1.26.0
`.___/` / WM: Metacity (Marco)
`-----' / Theme: Vimix [GTK2/3]
<----. __ / __ \ Icons: Qogir [GTK2/3]
<----|====O)))==) \) /====| Terminal: mate-terminal
<----' `--' `.__,' \ Terminal Font: Droid Sans Mono 10
| | CPU: Intel i5-3470S (4) @ 2.893GHz
\ / /\ GPU: GK107M [GeForce GTX 660M Mac Edition]
______( (_ / \______/ Memory: 2157MiB / 32655MiB
,' ,-----' |
`--{__________)


Here are the modules that load:
$ grep LoadModule /var/log/Xorg.0.log
[ 103.704] (II) LoadModule: "glx"
[ 103.739] (II) LoadModule: "glxservernvidia"
[ 103.739] (II) LoadModule: "nvidia"
[ 103.755] (II) LoadModule: "fb"
[ 103.755] (II) LoadModule: "wfb"
[ 103.759] (II) LoadModule: "ramdac"
[ 103.759] (II) LoadModule: "glxserver_nvidia"
[ 105.779] (II) LoadModule: "dri2"
[ 105.913] (II) LoadModule: "libinput"
aschiebe
Posts: 31
Joined: Sat Mar 14, 2020 4:04 pm

Re: imac and Nvidia no Virtual Terminals

Post by aschiebe »

Hi jonsoons,
is this the initial install of have you run an update of ghostbsd? When you run an update you should have a former BE (BootEnvironment) and can step back to lock at the changes.
run bectl list and you may see an alternative BE to boot from.
Regards Arnold
jonsoons
Posts: 5
Joined: Sun Apr 02, 2023 11:30 am

Re: imac and Nvidia no Virtual Terminals

Post by jonsoons »

Still running the original install BE:

[root@ghostbsd-mac ~]# bectl list
BE Active Mountpoint Space Created
backup-2023-03-20-09-16 - - 4.98G 2023-03-20 09:16
default NR / 20.5G 2023-03-14 16:57
aschiebe
Posts: 31
Joined: Sat Mar 14, 2020 4:04 pm

Re: imac and Nvidia no Virtual Terminals

Post by aschiebe »

Hi,
before installing ghostbsd, when booting into the live version, do you have seen a working gui/desktop?
Then my approach would be, check which nvidia is installed:
pkg list | grep nvidia-driver
and then go to nvidia webpage to check which driver version should be used for your graphics adapter:
https://www.nvidia.com/download/index.aspx?lang=en-us
Maybe it helps,
good luck.
Ciao Arnold
jonsoons
Posts: 5
Joined: Sun Apr 02, 2023 11:30 am

Re: imac and Nvidia no Virtual Terminals

Post by jonsoons »

Thanks Arnold. I downloaded the tarball for the GTX 660 (my GPU is 660M Mac Edition, should be close enough). I'm a little annoyed there is no README. Should I remove all other nvidia drivers so as not to confuse the X auto-configurator? I will compile and report back.
Jonathan
jonsoons
Posts: 5
Joined: Sun Apr 02, 2023 11:30 am

Re: imac and Nvidia no Virtual Terminals

Post by jonsoons »

What do I do about these lines in my make:

find: /compat/linux/lib: No such file or directory
find: /compat/linux/usr/lib: No such file or directory
find: /compat/linux/usr/X11R6/lib: No such file or directory
find: /compat/linux/lib: No such file or directory
find: /compat/linux/usr/lib: No such file or directory
find: /compat/linux/usr/X11R6/lib: No such file or directory
find: /compat/linux/lib: No such file or directory
find: /compat/linux/usr/lib: No such file or directory
find: /compat/linux/usr/X11R6/lib: No such file or directory

Jonathan
jonsoons
Posts: 5
Joined: Sun Apr 02, 2023 11:30 am

Re: imac and Nvidia no Virtual Terminals

Post by jonsoons »

Correction The Log Out button is a function of startx. If I enable lightdm the Shutdown button comes back.
Post Reply