[SOLVED] Problems! A lot of (easy?) problems? Main : " No Screen Found"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problems! A lot of (easy?) problems? Main : " No Screen Found"
Hi,
I'm new on linux and i installed Slackware. My laptop is an Acer Aspire 5 - A515-51G-58VH and i have an intel-nvidia GPU ("Nvidia Optimus").
I try to install my drive of Nvidia, so i could open the graphic mode ( startx), but i still receive the error " no screen found " when i type start x.
In that process, i knew how to conecto to internet but, after update my system, (slackpgk update && slackpkg upgrade -all) all my configuration was changed: my wifi doenst work anymore, my USB keyboard isnt on (only the keyboard of my laptop) and i do not know what more have changed.
How can I reconfigure or come back to old files before the update? All the times when I update the system, I need to recheck that configuration files? I remeber after update the system he asked about overwrite the old files with the new ones... but i was thinking that the configuration would persist.
How can I know where is my win10 files in the HD? Is in some " sdb " way? I do not remeber how i maked that in Debian. Will be more easy to send the output of comands files here.
And, why when i save my work in terminal with scrip comand (script output.txt) and i open with nano, the file is strange: a lot of unknow caracteres? Nano is the problem? the way to save as scrip( script output.txt)?
In slack i will do not have comands like the 'aptitude' and 'app-get'? There is a way for me to know better the comands, the place of files and the functions of Slack/linux? A linux guide book? haha some indication?
Like the diference of nmcli and nmtui
Hello Myphre and welcome to Linux and especially Slackware. I hope you discover how special Slackware is and find that's "just what the doctor ordered" to fix what ails ya
In that vein I don't dare delve too deeply into some of your problems because despite almost 20 years on Slackware as my Main, I guess I am something of a Luddite among Luddites since I am very resistant to changes such as relying on any manner of package automation. Slackware to me means far more than just the distro that didn't cave in to systemd (never!) and pulseaudio (fixed recently). It means nothing happens that I didn't initiate so I know exactly what my problems are. Usually it is me and whatever I just did.
Anyway your issue with nvidia drivers is common and easily fixed because it is a special case called The Optimus System that uses Intel graphics and hands-off to nvidia when the going gets serious. It's well documented and there are complete threads on thisd subject here at LQN but I'd start with understanding what you have and how Slackware sees it...Start here ===>>
In that process, i knew how to conecto to internet but, after update my system, (slackpgk update && slackpkg upgrade -all) all my configuration was changed: my wifi doenst work anymore, my USB keyboard isnt on (only the keyboard of my laptop) and i do not know what more have changed.
My gut feeling and experience tells me not to use any sort of automagical update utilities. I tend to install the latest, (in this case version 14.2) and leave it at that, unless there is a program that I'm installing that I absolutely MUST use and the only way is to update some libraries or something. Which is quite rare.
Quote:
How can I reconfigure or come back to old files before the update?
You could read the slackpkg documentation and tutorials on how to undue whatever process you did. I don't use slackpkg, so I can't suggest anything. You could always do the nuke method, and just re-install from scratch.
Quote:
How can I know where is my win10 files in the HD?
Try: sudo /sbin/fdisk -l | grep -i ntfs
Quote:
In slack i will do not have comands like the 'aptitude' and 'app-get'?
Thanks for the post and sorry for the delay, but im still with the problem.
I have posted the list of questions to organize myself. A lot of 'tabs' are open in my internet browser, not only in my laptop with win 10, but in my cellphone too and im going crazy with that. I also have tried the begginers guide, just forgot to put him in the list
In the case, I wanna use the Intel GPU, because games and other thing that requires the Nvidia GPU I think its best in my Win10. As I understood, my Slackware kernel by himself should recognize my intel GPU and play the graphic mode, correct? But that do not ocoor.
I try, as i sayed, install the driver of my Nvidia GPU but the error "No screen found" persisted. So, as i updated the system and all the things changed, I formatted and reinstalled Slackware.
> I wanna use the Intel GPU, because games and other thing that requires the Nvidia GPU
I don't understand this sentence. You want to use the Intel graphics because games require nvidia? Last time I checked dual-gpu wasn't supported very well (if at all) and it's best to use one or the other. If you want to only use the intel gpu, then don't bother even installing the nvidia drivers.
It's better to have an updated system, but if it isn't working, then updating is pointless.
When using slackpkg it will give you a prompt regarding configuration files. You can select to be prompted to examine each new configuration file separately. You can use diff to look at what has changed. You can overwrite them, save the new file(s) to look at later, or remove the new configuration files. I usually prompt and go through them to see what is different.
Just ask one question. Post output of dmesg command (run as root '# dmesg' ) and contents of Xorg.0.log file. Look at /etc/X11/ directory. There is xorg.conf file configured so X server will run on framebuffer. If your frambuffer device is running (you can login in text console), you should be able to start X on that frame buffer as graphic device. In terminology of X server 'screen' is not just 'screen'. 'Screen' may contain multiple devices: mouses (pointing devices), keyboards - they all together create 'screen'. So 'no screen' can mean: no keyboard, no mouse, no monitor, no graphic device. If one of these devices fail to work - X server can't manage to complete default layout.
Ok,i actualized my kernel to the last one, the 4.19.14 (https://www.kernel.org/), and i could enter in the startx. But, my USB keyboard, my mouse, my USB ports in general - even with a pen drive -, and my touchpad didnt work. Only my laptop keyboard worked. Why?
I checked the HID option in the kernel menu. Would i left something (see questions 3, 4 and 5)?
I have take the outputs of the comands, but, i could not find my win10 directory. The comand " /sbin/fdisk -l | grep -i ntfs " give an error - i will post later, forgot to keep him on paper. How can i find my win10 directory? In instalation, he kept the directory "/win10",as asked in the process - the program find some files of windowns and asked if i wanna a directory to them and who could writen and see. I know my win10 files are in the " sda3", and i can see then in some color like yellow in /dev/ . But, i could not see the files or mount like a USB stick(pen drive).
Ok, doubts: (i'm root)
1)What are those yellow/orange files? What is the green ones with * in the end (is like a pointer, like in C)?
2) I had follow the process descript in the "slackbook-2.0.pdf", that is inside my DvD of instalation. Ok, in the process he says to put " make dep" The output is an error. But, " make -dep" run. Is that to be done? haha ( never saw so much strings and letters passing so fast in my front) Or the comand doesnt work because of the diference in kernel versions ( 2.2.16 is the version used in the manual).
3) He also says to use " cat arch/i386/boot/bzImage > /vmlinuz" after puting the old file "/boot/vmlinuz" to "/boot/vmlinuz.old". Ok, mvlinuz must be in the "/boot/", correct? So, was to me to use " cat /arch/x86_64/boot/bzImage > /boot/vmlinuz" (i368 is for desktop, correct? My bzImage was in x86..) ?
I do not know. I compiled the kernel twice. In the first, i think my "vmlinuz" file was in the " / ". So, i could start startx but without my USB devices and touchpad. In the second time, i put the vmlinuz in the /boot/ , but, the system freezed in the first step: open vmlinuz U.U (I formatted again after that)
4) vmlinuz is the file that guides Elilo to open the kernel and read them? Is correct think in that way? Ok, if im not wrong, the original vmlinuz file is green and had an *, like : vmlinuz*. I cannot open him with nano, its a lot of wrong caracters. How can i put Elilo to read right my kernel files? With eliloconf, i only can hit enter :/
5) i put my kernel files in the " /usr/src/linux/linux-4.19.14/ " .Do i need to delete the old files in " /usr/src/linux/" ? Or can i make in that way?
___
ps - I also tried that guide: https://www.youtube.com/watch?v=DxFp_Ry78UY . But, i do not know how to put elilo to see my new kernel. So, i did what the guide says and "" worked ""
Sorry I don't know what yellow/orange or green files you are referring to. Maybe take a screenshot and show us what you mean.
Quote:
3) He also says to use " cat arch/i386/boot/bzImage > /vmlinuz" after puting the old file "/boot/vmlinuz" to "/boot/vmlinuz.old". Ok, mvlinuz must be in the "/boot/", correct? So, was to me to use " cat /arch/x86_64/boot/bzImage > /boot/vmlinuz" (i368 is for desktop, correct? My bzImage was in x86..) ?
Yes, correct, the vmlinux should be in the /boot directory.
IF in fact your bzImage is -x86-64 than yes, use that. Provided your laptop is a 64-bit machine:-
****Make sure you make a copy of your bzImage.****
Quote:
vmlinuz is the file that guides Elilo to open the kernel and read them? Is correct think in that way? Ok, if im not wrong, the original vmlinuz file is green and had an *, like : vmlinuz*. I cannot open him with nano, its a lot of wrong caracters. How can i put Elilo to read right my kernel files? With eliloconf,
i put my kernel files in the " /usr/src/linux/linux-4.19.14/ " .Do i need to delete the old files in " /usr/src/linux/" ? Or can i make in that way?
I wouldn't delete the old files. Instead mark them as old so you know the difference between the old and the new.
Generally when you compile the kernel and you can't boot it's because something in the configuration wasn't right.
This is a good Guide for compiling the kernel.
Problems! A lot of (easy?) problems? Main : " No Screen Found"
So colored files might be from their nature or status : green with * might be executable scripts for instance.
What are you trying to do with your kernel?
I would start to boot a huge Slackware stock one and have a look to the lsmod list of modules.
Think about the mkinitrd script to help making a working one. And at least use the stock kernel as start point for your kernel config.
I do not know elilo. I use the grub package in Slackware for that. Quite simple to make it initially work and as simple as 'mkinitrd -F' and 'grub-mkconfig -o /boot/grub/grub.cfg' after kernel upgrades or installations...
Problems! A lot of (easy?) problems? Main : " No Screen Found"
For your win 10 files, did you mount /dev/sda3 somewhere? (done as root or automated with /etc/fstab)
Try as user or root :
lsblk
Try as root :
cat /etc/fstab
You can paste the output here.
Since it's not very easy to figure out what you know, it seems difficult to help on multiple problems in one thread. Would you mind splitting your questions in separated threads, starting with the most critical?
Something like : dual booting Slackware (14.2 or current) --> make it boot --> share files --> startx and run level 4
I dont understand the problem: if is my kernel settings or my ELILO. I have more questions and doubts, but i will try to focus only in the main problem. I had follow that guide: http://www.berkes.ca/guides/linux_kernel.html
If i boot my slack by the installation pen drive, he boots and says that cant log the kernel modules files. Why? I can start startx and begin the graphic mode, with errors ( the problem are my old kernel that doesnt recognize my VGA's?).
In both (slack guide and this), have the follows comands:
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
If i change the elilo.config, slackware do not boot, just reboot after elilo read the file of the kernel ( i see the display of elilo... load kernel... reboot). What is the problem?
In the first time, as I sayed, I coud boot in my new kernel but without USB devices. Now, i just dont boot, and if I boot i have no modules, but i have my USB devices.
I tried again to do like the Slack Guide, as i made in my first time, but the system only reboot.
The output of lspcia VGA :
00:02.0 VGA compatible controller: Intel Corporation Device 5916 (rev 02)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.