Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVIDIA GeForce G102M (K40IN) wrong resolution #542

Open
louies0623 opened this issue Sep 4, 2023 · 24 comments
Open

NVIDIA GeForce G102M (K40IN) wrong resolution #542

louies0623 opened this issue Sep 4, 2023 · 24 comments

Comments

@louies0623
Copy link
Contributor

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

@louies0623 louies0623 changed the title NVIDIA GeForce G102M8 (K40IN) wrong resolution NVIDIA GeForce G102M (K40IN) wrong resolution Sep 4, 2023
@probonopd
Copy link
Member

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)?

@louies0623

This comment was marked as outdated.

@louies0623
Copy link
Contributor Author

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 louies0623 reopened this Sep 6, 2023
@probonopd
Copy link
Member

probonopd commented Sep 6, 2023

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?

@louies0623

This comment was marked as off-topic.

@louies0623
Copy link
Contributor Author

louies0623 commented Sep 7, 2023

It is working and the resolution is correct.

@probonopd
Copy link
Member

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

@louies0623
Copy link
Contributor Author

20230907_164145
NomadBSD

@louies0623
Copy link
Contributor Author

20230907_171551
HS Build 0I40

@probonopd
Copy link
Member

Please retest with build 0I41 or later. Thanks!

@louies0623
Copy link
Contributor Author

louies0623 commented Sep 9, 2023

No fix, still the same.

@probonopd
Copy link
Member

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!

@louies0623
Copy link
Contributor Author

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

@probonopd
Copy link
Member

probonopd commented Sep 15, 2023

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:

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

@probonopd probonopd transferred this issue from helloSystem/hello Sep 17, 2023
@louies0623
Copy link
Contributor Author

louies0623 commented Sep 18, 2023

@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/

@probonopd
Copy link
Member

We are already using Nvidia driver version 403...

@louies0623

This comment was marked as outdated.

@louies0623

This comment was marked as outdated.

@louies0623
Copy link
Contributor Author

louies0623 commented Sep 27, 2023

@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

@probonopd
Copy link
Member

probonopd commented Sep 27, 2023

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.

@louies0623
Copy link
Contributor Author

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
Copy link
Contributor Author

louies0623 commented Sep 27, 2023

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

@louies0623

This comment was marked as off-topic.

@louies0623
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants