Solved Blank Screen after startx

I hope this is the proper place . I installed FreeBSD 12.2 RELEASE on my old machine HP Probook 242 G1 , with both Intel HD Graphics 4000 , and GeForce GT 730 M , which i got for free from the 'to be disposed storage' in my office , to resurrect the dead laptop . I followed this thread, and this after properly following what handbook instructed ... and failed .

At first there's [EE] on startx which stated "No Screen found" , then after installing x11-drivers/xf86-video-intel , i managed to go past startx but greeted by unresponsive input and blinking cursor that forced me to push the power button . After the 19th install i began to despair and decided to ask the forums .

What i did : I followed the handbook , but greeted with none but no screen detected . using xorg-minimal from pkg at the first try , then port version at the 5th install , still blessed with no screen detected at 12th install , and finally i get xorg.conf.new at 13th install , resuming to follow handbook , 14th the thread , then i began despairing at xorg-minimal and go to full meta port at 15th install , and port install until i broke it for the 18th time and fresh install again at 19th . I decided to use MX-Linux-Live-USB i own to ask where did i go wrong and registered to this forum . Since even abandoning nvidia install , abandoning vesa , and many things i tried haven't yield results . Please pardon my barbaric and noobish way to fix things by reinstalling .

I am at my limit , i am at lost , please help me ... i really want to try FreeBSD .

At the moment i only have fresh 12.2-RELEASE install . And thanks inb4 for the help . I will try again tomorrow after a good sleep .
 
I hope this is the proper place . I installed FreeBSD 12.2 RELEASE on my old machine HP Probook 242 G1 , with both Intel HD Graphics 4000 , and GeForce GT 730 M , which i got for free from the 'to be disposed storage' in my office , to resurrect the dead laptop . I followed this thread, and this after properly following what handbook instructed ... and failed .

At first there's [EE] on startx which stated "No Screen found" , then after installing x11-drivers/xf86-video-intel , i managed to go past startx but greeted by unresponsive input and blinking cursor that forced me to push the power button . After the 19th install i began to despair and decided to ask the forums .
Did you get the DRM running? Dou you have kld_list="<gpu_type>" in your /etc/rc.conf? What does your kldstat show?
Did you install the port graphics/drm-fbsd12.0-kmod?

Did you read this https://wiki.freebsd.org/Graphics ?
 
Can you deactivate the Nvidia?
Yes , but instead it detected nvidia and the startx just returned blank

Did you get the DRM running? Dou you have kld_list="<gpu_type>" in your /etc/rc.conf? What does your kldstat show?
Did you install the port graphics/drm-fbsd12.0-kmod?

Did you read this https://wiki.freebsd.org/Graphics ?
yes , i tried to use both pkg and port version , before and after update . tbh when i post this thread i haven't read it yet , but i found a similar message to that page in form of pkg install message .

build/install those packages (drm-fbsd12.0-kmod) from ports and it'll work if you load the modules via "kld_list" in /etc/rc.conf
done , but still result in blank

post you xorg.log and dmesg log here ,maybe i can help you!
this sounds like a newbie question but how to post it via tty ?

the only [EE] in the /var/log/Xorg.0.log i found is /dev/dri/card0 no such file or directory , i browsed and found similar problem and also try it but only staying on 12.2-RELEASE instead of going back to 12.1 , and it didn't work .

thank you for all of your help , and sorry for the long-time to reply since the old drive fail me and i have to buy and wait for the new ssd .
 
Dual-GPU laptops are usually very difficult to set up, as it must be ensured that one of the both GPUs is completely deactivated.
Assuming that you have configured the BIOS correctly that way that the ATI thingy is deactivated and vgapci0 is identified by pciconf -lv vgapci0 as Nvidia, then I suppose that a missing BusID is causing your problem.

See this example from my PC:
QUOTE because of colors. said:
# pciconf -lv vgapci0
vgapci0@pci0:15:0:0: class=0x030000 card=0x809f1462 chip=0x104a10de rev=0xa1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'GF119 [GeForce GT 610]'
class = display
subclass = VGA

For this reason I always download and use the current, up-to-date driver from Nvidia.
Look up the card type (shown in red above) and download the correct driver.
You find detailed instructions in the README file.
The nvidia-xconfig configuration utility creates a xorg.conf with the correct BusID (shown in blue above), so you don't need to do this manually.
 
Snurg Sorry it seems i misunderstood you , what do you mean by deactivate ?

What i did was i reinstall driver ports and removing identified driver in xorg.conf . So in my ?th install i only install nvidia only, intel only , vesa only . Neither option works , it returns the same .
 
Finally solved . Solution : migrate to CURRENT , install drm-kmod-current , install x11/xorg , then install Nvidia after startx runs . If i install the driver before the startx runs , it returns a blank screen . Tested on 13.0-CURRENT , 13.0-ALPHA1~3 . Im now on ALPHA3 .

I've migrated to 12.1-RELEASE before since there's a same problem , albeit different point release . I also tried installing current kmod on 12.1-RELEASE , but still blank . Installing drm-kmod from port still returning blank . So i get CURRENT edition .

Meh , i guess it doesn't really matter , i lied , i am afraid . but since i will get Pi4B after this , and Pi4B only available in CURRENT and so i take this as a success . I hope Pi4B will be available at RELEASE , until then i will stay here . Im glad i didn't give up on FreeBSD . Thank you guys .
 
Back
Top