batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
1.98k stars 513 forks source link

HDMI Output issue V35 on Laptop with hybrid GPU #7102

Open DezzyLee99 opened 2 years ago

DezzyLee99 commented 2 years ago

I have an Acer Nitro 5 with Intel HD/GTX 1050, Batocera V35 2022/09/17 and Windows 11 installed on separate nvme drives. On Batocera, HDMI output works with integrated graphics, however when I use the nvidia-prime option, HDMI no longer outputs properly. I have tried 3 different HDMI cables, and the HDMI output works in Windows 11.

I can get sound out of the laptop but the HDMI outputs a blank screen. The monitor/TV does detect an HDMI signal. Using the Screen reader option, I can still navigate and use the menu options while the output is blank, however when I try to change the video output back to the laptop screen, selecting either Auto or EDP-1 the laptop screen goes dark and I no longer even get sound and have to hard reboot.

Is there any other way to get the GTX1050 to output HDMI? Thank you.

dmanlfc commented 2 years ago

see the wiki about creating a log file - post a 'link' to it in reply.

DezzyLee99 commented 2 years ago

Log does not seem to change when I try to switch back to EDP-1 or Auto and get a blank screen on the laptop with no sound.

dmanlfc commented 2 years ago

https://wiki.batocera.org/troubleshooting#create_a_batocera_support_file

DezzyLee99 commented 2 years ago

batocera-support-20220927101522.tar.gz File before using HDMI out as option

DezzyLee99 commented 2 years ago

batocera-support-20220927102017.tar.gz File after trying hdmi out

dmanlfc commented 2 years ago

audio.device=auto in both logs. Did you change the audio output & profile using the System Settings ?

DezzyLee99 commented 2 years ago

No I did not change the audio, at the moment I get no video stream via the HDMI, I can get audio from the laptop whilst it's trying to output video to HDMI.

On Tue., Sep. 27, 2022, 9:30 p.m. Daniel Martin, @.***> wrote:

audio.device=auto in both logs. Did you change the audio output & profile using the System Settings ?

— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/7102#issuecomment-1260339826, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCLC2NNIG2MUV4UPUHOEDTWAO3VXANCNFSM6AAAAAAQRV75II . You are receiving this because you authored the thread.Message ID: @.***>

dmanlfc commented 2 years ago

your laptop is set-up as 'reverse prime', therefore provide the output of lspci | grep VGA via ssh or f1 -> applications -> terminal

DezzyLee99 commented 2 years ago

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630] 01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 3 GB Max-Q] (rev a1)

dmanlfc commented 2 years ago

see here about what to do - https://wiki.archlinux.org/title/PRIME#Configuration

but use xrandr --setprovideroutputsource nvidia intel

DezzyLee99 commented 2 years ago

I read the link, however when I don't have xorg.conf and the icon in the /xorg conf.d directory has an exclamation.

20220928_220032

When I try the --setoutputsource line it says Nvidia isn't recognized.

"Could not find provider with name Nvidia"

DezzyLee99 commented 2 years ago

Just updated to Beta 36. Same issue, although the auto switching does seem to work, but still get a blank screen when HDMI output is used. Probably the same reverse prime issue, although I still do not know what else to do.

Tovarichtch commented 2 years ago

Do it again, but this time with default settings first, connect to wifi, then activating prime/nvidia. When the black screen appears, simply do the command line in the SSH Terminal (remotely). To find xorg.conf, you need to connect to your Batocera with FTP (fillezilla or winSCP for example). It is not in the share partition, but the root one (/).

DezzyLee99 commented 2 years ago

Hi Tovarichtch, There is no xorg.conf file that I can find anywhere, even via sftp. Sorry if I'm a little green at this.

Screen Shot 2022-10-12 at 9 22 52 AM

Vidor92 commented 2 years ago

Hi I had the similar problem, and I found on the official forum from the admin named Atari a way to get around this problem. Not a real solution but anyway. I just edited the batocera.conf (under windows with a notepad++) to turn off the nvidia driver with modify from true to false. nvidia-driver=false image So now my batocera running from my integrated intel UHD graphics right now and it's solved my problem to use the HDMI with my TV. Not the best and hopefully there will be a patch soon to use the dedicated graphics driver but until that it could work.

DezzyLee99 commented 2 years ago

Thanks, yes I knew that it works fine on Integrated GPU. Still hoping for a fix to hybrid systems.

On Fri., Oct. 14, 2022, 3:19 a.m. Vidor92, @.***> wrote:

Hi I had the similar problem, and I found on the official forum from the admin named Atari a way to get around this problem. Not a real solution but anyway. I just edited the batocera.conf (under windows with a notepad++) to turn off the nvidia driver with modify from true to false. nvidia-driver=false [image: image] https://user-images.githubusercontent.com/115785381/195810722-e5f062f0-78be-4e88-92ee-966d693fc4d7.png So now my batocera running from my integrated intel UHD graphics right now and it's solved my problem to use the HDMI with my TV. Not the best and hopefully there will be a patch soon to use the dedicated graphics driver but until that it could work.

— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/7102#issuecomment-1278728693, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCLC2MPWWGMWE6Z52UUT4LWDEQTLANCNFSM6AAAAAAQRV75II . You are receiving this because you authored the thread.Message ID: @.***>

Darkwolfgaming91 commented 1 year ago

i know this is an older post but anyone using the nitro 5 laptop and having issues. in the batocera-boot.conf turn on nvidia-driver=true and

nvidia-prime=true

and then change es resolution to this es.resolution=es.resolution=1280×720.59.94 then save and try again :)

DezzyLee99 commented 1 year ago

Sweet, will give this a try and report back!

On Mon., Mar. 27, 2023, 3:25 p.m. Darkwolfgaming91, < @.***> wrote:

i know this is an older post but anyone using the nitro 5 laptop and having issues. in the batocera-boot.conf turn on nvidia-driver=true and

nvidia-prime=true

and then change es resolution to this es.resolution=1280×720.59.94 then save and try again :)

— Reply to this email directly, view it on GitHub https://github.com/batocera-linux/batocera.linux/issues/7102#issuecomment-1485882400, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCLC2IVPFVDVL4BB5VGT5TW6IATTANCNFSM6AAAAAAQRV75II . You are receiving this because you authored the thread.Message ID: @.***>

Darkwolfgaming91 commented 1 year ago

Sweet, will give this a try and report back! On Mon., Mar. 27, 2023, 3:25 p.m. Darkwolfgaming91, < @.> wrote: i know this is an older post but anyone using the nitro 5 laptop and having issues. in the batocera-boot.conf turn on nvidia-driver=true and #nvidia-prime=true and then change es resolution to this es.resolution=1280×720.59.94 then save and try again :) — Reply to this email directly, view it on GitHub <#7102 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCLC2IVPFVDVL4BB5VGT5TW6IATTANCNFSM6AAAAAAQRV75II . You are receiving this because you authored the thread.Message ID: @.>

awesome deffinately let me know i have the same laptop and had the same issue and then changed it to that resolution and boom it worked after trying multiple resolutions.

DezzyLee99 commented 1 year ago

I see the resolution change but HDMI output is still not working. Even worse now, even on integrated GPU, I only get 1fps, and 1000ms on the navigation.

Darkwolfgaming91 commented 1 year ago

ok so im not sure how this works but i followed this guide https://github.com/batocera-linux/batocera.linux/issues/4451#issuecomment-906815582

then disabled nvidia drivers and nvidia prime and i got video output through hdmi using nvidia might be worth a try.

had to reinstall because of a faulty hdd and came up with the same issue but my earlier fix didnt work but some how that did