ISO icon indicating copy to clipboard operation
ISO copied to clipboard

NVIDIA GeForce G102M (K40IN) wrong resolution

Open louies0623 opened this issue 2 years ago • 24 comments

The resolution of the K40IN notebook screen is only 1024x768, and there is no 1366x768 option.

louies0623 avatar Sep 04 '23 02:09 louies0623

Does it work on e.g., GhostBSD? Is the correct graphics driver loaded (check /usr/local/etc/X11/xorg.conf.d/00-video-initgfx.conf)?

probonopd avatar Sep 04 '23 23:09 probonopd

20230905_132243 Ghost BSD seems to be unusable, so I think I'll just turn it off.

louies0623 avatar Sep 05 '23 05:09 louies0623

I'd better restart it so that people in need can use it .normally.https://bsd-hardware.info/?id=pci:10de-0873-1043-19b4

20230906_084258

louies0623 avatar Sep 06 '23 09:09 louies0623

This is not the good graphics driver. It is the fallback driver. Expect a slightly broken system.

We need to get the NVIDIA driver to load.

Does it work on NomadBSD?

probonopd avatar Sep 06 '23 17:09 probonopd

I need the NomadBSD Live .iso , otherwise I can't use it.

louies0623 avatar Sep 07 '23 02:09 louies0623

It is working and the resolution is correct.

louies0623 avatar Sep 07 '23 02:09 louies0623

What does its /usr/local/etc/X11/xorg.conf.d/00-video-initgfx.conf say?

probonopd avatar Sep 07 '23 06:09 probonopd

20230907_164145 NomadBSD

louies0623 avatar Sep 07 '23 08:09 louies0623

20230907_171551 HS Build 0I40

louies0623 avatar Sep 07 '23 09:09 louies0623

Please retest with build 0I41 or later. Thanks!

probonopd avatar Sep 08 '23 18:09 probonopd

No fix, still the same.

louies0623 avatar Sep 09 '23 00:09 louies0623

That is strange, because I updated initgfx from its NomadBSD sources. Maybe a kernel module is missing? Please compare the loaded kernel modules on both systems.

Or please submit Hardware Probes for both systems.

Thanks!

probonopd avatar Sep 13 '23 19:09 probonopd

In kldstat there is no content of card nvidia, only acpi video. nomadbsd 1 0xffffffff82b62000 4350 acpi_video.ko hello system 1 0xffffffff8272f0000 4350 acpi_video.ko

louies0623 avatar Sep 14 '23 09:09 louies0623

This seems to indicate to me that the Nvidia kernel module is not loaded on either system, so both are broken and won't work correctly. Looks liket this is currently unsupported?

(Note to self: The GeForce G102M was a mobile integrated graphics solution by Nvidia, launched on January 8th, 2009. Built on the 65 nm process, and based on the C79 "Tesla" architecture, which is also used by ION.)

The pages at nvidia.com which are mentioned on https://wiki.freebsd.org/Graphics do not contain the GeForce G102M, suggesting that it might not be supported by the FreeBSD Nvidia drivers. However, the pages for 304.137 and 340.108 do mention ION, so loading one of those for this GPU may or may not work.

https://bsd-hardware.info/?id=pci:10de-0873-1043-19b4&hwid=649ea35e6ec2 has one entry of a FreeBSD system saying this GPU "works". It has the nvidia.ko module loaded.

Its xorg.conf.d contains

driver-nvidia.conf
------------------
Section "Device"
	Identifier "Card0"
	Driver "nvidia"
	Option "DynamicClocks" "on"
EndSection

Section "ServerFlags"
	Option "IgnoreABI" "true"
EndSection

initfgx uses nvidia_340_ids() for ION, and it also contains GeForce G 102M: https://github.com/helloSystem/ISO/blob/01f7e869c99eb6a7fded4a05e03d083fa1492a3b/overlays/uzip/initgfx/files/etc/initgfx_device.db#L983

So it's not clear to me what else we could do.

probonopd avatar Sep 15 '23 18:09 probonopd

@probonopd Maybe an older version of the driver is required as mentioned in this article. https://bbs.archlinux.org/viewtopic.php?id=278169

https://forums.freebsd.org/threads/legacy-nvidia-on-freebsd-12-2.77818/

louies0623 avatar Sep 18 '23 16:09 louies0623

We are already using Nvidia driver version 403...

probonopd avatar Sep 18 '23 17:09 probonopd

The latest version of Nvidia's driver has removed support for older GPUs. We may need to install the old version of the driver together with the new version. This content may be useful https://hackaday.com/2023/08/01/jennys -daily-drivers-freebsd-13-2/

louies0623 avatar Sep 20 '23 11:09 louies0623

@probonopd I can't find any graphics card that supports 102m in version 470. Its latest support is only in version 340. V340 https://www.nvidia.com/Download/driverResults.aspx/156167/en-us/

V470 https://www.nvidia.com/Download/driverResults.aspx/205998/en-us/

louies0623 avatar Sep 21 '23 15:09 louies0623

@probonopd Hope this helps, because the graphics card is only supported up to 340 in the end.https://www.reddit.com/r/freebsd/comments/pru22n/nvidia_340/

This is a driver that supports it. Support for 390 has been removed. https://www.freshports.org/x11/nvidia-driver-340

louies0623 avatar Sep 27 '23 15:09 louies0623

So maybe driver version 340 should be used for this (and similar?) GPUs. Can you try out whether that works?

Need to edit /etc/initgfx_device.db, and need to delete /var/initgfx_config.id, then reboot.

probonopd avatar Sep 27 '23 18:09 probonopd

I replaced initgfx_device.db with the nomadbsd file and then restarted, but it didn't work, and /var/initgfx_config.id did not have the file.

louies0623 avatar Sep 27 '23 23:09 louies0623

20230928_073749 I tried it, the screen did not change, but the same BUG as 630 appeared.

louies0623 avatar Sep 27 '23 23:09 louies0623

It may be blocked or replaced by other drivers, because the resolution remains the same after installing the 340 Driver. Added, if 340 is installed it will remove the 390 driver.

louies0623 avatar Sep 28 '23 02:09 louies0623

That is strange, because I updated initgfx from its NomadBSD sources. Maybe a kernel module is missing? Please compare the loaded kernel modules on both systems.

Or please submit Hardware Probes for both systems.

Thanks!

hello system https://bsd-hardware.info/?probe=00a4f6e5a0 Nomadbsd https://bsd-hardware.info/?probe=3c69dd7003

louies0623 avatar Sep 29 '23 05:09 louies0623