Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "optimus"
-
To those that think they can't make it.
To those that are put down by those that don't understand you.
And to those that have never had a dream come true.
Not a rant, but the story of how I got into programming
I've always been into tech/electronics. I remember being told once that when I was 3, I used to take plug sockets to pieces. When I was 7, I built a computer with my dad.
There isn't a thing in my room that hasn't been dismantled and put back together again. Except for the things that weren't put back together again ;)
When I was 15, I got a phone for Christmas. It was a pretty crappy phone, the LG P350 (optimus ME). But I loved it all the same.
However I knew it could do a lot more. It ran a bloated, slow version of Android 2.2.
So I went searching, how can I make it faster, how to make it do more. And I found a huge community around Android ROMs. Obviously the first thing I did was flashed this ROM. Sure, there were bugs, but I was instantly in love with it. My phone was freed.
From there I went on to exploring what else can be done.
I wanted to learn how to script, so over the weekend I wrote a 1000 line batch (Windows cmd) script that would root the phone and flash a recovery environment onto it. Pretty basic. Lots of switch statements, but I was proud of it. I'd achieved something. It wasn't new to the world, but it was my first experience at programming.
But it wasn't enough, I needed more.
So I set out to actually building the roms. I installed Linux. I wanted to learn how to utilise Linux better, so I rewrote my script in bash.
By this time, I'd joined a team for developing on similar spec'd phones. Without the funds to by new devices, we began working on more radical projects.
Between us, we ported newer kernels to our devices. We rebased much of the chipset drivers onto newer equivalents to add new features.
And then..
Well, it was exam season. I was suffering from personal issues (which I will not detail), and that, with the work on Android, I ended up failing the exams.
I still passed, but not to the level I expected.
So I gave up on school, and went head first into a new kind of development. "continue doing what you love. You'll make it" is what I told myself.
I found python by contributing to an IRC bot. I learnt it by reading the codebase. Anything I didn't understand, I researched. Anything I wanted to do, google was there to help me through it.
Then it was exam season again. Even though I'd given up on school, I was still going. It was easier to stay in than do anything about it.
A few weeks before the exams, I had a panic attack. I was behind on coursework, and I knew I would do poorly on exams.
So I dropped out.
I was disappointed, my family was disappointed.
So I did the only thing I felt I could do. I set out to get a job as a developer.
At this stage, I'd not done anything special. So I started aiming bigger. Contributing to projects maintained by Sony and Google, learning from them. Building my own projects to assist with my old Android friends.
I managed to land a contract, however due to the stresses at home, I had to drop it after a month.
Everything was going well, I felt ready to get a full time job as a developer, after 2 years of experience in the community.
Then I had to wake up.
Unfortunately, my advisors (I was a job seeker at the time) didn't understand the potential of learning to be a developer. With them, it's "university for a skilled job".
They see the word "computer" on a CV, they instantly say "tech support".
I played ball, I did what I could for them. But they'd always put me down, saying I wasn't good enough, that I'd never get a job.
I hated them. I'd row with them every other day.
By God, I would prove them wrong.
And then I found them. Or, to be more precise, they found me. A startup in London got in contact with me. They seemed like decent people. I spoke with their developers, and they knew their stuff, these were people that I can learn from.
I travelled 4 hours to go for an interview, then 4 hours back.
When I got the email saying they'd move me to London, I was over the moon.
I did exactly what everyone was telling me I couldn't do.
1.5 years later, I'm still working with them. We all respect each other, and we all learn from each other.
I'm ever grateful to them for taking a shot with me. I had no professional experience, and I was by no means the most skilled individual they interviewed.
Many people have a dream. I won't lie, I once dreamed of working at Google. But after the journey I've been through, I wouldn't have where I am now any other way. Though, in time, I wish to share this dream with another.
I hope that all of you reach your dreams too.
Sorry for the long post. The details are brief, but there are only 5k characters ;)23 -
Use Linux desktop they said.
It'll be fun they said.
So much to configure.
Such fun.
18 hours later and hibernation, Bluetooth, Sound and Nvidia Optimus still not working after countless modprobes and config changes.
Hello again, Windows. You make me feel safe.
I'll just stick to Linux on servers and nothing more.41 -
This freaking laptop.
The WiFi randomly stops working -- and by that, I mean the hardware is no longer detectable, let alone functional. It simply disappears on boot, even from dmesg.
The same happens with audio and bluetooth: on some boots they simply do not exist.
The power usage is also ridiculous: the battery dies in about two hours, and it gets soo hot. Toasty wrists unless I use my tiny bluetooth keyboard ☹ So I need to fiddle with powertop a bit more.
nVidia drivers are also a bloody pain, and having two graphics cards this is even more difficult to set up. I still haven't managed. (nvidia-driver, bumblebee, optimus, official driver messes, manual xorg configs, ...). So I have a beautiful 4k built-in display running at 4-18 fps, and a non-functional 4k external. That's fine for now, but >.>; frustrating.
In better news! I just managed to get the sound to work by backporting the new 4.19 kernel (yay!) -- I have never been so happy to hear an ad. but fixing the sound killed my bluetooth. (The `bluetooth` utility reports the adapter is present, but nothing else can seem to see it 🙄) So now I'm going to have burning hot wrists all day and want to cry because terrible sweaty awfulness.
Just. It's frustrating.
It's fast, though.
and ever so pretty.28 -
Oh man!!!
I have to uninstall my linux and go back to windows... But I dont want to... C++ in vim is soooooo much more productive...
But goddamm my gaming laptop and its nvidia optimus "technology"!!!!
DAAAMMMM YOOOUUUUU NVIDIA!!!!!!!
PS. Dual booting is a nightmare too with windows 10 so... Yea... Not gonna happen19 -
Nvidia Optimus sucks ass.
Seriously, getting this shit to run on Linux is a pain, and the pain never ends because you need to run all graphics-heavy programs from the terminal with a specific command, otherwise they can't even fucking detect the video card.6 -
!rant
Finally fucking set up full working quadruple boot on my XPS!
Thanks to nvidia+Intel Optimus for teaching me how to write hundred times nouveau.modeset=020 -
Yay!
So I finally dual booted ubuntu 16 lts alongside w10 on a laptop with nvidia optimus.
As have next to 0 XP with linux systems almost every step needed extensive googling, but in the end I have
- cinnamon
- vs code
- git
- cloned my xmlRant repo that uses asp.net core 1.1.2
- built it sucessfully
- *bonus* figured out how to use remmina to connect rdp to workplaces win 2008 r2 gateway
Very happy ^___^2 -
If linux is used and maintained by professional power users mostly, why on earth does it never gets good support for basic things Windows does?
Screen dims while playing video, configuring lock screen to work with DM sucks as hell, you even have to define most keyboard shortcuts manually, Optimus GPU setup always buggy, you have to spend some time just configuring power management to work just fine.
We really need to fix this. I mean I am a Linux addict but time is money too.8 -
These ignorant comments about arch are starting to get on my nerves.
You ranted or asked help about something exclusive to windows and someone pointed out they don't have that problem in arch and now you're annoyed?
Well maybe it's for good.
Next comes a very rough analogy, but imagine if someone posts "hey guys, I did a kg of coke and feeling bad, how do I detox?"
It takes one honest asshole to be like "well what if you didn't do coke?".
Replace the coke with windows.
Windows is a (mostly) closed source operating system owned by a for profit company with a very shady legal and ethical history.
What on earth could possibly go wrong?
Oh you get bsod's?
The system takes hours to update whenever the hell it wants, forces reboot and you can't stop it?
oh you got hacked because it has thousands of vulnerabilities?
wannacry on outdated windows versions paralyzed the uk health system?
oh no one can truly scrutinize it because it's closed source?
yet you wonder why people are assholes when you mention it? This thing is fucking cancer, it's hundreds of steps backwards in terms of human progress.
and one of the causes for its widespread usage are the savage marketing tactics they practiced early on. just google that shit up.
but no, linux users are assholes out to get you.
and how do people react to these honest comments? "let's make a meme out of it. let's deligitimize linux, linux users and devs are a bunch of neckbeards, end of story, watch this video of rms eating skin off his foot on a live conference"
short minded idiots.
I'm not gonna deny the challenges or limitations linux represents for the end user.
It does take time to learn how to use it properly.
Nvidia sometimes works like shit.
Tweaking is almost universally required.
A huge amount of games, or Adobe/Office/X products are not compatible.
The docs can be very obscure sometimes (I for one hate a couple of manpages)
But you get a system that:
* Boots way faster
* Is way more stable
* Is way way way more secure.
* Is accountable, as in, no chance to being forced to get exploited by some evil marketing shit.
In other words, you're fucking free.
You can even create your own version of the system, with total control of it, even profit with it.
I'm not sure the average end user cares about this, but this is a developer forum, so I think in all honesty every developer owes open source OS' (linux, freebsd, etc) major respect for being free and not being corporate horseshit.
Doctors have a hippocratic oath? Well maybe devs should have some form of oath too, some sworn commitment that they will try to improve society.
I do have some sympathy for the people that are forced to use windows, even though they know ideally isn't the ideal moral choice.
As in, their job forces it, or they don't have time or energy to learn an alternative.
At the very least, if you don't know what you're talking about, just stfu and read.
But I don't have one bit of sympathy for the rest.
I didn't even talk about arch itself.
Holy fucking shit, these people that think arch is too complicated.
What in the actual fuck.
I know what the problem is, the arch install instructions aren't copy paste commands.
Or they medium tutorial they found is outdated.
So yeah, the majority of the dev community is either too dumb or has very strong ADD to CAREFULLY and PATIENTLY read through the instructions.
I'll be honest, I wouldn't expect a freshman to follow the arch install guide and not get confused several times.
But this is an intermediate level (not megaexpert like some retards out there imply).
Yet arch is just too much. That's like saying "omg building a small airplane is sooooo complicated". Yeah well it's a fucking aerial vehicle. It's going to be a bit tough. But it's nowhere near as difficult as building a 747.
So because some devs are too dumb and talk shit, they just set the bar too low.
Or "if you try to learn how to build a plane you'll grow an aviator neckbeard". I'll grow a fucking beard if I want too.
I'm so thankful for arch because it has a great compromise between control and ease of install and use.
When I have a fresh install I only get *just* what I fucking need, no extra bullshit, no extra programs I know nothing about or need running on boot time, and that's how I boot way faster that ubuntu (which is way faster than windows already).
Configuring nvidia optimus was a major pain in the ass? Sure was, but I got it work the way I wanted to after some time.
Upgrading is also easy as pie, so really scratching my brain here trying to understand the real difficult of using arch.22 -
Argh! (I feel like I start a fair amount of my rants with a shout of fustration)
Tl;Dr How long do we need to wait for a new version of xorg!?
I've recently discovered that Nvidia driver 435.17 (for Linux of course) supports PRIME GPU offloading, which -for the unfamiliar- is where you're able render only specific things on a laptops discreet GPU (vs. all or nothing). This makes it significantly easier (and power efficient) to use the GPU in practice.
There used to be something called bumblebee (which was actually more power efficient), but it became so slow that one could actually get better performance out of Intel's integrated GPU than that of the Nvidia GPU.
This feature is also already included in the nouveau graphics driver, but (at least to my understanding) it doesn't have very good (or none) support for Turing GPUs, so here I am.
Now, being very excited for this feature, I wanted to use it. I have Arch, so I installed the nvidia-beta drivers, and compiled xorg-server from master, because there are certain commits that are necessary to make use of this feature.
But after following the Nvidia instructions, it doesn't work. Oops I realize, xrog probably didn't pick up the Nvidia card, let's restart xorg. and boom! Xorg doesn't boot, because obviously the modesetting driver isn't meant for the Nvidia card it's meant for the Intel one, but xorg is to stupid for that...
So here I am back to using optimus-manager and the ordinary versions of Nvidia and xorg because of some crap...
If you have some (good idea) of what to do to make it work, I'm welcome to hear it.6 -
This is a rant thats been waiting a long time to be said...
About half a year ago I got a refurbished laptop, and decided to run manjaro on it (primarily because I didn't have the time to setup arch). I spent time configuring it, I tried out different things, and all in all I learnt tons about linux, and just random things about computers in general.
I dont regret this in the slightest!
Despite the many times where something went horribly wrong, like after I moved over to efi (without a hitch, actually!) I forgot to add to fstab my esp and f-ed the whole boot system. Or when, right in the beginning of this adventure, I tried to move over Xorg to my nvidia gpu and left optimus on. Big Mistake! But I learnt, and I came out a better sysadmin, a better dev than when I first went in.
And again, I dont regret it in the slightest!2 -
I made this bad decision to buy pretty pricey laptop with nVidia card. Lenovo Legion Y520.
So yeah, have you heard about optimus technology and how much one can hate nvidia?
> Debian is working, nice.
> Let's try nvidia-driver.
> 48hours later: WOoooooah glxgears at 120 fps!
> Installed some fonts. "Could not load gpu driver". HDMI port stops working. Unable to repair. Entering despair.
> Surviving on dual-booted windows.
halp3 -
it just dawned on me I could modify the fs on my arch installation usb.
i could include the passphrase for the wifi I'll be using, and a script that runs:
* wpa_supplicant and dhclient
* setfont for a bigger font (so i can see shit)
* most of the install commands that i rarely customize
* installs all my dotfiles on the target partition
i am trying out different configs for my laptop that has shitty optimus (like which one draws more power using powertop).
so i would appreciate testing these things from scratch, and automating the install helps with that6 -
I want to intall a bare bones Linux set up with i3-wm. I'm looking at a Base antergos installation and continue to configure from there. Do you thing that this is a good place to start after using i3-wm on Ubuntu or would you recommend another distribution?
To add to it, the laptop ideally uses Nvidia Optimus2 -
Lenovo IdeaPad Y700 (and possibly (m)any other NVidia GPU laptops)
framerate fluctuations in any game - runs silky smooth for few minutes, then drops to borderline unplayable framerates for a few minutes.
Thousands of people across dozens, maybe hundreds of internet forums having this problem for years, since the thing was released.
I personally lost at least 20 hours trying to solve it, and had the laptop in gaming-unusable state because of it for the past half a year.
...yesterday I FOUND A SOLUTION!
1. Download NVidia Inspector by Orbmu2k
(some hobbyist hacker type)
2. use its "profile inspector" to flip an internal setting in nvidia driver.
3. flip "Enable application for Optimus" to SHIM_RENDERING_MODE_ENABLE to basically tell the "Optimus" crap to fuck off.
(not sure why the value is called this, because it's clearly disabling the thing)
4. the thing works flawlessly silky smooth again.
...thousands of people across dozens, maybe hundreds of forums...
...i could be their Lord and Savior...
...if only I weren't too lazy to hike across all of them and register just to post the solution.
(tech forums really should have some "I HAVE A SOLUTION but if i have to register I won't bother")
also...
WHY
DO
WE
KEEP
LETTING
HW
MANUFACTURERS
WRITE
SOFTWARE?!?15 -
So one of my first rants was about me unable to setup Debian with (lightdm) Cinnamon to be working with optimus laptop and to make the damn hdmi port work, where the port is attached to the nvidia gpu (vga passthrough?)
I have to try it with another distro because the dual-booted Windows greatly feeds my procrastination. (Like ... Factorio, Stellaris, Rimworld and etc. type of procrastination, it's getting somewhat severe. )
So what would you people of devrant recommend me to try? I am thinking a lot about Arch but I am afraid there will be a lot more problems with the lenovo drivers for various things.
The next one is classical Ubuntu, at the end this distro looks like it's at least trying to work amongst other distro's.
Also thought about Fedora because yum and RedHat. ( ..lol )
Thx ppl.2 -
I successfully PCI passed through my nvidia 970m to Bluescreen-OS on a nvidia optimus laptop.
Totally useless, if your GPU does not have any video output ٩๏̯͡๏۶
What's the point about having an HDMI output, if it neither works with the intel 530, nor with the 970m? Is it even connected? I mean, srsly, why would you do that? Best Linux support ever!!!1!!!1 -
I am going for a new Linux distro which supports Optimus technology laptops , have a big community to support , stable .
P.S used kali Linux and it broke when installed wine and then tring to make it work
Used Ubuntu and it broke when install some kali Linux tools and it broke because of some dependacies and then python stopped working
..............5