Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

HDMI Output not working correctly

Need help with peripherals or devices?
Message
Author
Sanzen
Posts: 21
Joined: 2013-01-13 23:20

HDMI Output not working correctly

#1 Post by Sanzen »

I've been having problems with my hdmi output not working since I first installed debian on my laptop(probably 2 years now). The reason the output wasn't working is because I can't turn my onboard graphics off in my bios.
So I had a bright idea, why don't I just blacklist the i915 driver? So I did, I updated the initramfs and restarted my computer. It started up showed the startup sequence on my laptop screen, my dell monitor(vga output) and on the tv(hdmi output) but then the start up sequence froze on the hdmi output while the other 2 screens continued to work.
I do lspci -v and the i915 driver still shows up for the vga controller.
I don't have the nvidia drivers setup and I don't have an xorg.conf setup at the moment because I get the no screens error when I do.
What should I do?
What do you guys need to properly asses this problem?

previous stuff:
http://forums.debian.net/viewtopic.php?f=7&t=109483 <--- I have no clue how I got the hdmi output working when I posted that thread.

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#2 Post by Sanzen »

bump....
Does anyone have an answer or any idea as to what I should do?

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#3 Post by hakerdefo »

What laptop model? What graphics cards? Hybrid graphics? What graphics drivers have you installed? What version of Debian? What desktop environment?
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#4 Post by Sanzen »

hakerdefo wrote:What laptop model? What graphics cards? Hybrid graphics? What graphics drivers have you installed? What version of Debian? What desktop environment?
Cheers!!!
Asus N56VZ Intel® Core™ i7-3740QM CPU @ 2.70GHz × 8 64 bit
Intel Corporation 3rd Gen Core processor Graphics Controller
NVIDIA Corporation GK107 [GeForce GT 650M]
I have the nouveau and i915 drivers installed
Debian GNU/Linux 7.5 (wheezy)
Gnome 3.4.2
In the details program, for graphics, it says Intel Ivybridge Mobile

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: HDMI Output not working correctly

#5 Post by milomak »

is this an nvidia optimus laptop?

if my suspicion is correct, you can install bumblebee and see how that works, or start reading here to remove the intel card
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#6 Post by Sanzen »

milomak wrote:is this an nvidia optimus laptop?

if my suspicion is correct, you can install bumblebee and see how that works, or start reading here to remove the intel card
If I remember correctly, I may have broken my system last time I did tried to use bumblebee. So what I am going to do is install debian on one of my other SSD's and test some things out.
I tried transfering it but then grub broke. I've tried reinstalling grub onto the old one using the livecd method but to no avail.

Could I uninstall the i915 drivers? Then the computer would have to run off the nouveau drivers by default, right?

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: HDMI Output not working correctly

#7 Post by milomak »

from what you posted of your laptop, it seemed to me that it was a nvidia optimus one.

i have a laptop that suffers the same. hence why i was able to provide the link of removing the intel driver.

that said, i never did remove the intel driver. i was just providing possibly useful information that i came across.
Last edited by milomak on 2014-06-22 01:23, edited 2 times in total.
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#8 Post by Sanzen »

milomak wrote:from what you posted of your laptop, it seemed to me that it was a nvidia optimus one.

i have a laptop that suffers the same. hence why i was able to provide the link of removing the intel driver.

that said, i never did remove the intel driver. i was just providing possibly useful information that i came across.
Well, I installed bumblee and the nvidia drivers.
The documentation states "Please note that this configuration will break Xorg on Optimus systems. For such hardware, see Bumblebee instead."
What does that mean? What am I supposed to do with bumblebee?

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: HDMI Output not working correctly

#9 Post by milomak »

Sanzen wrote:
milomak wrote:from what you posted of your laptop, it seemed to me that it was a nvidia optimus one.

i have a laptop that suffers the same. hence why i was able to provide the link of removing the intel driver.

that said, i never did remove the intel driver. i was just providing possibly useful information that i came across.
Well, I installed bumblee and the nvidia drivers.
The documentation states "Please note that this configuration will break Xorg on Optimus systems. For such hardware, see Bumblebee instead."
What does that mean? What am I supposed to do with bumblebee?
where it says Bumblebee instead is there a link?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#10 Post by Sanzen »

milomak wrote:
Sanzen wrote:
milomak wrote:from what you posted of your laptop, it seemed to me that it was a nvidia optimus one.

i have a laptop that suffers the same. hence why i was able to provide the link of removing the intel driver.

that said, i never did remove the intel driver. i was just providing possibly useful information that i came across.
Well, I installed bumblee and the nvidia drivers.
The documentation states "Please note that this configuration will break Xorg on Optimus systems. For such hardware, see Bumblebee instead."
What does that mean? What am I supposed to do with bumblebee?
where it says Bumblebee instead is there a link?
https://wiki.debian.org/NvidiaGraphicsDrivers#configure
in the configuration part, it says "Please note that this configuration will break Xorg on Optimus systems. For such hardware, see Bumblebee instead."
So I am guessing I need to configure a special xorg.conf but everytime I used to try, I would break it.
Can you help me out with that? I'm tired of breaking my system or getting stuck in fallback mode because I configured xorg wrong, but I so want this to work. And I know it can, its just a matter of how.

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#11 Post by hakerdefo »

First make sure to remove intel driver from the blacklist. Also undo any changes that you have made.
The following is the recommended procedure to install optimus support in debian,
Enable wheezy backports.
Run as root,

Code: Select all

dpkg --add-architecture i386 && apt-get update && apt-get -t wheezy-backports install bumblebee-nvidia primus primus-libs:i386
During postinstall you will see a debconf prompt warning you that you need to create a xorg.conf file, Don't allow debconf to create a xorg.conf file. And don't run nvidia-xconfig ever.
After installation run following commands as root replacing 'name' with your username,

Code: Select all

usermod -a -G bumblebee,video name
Next edit '/etc/bumblebee/bumblebee.conf' using your text-editor as root and change,

Code: Select all

KernelDriver=nvidia
To

Code: Select all

KernelDriver=nvidia-current
Reboot your computer.
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#12 Post by Sanzen »

hakerdefo wrote:First make sure to remove intel driver from the blacklist. Also undo any changes that you have made.
The following is the recommended procedure to install optimus support in debian,
Enable wheezy backports.
Run as root,

Code: Select all

dpkg --add-architecture i386 && apt-get update && apt-get -t wheezy-backports install bumblebee-nvidia primus primus-libs:i386
During postinstall you will see a debconf prompt warning you that you need to create a xorg.conf file, Don't allow debconf to create a xorg.conf file. And don't run nvidia-xconfig ever.
After installation run following commands as root replacing 'name' with your username,

Code: Select all

usermod -a -G bumblebee,video name
Next edit '/etc/bumblebee/bumblebee.conf' using your text-editor as root and change,

Code: Select all

KernelDriver=nvidia
To

Code: Select all

KernelDriver=nvidia-current
Reboot your computer.
Cheers!!!
This put me into gnome 3 fallback mode. Now I've no idea what to do.
I tried opening the nvidia x server settings and I got a popup saying I'm not using the nvidia driver.
In the details program it says VESA: Intel® Sandybridge/Ivybridge Graphics for driver and the experience is "Fallback"

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#13 Post by hakerdefo »

Post the output of the following as root,

Code: Select all

service bumblebeed status
Run this one as a normal user,

Code: Select all

optirun pwd
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#14 Post by Sanzen »

hakerdefo wrote:Post the output of the following as root,

Code: Select all

service bumblebeed status
Run this one as a normal user,

Code: Select all

optirun pwd
Cheers!!!
Sorry for the late reply, work has been hectic. I appreciate the help you have been giving me.

Code: Select all

service bumblebeed status
gives this:

Code: Select all

[ ok ] bumblebeed is running.

Code: Select all

optirun pwd
gives this:

Code: Select all

[   73.761768] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected.

[   73.761917] [ERROR]Aborting because fallback start is disabled.

Edit: I found something that said I should edit the xorg.conf.nvidia from the bumblebee directory in /etc
It said to uncomment the line where it has my graphics cards bus id. I restarted and nothing happened.

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#15 Post by hakerdefo »

Please post the results of the following,

Code: Select all

lspci | egrep 'VGA|3D'
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#16 Post by Sanzen »

hakerdefo wrote:Please post the results of the following,

Code: Select all

lspci | egrep 'VGA|3D'
Cheers!!!

Code: Select all

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107 [GeForce GT 650M] (rev a1)
I already changed the Bus ID to 01:00.0 in the /etc/bumblebee/xorg.conf.nvidia

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#17 Post by hakerdefo »

In your '/etc/bumblebee/xorg.conf.nvidia' change the line,

Code: Select all

BusID "PCI:01:00.0"
to,

Code: Select all

BusID "PCI:01:00:0"
Save the file, reboot and then run,

Code: Select all

optirun pwd
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#18 Post by Sanzen »

hakerdefo wrote:In your '/etc/bumblebee/xorg.conf.nvidia' change the line,

Code: Select all

BusID "PCI:01:00.0"
to,

Code: Select all

BusID "PCI:01:00:0"
Save the file, reboot and then run,

Code: Select all

optirun pwd
Cheers!!!
alright, so I got a little bit of a smack in the face tonight. I was on the irc in #debian and apparently I've been running without the headers to my linux system

optirun pwd outputs /home/fubar


bumblebeed --debug

Code: Select all

 bumblebeed --debug
[  161.419660] [DEBUG]bbswitch has been detected.
[  161.419722] [INFO]Switching method 'bbswitch' is available and will be used.
[  161.419742] [DEBUG]Active configuration:
[  161.419760] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  161.419806] [DEBUG] X display: :8
[  161.419835] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  161.419854] [DEBUG] Socket path: /var/run/bumblebee.socket
[  161.419881] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  161.419906] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  161.419929] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  161.419947] [DEBUG] ModulePath: /usr/lib/nvidia,/usr/lib/xorg/modules
[  161.419968] [DEBUG] GID name: bumblebee
[  161.419987] [DEBUG] Power method: auto
[  161.420037] [DEBUG] Stop X on exit: 1
[  161.420067] [DEBUG] Driver: nvidia
[  161.420088] [DEBUG] Driver module: nvidia-current
[  161.420110] [DEBUG] Card shutdown state: 1
[  161.420263] [DEBUG]Process /sbin/modprobe started, PID 3665.
[  161.420344] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  161.422072] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  161.422126] [ERROR]Module 'nvidia-current' is not found.
so apparently nvidia-current isn't the driver. It must be "nvidia". So I change it back to nvidia and run bumblebeed --debug again and this:

Code: Select all

 bumblebeed --debug
[  265.858737] [DEBUG]bbswitch has been detected.
[  265.858797] [INFO]Switching method 'bbswitch' is available and will be used.
[  265.858818] [DEBUG]Active configuration:
[  265.858836] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  265.858873] [DEBUG] X display: :8
[  265.858890] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[  265.858926] [DEBUG] Socket path: /var/run/bumblebee.socket
[  265.858957] [DEBUG] pidfile: /var/run/bumblebeed.pid
[  265.858983] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[  265.859004] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[  265.859024] [DEBUG] ModulePath: /usr/lib/nvidia,/usr/lib/xorg/modules
[  265.859046] [DEBUG] GID name: bumblebee
[  265.859066] [DEBUG] Power method: auto
[  265.859087] [DEBUG] Stop X on exit: 1
[  265.859109] [DEBUG] Driver: nvidia
[  265.859129] [DEBUG] Driver module: nvidia
[  265.859150] [DEBUG] Card shutdown state: 1
[  265.859306] [DEBUG]Process /sbin/modprobe started, PID 3678.
[  265.859400] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[  265.861232] [DEBUG]SIGCHILD received, but wait failed with No child processes
[  265.861286] [DEBUG]Configuration test passed.
[  265.861387] [ERROR]Daemon already running, pid 2292
So.....what's the problem now? lol
Maybe the X Display? should I change it to 2?

User avatar
hakerdefo
Posts: 258
Joined: 2014-05-05 05:31

Re: HDMI Output not working correctly

#19 Post by hakerdefo »

What happens when you run,

Code: Select all

optirun pwd
Cheers!!!

Sanzen
Posts: 21
Joined: 2013-01-13 23:20

Re: HDMI Output not working correctly

#20 Post by Sanzen »

hakerdefo wrote:What happens when you run,

Code: Select all

optirun pwd
Cheers!!!
optirun pwd

Code: Select all

/home/fubar

Post Reply