Page 2 of 4

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 9:30 am
by kmathern
anticapitalista wrote:antiX-17 uses ddm-mx.
Okay, and ddm-mx uses dkms.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 1:14 pm
by entropyfoe
OK, lots of things tried.

I decided to start over. I downloaded antix 17 rc1. I used MX tools to make a USB, which booted just fine (I used toram boot option)
All looked good, sound could be enabled with the control panel sound card picker, going with generic, internet, youtube plays, so I installed.

All went well, (from the usb to nvme it was fast, about 4 minutes).
But I still showed the 4.13 kernel in the advanced mode when booting. So, wanting a simple clean case, I went back to MX 16.1, deleted everything on the antix partition to get rid of the grub, and reformated nvme01P4 with gparted.

Reboot and reinstall antix17 rc1. again all is fast, and runs well. But no only the 4.10 kernel is listed in the advanced options. Correct !
So I CTL-ALT-F1, logged in as root, and ran sgfxi. I had to reboot and re-run to get it installed, with 384.90. VIdeo looks good, so now I think I am ready to try the sgfxi -! 40 trick.
Here is inxi -F

Code: Select all

 Host: Ryzen Kernel: 4.10.5-antix.3-amd64-smp x86_64 bits: 64
           Desktop: IceWM 1.4.2
           Distro: antiX-17.rc1_x64-full Heather Heyer 6 October 2017
Machine:   Device: desktop Mobo: ASUSTeK model: PRIME X370-PRO v: Rev X.0x serial: N/A
           UEFI [Legacy]: American Megatrends v: 0902 date: 09/08/2017
CPU:       Hexa core AMD Ryzen 5 1600X Six-Core (-HT-MCP-) cache: 3072 KB
           clock speeds: max: 3600 MHz 1: 2200 MHz 2: 2200 MHz 3: 2200 MHz 4: 2200 MHz
           5: 2200 MHz 6: 2200 MHz 7: 2200 MHz 8: 2200 MHz 9: 2200 MHz 10: 2200 MHz
           11: 2200 MHz 12: 2200 MHz
Graphics:  Card: NVIDIA GK208 [GeForce GT 710B]
           Display Server: X.Org 1.19.2 driver: nvidia Resolution: 1920x1080@60.00hz
           OpenGL: renderer: GeForce GT 710/PCIe/SSE2 version: 4.5.0 NVIDIA 384.90
Audio:     Card-1 Advanced Micro Devices [AMD] Device 1457 driver: snd_hda_intel
           Card-2 NVIDIA GK208 HDMI/DP Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.10.5-antix.3-amd64-smp
Network:   Card: Intel I211 Gigabit Network Connection driver: igb
           IF: eth0 state: up speed: 100 Mbps duplex: 
Drives:    HDD Total Size: 2250.5GB (0.9% used)
           ID-1: /dev/sda model: WDC_WD2002FAEX size: 2000.4GB
           ID-2: /dev/nvme0n1 model: Samsung_SSD_960_EVO_250GB size: 250.1GB
Partition: ID-1: / size: 101G used: 3.9G (4%) fs: ext4 dev: /dev/nvme0n1p4
           ID-2: swap-1 size: 17.83GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p2
Sensors:   System Temperatures: cpu: N/A mobo: N/A gpu: 37C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 279 Uptime: 14 min Memory: 521.3/16046.7MB
           Client: Shell (bash) inxi: 2.3.40 
music@Ryzen:~
You see I have _rc1, with with NVIDIA 384.90.

So I installed the linux-image-4.13.4-antix.1-amd64-smp,
then the appropriate headers.

Reboot twice, I updated grub, rebooted, and the new kernel does not show up in the advanced options.

Anyway, I ran sgfxi again with the -! 40 option, and it goes all the way through, with the error at the end

Code: Select all

error 169 no previous nvidia sgfxi run package install detected for -k option module build
It did try building for the 4.13 kernel, but couldn't. So it thinks I have the 4.13 installed, I checked, 4.13 shows installed along with the stock 4.10 in synaptic, headers to.

So finally I tried

Code: Select all

apt policy nvidia-driver
Installed: (none)
candidate 375.82-1-deb901
So different than what sgfxi installed, earlier version.

So how can I see the 4.13 to try booting it?
ANd what video can I run for it since the -! 40 does not work, and I don't have the devbian version?

Where next, to boot the new kernel with video?

Thanks
BTW, the antix 17 rc1 looks good so far. Live and installed to this recent hardware. The network, sound, video (the above issues aside) all work.
I updated with synaptic, and will soon try other installs.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 1:26 pm
by anticapitalista
384.90 with smxi

375.82 with debian

maybe that's the issue.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 1:52 pm
by kmathern
Since Stevo said the 4.13 kernel works with the 375.82 version nvidia driver installed the Debian way, I would of stuck with using the antix control center/ddm-mx/dkms to install the nvidia driver instead of using sgfxi.

Sgfxi might have failed installing the 384.90 nvidia driver on the 4.13 kernel because it might not be patched to support it, where it looks the the Debian 375.82 nvidia driver has been patched to support 4.13 kernels.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 1:54 pm
by entropyfoe
384.90 with smxi
375.82 with debian
maybe that's the issue
The issue, but what does it mean, and how to fix it?
If sgfxi gave me 384.90, why does it not detect that previous install and give the same to kernel 4.13?

Or, can I use sgfxi to downgrade to 375.82? Would that be compatible with the 4.13 kernel?


With the noveau driver, the mouse and KB lock up frequently, with an nvidia driver, I get reboots every 2-8 days. So I am looking for stability. I updated the BIOS to latest 0902 and haven't really let it run to see if stability is improved yet.
But many places on the net (reddit and amd boards ) say newer kernels are better for Ryzen stability. I would like to get a 4.13 or maybe 4.12 running on this machine. Even 4.14 will have new drivers and improvements.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 2:02 pm
by entropyfoe
kmathern,

But how do I get the 4.13 to show up in the advanced options, even though synaptic shows it is installed with headers, and I ran update-grub?

And last time I got it to show in the boot options I booted to no X, and couldn't start X due to no screens.
I am missing something here, it is different than last time I tried it.

I could still run the nvidia installer from the antix control panel, right?
But then how to get that to a booting 4.13.

I have little effort into this rc1 install yet, so I can easily reinstall or do just about anything to learn and fix.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 3:40 pm
by kmathern
entropyfoe wrote:kmathern,

But how do I get the 4.13 to show up in the advanced options, even though synaptic shows it is installed with headers, and I ran update-grub?

And last time I got it to show in the boot options I booted to no X, and couldn't start X due to no screens.
I am missing something here, it is different than last time I tried it.

I could still run the nvidia installer from the antix control panel, right?
But then how to get that to a booting 4.13.

I have little effort into this rc1 install yet, so I can easily reinstall or do just about anything to learn and fix.
I don't know why the 4.13 kernel doesn't show up in grub's advanced options menu.

As long as the 4.13 kernel is installed correctly, you can install the nvidia driver for 4.13 while running in the 4.10 kernel using the dkms command I posted earlier: viewtopic.php?p=424273#p424273.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 4:05 pm
by anticapitalista
Open a root terminal and type

Code: Select all

update-grub

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 5:49 pm
by Stevo
I am also building the 4.13 Liquorix kernels for MX 17 test and in a separate OBS repo, since the official builds switched to requiring gcc-7 for the headers. I know installing those automatically added the 4.13 kernel to GRUB in MX 16.

http://techpatterns.com/forums/about2615.html

Also built gcc-5 versions for some Ubuntus and gcc-4.8 for Trusty. Like I need more packaging work, but the Liquorix devs asked.

Re: no video after antiX 17 kernel upgrade to 4.13

Posted: Sun Oct 22, 2017 9:25 pm
by entropyfoe
Stevo and anti, you guys are the real kernel experts, I am out of my depth.

Of course, I did figure out the grub, I had updated the grub at the antix root, not the one on MX 16.1, the master grub that controls the boot. So I fixed that.

Now both kernels show. So I got bolder, and booted with the 4.13, got the terminal, logged in as root, startx, error, server connection refused, so I tried sgfxi at that point, and was able to boot into a bare desktop, no antix, no wallpaper, no applications...not sure what that was.

So I rebooted back with 4.10, and it also was messed up, so out of desperation I ran sgfxi again, and now 4.10 boots normally, and 4.13 goes to a terminal only, with an error after startx. [server terminated with error (1)..unable to connect to the x server...]

I guess I really don't understand how the kernel and video are configured together.

What happens if I run the control center Nvidia driver installer? What would I get? Back to 375.82? A functioning system?
And how to propagate that to the 4.13 kernel and still have antix working?