You are not logged in.

#26 2020-12-19 15:23:06

seth
Member
Registered: 2012-09-03
Posts: 65,492

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

This isn't about the initramfs (or kernel) and you're indeed using the modesetting X11 driver now.
Did you ensure to https://wiki.archlinux.org/index.php/GD … rg_backend ?
Does GDM now appear on the intel wired outputs?

IGPs usually have no VRAM at all but get some share of the RAM. The maximum amount (it's only a limit of what the IGP may take) varies and may be even configurable but will probably be up to 512MB.
It doesn't matter though, because physically it's RAM, so transferring data from RAM to "V"RAM is cheap in that case.

Offline

#27 2020-12-19 15:54:50

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

seth wrote:

This isn't about the initramfs (or kernel) and you're indeed using the modesetting X11 driver now.
IGPs usually have no VRAM at all but get some share of the RAM. The maximum amount (it's only a limit of what the IGP may take) varies and may be even configurable but will probably be up to 512MB.
It doesn't matter though, because physically it's RAM, so transferring data from RAM to "V"RAM is cheap in that case.

Thanks for description,

^^>>> cat /etc/gdm/custom.conf | grep Wayland                         19:20:44 
WaylandEnable=false
^^>>> ps -e | grep tty                                                19:23:03 

    869 tty2     00:00:00 gdm-x-session
    871 tty2     00:03:21 Xorg
    880 tty2     00:00:00 gnome-session-b

The thing is im using Gnome On Xorg and i choose it on GDM,

Does GDM now appear on the intel wired outputs?

How can i ensure this ?

Offline

#28 2020-12-19 16:07:15

seth
Member
Registered: 2012-09-03
Posts: 65,492

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

How can i ensure this ?

By seeing GDM on one of your monitors ;-)

If not, post an updated journal (resp. the xorg log from it)

Offline

#29 2020-12-19 19:53:50

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

seth wrote:

How can i ensure this ?

By seeing GDM on one of your monitors ;-)

If not, post an updated journal (resp. the xorg log from it)

I described in #23 , since then my gdm has 3 outputs (i have 2 monitors, one laptop and the other external VGA monitor) and GDM uses a fake CRT screen (that does not exists) as main display, I even cant see login prompt, i have two gray blank screens that i can move cursor between them, but the login prompt is on the main fake screen, I managed to fix this in gnome settings and have no issue in DE Level, But in Startup Managers like gdm i have this issue unresolved

Here is journal since yesterday : https://mega.nz/file/y2xilabA#O95EizZnK … 0VSnKLcIuA

And one final question, what are we trying to debug now ? Is my system using nvidia as primary ? Now nvidia-smi shows usage (but says not supported) doesn't that mean it is working ?

Offline

#30 2020-12-19 22:11:48

seth
Member
Registered: 2012-09-03
Posts: 65,492

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

I described in #23

Yes and the recent efforts were about trying to fix that (I was under the false impression that they were not addressed at all - not that GDM would be mispositioned)
"Not supported" because your GPU is too old - the nvidia chip is in use.

The "virtual" output seems to be the console framebuffer, just disable VGA-0 in your GDM setup

Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto; xrandr --output VGA-0 --off"

You can also try to have a  /etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
	Identifier "VGA-0"
	Option	"Ignore"	"True"
EndSection

Offline

#31 2020-12-19 22:47:21

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

seth wrote:

I described in #23

Yes and the recent efforts were about trying to fix that (I was under the false impression that they were not addressed at all - not that GDM would be mispositioned)
"Not supported" because your GPU is too old - the nvidia chip is in use.

The "virtual" output seems to be the console framebuffer, just disable VGA-0 in your GDM setup

Exec=sh -c "xrandr --setprovideroutputsource modesetting NVIDIA-0; xrandr --auto; xrandr --output VGA-0 --off"

You can also try to have a  /etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
	Identifier "VGA-0"
	Option	"Ignore"	"True"
EndSection

Thanks a lot, I suppose this thread is solved, now i have my both GPU's enabled right ? Nvidia is primary, Intel is secondary and will be used if nvidia is full, right ?

Offline

#32 2020-12-19 22:52:01

seth
Member
Registered: 2012-09-03
Posts: 65,492

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

No, the intel chip will be used as crtc provider to relay the output rendered by the nvidia chip to your monitors.
If the nvidia GPU ever runs out of VRAM, it has to store in RAM and ultimately SWAP (two things you don't want to happen)

Offline

#33 2020-12-19 23:43:51

erfanjoker
Member
From: Tabriz / Iran
Registered: 2017-03-26
Posts: 174
Website

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

seth wrote:

No, the intel chip will be used as crtc provider to relay the output rendered by the nvidia chip to your monitors.
If the nvidia GPU ever runs out of VRAM, it has to store in RAM and ultimately SWAP (two things you don't want to happen)

Thanks for description, I also want a source to read about these stuffs, can you tell me some sources that i can read about these hardware/firmware/software stuffs ? For example how do you know these ? Any source i have seen on the internet are just at software level or hardware level, they usually dont explain the cycle of the firmware level,
One way is reading the source code which is highly time consuming, the other way could be a source like book or etc.
BTW, Thanks for your responses in this topic, I admire you.

Offline

#34 2020-12-20 08:22:44

seth
Member
Registered: 2012-09-03
Posts: 65,492

Re: [SOLVED] Nvidia GF119M setup problem in arch linux (hybrid graphics)

For example how do you know these

Been around for a while…

If you've a problem w/ your installation, first consult the arch wiki - it most likely has the answers.
If you've more problems, ask google - stackexchange usually has answers for that smile

The discussed matters typically move too fast for print, so you'll have to rely on online sources, manpages, readmes.

I'm not really sure what you mean by "cycle of the firmware level" but firmwares are indeed often just available as binary blobs that only the HW vendor knows about in detail (though patches are usually documented)

Offline

Board footer

Powered by FluxBB