Bug 26635

Summary: no graphics with Mageia 7 on my Acer A715-72G / GeForce GTX 1050
Product: Mageia Reporter: Elmar Stellnberger <estellnb>
Component: RPM PackagesAssignee: Kernel and Drivers maintainers <kernel>
Status: RESOLVED OLD QA Contact:
Severity: critical    
Priority: Normal CC: fri, shlomif
Version: 7   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: x11-driver-video-nouveau-1.0.16-1 CVE:
Status comment:
Attachments: lspci -v (vga+audio controllers)
/etc/bumblebee/bumblebee.conf
/etc/bumblebee/xorg.conf.nvidia

Description Elmar Stellnberger 2020-05-17 15:27:49 CEST
When I boot with nouveau it crashes: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/531
When I boot with the proprietary driver it crashes as soon as I plug in an external screen on HDMI.
It hung on boot when I selected Intel UHD Graphics 630 + Xinerama by drakxconfig.
On Debian stable I can use the Intel graphics card when I disable the nouveau kernel module: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/issues/532

Mageia 7.1, DVD install
vmlinuz-5.1.14-dekstop-1
x11-driver-video-nouveau-1.0.16-1
x11-server-xorg-1.20.4-7.mga7
Comment 1 Elmar Stellnberger 2020-05-17 15:43:06 CEST
Do you think I would have a chance to get my external display working with an USB-C HDMI/DP adapter? - https://www.phoronix.com/scan.php?page=news_item&px=Linux-USB-Type-C-Port-DP-Driver
I have no idea though on how I would configure such a device. There is no PCI-BusID I can specify in the xorg.conf and finally I do not know which graphics driver I should use.
Comment 2 Lewis Smith 2020-05-17 20:58:00 CEST
It looks as if this problem happened with the kernel etc from the installation DVD. Are you able to boot into a console, no graphics, then update the system from there?
 # urpmi --auto-update --auto
It is rather necessary to look at this with up-to-date kernel & drivers, currently:
 kernel-desktop-5.6.8-1.mga7-1-1.mga7
 x11-driver-video-nouveau-1.0.16-3.mga7
 x11-server-xorg-1.20.8-1.mga7
and whatever nVideo driver you tried, currently:
 nvidia340-340.108-6.mga7.nonfree
 nvidia390-390.132-6.mga7.nonfree

CC: (none) => lewyssmith

Comment 3 Elmar Stellnberger 2020-05-17 21:02:56 CEST
Unfortunately there is no way to update that system. I am using the black whole approach on this laptop, i.e. do not pass any data in. That is to avoid an infection. I have lost my last i7 notebook by plugging a vfat formatted usb stick. Another computer has been turned off because secret services have first infected it with a remote control and then simply turned it off (also black whole approach there); i.e. I may not even leave that computer around; read more: https://www.elstel.org/aktionen/blocked-on-debian-security.html. Unfortunately I will have to wait for Mageia 8 or perhaps install another distro.
Comment 4 Elmar Stellnberger 2020-05-17 21:04:26 CEST
The nouveau driver did not work for Debian stable either so I would think of it as consistently broken over a longer time.
Comment 5 Lewis Smith 2020-05-17 21:43:00 CEST
I recall this problem you have with your cloak-&-dagger people, but am surprised you cannot get back the ownership of your computers.
It is unusual to be unable to update an installed system. I regret that Mageia does not fly for you out-of-the-box; you have no choice in this bizarre situation other than to try other distributions.

OTOH I am assigning this to the kernel/drivers group in case they (tmb) can suggest something to help. Otherwise close it 'wontfix' ?

Assignee: bugsquad => kernel

Comment 6 Morgan Leijström 2020-05-17 22:26:29 CEST
Just a me too, kind of: On my wifes A717 we simply run on the Intel only, we found it is fast for whatever we use it for (no gaming, video processing etc).

That said, if you are not using it much, you could try to install mga8 by netinstall and see if it flies.  IIRC, there have been progress in the dual GPU handling.

CC: (none) => fri

Comment 7 Morgan Leijström 2020-05-17 22:46:10 CEST
Interesting read, that link.  Maybe you could interest a data security student to do an exercise on your situation?

Anyhow, what about taking your computer to a trusted friend and update it there?
Comment 8 Elmar Stellnberger 2020-05-18 12:04:05 CEST
Morgan, yes I had been thinking about a similar idea some years ago. For now it is too dangerous and most likely ineffective. Even if I leave my mobile phone at home they (the secret services) will know where I go by car because I believe/ am quite sure that they have also bugged my car to report its GPS position. I have also been searching for someone to analyze my malware images but I did not find anyone who would have been ready to do so. At the moment things are the way that I must not leave my newly bought notebook around because it would then be destroyed immediately. The only thing I can do is always carry my notebook with me or perhaps lock it with an anonymously bought padlock that does not have a registered number to create a copy of the key. However the second choice still bears some security risks and I currently do not know whether I wanna do this. I can not even order a Linux laptop via snail mail because that one will be destroyed before it arrives at me like my darp5 (System76 Darter Pro) see: NSA regularely intercepts laptop shipments.
Comment 9 Morgan Leijström 2020-05-18 14:45:05 CEST
Strange.  Sounds like you should use some proxies, like buying through a friend, and also internet via private link, encrypted VPN, whatever.  I dont think they can manage to selectively and successfully mangle files correctly when you visit a friend even if you are tracked.  What do you mean by dangerous?
Comment 10 Elmar Stellnberger 2020-05-18 20:36:59 CEST
By dangerous I mean that I can be any time deprived from the very devices I need to do my work. If I can not finish my studies in time I loose all the progress I have already made for years. Driving to a friend is a bad idea since they will attack me there the same way as here. They can even keep the traffic lights red for 20 minutes if they like or keep a barrier low. (Well I can open it with my muscles) I think they have already attacked my cousin when he shared the link from above. I would recommend you to read everything carefully that is told via this link.
Comment 11 Shlomi Fish 2020-05-20 10:44:43 CEST
(In reply to Elmar Stellnberger from comment #10)
> By dangerous I mean that I can be any time deprived from the very devices I
> need to do my work. If I can not finish my studies in time I loose all the
> progress I have already made for years. Driving to a friend is a bad idea
> since they will attack me there the same way as here. They can even keep the
> traffic lights red for 20 minutes if they like or keep a barrier low. (Well
> I can open it with my muscles) I think they have already attacked my cousin
> when he shared the link from above. I would recommend you to read everything
> carefully that is told via this link.

Hi Elmar!

It seems more likely that you are now paranoid, and psychotic or neurotic, than that intelligence agencies are after you. Seriously, if they were after you, would they let you admit it? And even they are, then they likely have much better resources at their disposal than Mageia (which is small) does, so our attempts to help you will likely fail.

Anyway, you should seek psychotherapeutic and medical help rather than spread your paranoid (and probably unbased and irrational) fears.

CC: (none) => shlomif

Comment 12 Elmar Stellnberger 2020-05-20 12:27:53 CEST
Most people I know have a different opinion abou that.
Comment 13 Elmar Stellnberger 2020-05-21 21:23:54 CEST
I have now made the external display work by blacklisting nouveau. The nvidia driver itself works well. I have 4K on the external display now :), but only on the external display. The integrated display still shows the text console. For xinerama I would probably need something like bumblebee but Mageia does not seem to include that on the install dvd. Perhaps I can copy the sources of the nvidia driver to Debian and compile it there to obtain xinerama support via bumblebee ...
The xorg.conf generated by Mageia has some fallacies. At first it wants to use the nvidia and the nouveau driver at the same time which makes no sense to me and then it believes that it can configure the nvidia driver to use xinerama by a simple Option in xorg.conf. That did not work for me, also not if the second graphics device with the intel driver is activated. It may not work at all like this since the Intel card is wired to the integrated display and the nvidia card is wired to HDMI. I think you would need bumblebee for that.
Comment 14 Lewis Smith 2020-05-22 21:50:53 CEST
Good news that you have progressed to a partially working system.
Can you please post *just* the "VGA compatible controller" section(s) of the output from
 $ lspci -v

@kernel/drivers
Re just comment 0 & comment 13, can you comment on these real video issues? To wrap up the bug somehow.
I can add nothing, so am retiring.

CC: lewyssmith => (none)

Comment 15 Elmar Stellnberger 2020-05-23 21:40:45 CEST
Created attachment 11657 [details]
lspci -v (vga+audio controllers)

Here comes the output of lspci -v.
Comment 16 Elmar Stellnberger 2020-05-23 21:43:36 CEST
Created attachment 11658 [details]
/etc/bumblebee/bumblebee.conf

I have made the proprietary nvidia Xorg driver from Mageia 7.1 work for Debian stable. The shared libraries of the driver are loading well into my XServer and compiling the kernel module again isn´t a problem either. The older glibc on Debian did not mind.
Comment 17 Elmar Stellnberger 2020-05-23 21:51:37 CEST
Created attachment 11659 [details]
/etc/bumblebee/xorg.conf.nvidia

I have now a working setup under Debian where both displays can be used: The /etc/X11/xorg.conf does only make use of the intel driver for the integrated display. The external HDMI display is powered via bumblebee and the nvidia Xorg driver. As soon as I invoke "intel-virtual-output -b" on a console as user with working Xorg-connection bumblebee starts an X for nvidia on :8 and I can then use that with xrandr from :0. I have made this command to be invoked on Xfce startup but Xfce does not remember the external screen configuration at me. Something I do not mind as I can invoke an xrandr script.
  To sum things up the integrated display can only be used with the Intel Card and the HDMI display can only be used with the Nvidia GeForce card. I do not know whether an xrandr configuration without bumblebee would be possible. AFAIK primus needs to be installed in addition to the bumblebeed.
Comment 18 Aurelien Oudelet 2021-07-06 13:17:28 CEST
Mageia 7 is EOL since July 1st 2021.
There will not have any further bugfix for this release.

You are encouraged to upgrade to Mageia 8 as soon as possible.

@reporter, if this bug still apply with Mageia 8, please let us know it.

@packager, if you work on the Mageia 7 version of your package, please check the Mageia 8 package if issue is also present. In this case, please fix the Mageia 8 version instead.

This bug report will be closed OLD if there is no further notice within 1st September 2021.
Comment 19 Marja Van Waes 2021-09-07 14:09:17 CEST
Hi bug reporter and hi assignee and others involved,

Please reopen this bug report if it is still valid for Mageia 8 or 9(cauldron), and change "Version:" in the upper left of this report accordingly.

This report is being closed as OLD because it was filed against Mageia 7, for which  support ended on June 30th 2021.

Thanks,
Marja

Resolution: (none) => OLD
Status: NEW => RESOLVED