[OpenIndiana-discuss] Selecting wrong video driver
Till Wegmueller
toasterson at gmail.com
Tue May 7 20:10:48 UTC 2024
Ok, So with your GPU and generally VESA at least available the following
is a set of checks you can do to get your bearings.
Use `pkg list` to show a list of all installed packages. lightdm and x11
should be visible. `pkg list -a` shows all packages known the the system
with additional filters applyable for source and publisher if needed.
lightdm has a service and should be running. Check smf with the `svcs`
utility to see the services and use `svcs -a` to see also disabled
services. lightdm starts xorg. use `svcadm enable` to enable services
and start them.
-Till
On 07.05.2024 21:56, Rainer Heilke wrote:
> I used the GUI disk, but now that you ask, it dropped down to text-only
> as well, and so I think maybe it only ran what the text installer would
> have done.
> The lights are coming on... NOW things are making more sense!
> Rainer
>
>
> ------ Original Message ------
> From "Till Wegmueller" <toasterson at gmail.com>
> To openindiana-discuss at openindiana.org
> Date 2024-05-07 12:48:50 PM
> Subject Re: [OpenIndiana-discuss] Selecting wrong video driver
>
>> Hi, Rainer
>>
>> From which ISO/USB image did you install? If you have installed from
>> the text versions you have not installed any Xorg or gui at all. You
>> will need to install mate_install package with pkg.
>>
>> -Till
>>
>> On 07.05.2024 21:15, Rainer Heilke wrote:
>>> I'm getting the feeling this isn't possible. To wit:
>>> Xorg.0.log doesn't exist (which seems odd...)
>>> .
>>> dmesg shows:
>>> May 7 04:22:25 omar pseudo: [ID 129642 kern.info] pseudo-device:
>>> lockstat0
>>> May 7 04:22:25 omar genunix: [ID 936769 kern.info] lockstat0 is
>>> /pseudo/lockstat at 0
>>> May 7 04:22:25 omar pseudo: [ID 129642 kern.info] pseudo-device: lofi0
>>> May 7 04:22:25 omar genunix: [ID 936769 kern.info] lofi0 is
>>> /pseudo/lofi at 0
>>> May 7 04:22:25 omar pseudo: [ID 129642 kern.info] pseudo-device:
>>> nvidia255
>>> May 7 04:22:25 omar genunix: [ID 936769 kern.info] nvidia255 is
>>> /pseudo/nvidia at 255
>>> May 7 04:22:25 omar nvidia_modeset: [ID 107833 kern.notice] Loading
>>> NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.239.06 Sat
>>> Feb 3 05:55:09 UTC 2024
>>> May 7 04:22:25 omar pseudo: [ID 129642 kern.info] pseudo-device:
>>> profile0
>>> May 7 04:22:25 omar genunix: [ID 936769 kern.info] profile0 is
>>> /pseudo/profile at 0
>>>
>>> Watching it boot, it loads the NVidia and nvidia_modeset drivers, and
>>> then unloads them again.
>>> root at omar:~# dmesg | grep -i load
>>> May 7 04:20:53 omar nvidia_modeset: [ID 107833 kern.notice] Loading
>>> NVIDIA Kernel Mode Setting Driver for UNIX platforms 470.239.06 Sat
>>> Feb 3 05:55:09 UTC 2024
>>> May 7 04:20:56 omar nvidia_modeset: [ID 107833 kern.notice] Unloading
>>>
>>> root at omar:~# find / -name intel\* -print
>>> /kernel/drv/intel_nhm.conf
>>> /kernel/drv/amd64/intel_nhm
>>> /kernel/drv/amd64/intel_nhmex
>>> /kernel/drv/amd64/intel_nb5000
>>> /kernel/drv/intel_nhmex.conf
>>> /kernel/drv/intel_nb5000.conf
>>> find: stat() error /proc/181/lwp/10: No such file or directory
>>> find: stat() error /proc/561/lwp/24: No such file or directory
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/intel_nhm.conf
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/amd64/intel_nb5000
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/amd64/intel_nhm
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/amd64/intel_nhmex
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/intel_nb5000.conf
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/intel_nhmex.conf
>>> /usr/include/drm/intel_bufmgr.h
>>> /usr/include/drm/intel_aub.h
>>> /usr/include/drm/intel_debug.h
>>> /usr/platform/i86pc/lib/fm/eft/intel.eft
>>> /usr/share/vim/vim91/compiler/intel.vim
>>>
>>> root at omar:~# find / -name nvidia\* -print
>>> /dev/nvidia-modeset
>>> /dev/nvidia0
>>> /dev/nvidia1
>>> /dev/nvidia10
>>> /dev/nvidia11
>>> /dev/nvidia12
>>> /dev/nvidia13
>>> /dev/nvidia14
>>> /dev/nvidia15
>>> /dev/nvidia2
>>> /dev/nvidia3
>>> /dev/nvidia4
>>> /dev/nvidia5
>>> /dev/nvidia6
>>> /dev/nvidia7
>>> /dev/nvidia8
>>> /dev/nvidia9
>>> /dev/nvidiactl
>>> /kernel/drv/amd64/nvidia_modeset
>>> /kernel/drv/amd64/nvidia
>>> /kernel/drv/nvidia_modeset.conf
>>> /kernel/drv/nvidia.conf
>>> /system/object/nvidia
>>> /system/object/nvidia_modeset
>>> find: stat() error /proc/181/lwp/10: No such file or directory
>>> find: stat() error /proc/561/lwp/24: No such file or directory
>>> /lib/opengl/ogl_select/nvidia_vendor_select
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/amd64/nvidia_modeset
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/amd64/nvidia
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/nvidia_modeset.conf
>>> /platform/i86pc/amd64/archive_cache/kernel/drv/nvidia.conf
>>> /usr/dt/appconfig/icons/C/nvidia-settings.m.bm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.l.bm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.t.pm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.l_m.bm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.m_m.bm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.m.pm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.l.pm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.t_m.bm
>>> /usr/dt/appconfig/icons/C/nvidia-settings.t.bm
>>> /usr/dt/appconfig/types/C/nvidia-settings.dt
>>> /usr/dt/appconfig/appmanager/C/Desktop_Apps/nvidia-settings
>>> /usr/X11/lib/modules/drivers/amd64/nvidia_drv.so
>>> /usr/bin/amd64/nvidia-smi
>>> /usr/bin/amd64/nvidia-debugdump
>>> /usr/bin/amd64/nvidia-settings
>>> /usr/bin/amd64/nvidia-xconfig
>>> /usr/bin/nvidia-xconfig
>>> /usr/bin/nvidia-settings
>>> /usr/bin/nvidia-SunOS-bug-report.sh
>>> /usr/share/nvidia
>>> /usr/share/nvidia/nvidia-application-profiles-key-documentation
>>> /usr/share/nvidia/nvidia-application-profiles-rc
>>> /usr/share/doc/NVIDIA/html/nvidiasettings.html
>>> /usr/share/applications/nvidia-settings.desktop
>>> /usr/share/man/man1/nvidia-settings.1
>>> /usr/share/man/man1/nvidia-xconfig.1
>>> /usr/share/man/man1/nvidia-smi.1
>>> /usr/share/icons/NVIDIA/nvidia-settings.png
>>> /usr/share/control-center-2.0/capplets/nvidia-settings.s10.desktop
>>> /devices/pseudo/nvidia at 255
>>> /devices/pseudo/nvidia at 255:nvidiactl
>>> /devices/pseudo/nvidia_modeset at 0
>>> /devices/pseudo/nvidia_modeset at 0:ctl
>>> root at omar:~#
>>>
>>> So, I would need to somehow tell the installer to ignore what it
>>> thinks the video card is, and create the OS with Intel
>>> devices/drivers/etc.
>>> To answer your question, this Gigabyte Brix is about 6 years old.
>>> I'm finding the lack of the Xorg log and the fact that it ignores the
>>> file I created at Alan's suggestion to be odd and disturbing. This
>>> was normal under FreeBSD.
>>> Rainer
>>>
>>> ------ Original Message ------
>>> From "Alan Coopersmith" <alan.coopersmith at oracle.com>
>>> To "Rainer Heilke" <rheilke at dragonhearth.com>; "Discussion list for
>>> OpenIndiana" <openindiana-discuss at openindiana.org>
>>> Date 2024-05-07 10:55:02 AM
>>> Subject Re: [OpenIndiana-discuss] Selecting wrong video driver
>>>
>>>> /var/log/Xorg.0.log should have information on what config files the
>>>> X server
>>>> read, what devices it actually found, and what decisions it made on
>>>> which
>>>> driver to use for them.
>>>>
>>>> It would have to be a very old motherboard to have an Intel graphics
>>>> chip
>>>> that's not part of an Intel CPU - they merged them into a single
>>>> unit years
>>>> ago. But X won't assume an nvidia card based on the CPU, only on
>>>> the PCI
>>>> device ids it finds that match nvidia's vendor id.
>>>>
>>>> -alan-
>>>>
>>>> On 5/6/24 18:59, Rainer Heilke wrote:
>>>>> Hi.
>>>>> xrandr called it an Intel graphics card. The intel_drv.so driver
>>>>> worked solidly under FreeBSD. I think X keeps thinking it's an
>>>>> NVidia card because it's an AMD CPU. But Gigabyte seems to have
>>>>> used an intel chip on the motherboard. The NVideo driver hasn't
>>>>> worked under any flavour of Unix/Linux I've tried.
>>>>> Rainer
>>>>>
>>>>>
>>>>> ------ Original Message ------
>>>>> From "Rainer Heilke" <rheilke at dragonhearth.com>
>>>>> To "Alan Coopersmith" <alan.coopersmith at oracle.com>; "Discussion
>>>>> list for OpenIndiana" <openindiana-discuss at openindiana.org>
>>>>> Date 2024-05-06 6:29:09 PM
>>>>> Subject Re: [OpenIndiana-discuss] Selecting wrong video driver
>>>>>
>>>>>> ------ Original Message ------
>>>>>> From "Alan Coopersmith" <alan.coopersmith at oracle.com>
>>>>>> To "Discussion list for OpenIndiana"
>>>>>> <openindiana-discuss at openindiana.org>; "Rainer Heilke"
>>>>>> <rheilke at dragonhearth.com>
>>>>>> Date 2024-05-06 6:17:15 PM
>>>>>> Subject Re: [OpenIndiana-discuss] Selecting wrong video driver
>>>>>>
>>>>>>> On 5/6/24 18:10, Rainer Heilke wrote:
>>>>>>>> Greetings.
>>>>>>>> Which file is Hipster using to define the video driver to use? X
>>>>>>>> is trying to use the NVidia driver, which fails. Under FreeBSD,
>>>>>>>> the Intel driver worked, so I'm hoping it will here as well. But
>>>>>>>> none of the files I've found that mention the NVidia driver
>>>>>>>> seem to actually be an Xorg config file.
>>>>>>>
>>>>>>> Like Xorg on all other platforms, it will use /etc/X11/xorg.conf
>>>>>>> if it exists,
>>>>>>> or config snippets in /etc/X11/xorg.conf.d/ but the default
>>>>>>> configuration
>>>>>>> doesn't use a config file, but lets Xorg check for available
>>>>>>> video devices
>>>>>>> and uses its internal mapping of PCI vendor ids to drivers to
>>>>>>> decide which
>>>>>>> drivers to use for those.
>>>>>>>
>>>>>>> -- -Alan Coopersmith-
>>>>>>> alan.coopersmith at oracle.com
>>>>>>> Oracle Solaris Engineering -
>>>>>>> https://blogs.oracle.com/solaris
>>>>>>>
>>>>>> Hi.
>>>>>> That make sense, thanks. It also explains why I can't find a
>>>>>> config file to edit.
>>>>>> So, is there an "official" way to override the driver X is using?
>>>>>> Do I need to hack together a config file to do this?
>>>>>> Thanks again,
>>>>>> Rainer
>>>>>>
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> openindiana-discuss mailing list
>>>>>> openindiana-discuss at openindiana.org
>>>>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>>>
>>>> -- -Alan Coopersmith-
>>>> alan.coopersmith at oracle.com
>>>> Oracle Solaris Engineering - https://blogs.oracle.com/solaris
>>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list